1 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4 * posix/tst-getaddrinfo4.c: New test.
5 * posix/Makefile (tests): Add it.
7 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11 when no services were used.
12 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15 2013-05-21 Andreas Schwab <schwab@suse.de>
18 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22 redundant variable declarations and reallocation of buffer when
23 parsing as IPv6 address. Always set NSS status when called from
24 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25 buffer too small. Correct computation of needed size.
26 * nss/Makefile (tests): Add test-digits-dots.
27 * nss/test-digits-dots.c: New test.
29 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * benchtests/Makefile: Remove instructions for adding
33 * benchtests/README: New file to explain how to execute and
34 enhance the benchmark tests.
36 2013-05-21 Andreas Schwab <schwab@suse.de>
39 * setjmp/Makefile (tests): Add tst-sigsetjmp.
40 * setjmp/tst-sigsetjmp.c: New test.
42 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
44 * sysdeps/x86_64/memset.S (memset): New implementation.
46 (__memset_tail): New function.
48 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
50 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52 __memcpy_sse2_unaligned ifunc selection.
53 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54 Add memcpy-sse2-unaligned.S.
55 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56 Add: __memcpy_sse2_unaligned.
58 2013-05-19 Joseph Myers <joseph@codesourcery.com>
61 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62 math_force_eval before restoring floating-point envrionment.
63 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
68 (__nearbyintl): Use math_force_eval before restoring
69 floating-point environment.
70 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
72 * math/gen-libm-test.pl (special_functions): Remove.
73 (parse_args): Don't handle TEST_extra. Handle functions with no
75 * math/libm-test.inc (struct test_sincos_data): Replace with
76 struct test_fFF_11_data.
77 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
78 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
79 (sincos_test_data): Change element type to struct
80 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
81 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
83 * math/README.libm-test: Don't mention special handling of
85 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
86 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
88 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
89 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
90 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92 * math/gen-libm-test.pl (get_variable): Remove function.
93 (parse_args): Don't show pointer parameters to call in test
94 names. Use "extra output N" in test names for extra outputs
95 rather than naming variables.
97 2013-05-18 Joseph Myers <joseph@codesourcery.com>
100 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
101 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
102 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
104 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
106 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
109 * math/gen-libm-test.pl (@tests): Remove variable.
111 (new_test): Remove function.
112 (show_exceptions): New function.
113 (special_functions): Use show_exceptions instead of new_test.
114 (parse_args): Likewise.
115 (generate_testfile): Pass only function name in generated call to
116 print_max_error or print_complex_max_error.
117 (get_ulps): Do not handle complex tests specially.
118 (output_test): Rename to ...
119 (get_all_ulps_for_test): ... this. Return a string rather than
120 printing to a file. Require ulps to be present.
121 (output_ulps): Generate arrays rather than #defines.
122 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
123 (struct ulp_data): New type.
124 (BUILD_COMPLEX_ULP): Remove macro.
125 (compare_ulp_data): New function.
126 (find_ulps): Likewise.
127 (find_test_ulps): Likewise.
128 (find_function_ulps): Likewise.
129 (find_complex_function_ulps): Likewise.
130 (print_max_error): Determine allowed ulps using
132 (print_complex_max_error): Determine allowed ulps using
133 find_complex_function_ulps.
134 (check_float_internal): Determine max ulps using find_test_ulps.
135 (check_float): Do not take max_ulp parameter. Update call to
136 check_float_internal.
137 (check_complex): Likewise.
138 (check_int): Do not take max_ulp parameter.
139 (check_long): Likewise.
140 (check_bool): Likewise.
141 (check_longlong): Likewise.
142 (struct test_f_f_data): Remove max_ulp field.
143 (struct test_ff_f_data): Likewise.
144 (struct test_ff_f_data_nexttoward): Likewise.
145 (struct test_fi_f_data): Likewise.
146 (struct test_fl_f_data): Likewise.
147 (struct test_if_f_data): Likewise.
148 (struct test_fff_f_data): Likewise.
149 (struct test_c_f_data): Likewise.
150 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
151 (struct test_fF_f1_data): Likewise.
152 (struct test_ffI_f1_data): Likewise.
153 (struct test_c_c_data): Remove max_ulp field.
154 (struct test_cc_c_data): Likewise.
155 (struct test_f_i_data): Likewise.
156 (struct test_ff_i_data): Likewise.
157 (struct test_f_l_data): Likewise.
158 (struct test_f_L_data): Likewise.
159 (struct test_sincos_data): Likewise.
160 (RUN_TEST_f_f): Do not handle ulps.
161 (RUN_TEST_LOOP_f_f): Likewise.
162 (RUN_TEST_2_f): Likewise.
163 (RUN_TEST_LOOP_2_f): Likewise.
164 (RUN_TEST_fff_f): Likewise.
165 (RUN_TEST_LOOP_fff_f): Likewise.
166 (RUN_TEST_c_f): Likewise.
167 (RUN_TEST_LOOP_c_f): Likewise.
168 (RUN_TEST_f_f1): Likewise.
169 (RUN_TEST_LOOP_f_f1): Likewise.
170 (RUN_TEST_fF_f1): Likewise.
171 (RUN_TEST_LOOP_fF_f1): Likewise.
172 (RUN_TEST_fI_f1): Likewise.
173 (RUN_TEST_LOOP_fI_f1): Likewise.
174 (RUN_TEST_ffI_f1): Likewise.
175 (RUN_TEST_LOOP_ffI_f1): Likewise.
176 (RUN_TEST_c_c): Likewise.
177 (RUN_TEST_LOOP_c_c): Likewise.
178 (RUN_TEST_cc_c): Likewise.
179 (RUN_TEST_LOOP_cc_c): Likewise.
180 (RUN_TEST_f_i): Likewise.
181 (RUN_TEST_LOOP_f_i): Likewise.
182 (RUN_TEST_f_i_tg): Likewise.
183 (RUN_TEST_LOOP_f_i_tg): Likewise.
184 (RUN_TEST_ff_i_tg): Likewise.
185 (RUN_TEST_LOOP_ff_i_tg): Likewise.
186 (RUN_TEST_f_b): Likewise.
187 (RUN_TEST_LOOP_f_b): Likewise.
188 (RUN_TEST_f_b_tg): Likewise.
189 (RUN_TEST_LOOP_f_b_tg): Likewise.
190 (RUN_TEST_f_l): Likewise.
191 (RUN_TEST_LOOP_f_l): Likewise.
192 (RUN_TEST_f_L): Likewise.
193 (RUN_TEST_LOOP_f_L): Likewise.
194 (RUN_TEST_sincos): Likewise.
195 (RUN_TEST_LOOP_sincos): Likewise.
197 2013-05-17 Joseph Myers <joseph@codesourcery.com>
201 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
202 main case of finite arguments, set rounding mode to FE_TONEAREST
203 and discard exceptions.
204 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
206 (remainder_tonearest_test_data): New variable.
207 (remainder_test_tonearest): New function.
208 (remainder_towardzero_test_data): New variable.
209 (remainder_test_towardzero): New function.
210 (remainder_downward_test_data): New variable.
211 (remainder_test_downward): New function.
212 (remainder_upward_test_data): New variable.
213 (remainder_test_upward): New function.
214 (main): Call the new test functions.
216 * math/libm-test.inc (struct test_f_f1_data): Remove field
218 (struct test_fF_f1_data): Likewise.
219 (struct test_ffI_f1_data): Likewise.
220 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
221 based on value of EXTRA_EXPECTED.
222 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
223 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
224 EXTRA_VAR based on value of EXTRA_EXPECTED.
225 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
226 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
227 EXTRA_VAR based on value of EXTRA_EXPECTED.
228 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
229 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
230 EXTRA_VAR based on value of EXTRA_EXPECTED.
231 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
232 * math/gen-libm-test.pl (parse_args): Don't output initializers
233 for extra output values.
235 * math/libm-test.inc (check_int): Expect result to be exactly
236 equal to expected value and do not handle ulps.
237 (check_long): Likewise.
238 (check_longlong): Likewise.
240 * math/libm-test.inc (ceil_test_data): Test for "inexact"
242 (cimag_test_data): Likewise.
243 (conj_test_data): Likewise.
244 (copysign_test_data): Likewise.
245 (cproj_test_data): Likewise.
246 (creal_test_data): Likewise.
247 (fabs_test_data): Likewise.
248 (fdim_test_data): Likewise.
249 (finite_test_data): Likewise.
250 (floor_test_data): Likewise.
251 (fmax_test_data): Likewise.
252 (fmin_test_data): Likewise.
253 (fmod_test_data): Likewise.
254 (fpclassify_test_data): Likewise.
255 (frexp_test_data): Likewise.
256 (ilogb_test_data): Likewise.
257 (isfinite_test_data): Likewise.
258 (isgreater_test_data): Likewise.
259 (isgreaterequal_test_data): Likewise.
260 (isinf_test_data): Likewise.
261 (isless_test_data): Likewise.
262 (islessequal_test_data): Likewise.
263 (islessgreater_test_data): Likewise.
264 (isnan_test_data): Likewise.
265 (isnormal_test_data): Likewise.
266 (issignaling_test_data): Likewise.
267 (isunordered_test_data): Likewise.
268 (ldexp_test_data): Likewise.
269 (lrint_test_data): Likewise.
270 (lrint_test_data) [TEST_FLOAT]: Disable one test.
271 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
272 (lrint_tonearest_test_data): Test for "inexact" exceptions.
273 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
274 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
275 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
277 (lrint_towardzero_test_data): Test for "inexact" exceptions.
278 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
279 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
280 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
282 (lrint_downward_test_data): Test for "inexact" exceptions.
283 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
284 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
285 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
287 (lrint_upward_test_data): Test for "inexact" exceptions.
288 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
290 (llrint_test_data): Test for "inexact" exceptions.
291 (llrint_test_data) [TEST_FLOAT]: Disable one test.
292 (llrint_tonearest_test_data): Test for "inexact" exceptions.
293 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
294 (llrint_towardzero_test_data): Test for "inexact" exceptions.
295 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
296 (llrint_downward_test_data): Test for "inexact" exceptions.
297 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
298 (llrint_upward_test_data): Test for "inexact" exceptions.
299 (logb_test_data): Likewise.
300 (logb_downward_test_data): Likewise.
301 (nextafter_test_data): Likewise.
302 (nexttoward_test_data): Likewise.
303 (remainder_test_data): Likewise.
304 (remquo_test_data): Likewise.
305 (scalbn_test_data): Likewise.
306 (scalbln_test_data): Likewise.
307 (signbit_test_data): Likewise.
308 (sqrt_test_data): Likewise.
309 (significand_test_data): Likewise.
311 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
314 * benchtests/bench-modf.c (struct args): Mark arg0 as
316 * scripts/bench.pl: Mark members of struct args as volatile.
318 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
321 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
322 negative infinity on POWER6 or lower.
323 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
325 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
328 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
329 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
330 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
331 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
332 (_FP_SETQNAN): New macro.
333 (_FP_SETQNAN_SEMIRAW): Likewise.
334 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
335 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
336 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
337 (FP_EXTEND): Use _FP_FRAC_SNANP.
338 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
339 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
341 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
346 2013-05-16 Joseph Myers <joseph@codesourcery.com>
348 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
349 with DIVIDE_BY_ZERO_EXCEPTION.
350 (gamma_test_data): Likewise.
351 (lgamma_test_data): Likewise.
352 (log_test_data): Likewise.
353 (log10_test_data): Likewise.
354 (log2_test_data): Likewise.
355 (tgamma_test_data): Likewise.
357 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
358 (acos_test_tonearest): Likewise.
359 (acos_test_towardzero): Likewise.
360 (acos_test_downward): Likewise.
361 (acos_test_upward): Likewise.
362 (acosh_test): Likewise.
363 (asin_test): Likewise.
364 (asin_test_tonearest): Likewise.
365 (asin_test_towardzero): Likewise.
366 (asin_test_downward): Likewise.
367 (asin_test_upward): Likewise.
368 (asinh_test): Likewise.
369 (atan_test): Likewise.
370 (atanh_test): Likewise.
371 (atan2_test): Likewise.
372 (cabs_test): Likewise.
373 (cacos_test): Likewise.
374 (cacosh_test): Likewise.
375 (casin_test): Likewise.
376 (casinh_test): Likewise.
377 (catan_test): Likewise.
378 (catanh_test): Likewise.
379 (cbrt_test): Likewise.
380 (ccos_test): Likewise.
381 (ccosh_test): Likewise.
382 (cexp_test): Likewise.
383 (clog_test): Likewise.
384 (clog10_test): Likewise.
385 (cos_test): Likewise.
386 (cos_test_tonearest): Likewise.
387 (cos_test_towardzero): Likewise.
388 (cos_test_downward): Likewise.
389 (cos_test_upward): Likewise.
390 (cosh_test): Likewise.
391 (cosh_test_tonearest): Likewise.
392 (cosh_test_towardzero): Likewise.
393 (cosh_test_downward): Likewise.
394 (cosh_test_upward): Likewise.
395 (cpow_test): Likewise.
396 (csin_test): Likewise.
397 (csinh_test): Likewise.
398 (csqrt_test): Likewise.
399 (ctan_test): Likewise.
400 (ctan_test_tonearest): Likewise.
401 (ctan_test_towardzero): Likewise.
402 (ctan_test_downward): Likewise.
403 (ctan_test_upward): Likewise.
404 (ctanh_test): Likewise.
405 (ctanh_test_tonearest): Likewise.
406 (ctanh_test_towardzero): Likewise.
407 (ctanh_test_downward): Likewise.
408 (ctanh_test_upward): Likewise.
409 (erf_test): Likewise.
410 (erfc_test): Likewise.
411 (exp_test): Likewise.
412 (exp_test_tonearest): Likewise.
413 (exp_test_towardzero): Likewise.
414 (exp_test_downward): Likewise.
415 (exp_test_upward): Likewise.
416 (exp10_test): Likewise.
417 (exp2_test): Likewise.
418 (expm1_test): Likewise.
419 (fmod_test): Likewise.
420 (gamma_test): Likewise.
421 (hypot_test): Likewise.
425 (lgamma_test): Likewise.
426 (log_test): Likewise.
427 (log10_test): Likewise.
428 (log1p_test): Likewise.
429 (log2_test): Likewise.
430 (logb_test_downward): Likewise.
431 (pow_test): Likewise.
432 (pow_test_tonearest): Likewise.
433 (pow_test_towardzero): Likewise.
434 (pow_test_downward): Likewise.
435 (pow_test_upward): Likewise.
436 (remainder_test): Likewise.
437 (remquo_test): Likewise.
438 (sin_test): Likewise.
439 (sin_test_tonearest): Likewise.
440 (sin_test_towardzero): Likewise.
441 (sin_test_downward): Likewise.
442 (sin_test_upward): Likewise.
443 (sincos_test): Likewise.
444 (sinh_test): Likewise.
445 (sinh_test_tonearest): Likewise.
446 (sinh_test_towardzero): Likewise.
447 (sinh_test_downward): Likewise.
448 (sinh_test_upward): Likewise.
449 (sqrt_test): Likewise.
450 (tan_test): Likewise.
451 (tan_test_tonearest): Likewise.
452 (tan_test_towardzero): Likewise.
453 (tan_test_downward): Likewise.
454 (tan_test_upward): Likewise.
455 (tanh_test): Likewise.
456 (tgamma_test): Likewise.
461 * math/gen-libm-test.pl (adjust_arg): Remove function.
462 (special_function): Remove argument $in_func. Only handle
463 generating output for tables of tests, not inside functions.
464 (parse_args): Likewise.
465 (generate_testfile): Remove variable $in_func. Update call to
467 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
468 (MINUS_ZERO_INIT): Rename macro to minus_zero.
469 (PLUS_INFTY_INIT): Rename macro to plus_infty.
470 (MINUS_INFTY_INIT): Rename macro to minus_infty.
471 (QNAN_VALUE_INIT): Rename macro to qnan_value.
472 (MAX_VALUE_INIT): Rename macro to max_value.
473 (MIN_VALUE_INIT): Rename macro to min_value.
474 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
475 (plus_zero): Remove variable.
476 (minus_zero): Likewise.
477 (plus_infty): Likewise.
478 (minus_infty): Likewise.
479 (qnan_value): Likewise.
480 (max_value): Likewise.
481 (min_value): Likewise.
482 (min_subnorm_value): Likewise.
484 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
486 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
487 uint64_t or uint32_t usage.
488 * crypt/sha256-block.c: Likewise.
489 * crypt/sha256-crypt.c: Likewise.
490 * crypt/sha256.c: Likewise.
491 * crypt/sha512-block.c: Likewise.
492 * crypt/sha512-crypt.c: Likewise.
493 * crypt/sha512.c: Likewise.
494 * debug/backtrace-tst.c: Likewise.
495 * debug/pcprofiledump.c: Likewise.
496 * elf/cache.c: Likewise.
497 * elf/dl-cache.c: Likewise.
498 * elf/dl-misc.c: Likewise.
499 * elf/dl-profile.c: Likewise.
500 * elf/dl-support.c: Likewise.
501 * elf/ldconfig.c: Likewise.
502 * elf/sprof.c: Likewise.
503 * iconv/dummy-repertoire.c: Likewise.
504 * iconv/iconv_charmap.c: Likewise.
505 * iconv/skeleton.c: Likewise.
506 * iconvdata/8bit-generic.c: Likewise.
507 * iconvdata/cp737.h: Likewise.
508 * iconvdata/cp775.h: Likewise.
509 * iconvdata/ibm1008.h: Likewise.
510 * iconvdata/ibm1025.h: Likewise.
511 * iconvdata/ibm1046.h: Likewise.
512 * iconvdata/ibm1097.h: Likewise.
513 * iconvdata/ibm1112.h: Likewise.
514 * iconvdata/ibm1122.h: Likewise.
515 * iconvdata/ibm1123.h: Likewise.
516 * iconvdata/ibm1124.h: Likewise.
517 * iconvdata/ibm1129.h: Likewise.
518 * iconvdata/ibm1130.h: Likewise.
519 * iconvdata/ibm1132.h: Likewise.
520 * iconvdata/ibm1133.h: Likewise.
521 * iconvdata/ibm1137.h: Likewise.
522 * iconvdata/ibm1140.h: Likewise.
523 * iconvdata/ibm1141.h: Likewise.
524 * iconvdata/ibm1142.h: Likewise.
525 * iconvdata/ibm1143.h: Likewise.
526 * iconvdata/ibm1144.h: Likewise.
527 * iconvdata/ibm1145.h: Likewise.
528 * iconvdata/ibm1146.h: Likewise.
529 * iconvdata/ibm1147.h: Likewise.
530 * iconvdata/ibm1148.h: Likewise.
531 * iconvdata/ibm1149.h: Likewise.
532 * iconvdata/ibm1153.h: Likewise.
533 * iconvdata/ibm1154.h: Likewise.
534 * iconvdata/ibm1155.h: Likewise.
535 * iconvdata/ibm1156.h: Likewise.
536 * iconvdata/ibm1157.h: Likewise.
537 * iconvdata/ibm1158.h: Likewise.
538 * iconvdata/ibm1160.h: Likewise.
539 * iconvdata/ibm1161.h: Likewise.
540 * iconvdata/ibm1162.h: Likewise.
541 * iconvdata/ibm1163.h: Likewise.
542 * iconvdata/ibm1164.h: Likewise.
543 * iconvdata/ibm1166.h: Likewise.
544 * iconvdata/ibm1167.h: Likewise.
545 * iconvdata/ibm12712.h: Likewise.
546 * iconvdata/ibm1390.h: Likewise.
547 * iconvdata/ibm1399.h: Likewise.
548 * iconvdata/ibm16804.h: Likewise.
549 * iconvdata/ibm4517.h: Likewise.
550 * iconvdata/ibm4899.h: Likewise.
551 * iconvdata/ibm4909.h: Likewise.
552 * iconvdata/ibm4971.h: Likewise.
553 * iconvdata/ibm5347.h: Likewise.
554 * iconvdata/ibm803.h: Likewise.
555 * iconvdata/ibm856.h: Likewise.
556 * iconvdata/ibm901.h: Likewise.
557 * iconvdata/ibm902.h: Likewise.
558 * iconvdata/ibm9030.h: Likewise.
559 * iconvdata/ibm9066.h: Likewise.
560 * iconvdata/ibm921.h: Likewise.
561 * iconvdata/ibm922.h: Likewise.
562 * iconvdata/ibm9448.h: Likewise.
563 * iconvdata/isiri-3342.h: Likewise.
564 * iconvdata/jis0201.h: Likewise.
565 * include/link.h: Likewise.
566 * include/netdb.h: Likewise.
567 * inet/check_native.c: Likewise.
568 * inet/check_pf.c: Likewise.
569 * inet/getipv4sourcefilter.c: Likewise.
570 * inet/getnameinfo.c: Likewise.
571 * inet/getsourcefilter.c: Likewise.
572 * inet/htonl.c: Likewise.
573 * inet/setipv4sourcefilter.c: Likewise.
574 * inet/setsourcefilter.c: Likewise.
575 * inet/test-inet6_opt.c: Likewise.
576 * inet/tst-network.c: Likewise.
577 * locale/C-collate.c: Likewise.
578 * locale/C-ctype.c: Likewise.
579 * locale/C-time.c: Likewise.
580 * locale/C-translit.h: Likewise.
581 * locale/loadarchive.c: Likewise.
582 * locale/programs/3level.h: Likewise.
583 * locale/programs/charmap.c: Likewise.
584 * locale/programs/charmap.h: Likewise.
585 * locale/programs/ld-address.c: Likewise.
586 * locale/programs/ld-collate.c: Likewise.
587 * locale/programs/ld-ctype.c: Likewise.
588 * locale/programs/ld-identification.c: Likewise.
589 * locale/programs/ld-measurement.c: Likewise.
590 * locale/programs/ld-messages.c: Likewise.
591 * locale/programs/ld-monetary.c: Likewise.
592 * locale/programs/ld-name.c: Likewise.
593 * locale/programs/ld-numeric.c: Likewise.
594 * locale/programs/ld-paper.c: Likewise.
595 * locale/programs/ld-telephone.c: Likewise.
596 * locale/programs/ld-time.c: Likewise.
597 * locale/programs/linereader.c: Likewise.
598 * locale/programs/locale.c: Likewise.
599 * locale/programs/locarchive.c: Likewise.
600 * locale/programs/locfile.h: Likewise.
601 * locale/programs/repertoire.c: Likewise.
602 * locale/programs/simple-hash.c: Likewise.
603 * locale/programs/simple-hash.h: Likewise.
604 * malloc/memusage.c: Likewise.
605 * malloc/memusagestat.c: Likewise.
606 * nis/nis_defaults.c: Likewise.
607 * nis/nis_hash.c: Likewise.
608 * nis/nis_print.c: Likewise.
609 * nis/nis_xdr.c: Likewise.
610 * nscd/connections.c: Likewise.
611 * nscd/hstcache.c: Likewise.
612 * nscd/nscd_gethst_r.c: Likewise.
613 * nscd/nscd_getserv_r.c: Likewise.
614 * nscd/nscd_helper.c: Likewise.
615 * nscd/servicescache.c: Likewise.
616 * nss/makedb.c: Likewise.
617 * nss/nss_db/db-XXX.c: Likewise.
618 * nss/nss_db/db-initgroups.c: Likewise.
619 * nss/nss_db/db-netgrp.c: Likewise.
620 * nss/nss_files/files-network.c: Likewise.
621 * nss/nss_files/files-parse.c: Likewise.
622 * posix/bug-regex5.c: Likewise.
623 * posix/fnmatch_loop.c: Likewise.
624 * posix/regcomp.c: Likewise.
625 * posix/regexec.c: Likewise.
626 * posix/tst-rfc3484-2.c: Likewise.
627 * posix/tst-rfc3484-3.c: Likewise.
628 * posix/tst-rfc3484.c: Likewise.
629 * resolv/nss_dns/dns-canon.c: Likewise.
630 * resolv/nss_dns/dns-network.c: Likewise.
631 * resolv/res_init.c: Likewise.
632 * resolv/res_mkquery.c: Likewise.
633 * resolv/tst-aton.c: Likewise.
634 * stdlib/cxa_atexit.c: Likewise.
635 * stdlib/cxa_finalize.c: Likewise.
636 * stdlib/gen-fpioconst.c: Likewise.
637 * stdlib/strtol_l.c: Likewise.
638 * string/tst-endian.c: Likewise.
639 * sunrpc/auth_des.c: Likewise.
640 * sunrpc/clnt_udp.c: Likewise.
641 * sunrpc/rtime.c: Likewise.
642 * sunrpc/svcauth_des.c: Likewise.
643 * sunrpc/xdr.c: Likewise.
644 * sunrpc/xdr_intXX_t.c: Likewise.
645 * sunrpc/xdr_rec.c: Likewise.
646 * sysdeps/generic/ldconfig.h: Likewise.
647 * sysdeps/generic/ldsodefs.h: Likewise.
648 * sysdeps/generic/memusage.h: Likewise.
649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
650 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
651 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
655 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
656 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
659 * sysdeps/posix/getaddrinfo.c: Likewise.
660 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
661 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
662 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
663 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
664 * sysdeps/powerpc/test-gettimebase.c: Likewise.
665 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
666 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
667 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
668 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
670 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
671 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
672 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
673 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
674 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
675 * sysdeps/x86_64/dl-tls.h: Likewise.
676 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
677 * time/alt_digit.c: Likewise.
678 * time/era.c: Likewise.
679 * wcsmbs/tst-c16c32-1.c: Likewise.
681 2013-05-16 Joseph Myers <joseph@codesourcery.com>
683 * math/libm-test.inc (struct test_sincos_data): New type.
684 (RUN_TEST_LOOP_sincos): New macro.
685 (sincos_test_data): New variable.
686 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
688 2013-05-16 Richard Henderson <rth@redhat.com>
690 * math/atest-exp2.c (LIMB64): New macro.
691 (CONSTSZ): New macro.
692 (mp_exp1, mp_exp_m1, mp_log2): New variables.
694 (print_mpn_fp): ... to function scope.
695 (read_mpn_hex): Remove.
697 (exp2_mpn): Use mp_log2.
700 2013-05-16 Joseph Myers <joseph@codesourcery.com>
702 * math/libm-test.inc: Remove comment about not testing "inexact"
704 (INEXACT_EXCEPTION): New macro.
705 (NO_INEXACT_EXCEPTION): Likewise.
706 (INVALID_EXCEPTION_OK): Update value.
707 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
708 (OVERFLOW_EXCEPTION_OK): Likewise.
709 (UNDERFLOW_EXCEPTION_OK): Likewise.
710 (IGNORE_ZERO_INF_SIGN): Likewise.
711 (ERRNO_UNCHANGED): Likewise.
712 (ERRNO_EDOM): Likewise.
713 (ERRNO_ERANGE): Likewise.
714 (test_exceptions): Handle testing "inexact" exceptions.
715 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
716 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
717 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
718 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
720 (rint_towardzero_test_data): Likewise.
721 (rint_downward_test_data): Likewise.
722 (rint_upward_test_data): Likewise.
724 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
725 with OVERFLOW_EXCEPTION.
726 (exp10_test_data): Likewise.
727 (exp2_test_data): Likewise.
728 (expm1_test_data): Likewise.
729 (lgamma_test_data): Likewise.
730 (pow_test_data): Likewise.
731 (tgamma_test_data): Likewise.
732 (yn_test_data): Remove duplicate test of overflow.
734 * math/libm-test.inc (struct test_cc_c_data): New type.
735 (RUN_TEST_LOOP_cc_c): New macro.
736 (cpow_test_data): New variable.
737 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
739 * math/libm-test.inc (struct test_f_L_data): New type.
740 (RUN_TEST_LOOP_f_L): New macro.
741 (llrint_test_data): New variable.
742 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
743 (llrint_tonearest_test_data): New variable.
744 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
745 (llrint_towardzero_test_data): New variable.
746 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
747 (llrint_downward_test_data): New variable.
748 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
749 (llrint_upward_test_data): New variable.
750 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
751 (llround_test_data): New variable.
752 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
754 2013-05-13 Peter Collingbourne <pcc@google.com>
756 * math/atest-exp2.c (get_log2): Remove const attribute.
758 2013-05-15 Joseph Myers <joseph@codesourcery.com>
760 * math/libm-test.inc (struct test_f_l_data): New type.
761 (RUN_TEST_LOOP_f_l): New macro.
762 (lrint_test_data): New variable.
763 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
764 (lrint_tonearest_test_data): New variable.
765 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
766 (lrint_towardzero_test_data): New variable.
767 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
768 (lrint_downward_test_data): New variable.
769 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
770 (lrint_upward_test_data): New variable.
771 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
772 (lround_test_data): New variable.
773 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
775 2013-05-15 Peter Collingbourne <pcc@google.com>
777 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
778 (EXTRACT_WORDS64) Use where appropriate.
779 (INSERT_WORDS64) Likewise.
781 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
782 constraints with x constraints.
783 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
785 * malloc/obstack.c (_obstack_compat): Add initializer.
787 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
789 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
790 si_trapno and add si_addr_lsb to _sifields.sigfault.
791 (si_trapno): Remove macro.
792 (si_addr_lsb): Define new macro.
793 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
795 2013-05-15 Joseph Myers <joseph@codesourcery.com>
797 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
799 (llrint_test_tonearest): Likewise.
800 (llrint_test_towardzero): Likewise.
801 (llrint_test_downward): Likewise.
802 (llrint_test_upward): Likewise.
803 (llround_test): Likewise.
805 * math/libm-test.inc (struct test_f_i_data): Add comment.
806 (RUN_TEST_LOOP_f_b): New macro.
807 (RUN_TEST_LOOP_f_b_tg): Likewise.
808 (finite_test_data): New variable.
809 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
810 (isfinite_test_data): New variable.
811 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
812 (isinf_test_data): New variable.
813 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
814 (isnan_test_data): New variable.
815 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
816 (isnormal_test_data): New variable.
817 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
818 (issignaling_test_data): New variable.
819 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
820 (signbit_test_data): New variable.
821 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
823 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
824 with INVALID_EXCEPTION.
825 (acosh_test_data): Likewise.
826 (asin_test_data): Likewise.
827 (atanh_test_data): Likewise.
828 (fmod_test_data): Likewise.
829 (log_test_data): Likewise.
830 (log10_test_data): Likewise.
831 (log2_test_data): Likewise.
832 (pow_test_data): Likewise.
833 (sqrt_test_data): Likewise.
834 (y0_test_data): Likewise.
835 (y1_test_data): Likewise.
836 (yn_test_data): Likewise.
838 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
841 * math/libm-test.inc (struct test_ff_i_data): New type.
842 (RUN_TEST_LOOP_ff_i_tg): New macro.
843 (isgreater_test_data): New variable.
844 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
845 (isgreaterequal_test_data): New variable.
846 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
847 (isless_test_data): New variable.
848 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
849 (islessequal_test_data): New variable.
850 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
851 (islessgreater_test_data): New variable.
852 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
853 (isunordered_test_data): New variable.
854 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
856 2013-05-14 David S. Miller <davem@davemloft.net>
858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
860 2013-05-14 Joseph Myers <joseph@codesourcery.com>
862 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
864 * math/libm-test.inc (struct test_fF_f1_data): Change type of
866 (struct test_f_i_data): Change type of max_ulp to int.
868 * math/libm-test.inc (test_ffI_f1_data): New type.
869 (RUN_TEST_LOOP_ffI_f1): New macro.
870 (remquo_test_data): New variable.
871 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
873 * setjmp/tst-setjmp-fp.c: New file.
874 * setjmp/Makefile (tests): Add tst-setjmp-fp.
875 (link-libm): New variable.
876 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
878 * math/libm-test.inc (struct test_f_i_data): New type.
879 (RUN_TEST_LOOP_f_i): New macro.
880 (RUN_TEST_LOOP_f_i_tg): Likewise.
881 (fpclassify_test_data): New variable.
882 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
883 (ilogb_test_data): New variable.
884 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
886 * math/libm-test.inc (scalbln_test): Correct function name in END
889 * math/libm-test.inc (struct test_f_f1_data): Add comment.
890 (RUN_TEST_LOOP_fI_f1): New macro.
891 (frexp_test_data): New variable.
892 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
894 * math/libm-test.inc (struct test_fF_f1_data): New type.
895 (RUN_TEST_LOOP_fF_f1): New macro.
896 (modf_test_data): New variable.
897 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
899 * math/libm-test.inc (struct test_f_f1_data): New type.
900 (RUN_TEST_LOOP_f_f1): New macro.
901 (gamma_test_data): New variable.
902 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
903 (lgamma_test_data): New variable.
904 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
906 2013-05-13 Carlos O'Donell <carlos@redhat.com>
908 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
909 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
910 (main): Comment "tls" pseudo-hwcap.
912 2013-05-13 Joseph Myers <joseph@codesourcery.com>
914 * math/libm-test.inc (struct test_fl_f_data): New type.
915 (RUN_TEST_LOOP_fl_f): New variable.
916 (scalbln_test_data): New variable.
917 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
919 * math/libm-test.inc (struct test_fi_f_data): New type.
920 (RUN_TEST_LOOP_fi_f): New macro.
921 (ldexp_test_data): New variable.
922 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
923 (scalbn_test_data): New variable.
924 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
926 * math/libm-test.inc (struct test_c_f_data): New type.
927 (RUN_TEST_LOOP_c_f): New macro.
928 (cabs_test_data): New variable.
929 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
930 (carg_test_data): New variable.
931 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
932 (cimag_test_data): New variable.
933 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
934 (creal_test_data): New variable.
935 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
937 * math/libm-test.inc (struct test_if_f_data): New type.
938 (RUN_TEST_LOOP_if_f): New macro.
939 (jn_test_data): New variable.
940 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
941 (yn_test_data): New variable.
942 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
944 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
946 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
949 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
951 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
953 * benchtests/Makefile (CPPFLAGS-nonlib): Add
954 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
955 (bench-deps): Add bench-timing.h.
956 * benchtests-bench-skeleton.c: Include bench-timing.h.
957 (main): Use TIMING_* macros instead of clock_gettime.
958 * benchtests/bench-timing.h: New file.
961 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
962 Renamed from _LIB_VERSION.
963 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
965 2013-05-12 Joseph Myers <joseph@codesourcery.com>
967 * math/libm-test.inc (struct test_fff_f_data): New type.
968 (RUN_TEST_LOOP_fff_f): New macro.
969 (fma_test_data): New variable.
970 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
971 (fma_towardzero_test_data): New variable.
972 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
973 (fma_downward_test_data): New variable.
974 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
975 (fma_upward_test_data): New variable.
976 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
978 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
979 (struct test_c_c_data): New type.
980 (RUN_TEST_LOOP_c_c): New macro.
981 (cacos_test_data): New variable.
982 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
983 (cacosh_test_data): New variable.
984 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
985 (casin_test_data): New variable.
986 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
987 (casinh_test_data): New variable.
988 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
989 (catan_test_data): New variable.
990 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
991 (catanh_test_data): New variable.
992 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
993 (ccos_test_data): New variable.
994 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
995 (ccosh_test_data): New variable.
996 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
997 (cexp_test_data): New variable.
998 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
999 (clog_test_data): New variable.
1000 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1001 (clog10_test_data): New variable.
1002 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1003 (conj_test_data): New variable.
1004 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1005 (cproj_test_data): New variable.
1006 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1007 (csin_test_data): New variable.
1008 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1009 (csinh_test_data): New variable.
1010 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1011 (csqrt_test_data): New variable.
1012 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1013 (ctan_test_data): New variable.
1014 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1015 (ctan_tonearest_test_data): New variable.
1016 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1017 (ctan_towardzero_test_data): New variable.
1018 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1019 (ctan_downward_test_data): New variable.
1020 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1021 (ctan_upward_test_data): New variable.
1022 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1023 (ctanh_test_data): New variable.
1024 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1025 (ctanh_tonearest_test_data): New variable.
1026 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1027 (ctanh_towardzero_test_data): New variable.
1028 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1029 (ctanh_downward_test_data): New variable.
1030 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1031 (ctanh_upward_test_data): New variable.
1032 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1033 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1036 * math/libm-test.inc (struct test_ff_f_data): New type.
1037 (struct test_ff_f_data_nexttoward): Likewise.
1038 (RUN_TEST_LOOP_2_f): New macro.
1039 (RUN_TEST_LOOP_ff_f): Likewise.
1040 (atan2_test_data): New variable.
1041 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1042 (copysign_test_data): New variable.
1043 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1044 (fdim_test_data): New variable.
1045 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1046 (fmax_test_data): New variable.
1047 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1048 (fmin_test_data): New variable.
1049 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1050 (fmod_test_data): New variable.
1051 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1052 (hypot_test_data): New variable.
1053 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1054 (nextafter_test_data): New variable.
1055 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1056 (nexttoward_test_data): New variable.
1057 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1058 (pow_test_data): New variable.
1059 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1060 (pow_tonearest_test_data): New variable.
1061 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1062 (pow_towardzero_test_data): New variable.
1063 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1064 (pow_downward_test_data): New variable.
1065 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1066 (pow_upward_test_data): New variable.
1067 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1068 (remainder_test_data): New variable.
1069 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1070 (scalb_test_data): New variable.
1071 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1072 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1076 * math/libm-test.inc (fma_test): Use max_value instead of local
1078 (nextafter_test): Likewise.
1080 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1081 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1082 (acos_downward_test_data): New variable.
1083 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1084 (acos_upward_test_data): New variable.
1085 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1086 (acosh_test_data): New variable.
1087 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1088 (asin_test_data): New variable.
1089 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1090 (asin_tonearest_test_data): New variable.
1091 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1092 (asin_towardzero_test_data): New variable.
1093 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1094 (asin_downward_test_data): New variable.
1095 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1096 (asin_upward_test_data): New variable.
1097 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1098 (asinh_test_data): New variable.
1099 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1100 (atan_test_data): New variable.
1101 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1102 (atanh_test_data): New variable.
1103 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1104 (cbrt_test_data): New variable.
1105 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1106 (ceil_test_data): New variable.
1107 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1108 (cos_test_data): New variable.
1109 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1110 (cos_tonearest_test_data): New variable.
1111 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1112 (cos_towardzero_test_data): New variable.
1113 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1114 (cos_downward_test_data): New variable.
1115 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1116 (cos_upward_test_data): New variable.
1117 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1118 (cosh_test_data): New variable.
1119 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1120 (cosh_tonearest_test_data): New variable.
1121 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1122 (cosh_towardzero_test_data): New variable.
1123 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1124 (cosh_downward_test_data): New variable.
1125 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1126 (cosh_upward_test_data): New variable.
1127 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1128 (erf_test_data): New variable.
1129 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1130 (erfc_test_data): New variable.
1131 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1132 (exp_test_data): New variable.
1133 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1134 (exp_tonearest_test_data): New variable.
1135 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1136 (exp_towardzero_test_data): New variable.
1137 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1138 (exp_downward_test_data): New variable.
1139 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1140 (exp_upward_test_data): New variable.
1141 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1142 (exp10_test_data): New variable.
1143 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1144 (exp2_test_data): New variable.
1145 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1146 (expm1_test_data): New variable.
1147 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1148 (fabs_test_data): New variable.
1149 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1150 (floor_test_data): New variable.
1151 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1152 (j0_test_data): New variable.
1153 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1154 (j1_test_data): New variable.
1155 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1156 (log_test_data): New variable.
1157 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1158 (log10_test_data): New variable.
1159 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1160 (log1p_test_data): New variable.
1161 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1162 (log2_test_data): New variable.
1163 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1164 (logb_test_data): New variable.
1165 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1166 (logb_downward_test_data): New variable.
1167 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1168 (nearbyint_test_data): New variable.
1169 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1170 (rint_test_data): New variable.
1171 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1172 (rint_tonearest_test_data): New variable.
1173 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1174 (rint_towardzero_test_data): New variable.
1175 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1176 (rint_downward_test_data): New variable.
1177 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1178 (rint_upward_test_data): New variable.
1179 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1180 (round_test_data): New variable.
1181 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1182 (sin_test_data): New variable.
1183 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1184 (sin_tonearest_test_data): New variable.
1185 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1186 (sin_towardzero_test_data): New variable.
1187 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1188 (sin_downward_test_data): New variable.
1189 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1190 (sin_upward_test_data): New variable.
1191 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1192 (sinh_test_data): New variable.
1193 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1194 (sinh_tonearest_test_data): New variable.
1195 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1196 (sinh_towardzero_test_data): New variable.
1197 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1198 (sinh_downward_test_data): New variable.
1199 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1200 (sinh_upward_test_data): New variable.
1201 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1202 (sqrt_test_data): New variable.
1203 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1204 (tan_test_data): New variable.
1205 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1206 (tan_tonearest_test_data): New variable.
1207 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1208 (tan_towardzero_test_data): New variable.
1209 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1210 (tan_downward_test_data): New variable.
1211 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1212 (tan_upward_test_data): New variable.
1213 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1214 (tanh_test_data): New variable.
1215 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1216 (tgamma_test_data): New variable.
1217 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1218 (trunc_test_data): New variable.
1219 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1220 (y0_test_data): New variable.
1221 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1222 (y1_test_data): New variable.
1223 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1224 (significand_test_data): New variable.
1225 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1227 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1230 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1232 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1234 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1236 2013-05-10 Andreas Jaeger <aj@suse.de>
1239 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1240 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1242 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1244 * math/gen-libm-test.pl (adjust_arg): New function.
1245 (special_functions): Handle generating output in both functions
1247 (parse_args): Likewise.
1248 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1249 $in_func argument to parse_args.
1250 * math/libm-test.inc (struct test_f_f_data): New type.
1251 (IF_ROUND_INIT_): New macro.
1252 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1253 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1254 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1255 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1256 (ROUND_RESTORE_): Likewise.
1257 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1258 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1259 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1260 (ROUND_RESTORE_FE_UPWARD): Likewise.
1261 (RUN_TEST_LOOP_f_f): New macro.
1262 (acos_test_data): New variable.
1263 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1264 (acos_tonearest_test_data): New variable.
1265 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1267 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1269 * benchtests/bench-skeleton.c (startup): Fix coding style.
1271 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1274 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1275 negative infinity argument.
1276 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1277 negative infinity argument.
1278 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1279 negative infinity argument.
1280 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1283 2013-05-10 Florian Weimer <fweimer@redhat.com>
1285 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1286 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1287 * iconv/iconv_prog.c (main): Likewise.
1288 * locale/programs/charmap-dir.c (charmap_readdir)
1289 (fopen_uncompressed): Likewise.
1290 * locale/programs/locfile.c (siblings_uncached)
1291 (write_locale_data): Use lstat64 instead of lstat.
1292 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1295 2013-05-10 Andreas Jaeger <aj@suse.de>
1298 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1302 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1304 * elf/dl-close.c (_dl_close_worker): Add comments.
1306 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1309 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1311 (__ieee754_rem_pio2l): Update comments.
1314 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1316 (__ieee754_rem_pio2l): Update comments.
1318 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1319 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1321 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1324 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1325 (M_PI_34_LOG10El): Likewise.
1326 (M_PI2_LOG10El): Likewise.
1327 (M_PI4_LOG10El): Likewise.
1328 (M_PI_LOG10El): Likewise.
1330 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1334 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1336 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1337 (MINUS_ZERO_INIT): Likewise.
1338 (PLUS_INFTY_INIT): Likewise.
1339 (MINUS_INFTY_INIT): Likewise.
1340 (QNAN_VALUE_INIT): Likewise.
1341 (MAX_VALUE_INIT): Likewise.
1342 (MIN_VALUE_INIT): Likewise.
1343 (MIN_SUBNORM_VALUE_INIT): Likewise.
1344 (plus_zero): Initialize with PLUS_ZERO_INIT.
1345 (minus_zero): Initialize with MINUS_ZERO_INIT.
1346 (plus_infty): Initialize with PLUS_INFTY_INIT.
1347 (minus_infty): Initialize with MINUS_INFTY_INIT.
1348 (qnan_value): Initialize with QNAN_VALUE_INIT.
1349 (max_value): Initialize with MAX_VALUE_INIT.
1350 (min_value): Initialize with MIN_VALUE_INIT.
1351 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1353 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1354 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1355 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1356 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1358 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1359 (RUN_TEST_2_f): Likewise.
1360 (RUN_TEST_ff_f): Likewise.
1361 (RUN_TEST_fi_f): Likewise.
1362 (RUN_TEST_fl_f): Likewise.
1363 (RUN_TEST_fff_f): Likewise.
1364 (RUN_TEST_c_f): Likewise.
1365 (RUN_TEST_f_f1): Likewise.
1366 (RUN_TEST_fF_f1): Likewise.
1367 (RUN_TEST_fI_f1): Likewise.
1368 (RUN_TEST_ffI_f1): Likewise.
1369 (RUN_TEST_c_c): Likewise.
1370 (RUN_TEST_cc_c): Likewise.
1371 (RUN_TEST_f_i): Likewise.
1372 (RUN_TEST_f_i_tg): Likewise.
1373 (RUN_TEST_ff_i_tg): Likewise.
1374 (RUN_TEST_f_b): Likewise.
1375 (RUN_TEST_f_b_tg): Likewise.
1376 (RUN_TEST_f_l): Likewise.
1377 (RUN_TEST_f_L): Likewise.
1378 (RUN_TEST_sincos): Likewise.
1379 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1380 whether to show exceptions. Do not include ");\n" in return
1382 (special_functions): Output call to RUN_TEST_sincos instead of
1383 check_float calls. Update calls to new_test.
1384 (parse_args): Output call to single RUN_TEST_* macro instead of
1385 check_* calls and other assignments. Update calls to new_test.
1391 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1392 input to result for tgamma overflow.
1393 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1394 (gamma_coeff): New variable.
1395 (NCOEFF): New macro.
1396 (gamma_positive): New function.
1397 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1398 underflow here. Use gamma_positive instead of exp (lgamma) for
1400 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1401 (gamma_coeff): New variable.
1402 (NCOEFF): New macro.
1403 (gammaf_positive): New function.
1404 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1405 underflow here. Use gamma_positive instead of exp (lgamma) for
1407 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1408 (gamma_coeff): New variable.
1409 (NCOEFF): New macro.
1410 (gammal_positive): New function.
1411 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1412 underflow here. Use gamma_positive instead of exp (lgamma) for
1414 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1415 (gamma_coeff): New variable.
1416 (NCOEFF): New macro.
1417 (gammal_positive): New function.
1418 (__ieee754_gammal_r): Handle positive infinity, overflow and
1419 underflow here. Handle NaN the same as positive infinity. Remove
1420 check x < 0xffffffff for negative integers. Use gamma_positive
1421 instead of exp (lgamma) for other arguments.
1422 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1423 (gamma_coeff): New variable.
1424 (NCOEFF): New macro.
1425 (gammal_positive): New function.
1426 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1427 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1428 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1429 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1431 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1432 * sysdeps/generic/math_private.h (__gamma_productf): New
1434 (__gamma_product): Likewise.
1435 (__gamma_productl): Likewise.
1436 * math/Makefile (libm-calls): Add gamma_product.
1437 * math/libm-test.inc (tgamma_test): Add more tests.
1438 * sysdeps/i386/fpu/libm-test-ulps: Update.
1439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1441 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
1443 * benchtests/bench-skeleton.c (main): Preheat CPU.
1445 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1447 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1449 2013-05-07 Roland McGrath <roland@hack.frob.com>
1451 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1452 and _dl_skip_args_internal.
1454 2013-05-07 Carlos O'Donell <carlos@redhat.com>
1456 * manual/message.texi (Message Translation): Talk about users.
1457 Message to key mapping impacts design.
1459 2013-05-06 Roland McGrath <roland@hack.frob.com>
1461 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1463 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1465 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1466 * sysdeps/wordsize-64/glob64.c: ... here.
1468 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1469 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1472 * debug/getlogin_r_chk.c: Moved to ...
1473 * login/getlogin_r_chk.c: ... here.
1474 * debug/Makefile (routines): Move getlogin_r_chk to ...
1475 * login/Makefile (routines): ... here.
1476 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1477 * login/Versions (libc: GLIBC_2.4): ... here.
1479 * io/poll.c (__poll): Renamed from poll.
1480 Add libc_hidden_def.
1481 (poll): Define as weak alias.
1483 * debug/ptsname_r_chk.c: Moved to ...
1484 * login/ptsname_r_chk.c: ... here.
1485 * debug/Makefile (routines): Move ptsname_r_chk to ...
1486 * login/Makefile (routines): ... here.
1487 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1488 * login/Versions (libc: GLIBC_2.4): ... here.
1490 * posix/getlogin.c: Moved to ...
1491 * login/getlogin.c: ... here.
1492 * posix/getlogin_r.c: Moved to ...
1493 * login/getlogin_r.c: ... here.
1494 * posix/getlogin_r.c: Moved to ...
1495 * login/getlogin_r.c: ... here.
1496 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1497 * login/Makefile (routines): ... here.
1498 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1499 * login/Versions (libc: GLIBC_2.0): ... here.
1501 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1502 (setrlimit): Define as weak alias.
1504 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1505 Call __ names for open, ftruncate, and close.
1506 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1507 (truncate): Define as weak alias.
1509 2013-05-06 Joseph Myers <joseph@codesourcery.com>
1511 * math/gen-libm-test.pl (parse_args): Initialize x before each
1512 test of frexp, modf and remquo.
1514 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1517 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1523 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1525 2013-05-06 Roland McGrath <roland@hack.frob.com>
1527 * elf/dl-writev.h: New file.
1528 * elf/dl-misc.c: Include it.
1529 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1530 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1532 2013-05-04 Joseph Myers <joseph@codesourcery.com>
1534 * math/libm-test.inc (noXFails): Remove variable.
1535 (noXPasses): Likewise.
1536 (BUILD_COMPLEX_INT): Remove macro.
1537 (print_screen): Remove xfail argument.
1538 (print_screen_max_error): Likewise.
1539 (update_stats): Likewise.
1540 (print_max_error): Likewise. Update calls to other affected
1542 (print_complex_max_error): Likewise.
1543 (test_single_exception): Update calls to print_screen.
1544 (test_single_errno): Likewise.
1545 (check_float_internal): Remove xfail argument. Update calls to
1546 other affected functions.
1547 (check_float): Likewise.
1548 (check_complex): Likewise.
1549 (check_int): Likewise.
1550 (check_long): Likewise.
1551 (check_bool): Likewise.
1552 (check_longlong): Likewise.
1553 (main): Don't print noXFails and noXPasses.
1554 * math/gen-libm-test.pl (top level): Don't mention expected
1555 failure handling in comment.
1556 (new_test): Don't handle expected failures.
1557 (parse_args): Don't mention expected failure handling in comment.
1558 (generate_testfile): Don't handle expected failures.
1559 (parse_ulps): Likewise.
1560 (print_ulps_file): Likewise.
1561 (get_failure): Remove function.
1562 (output_test): Don't handle expected failures.
1563 * make/README.libm-test: Don't mention expected failure handling.
1565 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1566 (minus_zero): Likewise.
1567 (plus_infty): Likewise.
1568 (minus_infty): Likewise.
1569 (qnan_value): Likewise.
1570 (max_value): Likewise.
1571 (min_value): Likewise.
1572 (min_subnorm_value): Likewise.
1573 (initialize): Do not initialize those variables dynamically.
1575 2013-05-03 Roland McGrath <roland@hack.frob.com>
1577 * io/open.c (__open_2): Moved to ...
1578 * io/open_2.c: ... this new file.
1579 * io/open64.c (__open64_2): Moved to ...
1580 * io/open64_2.c: ... this new file.
1581 * io/openat.c (__openat_2): Moved to ...
1582 * io/openat_2.c: ... this new file.
1583 * io/openat64.c (__openat64_2): Moved to ...
1584 * io/openat64_2.c: ... this new file.
1585 * io/Makefile (routines): Add them.
1586 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1587 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1588 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1589 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1590 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1591 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1592 (__openat64): Add hidden_ver.
1593 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1594 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1596 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1597 Separately conditionalize setting of GLRO(dl_sysinfo) so
1598 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1599 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1601 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1606 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1607 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1608 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1609 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1610 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1612 2013-05-03 Joseph Myers <joseph@codesourcery.com>
1614 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1617 * math/libm-test.inc (hypot_test): Do not use
1618 IGNORE_ZERO_INF_SIGN.
1620 2013-05-03 Andreas Jaeger <aj@suse.de>
1622 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1624 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1625 (PF_MAX): Adjust for VSOCK change.
1627 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1631 2013-05-02 Carlos O'Donell <carlos@redhat.com>
1634 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1635 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1636 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1638 2013-05-02 David S. Miller <davem@davemloft.net>
1640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1642 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
1644 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1646 2013-05-01 Roland McGrath <roland@hack.frob.com>
1648 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1650 2013-05-01 Richard Smith <richard@metafoo.co.uk>
1653 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1654 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1655 Use __attribute__ ((__gnu_inline__)).
1656 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1657 Don't use __attribute__ ((__gnu_inline__)).
1659 2013-05-01 Joseph Myers <joseph@codesourcery.com>
1662 * math/s_catan.c (__catan): Handle small real or imaginary part of
1663 input specially to avoid spurious underflow.
1664 * math/s_catanf.c (__catanf): Likewise.
1665 * math/s_catanh.c (__catanh): Likewise.
1666 * math/s_catanhf.c (__catanhf): Likewise.
1667 * math/s_catanhl.c (__catanhl): Likewise.
1668 * math/s_catanl.c (__catanl): Likewise.
1669 * math/libm-test.inc (catan_test): Add more tests.
1670 (catanh_test): Likewise.
1671 * sysdeps/i386/fpu/libm-test-ulps: Update.
1672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1674 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1678 2013-04-30 Joseph Myers <joseph@codesourcery.com>
1681 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1682 accurately for denominator in atan2.
1683 * math/s_catanf.c (__catanf): Likewise.
1684 * math/s_catanh.c (__catanh): Likewise.
1685 * math/s_catanhf.c (__catanhf): Likewise.
1686 * math/s_catanhl.c (__catanhl): Likewise.
1687 * math/s_catanl.c (__catanl): Likewise.
1688 * math/libm-test.inc (catan_test): Add more tests.
1689 (catanh_test): Likewise.
1690 * sysdeps/i386/fpu/libm-test-ulps: Update.
1691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1693 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1695 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1697 * benchtests/Makefile (bench): Remove slow benchmarks.
1698 * benchtests/atan-inputs: Add slow benchmark inputs.
1699 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1700 (BENCH_FUNC): Accept variant offset.
1702 * benchtests/bench-skeleton.c (main): Run benchmark for each
1704 * benchtests/cos-inputs: Add slow benchmark inputs.
1705 * benchtests/exp-inputs: Likewise.
1706 * benchtests/pow-inputs: Likewise.
1707 * benchtests/sin-inputs: Likewise.
1708 * benchtests/slowatan-inputs: Remove.
1709 * benchtests/slowatan.c: Remove.
1710 * benchtests/slowcos-inputs: Remove.
1711 * benchtests/slowcos.c: Remove.
1712 * benchtests/slowexp-inputs: Remove.
1713 * benchtests/slowexp.c: Remove.
1714 * benchtests/slowpow-inputs: Remove.
1715 * benchtests/slowpow.c: Remove.
1716 * benchtests/slowsin-inputs: Remove.
1717 * benchtests/slowsin.c: Remove.
1718 * benchtests/slowtan-inputs: Remove.
1719 * benchtests/slowtan.c: Remove.
1720 * benchtests/tan-inputs: Add slow benchmark inputs.
1721 * scripts/bench.pl: Parse comments and directives.
1723 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1725 ($(objpfx)bench-%.c): Remove *-ITER.
1726 * benchtests/bench-modf.c: Remove definition of ITER.
1727 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1728 (main): Loop for DURATION seconds instead of fixed number of
1730 * scripts/bench.pl: Don't expect iterations in parameters.
1732 2013-04-29 Roland McGrath <roland@hack.frob.com>
1734 * io/fchdir.c (__fchdir): Renamed from fchdir.
1735 (fchdir): Define as weak alias.
1737 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1739 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1740 (ERRNO_EDOM): Likewise.
1741 (ERRNO_ERANGE): Likewise.
1742 (noErrnoTests): New variable.
1743 (init_max_error): Set errno to 0.
1744 (test_single_errno): New function.
1745 (test_errno): Likewise.
1746 (check_float_internal): Call test_errno. Set errno to 0.
1747 (check_complex): Refer to errno tests in comment.
1748 (check_int): Call test_errno. Set errno to 0.
1749 (check_long): Likewise.
1750 (check_bool): Likewise.
1751 (check_longlong): Likewise.
1752 (cos_test): Use ERRNO_* flags for errno tests instead of
1754 (expm1_test): Likewise.
1755 (fmod_test): Likewise.
1756 (ilogb_test): Likewise.
1757 (lgamma_test): Likewise.
1758 (pow_test): Likewise.
1759 (remainder_test): Likewise.
1760 (sin_test): Likewise.
1761 (tan_test): Likewise.
1762 (yn_test): Likewise.
1763 (initialize): Set errno to 0.
1764 (main): Print number of errno tests.
1765 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1767 2013-04-29 Andreas Jaeger <aj@suse.de>
1770 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1774 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1775 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1779 * stdlib/random.c (__initstate): Return NULL if
1783 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1784 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1787 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1791 2013-04-29 Joseph Myers <joseph@codesourcery.com>
1793 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1794 of individual tests.
1795 (casin_test): Likewise.
1796 (casinh_test): Likewise.
1798 2013-04-27 Joseph Myers <joseph@codesourcery.com>
1801 * math/s_catan.c (__catan): Handle arguments with large real or
1802 imaginary part separately without squaring.
1803 * math/s_catanf.c (__catanf): Likewise.
1804 * math/s_catanh.c (__catanh): Likewise.
1805 * math/s_catanhf.c (__catanhf): Likewise.
1806 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1808 (__catanhl): Handle arguments with large real or imaginary part
1809 separately without squaring.
1810 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1812 (__catanl): Handle arguments with large real or imaginary part
1813 separately without squaring.
1814 * math/libm-test.inc (catan_test): Add more tests.
1815 (catanh_test): Likewise.
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1819 2013-04-27 Andreas Jaeger <aj@suse.de>
1822 * stdlib/stdlib.h: Update guards for qecvt.
1823 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1826 2013-04-27 Allan McRae <allan@archlinux.org>
1828 * sysdeps/i386/fpu/libm-test-ulps: Update.
1830 2013-04-26 Joseph Myers <joseph@codesourcery.com>
1833 * math/s_catan.c: Include <float.h>.
1834 (__catan): Ensure underflow exception occurs for underflowed
1836 * math/s_catanf.c: Include <float.h>.
1837 (__catanf): Ensure underflow exception occurs for underflowed
1839 * math/s_catanh.c: Include <float.h>.
1840 (__catanh): Ensure underflow exception occurs for underflowed
1842 * math/s_catanhf.c: Include <float.h>.
1843 (__catanhf): Ensure underflow exception occurs for underflowed
1845 * math/s_catanhl.c: Include <float.h>.
1846 (__catanhl): Ensure underflow exception occurs for underflowed
1848 * math/s_catanl.c: Include <float.h>.
1849 (__catanl): Ensure underflow exception occurs for underflowed
1851 * math/libm-test.inc (catan_test): Add more tests.
1852 (catanh_test): Likewise.
1855 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1857 * math/s_ccoshf.c (__ccoshf): Likewise.
1858 * math/s_ccoshl.c (__ccoshl): Likewise.
1859 * math/s_csin.c (__csin): Likewise.
1860 * math/s_csinf.c (__csinf): Likewise.
1861 * math/s_csinh.c (__csinh): Likewise.
1862 * math/s_csinhf.c (__csinhf): Likewise.
1863 * math/s_csinhl.c (__csinhl): Likewise.
1864 * math/s_csinl.c (__csinl): Likewise.
1865 * math/libm-test.inc (ccos_test): Add more tests.
1866 (ccosh_test): Likewise.
1867 (csin_test): Likewise.
1868 (csinh_test): Likewise.
1870 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1873 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1874 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1875 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1876 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1877 powerpc/power5+/fpu folders.
1878 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1881 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1885 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1887 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1888 additions to variable.
1889 [$(config-machine) = x86_64] (modules-names): Likewise.
1890 ($(objpfx)tst-audit3): Remove dependency.
1891 ($(objpfx)tst-audit3.out): Likewise.
1892 ($(objpfx)tst-audit4): Likewise.
1893 ($(objpfx)tst-audit4.out): Likewise.
1894 ($(objpfx)tst-audit5): Likewise.
1895 ($(objpfx)tst-audit5.out): Likewise.
1896 ($(objpfx)tst-audit6): Likewise.
1897 ($(objpfx)tst-audit6.out): Likewise.
1898 ($(objpfx)tst-audit7): Likewise.
1899 ($(objpfx)tst-audit7.out): Likewise.
1900 (tst-audit3-ENV): Remove variable.
1901 (tst-audit4-ENV): Likewise.
1902 (tst-audit5-ENV): Likewise.
1903 (tst-audit6-ENV): Likewise.
1904 (tst-audit7-ENV): Likewise.
1905 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1906 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1907 addition to variable.
1908 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1909 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1910 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1911 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1912 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1913 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1914 tst-audit3, tst-audit4 and tst-audit5.
1915 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1916 tst-audit6 and tst-audit7.
1917 [$(subdir) = elf] (modules-names): Add audit modules for those
1919 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1920 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1921 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1922 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1923 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1924 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1925 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1926 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1927 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1928 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1929 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1930 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1931 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1932 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1933 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1934 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1936 [$(subdir) = elf && $(config-cflags-avx) = yes]
1937 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1938 [$(subdir) = elf && $(config-cflags-avx) = yes]
1939 (CFLAGS-tst-auditmod4a.c): Likewise.
1940 [$(subdir) = elf && $(config-cflags-avx) = yes]
1941 (CFLAGS-tst-auditmod4b.c): Likewise.
1942 [$(subdir) = elf && $(config-cflags-avx) = yes]
1943 (CFLAGS-tst-auditmod6b.c): Likewise.
1944 [$(subdir) = elf && $(config-cflags-avx) = yes]
1945 (CFLAGS-tst-auditmod6c.c): Likewise.
1946 [$(subdir) = elf && $(config-cflags-avx) = yes]
1947 (CFLAGS-tst-auditmod7b.c): Likewise.
1948 * elf/tst-audit3.c: Move to ...
1949 * sysdeps/x86_64/tst-audit3.c: ... here.
1950 * elf/tst-audit4.c: Move to ...
1951 * sysdeps/x86_64/tst-audit4.c: ... here.
1952 * elf/tst-audit5.c: Move to ...
1953 * sysdeps/x86_64/tst-audit5.c: ... here.
1954 * elf/tst-audit6.c: Move to ...
1955 * sysdeps/x86_64/tst-audit6.c: ... here.
1956 * elf/tst-audit7.c: Move to ...
1957 * sysdeps/x86_64/tst-audit7.c: ... here.
1958 * elf/tst-auditmod3a.c: Move to ...
1959 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1960 * elf/tst-auditmod3b.c: Move to ...
1961 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1962 * elf/tst-auditmod4a.c: Move to ...
1963 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1964 * elf/tst-auditmod4b.c: Move to ...
1965 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1966 * elf/tst-auditmod5a.c: Move to ...
1967 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1968 * elf/tst-auditmod5b.c: Move to ...
1969 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1970 * elf/tst-auditmod6a.c: Move to ...
1971 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1972 * elf/tst-auditmod6b.c: Move to ...
1973 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1974 * elf/tst-auditmod6c.c: Move to ...
1975 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1976 * elf/tst-auditmod7a.c: Move to ...
1977 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1978 * elf/tst-auditmod7b.c: Move to ...
1979 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1981 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1984 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1985 define unconditionally.
1986 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1987 define unconditionally.
1988 (INT8_C, INT16_C, etc.): Likewise.
1990 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1992 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1993 __ehdr_start with hidden visibility.
1995 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1997 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1999 * math/libm-test.inc (cos_test): Use accurate hex constants.
2000 (sincost_test): Likewise.
2002 2013-04-24 Joseph Myers <joseph@codesourcery.com>
2004 * math/libm-test.inc (catan_test): Add more tests.
2005 (catanh_test): Likewise.
2007 * math/s_catanf.c (__catanf): Use suffixed floating-point
2009 * math/s_catanhf.c (__catanhf): Likewise.
2010 * math/s_catanhl.c (__catanhl): Likewise.
2011 * math/s_catanl.c (__catanl): Likewise.
2014 * math/s_catan.c (__catan): Calculate imaginary part of result
2015 with log1p not log unless computing log of number close to 0.
2016 * math/s_catanf.c (__catanf): Likewise.
2017 * math/s_catanl.c (__catanl): Likewise.
2018 * math/s_catanh.c (__catanh): Calculate real part of result with
2019 log1p not log unless computing log of number close to 0.
2020 * math/s_catanhf.c (__catanhf): Likewise.
2021 * math/s_catanhl.c (__catanhl): Likewise.
2022 * math/libm-test.inc (catan_test): Add more tests.
2023 (catanh_test): Likewise.
2024 * sysdeps/i386/fpu/libm-test-ulps: Update.
2025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2027 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2029 * benchtests/Makefile: Mention files in which fast and slow
2030 paths of math functions are implemented.
2032 2013-04-23 Roland McGrath <roland@hack.frob.com>
2034 * sysdeps/posix/timespec_get.c: New file.
2036 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2038 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2040 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2042 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2043 powerpc/power5/fpu folders.
2044 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2045 * benchtests/Makefile: Add modf testcase.
2046 * benchtests/bench-modf.c: New file: Benchmark test for mo
2048 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2051 * time/Makefile (tests): Add tst-strptime-whitespace.
2052 * time/strptime_l.c (get_number): Use ISSPACE.
2053 (__strptime_internal): Likewise.
2054 * time/tst-strptime-whitespace.c: New test case.
2056 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2058 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2060 (_nss_files_init): Set it here.
2062 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2064 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2065 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2068 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2070 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2072 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2077 2013-04-21 David S. Miller <davem@davemloft.net>
2079 * po/ru.po: Update Russion translation from translation project.
2081 2013-04-17 Adam Conrad <adconrad@0c3.net>
2083 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2086 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2088 * configure.in: Remove i386 configure warning. Remove i386 case.
2089 * configure: Regenerate.
2090 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2091 Add example to error message.
2092 * sysdeps/i386/configure: Regenerate.
2094 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2096 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2098 * benchtests/cos-inputs: New file.
2099 * benchtests/slowcos-inputs: New file.
2100 * benchtests/slowcos.c: New file.
2101 * benchtests/slowtan-inputs: New file.
2102 * benchtests/slowtan.c: New file.
2103 * benchtests/tan-inputs: New file.
2105 2013-04-16 Roland McGrath <roland@hack.frob.com>
2107 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2110 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2112 * benchtests/Makefile: Include cppflags-iterator.mk to add
2113 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2115 * Makefile.in (bench-clean): New target.
2116 * benchtests/Makefile (bench-clean): Likewise.
2118 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2120 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2122 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2124 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2126 2013-04-15 Andreas Schwab <schwab@suse.de>
2128 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2130 * nscd/pwdcache.c (cache_addpw): Likewise.
2131 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2134 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2136 * benchtests/Makefile (bench): Write all output to
2137 bench-out.tmp together.
2139 2013-04-15 Andreas Schwab <schwab@suse.de>
2141 * nscd/nscd.c (main): Don't fork again after closing files.
2143 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2145 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2147 * benchtests/Rules (bench-deps): Collect dependencies into a
2148 single variable. Add Makefile to dependencies.
2149 ($(objpfx)bench-%.c): Depend on bench-deps.
2151 2013-04-12 Roland McGrath <roland@hack.frob.com>
2152 Xavier Roche <roche+kml2@exalead.com>
2155 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2156 just that it's a file descriptor.
2157 * manual/llio.texi (Synchronizing AIO Operations): Update description
2158 for EBADF error from aio_fsync.
2160 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2162 * Rules (bench): Move target definition...
2163 * benchtests/Makefile: ... here.
2165 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2167 * math/libm-test.inc (cos_test): Fix PI/2 test.
2168 (sincos_test): Likewise.
2169 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2170 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2172 2013-04-11 Andreas Schwab <schwab@suse.de>
2175 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2176 accept exponent character only when digits were seen.
2177 * stdio-common/Makefile (tests): Add bug26.
2178 * stdio-common/bug26.c: New file.
2181 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2184 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2186 * Makeconfig (rtld-prefix): Define built linker prefix.
2187 * Rules (run-bench): Use it.
2188 * math/Makefile (run-regen-ulps): Likewise.
2190 * Rules (bench): Remove eval.
2192 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2193 Roland McGrath <roland@hack.frob.com>
2194 Ondrej Bilka <neleai@seznam.cz>
2197 * time/getdate.c: Include ctype.h and alloca.h.
2198 (__getdate_r): Trim leading and trailing spaces of input.
2199 * time/tst-getdate.c (tests): Add tests with leading and
2202 2013-04-08 Roland McGrath <roland@hack.frob.com>
2205 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2206 when computing value.
2208 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2210 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2211 Use testrun.sh to run libm tests.
2214 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2216 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2219 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2221 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2223 * Makefile.in (regen-ulps): New target.
2224 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2225 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2226 [ifneq (no,$(PERL)] (regen-ulps): New target.
2227 [ifeq (no,$(PERL)] (regen-ulps): New target.
2228 * math/libm-test.inc (ulps_file_name): Define.
2229 (output_dir): New variable.
2230 (options): Add "output-dir" option.
2231 (parse_opt): Handle 'o' case.
2232 (main): If output_dir is non-NULL use it as a prefix
2234 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2236 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2239 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2240 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2241 fail configure if __sync_val_compare_and_swap is not inlined.
2242 * sysdeps/i386/configure: Regenerate.
2243 * configure.in: Build for i686 when configured for i386.
2244 * configure: Regenerate.
2245 * README: Remove i386 reference.
2247 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2249 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2250 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2252 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2254 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2255 (lmsnanval): New variables.
2256 (F): Add conversion tests.
2257 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2258 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2260 * stdio-common/tstdiomisc.c (F): Properly collect individual
2264 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2265 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2266 Instead, use input NaN values or generate a qNaN by arithmetic
2267 operation. Also fix bugs to comply with the standard.
2268 * math/libm-test.inc (remainder_test): Add more tests.
2271 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2272 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2273 input NaN values or generate a qNaN by arithmetic operation.
2275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2278 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2281 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2284 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2286 * math/s_cexpf.c (__cexpf): Likewise.
2287 * math/s_cexpl.c (__cexpl): Likewise.
2288 * math/libm-test.inc (cexp_test): Add more tests.
2290 2013-04-03 Andreas Schwab <schwab@suse.de>
2293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2294 order arrays from heap if bigger than alloca cutoff.
2296 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2298 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2299 (SNAN_TESTS_double): Refer to GCC PR56831.
2300 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2303 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2305 * Rules (bench): Move bench.out after the run is complete.
2307 * Rules (bench): Echo currently running benchmark.
2309 * benchtests/Makefile (bench): Add atan and slowatan.
2310 * benchtests/atan-inputs: New file.
2311 * benchtests/slowatan-inputs: New file.
2312 * benchtests/slowatan.c: New file.
2314 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2319 * sysdeps/unix/sysv/linux/kernel-features.h
2320 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2321 __ASSUME_XFS_RESTRICTED_CHOWN.
2322 * sysdeps/unix/sysv/linux/pathconf.c
2323 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2324 Save and restore errno.
2326 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2329 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2330 arguments using __kernel_casinh.
2331 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2332 arguments using __kernel_casinhf.
2333 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2334 arguments using __kernel_casinhl.
2335 * math/libm-test.inc (cacosh_test): Add more tests.
2336 * sysdeps/i386/fpu/libm-test-ulps: Update.
2337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2341 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2344 * bench/Makefile (bench): Add sin and slowsin.
2345 * benchtests/sin-inputs: New file.
2346 * benchtests/slowsin-inputs: New file.
2347 * benchtests/slowsin.c: New file.
2349 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2350 (bench): Add slowexp and slowpow.
2351 (exp-ITER): Increase iterations.
2352 (pow-ITER): Likewise.
2353 * benchtests/exp-inputs: Change input.
2354 * benchtests/pow-inputs: Likewise.
2355 * benchtests/slowexp-inputs: New file.
2356 * benchtests/slowexp.c: New file.
2357 * benchtests/slowpow-inputs: New file.
2358 * benchtests/slowpow.c: New file.
2360 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2362 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2364 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2365 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2366 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2367 * benchtests/Makefile: Add rint benchtest.
2368 * benchtests/rint-inputs: Input for rint benchtest.
2370 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2372 * Versions.def (libm): Add GLIBC_2.18.
2373 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2374 hidden libm prototypes.
2375 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2376 * math/Makefile (libm-calls): Add s_issignaling.
2377 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2378 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2379 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2381 * math/math.h [__USE_GNU] (issignaling): New macro.
2382 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2383 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2384 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2385 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2388 * manual/arith.texi (issignaling): New section.
2389 * manual/libm-err-tab.pl (@all_functions): Update comment.
2390 * math/gen-libm-test.pl (parse_args): Apply special handling for
2392 * math/libm-test.inc (print_float, issignaling_test): New
2394 (check_float_internal): Add issignaling checks.
2395 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2397 * sysdeps/powerpc/math-tests.h: New file.
2398 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2400 * math/test-snan.c (TEST_FUNC): Likewise.
2402 2013-03-30 David S. Miller <davem@davemloft.net>
2404 * po/de.po: Update from translation team.
2406 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2409 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2410 imaginary part less than 1.0 and real part less than 0.5
2412 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2413 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2414 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2415 (cacos_test): Add more tests.
2416 (casin_test): Likewise.
2417 (casinh_test): Likewise.
2418 * sysdeps/i386/fpu/libm-test-ulps: Update.
2419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2423 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2426 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2427 (__pow_mp): Replace ONE and MONE with their values.
2428 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2429 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2430 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2431 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2432 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2433 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2435 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2437 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2438 (__pow_mp): Replace ZERO and MZERO with their values.
2439 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2440 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2441 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2443 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2444 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2447 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2449 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2451 2013-03-28 Roland McGrath <roland@hack.frob.com>
2453 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2454 Declare with __attribute__ ((weak)).
2455 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2456 Call __call_tls_dtors only if it's not NULL.
2458 2013-03-28 Roland McGrath <roland@hack.frob.com>
2460 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2461 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2462 magic __ehdr_start linker symbol if it's defined.
2463 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2464 them up here if it was already done.
2466 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2467 (_dl_aux_init): Use const in cast when setting it.
2468 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2469 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2470 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2472 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2474 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2475 * csu/libc-tls.c: Nor here.
2476 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2478 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2479 (__libc_message): Never call vsyslog.
2481 2013-03-28 Alan Modra <amodra@gmail.com>
2483 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2485 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2488 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2495 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2498 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2499 Don't add gid passed as argument.
2501 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2503 2013-03-27 Joseph Myers <joseph@codesourcery.com>
2506 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2507 imaginary part between 1.0 and 1.5 and real part less than 0.5
2509 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2510 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2511 * math/libm-test.inc (cacos_test): Add more tests.
2512 (casin_test): Likewise.
2513 (casinh_test): Likewise.
2514 * sysdeps/i386/fpu/libm-test-ulps: Update.
2515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2519 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2523 (__dbl_mp): Likewise.
2524 (add_magnitudes): Likewise.
2525 (sub_magnitudes): Likewise.
2533 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2535 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2536 (__dubcos): Likewise.
2537 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2538 (__ieee754_acos): Likewise.
2539 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2540 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2545 (my_log2): Likewise.
2546 (checkint): Likewise.
2547 * sysdeps/ieee754/dbl-64/e_remainder.c
2548 (__ieee754_remainder): Likewise.
2549 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2552 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2554 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2555 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2556 MANTISSA_STORE_T to store computations on mantissa. Use
2557 macros for rounding and division.
2559 (__dbl_mp): Likewise.
2560 (add_magnitudes): Likewise.
2561 (sub_magnitudes): Likewise.
2564 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2565 powers of two in terms of TWOPOW macro.
2566 (mp_no): Make type of mantissa as MANTISSA_T.
2567 [!RADIXI]: Define RADIXI.
2568 [!TWO52]: Define TWO52.
2569 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2571 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2573 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2574 llroundl symbol when building for PPC32.
2576 2013-03-24 Mark H Weaver <mhw@netris.org>
2578 * manual/arith.texi (Normalization Functions): Fix prototypes for
2579 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2581 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2585 high value to check if expl overflow.
2586 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2587 to check for underflow and overflow.
2588 * math/libm-test.inc: Add exp test.
2590 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2593 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2596 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2601 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2603 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2604 wrap blocks consisting of several statements.
2606 * sysdeps/generic/math-tests.h: New file.
2607 * sysdeps/i386/fpu/math-tests.h: Likewise.
2608 * math/test-snan.c: Include it.
2609 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2611 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2614 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2615 (__ieee754_j0l): Do not improve calculations using cos of twice
2616 input for inputs above LDBL_MAX / 2.0L.
2617 (__ieee754_y0l): Likewise.
2618 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2619 (__ieee754_j1l): Do not improve calculations using cos of twice
2620 input for inputs above LDBL_MAX / 2.0L.
2621 (__ieee754_y1l): Likewise.
2622 * math/libm-test.inc (j0_test): Add another test.
2623 (j1_test): Likewise.
2624 (y0_test): Likewise.
2625 (y1_test): Likewise.
2626 * sysdeps/i386/fpu/libm-test-ulps: Update.
2628 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2630 * Rules ($(objpfx)bench-%.c): Include code from a C source
2633 2013-03-21 Joseph Myers <joseph@codesourcery.com>
2636 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2637 imaginary part 1.0 and real part less than 0.5 specially.
2638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2640 * math/libm-test.inc (cacos_test): Add more tests.
2641 (casin_test): Likewise.
2642 (casinh_test): Likewise.
2643 * sysdeps/i386/fpu/libm-test-ulps: Update.
2644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2646 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2648 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2649 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2651 2013-03-20 Joseph Myers <joseph@codesourcery.com>
2653 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2654 * config.make.in (config-cflags-sse4): Remove variable.
2655 (config-cflags-avx): Likewise.
2656 (config-cflags-sse2avx): Likewise.
2657 (config-cflags-novzeroupper): Likewise.
2658 (config-asflags-i686): Likewise.
2659 (have-mfma4): Likewise.
2660 (have-as-vis3): Likewise.
2662 * configure.in (MIG): Do not AC_SUBST.
2663 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2664 (libc_cv_cc_sse4): Do not AC_SUBST.
2665 (libc_cv_cc_avx): Likewise.
2666 (libc_cv_cc_sse2avx): Likewise.
2667 (libc_cv_cc_novzeroupper): Likewise.
2668 (libc_cv_cc_fma4): Likewise.
2669 (libc_cv_as_i686): Likewise.
2670 (libc_cv_sparc_as_vis3): Likewise.
2671 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2673 (config-asflags-i686): Likewise.
2674 (config-cflags-avx): Likewise.
2675 (config-cflags-sse2avx): Likewise.
2676 (have-mfma4): Likewise.
2677 (config-cflags-novzeroupper): Likewise.
2678 * sysdeps/mach/configure.in (MIG): Likewise.
2679 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2680 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2682 (config-cflags-avx): Likewise.
2683 (config-cflags-sse2avx): Likewise.
2684 (have-mfma4): Likewise.
2685 (config-cflags-novzeroupper): Likewise.
2686 * configure: Regenerated.
2687 * sysdeps/i386/configure: Likewise.
2688 * sysdeps/mach/configure: Likewise.
2689 * sysdeps/sparc/configure: Likewise.
2690 * sysdeps/x86_64/configure: Likewise.
2692 2013-03-20 Roland McGrath <roland@hack.frob.com>
2695 * locale/programs/localedef.c (options): Put N_ translation marker
2696 on argument names, not just descriptions.
2698 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2700 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2702 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
2705 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2707 2013-03-19 Roland McGrath <roland@hack.frob.com>
2709 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2710 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2711 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2712 [!BEFORE_ABORT] (before_abort): New function.
2713 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2714 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2715 (writev_for_fatal): New function.
2716 (WRITEV_FOR_FATAL): New macro; call that.
2717 (backtrace_and_maps): New function.
2718 (BEFORE_ABORT): New macro; call that.
2719 (struct str_list): Type removed.
2720 (__libc_message, __libc_fatal): Functions removed.
2721 Include <sysdeps/posix/libc_fatal.c> instead.
2723 2013-03-19 Joseph Myers <joseph@codesourcery.com>
2725 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2727 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2730 2013-03-19 Andreas Schwab <schwab@suse.de>
2732 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2733 * sysdeps/gnu/configure: Regenerate.
2735 * configure.in: Substitute libc_cv_rtlddir.
2736 * configure: Regenerate.
2737 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2738 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2739 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2740 * elf/Makefile (install-others, CFLAGS-interp.c)
2741 (ldso_install, common-ldd-rewrite): Likewise.
2742 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2743 $(inst_slibdir)/$(rtld-installed-name).
2744 * scripts/rellns-sh: Add -p option.
2745 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2748 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2750 * manual/nptl.texi: Renamed to ...
2751 * manual/threads.texi: ... this.
2752 * manual/Makefile (chapters): Update.
2754 2013-03-18 Roland McGrath <roland@hack.frob.com>
2757 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2758 on argument names, not just descriptions.
2759 * malloc/memusagestat.c (options): Likewise.
2760 * nss/getent.c (options): Likewise.
2762 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
2765 * iconv/iconv_prog.c (options): Put N_ translation marker
2766 on argument names, not just descriptions.
2767 * iconv/iconvconfig.c (options): Likewise.
2769 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
2771 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2772 implementation which is faster on all x86_64 architectures.
2773 Tested on AMD, Intel Nehalem, SNB, IVB.
2774 * sysdeps/x86_64/strnlen.S: Likewise.
2776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2777 Remove all multiarch strlen and strnlen versions.
2778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2779 Remove strlen and strnlen related parts.
2781 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2783 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2785 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2786 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2787 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2788 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2789 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2790 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2792 2013-03-17 Carlos O'Donell <carlos@redhat.com>
2794 * manual/memory.texi (Malloc Tunable Parameters):
2795 Sort parameters alphabetically. Add comments for missing entries.
2797 2013-03-17 David S. Miller <davem@davemloft.net>
2799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2801 2013-03-16 Joseph Myers <joseph@codesourcery.com>
2804 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2805 for arguments at most half maximum finite value.
2806 * math/libm-test.inc (j0_test): Add more tests.
2807 (j1_test): Likewise.
2808 (y0_test): Likewise.
2809 (y1_test): Likewise.
2810 * sysdeps/i386/fpu/libm-test-ulps: Update.
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2814 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2815 1 / x and functions P and Q for arguments above 0x1p256L.
2816 (__ieee754_y0l): Likewise.
2817 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2818 (__ieee754_y1l): Likewise.
2819 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2820 (j1_test): Likewise.
2821 (y0_test): Likewise.
2822 (y1_test): Likewise.
2824 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2826 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2829 2013-03-15 Roland McGrath <roland@hack.frob.com>
2831 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2832 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2833 zero since it's initialized to EXEC_PAGESIZE.
2835 * sysdeps/unix/sysv/linux/ldsodefs.h
2836 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2837 * sysdeps/generic/ldsodefs.h: ... here.
2839 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2841 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2843 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2845 * math/test-snan.c: Renamed from
2846 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2847 * math/Makefile (tests): Add test-snan.
2848 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2851 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2852 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2854 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2855 __builtin_nan family of functions.
2856 * math/libm-test.inc (initialize): Initialize qnan_value with
2857 __builtin_nan family of functions.
2858 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2860 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2862 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2863 storage class. Initialize qNaN_var and sNaN_var with
2864 __builtin_nan and __builtin_nans families of functions,
2867 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2868 (sqrt_test): Remove duplicate test with qNaN input.
2869 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2870 (round_test, signbit_test, significand_test): Note missing +/-Inf
2871 as well as qNaN tests.
2873 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2874 qNaN_var. Fix a few strings, too.
2875 * math/libm-test.inc (nan_value): Rename to qnan_value.
2876 * math/gen-libm-test.pl (%beautify): Adjust to that.
2877 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2878 * math/test-misc.c (main): Likewise.
2879 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2880 to __qnan_bytes, and __qnan_union, respectively.
2881 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2883 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2884 and lqnanval, respectively.
2885 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2886 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2887 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2888 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2890 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2891 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2894 * math/test-misc.c (main): Fix copy'n'pastos.
2895 * misc/tst-efgcvt.c (special): Likewise.
2897 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2898 Remove declarations.
2900 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2902 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2903 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2904 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2905 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2907 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2910 macro to return vdso values correctly in IFUNC implementations.
2911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2912 Optimization by using IFUNC.
2914 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2915 Richard Henderson <rth@redhat.com>
2916 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2918 * Makefile.in (bench): New target.
2919 * NEWS: Mention the benchmark framework.
2920 * Rules (bench): Likewise.
2921 (binaries-bench): Generate binaries for functions to
2923 * benchtests/Makefile: New makefile for benchmark tests.
2924 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2926 * benchtests/exp-inputs: New input file for EXP function.
2927 * benchtests/pow-inputs: New input file for POW function.
2928 * scripts/bench.pl: New script to generate source files for
2931 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2933 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2934 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2935 computations on mantissa. Use macros for rounding and
2938 (__dbl_mp): Likewise.
2939 (add_magnitudes): Likewise.
2940 (sub_magnitudes): Likewise.
2943 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2944 powers of two in terms of TWOPOW macro.
2945 (mp_no): Make type of mantissa as MANTISSA_T.
2946 [!RADIXI]: Define RADIXI.
2947 [!TWO52]: Define TWO52.
2948 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2950 * manual/nptl.texi (cindex): Modify threads to pthreads.
2952 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2954 * sysdeps/x86_64/preconfigure: Regenerated.
2956 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2959 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2961 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2962 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2964 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2965 * math/libm-test.inc (j0_test): Do not allow one spurious
2966 underflow exception.
2967 (y1_test): Likewise.
2969 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2971 * manual/Makefile (chapters): Add nptl.
2972 * manual/debug.texi (Debugging Support): Add link to Threads
2974 * manual/nptl.texi: New file.
2976 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2978 2013-03-14 Petr Baudis <pasky@ucw.cz>
2980 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2981 for non-NULL pointer before the memory validity test. Pointed
2982 out by Holger Brunck <holger.brunck@keymile.com>.
2984 2013-03-13 Andreas Schwab <schwab@suse.de>
2986 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2989 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2991 * timezone/zic.c: Update from tzcode 2013b.
2993 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2995 * manual/install.texi (Configuring and compiling):
2996 Mention i686 and i586.
2997 * INSTALL: Regenerate.
2999 2013-03-12 Roland McGrath <roland@hack.frob.com>
3001 * sysdeps/init_array/elf-init.c: New file.
3003 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3004 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3006 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3007 __gmon_start__ as global, but as static with a .preinit_array pointer.
3008 * sysdeps/init_array/gmon-start.c: New file. Use that.
3009 * sysdeps/init_array/crti.S: New file, empty except for comments.
3010 * sysdeps/init_array/crtn.S: Likewise.
3012 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
3014 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3017 Remove Prefer_SSE_for_memop.
3018 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3019 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3020 HAS_PREFER_SSE_FOR_MEMOP.
3021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3024 Remove bzero, memset ifunc support.
3025 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3026 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3027 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3028 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3030 2013-03-11 Andreas Schwab <schwab@suse.de>
3033 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3036 (GLIBC_2.16): Remove pthread_atfork.
3038 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3040 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3041 (ptestcases.h): Likewise.
3043 2013-03-08 Roland McGrath <roland@hack.frob.com>
3045 * Makeconfig ($(common-objpfx)config.status): Depend on
3046 sysdeps/*/preconfigure{,.in} too.
3048 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3050 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3051 (__free_hook): Use void * instead of __malloc_ptr_t.
3052 (__malloc_hook): Likewise.
3053 (__realloc_hook): Likewise.
3054 (__memalign_hook): Likewise.
3055 (__after_morecore_hook): Likewise.
3056 * malloc/arena.c (save_malloc_hook): Likewise.
3057 (save_free_hook): Likewise.
3058 * malloc/hooks.c (malloc_hook_ini): Likewise.
3059 (realloc_hook_ini): Likewise.
3060 (memalign_hook_ini): Likewise.
3061 * malloc/malloc.c (malloc_hook_ini): Likewise.
3062 (realloc_hook_ini): Likewise.
3063 (memalign_hook_ini): Likewise.
3064 (__free_hook): Likewise.
3065 (__malloc_hook): Likewise.
3066 (__realloc_hook): Likewise.
3067 (__memalign_hook): Likewise.
3068 (__libc_malloc): Likewise.
3069 (__libc_free): Likewise.
3070 (__libc_realloc): Likewise.
3071 (__libc_memalign): Likewise.
3072 (__libc_valloc): Likewise.
3073 (__libc_pvalloc): Likewise.
3074 (__libc_calloc): Likewise.
3075 (__posix_memalign): Likewise.
3076 * malloc/morecore.c (__sbrk): Likewise.
3077 (__default_morecore): Likewise.
3079 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3081 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3082 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3085 * malloc/malloc.h (__malloc_size_t): Remove macro.
3086 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3088 (old_memalign_hook): Likewise.
3089 (old_realloc_hook): Likewise.
3090 (struct hdr): Likewise.
3092 (mallochook): Likewise.
3093 (memalignhook): Likewise.
3094 (reallochook): Likewise.
3095 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3096 (tr_old_realloc_hook): Likewise.
3097 (tr_old_memalign_hook): Likewise.
3098 (tr_mallochook): Likewise.
3099 (tr_reallochook): Likewise.
3100 (tr_memalignhook): Likewise.
3102 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3105 default_ldbl_pack and using as default implementation.
3106 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3108 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3109 redundant definition.
3110 (ldbl_insert_mantissa): Likewise.
3111 (ldbl_canonicalize): Likewise.
3112 (ldbl_nearbyint): Likewise.
3113 (ldbl_pack): Rename to ldbl_pack_ppc.
3114 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3115 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3116 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3118 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3121 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3122 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3123 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3125 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3126 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3127 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3129 2013-03-07 Andreas Jaeger <aj@suse.de>
3131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3134 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3136 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3137 Include mpa.h and declare __MPEXP.
3138 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3139 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3140 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3141 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3142 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3143 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3144 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3146 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3147 (__slowpow): Use long double EXPL and LOGL functions to
3149 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3150 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3151 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3152 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3153 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3154 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3157 intermediate variable to calculate exponent.
3159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3163 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3164 [!NO__SQR]: Define __sqr.
3165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3166 and NO__SQR. Remove all code except __mul and __sqr. Include
3167 sysdeps/ieee754/dbl-64/mpa.c.
3168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3171 * posix/Makefile (tests): Add tst-pathconf.
3172 * posix/tst-pathconf.c: New test case.
3173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3175 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3177 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3179 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3181 2013-03-06 Andreas Jaeger <aj@suse.de>
3183 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3184 definition via __MAP_ANONYMOUS.
3186 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3187 it's not part of Linux headers.
3189 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3190 (MAP_HUGE_MASK): Define.
3192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3194 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3197 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3198 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3200 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3201 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3203 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3205 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3206 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3207 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3208 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3209 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3210 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3212 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3216 Handle f2fs and efivarfs.
3218 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3221 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3222 (EFIVARFS_MAGIC): Add.
3223 (F2FS_LINK_MAX): Add.
3225 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3227 * stdio-common/vfprintf.c: Replace __builtin_expect with
3230 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3233 * sysdeps/generic/bp-sym.h: Remove file.
3234 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3235 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3236 <bp-sym.h> and <bp-asm.h>.
3237 (__longjmp): Don't use BP_SYM.
3238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3240 (memcpy): Don't use BP_SYM.
3241 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3242 <bp-sym.h> and <bp-asm.h>.
3243 (memcpy): Don't use BP_SYM.
3244 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3246 (memcpy): Don't use BP_SYM.
3247 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3249 (memset): Don't use BP_SYM.
3250 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3251 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3252 (__bzero): Don't use BP_SYM.
3253 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3254 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3255 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3256 <bp-sym.h> and <bp-asm.h>.
3257 (memcmp): Don't use BP_SYM. Remove comment about bounded
3259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3260 <bp-sym.h> and <bp-asm.h>.
3261 (memcpy): Don't use BP_SYM.
3262 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3263 <bp-sym.h> and <bp-asm.h>.
3264 (memset): Don't use BP_SYM.
3265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3267 (__bzero): Don't use BP_SYM.
3268 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3269 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3270 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3271 <bp-sym.h> and <bp-asm.h>.
3272 (strncmp): Don't use BP_SYM. Remove comment about bounded
3274 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3275 <bp-sym.h> and <bp-asm.h>.
3276 (memcpy): Don't use BP_SYM.
3277 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3278 <bp-sym.h> and <bp-asm.h>.
3279 (memset): Don't use BP_SYM.
3280 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3281 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3282 (__bzero): Don't use BP_SYM.
3283 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3284 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3285 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3286 <bp-sym.h> and <bp-asm.h>.
3287 (__memchr): Don't use BP_SYM.
3288 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3289 <bp-sym.h> and <bp-asm.h>.
3290 (memcmp): Don't use BP_SYM. Remove comment about bounded
3292 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3293 <bp-sym.h> and <bp-asm.h>.
3294 (memcpy): Don't use BP_SYM.
3295 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3296 <bp-sym.h> and <bp-asm.h>.
3297 (__mempcpy): Don't use BP_SYM.
3298 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3299 <bp-sym.h> and <bp-asm.h>.
3300 (__memrchr): Don't use BP_SYM.
3301 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3302 <bp-sym.h> and <bp-asm.h>.
3303 (memset): Don't use BP_SYM.
3304 (__bzero): Likewise.
3305 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3306 <bp-sym.h> and <bp-asm.h>.
3307 (__rawmemchr): Don't use BP_SYM.
3308 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3309 <bp-sym.h> and <bp-asm.h>.
3310 (__STRCMP): Don't use BP_SYM.
3311 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3312 <bp-sym.h> and <bp-asm.h>.
3313 (strchr): Don't use BP_SYM.
3314 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3315 <bp-sym.h> and <bp-asm.h>.
3316 (__strchrnul): Don't use BP_SYM.
3317 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3318 <bp-sym.h> and <bp-asm.h>.
3319 (strlen): Don't use BP_SYM.
3320 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3321 <bp-sym.h> and <bp-asm.h>.
3322 (strncmp): Don't use BP_SYM. Remove comment about bounded
3324 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3325 <bp-sym.h> and <bp-asm.h>.
3326 (__strnlen): Don't use BP_SYM.
3327 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3328 <bp-sym.h> and <bp-asm.h>.
3329 (__GI__setjmp): Don't use BP_SYM.
3330 (_setjmp): Likewise.
3331 (__sigsetjmp): Likewise.
3332 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3333 (L(start_addresses)): Don't use BP_SYM.
3335 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3337 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3338 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3339 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3340 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3341 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3343 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3344 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3345 about bounded pointers.
3346 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3347 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3348 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3350 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3351 about bounded pointers. Remove GKM FIXME comments.
3352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3353 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3355 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3356 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3357 Remove GKM FIXME comments.
3358 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3359 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3360 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3362 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3363 about bounded pointers. Remove GKM FIXME comment.
3364 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3366 (strncmp): Don't use BP_SYM. Remove comment about bounded
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3369 <bp-sym.h> and <bp-asm.h>.
3370 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3372 <bp-sym.h> and <bp-asm.h>.
3373 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3376 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3378 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3381 2013-03-05 David S. Miller <davem@davemloft.net>
3383 * po/es.po: Update from translation team.
3385 2013-03-05 Andreas Jaeger <aj@suse.de>
3387 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3388 <bits/mman-linux.h>.
3389 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3391 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3392 <bits/mman-linux.h> to end of file.
3393 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3395 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3396 <bits/mman-linux.h> to end of file.
3397 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3400 <bits/mman-linux.h> to end of file.
3402 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3403 (MCL_CURRENT, MCL_FUTURE): Define here.
3405 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3410 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3412 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3414 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3415 fourth parameter needed for rt_sigprocmask syscall.
3416 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3417 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3418 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3419 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3420 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3421 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3423 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3426 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3427 comment about bounded pointers.
3428 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3429 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3431 2013-03-04 Andreas Jaeger <aj@suse.de>
3433 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3436 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3437 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3438 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3439 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3443 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3447 __ieee754_sqrl instead of __sqrl.
3449 2013-03-01 Joseph Myers <joseph@codesourcery.com>
3451 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3452 * sysdeps/powerpc/fpu_control.h: ... here.
3453 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3454 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3455 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3456 * sysdeps/powerpc/bits/mathinline.h: ... here.
3458 2013-03-01 Roland McGrath <roland@hack.frob.com>
3460 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3461 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3462 to just [NEED_DL_SYSINFO_DSO].
3463 * elf/dl-support.c: Likewise.
3464 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3465 * elf/rtld.c (dl_main): Likewise.
3466 * elf/setup-vdso.h (setup_vdso): Likewise.
3467 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3468 * sysdeps/unix/sysv/linux/dl-sysdep.c
3469 (_dl_discover_osversion): Likewise.
3471 2013-03-01 Carlos O'Donell <carlos@redhat.com>
3473 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3474 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3476 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3478 * NEWS: Mention libm performance improvements and non-x86 PI
3481 * csu/libc-start.c (__pthread_initialize_minimal): Change
3483 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3485 2013-02-28 Joseph Myers <joseph@codesourcery.com>
3488 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3489 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3490 <bp-sym.h> and <bp-asm.h>.
3491 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3492 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3494 (memcpy): Don't use BP_SYM.
3495 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3497 (__mpn_add_n): Don't use BP_SYM.
3498 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3499 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3501 (__mpn_addmul_1): Don't use BP_SYM.
3502 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3503 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3505 (_setjmp): Don't use BP_SYM.
3506 (__novmx_setjmp): Likewise.
3507 (__GI__setjmp): Likewise.
3508 (__vmx_setjmp): Likewise.
3509 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3511 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3512 (__bzero): Don't use BP_SYM.
3513 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3514 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3515 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3516 <bp-sym.h> and <bp-asm.h>.
3517 (memcpy): Don't use BP_SYM.
3518 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3519 <bp-sym.h> and <bp-asm.h>.
3520 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3521 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3522 <bp-sym.h> and <bp-asm.h>.
3523 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3524 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3526 (__mpn_lshift): Don't use BP_SYM.
3527 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3528 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3530 (memset): Don't use BP_SYM.
3531 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3532 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3533 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3535 (__mpn_mul_1): Don't use BP_SYM.
3536 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3537 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3538 <bp-sym.h> and <bp-asm.h>.
3539 (memcmp): Don't use BP_SYM.
3540 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3541 <bp-sym.h> and <bp-asm.h>.
3542 (memcpy): Don't use BP_SYM.
3543 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3544 <bp-sym.h> and <bp-asm.h>.
3545 (memset): Don't use BP_SYM.
3546 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3547 <bp-sym.h> and <bp-asm.h>.
3548 (strncmp): Don't use BP_SYM.
3549 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3550 <bp-sym.h> and <bp-asm.h>.
3551 (memcpy): Don't use BP_SYM.
3552 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3553 <bp-sym.h> and <bp-asm.h>.
3554 (memset): Don't use BP_SYM.
3555 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3556 <bp-sym.h> and <bp-asm.h>.
3557 (__memchr): Don't use BP_SYM.
3558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3559 <bp-sym.h> and <bp-asm.h>.
3560 (memcmp): Don't use BP_SYM.
3561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3562 <bp-sym.h> and <bp-asm.h>.
3563 (memcpy): Don't use BP_SYM.
3564 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3565 <bp-sym.h> and <bp-asm.h>.
3566 (__mempcpy): Don't use BP_SYM.
3567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3568 <bp-sym.h> and <bp-asm.h>.
3569 (__memrchr): Don't use BP_SYM.
3570 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3571 <bp-sym.h> and <bp-asm.h>.
3572 (memset): Don't use BP_SYM.
3573 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3574 <bp-sym.h> and <bp-asm.h>.
3575 (__rawmemchr): Don't use BP_SYM.
3576 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3577 <bp-sym.h> and <bp-asm.h>.
3578 (__STRCMP): Don't use BP_SYM.
3579 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3580 <bp-sym.h> and <bp-asm.h>.
3581 (strchr): Don't use BP_SYM.
3582 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3583 <bp-sym.h> and <bp-asm.h>.
3584 (__strchrnul): Don't use BP_SYM.
3585 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3586 <bp-sym.h> and <bp-asm.h>.
3587 (strlen): Don't use BP_SYM.
3588 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3589 <bp-sym.h> and <bp-asm.h>.
3590 (strncmp): Don't use BP_SYM.
3591 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3592 <bp-sym.h> and <bp-asm.h>.
3593 (__strnlen): Don't use BP_SYM.
3594 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3596 (__mpn_rshift): Don't use BP_SYM.
3597 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3598 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3599 <bp-sym.h> and <bp-asm.h>.
3600 (__sigsetjmp): Don't use BP_SYM.
3601 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3602 (L(start_addresses)): Don't use BP_SYM.
3604 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3606 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3607 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3608 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3609 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3611 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3612 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3613 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3614 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3616 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3618 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3619 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3621 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3623 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3624 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3625 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3627 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3629 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3631 (strncmp): Don't use BP_SYM,
3632 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3634 (__mpn_sub_n): Don't use BP_SYM.
3635 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3636 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3638 (__mpn_submul_1): Don't use BP_SYM.
3639 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3641 <bp-sym.h> and <bp-asm.h>.
3642 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3644 <bp-sym.h> and <bp-asm.h>.
3645 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3648 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3651 Use ZK to minimize writes to Z.
3652 (sub_magnitudes): Simplify code a bit.
3653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3654 Use ZK to minimize writes to Z.
3655 (sub_magnitudes): Simplify code a bit.
3657 2013-02-27 Roland McGrath <roland@hack.frob.com>
3659 * csu/gmon-start.c: Add special exception to license text.
3661 2013-02-27 Richard Henderson <rth@redhat.com>
3663 * scripts/config.guess: Update from config.git.
3664 * scripts/config.sub: Likewise.
3666 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3668 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3670 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3672 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3674 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3676 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3678 2013-02-26 Roland McGrath <roland@hack.frob.com>
3680 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3681 [$(build-shared = yes].
3683 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3685 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3686 (__mul): Reduce iterations for calculating mantissa.
3688 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3690 (__mpranred): Likewise.
3693 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3694 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3696 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3698 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3699 Define __attribute__.
3701 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3703 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3705 * posix/regex_internal.h (__attribute): Remove.
3706 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3707 (re_string_context_at): Likewise.
3708 (bitset_not): Use __attribute__ and mark function as possibly
3710 (bitset_merge): Likewise.
3711 (bitset_mask): Likewise.
3712 (re_string_char_size_at): Likewise.
3713 (re_string_wchar_at): Likewise.
3714 (re_string_elem_size_at): Likewise.
3716 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3718 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3722 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3727 (__dbl_mp): Likewise.
3728 (add_magnitudes): Likewise.
3729 (sub_magnitudes): Likewise.
3733 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3736 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3739 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3743 up changes with default code.
3744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3747 2013-02-24 Allan McRae <allan@archlinux.org>
3749 * manual/socket.texi (The Internet Namespace): Order menu items
3750 to match that in the file.
3752 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3753 node listing of the info page menu.
3755 2013-02-21 Joseph Myers <joseph@codesourcery.com>
3758 * sysdeps/i386/bp-asm.h: Remove file.
3759 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3760 (PARMS): Do not use macros from bp-asm.h.
3764 (__mpn_add_n): Do not use BP_SYM
3765 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3767 (PARMS): Do not use macros from bp-asm.h.
3770 (__mpn_addmul_1): Do not use BP_SYM
3771 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3773 (PARMS): Do not use macros from bp-asm.h.
3775 (_setjmp): Likewise. Do not use BP_SYM.
3776 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3778 (PARMS): Do not use macros from bp-asm.h.
3780 (setjmp): Likewise. Do not use BP_SYM.
3781 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3783 (PARMS): Do not use macros from bp-asm.h.
3784 (__frexp): Do not use BP_SYM.
3786 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3788 (PARMS): Do not use macros from bp-asm.h.
3789 (__frexpf): Do not use BP_SYM.
3791 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3793 (PARMS): Do not use macros from bp-asm.h.
3794 (__frexpl): Do not use BP_SYM.
3796 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3798 (PARMS): Do not use macros from bp-asm.h.
3799 (__remquo): Do not use BP_SYM.
3801 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3803 (PARMS): Do not use macros from bp-asm.h.
3804 (__remquof): Do not use BP_SYM.
3805 (remquof): Likewise.
3806 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3808 (PARMS): Do not use macros from bp-asm.h.
3809 (__remquol): Do not use BP_SYM.
3810 (remquol): Likewise.
3811 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3813 (PARMS): Do not use macros from bp-asm.h.
3816 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3817 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3819 (PARMS): Do not use macros from bp-asm.h.
3820 (strlen): Do not use BP_SYM.
3821 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3823 (PARMS): Do not use macros from bp-asm.h.
3827 (__mpn_add_n): Do not use BP_SYM.
3828 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3830 (PARMS): Do not use macros from bp-asm.h.
3833 (__mpn_addmul_1): Do not use BP_SYM.
3834 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3837 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3839 (PARMS): Do not use macros from bp-asm.h.
3842 (__mpn_lshift): Do not use BP_SYM.
3843 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3845 (PARMS): Do not use macros from bp-asm.h.
3849 (memcpy): Likewise. Do not use BP_SYM.
3850 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3851 libc_hidden_def and weak_alias.
3852 (mempcpy): Do not use BP_SYM in weak_alias.
3853 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3855 (PARMS): Do not use macros from bp-asm.h.
3858 [!BZERO_P] (CHR): Likewise.
3859 (memset): Likewise. Do not use BP_SYM.
3860 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3862 (PARMS): Do not use macros from bp-asm.h.
3865 (__mpn_mul_1): Do not use BP_SYM.
3866 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3868 (PARMS): Do not use macros from bp-asm.h.
3871 (__mpn_rshift): Do not use BP_SYM.
3872 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3874 (PARMS): Do not use macros from bp-asm.h.
3877 (strchr): Likewise. Do not use BP_SYM.
3878 (index): Do not use BP_SYM in weak_alias.
3879 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3881 (PARMS): Do not use macros from bp-asm.h.
3884 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3885 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3887 (PARMS): Do not use macros from bp-asm.h.
3888 (strlen): Do not use BP_SYM.
3889 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3891 (PARMS): Do not use macros from bp-asm.h.
3895 (__mpn_sub_n): Do not use BP_SYM.
3896 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3898 (PARMS): Do not use macros from bp-asm.h.
3901 (__mpn_submul_1): Do not use BP_SYM.
3902 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3904 (PARMS): Do not use macros from bp-asm.h.
3908 (__mpn_add_n): Do not use BP_SYM.
3909 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3912 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3914 (PARMS): Do not use macros from bp-asm.h.
3917 (memcmp): Do not use BP_SYM.
3918 (bcmp): Do not use BP_SYM in weak_alias.
3919 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3921 (PARMS): Do not use macros from bp-asm.h.
3925 (memcpy): Likewise. Do not use BP_SYM.
3926 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3928 (PARMS): Do not use macros from bp-asm.h.
3932 (memmove): Likewise. Do not use BP_SYM.
3933 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3935 (PARMS): Do not use macros from bp-asm.h.
3939 (__mempcpy): Likewise. Do not use BP_SYM.
3940 (mempcpy): Do not use BP_SYM in weak_alias.
3941 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3943 (PARMS): Do not use macros from bp-asm.h.
3946 [!BZERO_P] (CHR): Likewise.
3947 (memset): Likewise. Do not use BP_SYM.
3948 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3950 (PARMS): Do not use macros from bp-asm.h.
3952 (strcmp): Do not use BP_SYM.
3953 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3955 (PARMS): Do not use macros from bp-asm.h.
3958 [USE_AS_STRTOK_R] (SAVE): Likewise.
3959 (FUNCTION): Likewise. Do not use BP_SYM.
3960 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3962 (strtok_r): Likewise.
3963 (__GI___strtok_r): Likewise.
3964 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3965 (PARMS): Do not use macros from bp-asm.h.
3968 (__mpn_lshift): Do not use BP_SYM.
3969 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3970 (PARMS): Do not use macros from bp-asm.h.
3973 (__memchr): Do not use BP_SYM.
3974 (memchr): Do not use BP_SYM in weak_alias.
3975 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3976 (PARMS): Do not use macros from bp-asm.h.
3979 (memcmp): Do not use BP_SYM.
3980 (bcmp): Do not use BP_SYM in weak_alias.
3981 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3982 (PARMS): Do not use macros from bp-asm.h.
3985 (__mpn_mul_1): Do not use BP_SYM.
3986 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3988 (PARMS): Do not use macros from bp-asm.h.
3991 (__rawmemchr): Do not use BP_SYM.
3992 (rawmemchr): Do not use BP_SYM in weak_alias.
3993 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3994 (PARMS): Do not use macros from bp-asm.h.
3997 (__mpn_rshift): Do not use BP_SYM.
3998 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3999 (PARMS): Do not use macros from bp-asm.h.
4001 (__sigsetjmp): Likewise. Do not use BP_SYM.
4002 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4003 (_start): Do not use BP_SYM.
4004 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4005 (PARMS): Do not use macros from bp-asm.h.
4008 (__stpcpy): Likewise. Do not use BP_SYM.
4009 (stpcpy): Do not use BP_SYM in weak_alias.
4010 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4012 (PARMS): Do not use macros from bp-asm.h.
4016 (__stpncpy): Likewise. Do not use BP_SYM.
4017 (stpncpy): Do not use BP_SYM in weak_alias.
4018 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4019 (PARMS): Do not use macros from bp-asm.h.
4022 (strchr): Likewise. Do not use BP_SYM.
4023 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4025 (PARMS): Do not use macros from bp-asm.h.
4028 (__strchrnul): Likewise. Do not use BP_SYM.
4029 (strchrnul): Do not use BP_SYM in weak_alias.
4030 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4032 (PARMS): Do not use macros from bp-asm.h.
4034 (strcspn): Do not use BP_SYM.
4035 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4037 (PARMS): Do not use macros from bp-asm.h.
4040 (strpbrk): Likewise. Do not use BP_SYM.
4041 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4043 (PARMS): Do not use macros from bp-asm.h.
4046 (strrchr): Likewise. Do not use BP_SYM.
4047 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4048 (PARMS): Do not use macros from bp-asm.h.
4050 (strspn): Do not use BP_SYM.
4051 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4052 (PARMS): Do not use macros from bp-asm.h.
4056 (FUNCTION): Likewise. Do not use BP_SYM.
4057 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4059 (strtok_r): Likewise.
4060 (__GI___strtok_r): Likewise.
4061 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4062 (PARMS): Do not use macros from bp-asm.h.
4066 (__mpn_sub_n): Do not use BP_SYM.
4067 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4069 (PARMS): Do not use macros from bp-asm.h.
4072 (__mpn_submul_1): Do not use BP_SYM.
4073 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4075 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4077 (PARMS): Do not use macros from bp-asm.h.
4082 (__clone): Do not use BP_SYM.
4083 (clone): Do not use BP_SYM in weak_alias.
4084 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4086 (PARMS): Do not use macros from bp-asm.h.
4088 (__mmap64): Do not use BP_SYM.
4089 (mmap64): Do not use BP_SYM in weak_alias.
4090 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4091 <bp-sym.h> and <bp-asm.h>.
4092 (PARMS): Do not use macros from bp-asm.h.
4093 (__posix_fadvise64_l64): Do not use BP_SYM.
4094 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4095 (PARMS): Do not use macros from bp-asm.h.
4097 (semtimedop): Do not use BP_SYM.
4098 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4101 2013-02-21 Allan McRae <allan@archlinux.org>
4103 * manual/message.texi (Charset conversion in gettext):
4104 Move @end statement to beginning of line.
4106 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4113 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4118 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4120 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4121 tail-call to the resolved function if pltexit isn't needed.
4123 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4126 or Y being zero as being unlikely.
4127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4130 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4132 * manual/nss.texi (System Databases and Name Service Switch):
4133 Remove frobnicate @pxref.
4135 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4137 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4138 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4140 2013-02-20 Petr Machata <pmachata@redhat.com>
4142 * elf/elf.h (R_ARM_TARGET1): New macro.
4143 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4144 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4145 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4146 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4147 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4148 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4149 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4150 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4151 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4152 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4153 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4154 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4155 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4156 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4157 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4158 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4159 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4160 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4161 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4162 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4163 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4164 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4165 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4166 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4167 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4168 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4169 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4170 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4171 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4172 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4173 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4174 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4175 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4176 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4177 (R_ARM_THM_GOT_BREL12): Likewise.
4178 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4179 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4180 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4181 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4182 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4183 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4184 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4185 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4186 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4188 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4190 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4191 __attribute_used__ to __attribute__ ((unused)).
4193 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4195 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4201 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4204 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4206 (ENTER): Remove both macro definitions.
4208 (CHECK_BOUNDS_LOW): Likewise.
4209 (CHECK_BOUNDS_HIGH): Likewise.
4210 (CHECK_BOUNDS_BOTH): Likewise.
4211 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4212 (RETURN_BOUNDED_POINTER): Likewise.
4213 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4214 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4215 (POP_ERRNO_LOCATION_RETURN): Likewise.
4216 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4217 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4218 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4220 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4221 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4222 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4223 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4224 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4225 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4226 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4227 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4228 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4229 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4230 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4231 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4232 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4233 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4235 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4236 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4238 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4239 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4240 * sysdeps/i386/i586/memset.S (memset): Likewise.
4241 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4242 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4243 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4245 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4246 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4247 Change uses of L(2) to L(out).
4248 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4249 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4250 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4251 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4252 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4254 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4255 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4257 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4258 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4259 (RETURN): Do not use macro LEAVE.
4260 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4261 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4262 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4263 * sysdeps/i386/i686/memset.S (memset): Likewise.
4264 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4265 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4266 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4267 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4269 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4270 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4271 L(1_2) and L(1_3) into L(1).
4272 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4273 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4274 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4275 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4276 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4277 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4278 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4279 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4280 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4282 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4283 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4284 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4285 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4286 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4287 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4288 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4289 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4290 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4291 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4292 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4293 * sysdeps/i386/strspn.S (strspn): Likewise.
4294 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4296 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4297 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4298 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4299 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4301 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4302 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4303 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4305 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4307 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4309 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4312 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4314 * math/atest-exp.c (exp_mpn): Remove ROUND.
4315 * math/atest-exp2.c (exp_mpn): Likewise.
4316 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4318 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4319 * stdlib/tst-tls-atexit-lib.c: Likewise.
4320 * stdlib/tst-tls-atexit.c: Likewise.
4322 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4324 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4325 and __attribute_alloc_size__.
4327 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4329 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4330 __attribute_alloc_size__.
4331 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4332 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4334 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4336 * include/programs/xmalloc.h: New file.
4337 * catgets/gencat.c: Include it.
4338 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4339 * elf/pldd.c: Likewise.
4340 * iconv/iconv_charmap.c: Likewise.
4341 * iconv/iconvconfig.c: Likewise.
4342 * iconv/strtab.c: Likewise.
4343 * locale/programs/locale.c: Likewise.
4344 * locale/programs/localedef.h: Likewise.
4345 * locale/programs/simple-hash.c: Likewise.
4346 * nscd/nscd.h: Likewise.
4347 * nss/makedb.c: Likewise.
4348 * sysdeps/generic/ldconfig.h: Likewise.
4350 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4352 * Versions.def: Add GLIBC_2.18.
4353 * include/link.h (struct link_map): New member l_tls_dtor_count.
4354 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4355 (__call_tls_dtors): Likewise.
4356 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4357 __cxa_thread_atexit_impl.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4374 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4375 (tests): Add test case tst-tls-atexit.
4376 (modules-names): Add shared library for tst-tls-atexit.
4377 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4378 (GLIBC_PRIVATE): Add __call_tls_dtors.
4379 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4381 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4382 * stdlib/tst-tls-atexit.c: New test case.
4383 * stdlib/tst-tls-atexit-lib.c: New test case.
4385 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4387 * elf/Versions (ld): Add _dl_find_dso_for_object.
4388 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4389 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4390 (dl_open_worker): Use _dl_find_dso_for_object.
4391 * elf/dl-sym.c (do_sym): Likewise.
4392 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4394 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4396 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4397 Syntactic changes only.
4398 (_dl_runtime_profile): Do a tail-call to the resolved function.
4400 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4403 * sysdeps/x86_64/bp-asm.h: Remove file.
4404 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4405 <bp-sym.h> and <bp-asm.h>.
4406 (__clone): Do not use BP_SYM.
4407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4408 <bp-sym.h> and <bp-asm.h>.
4409 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4410 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4412 (_setjmp): Do not use BP_SYM.
4413 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4415 (setjmp): Do not use BP_SYM.
4416 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4418 (mempcpy): Do not use BP_SYM in weak_alias.
4419 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4421 (strchr): Do not use BP_SYM.
4422 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4424 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4425 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4426 (_start): Do not use BP_SYM.
4427 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4429 (strcat): Do not use BP_SYM.
4430 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4432 (STRCMP): Do not use BP_SYM.
4433 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4435 (STRCPY): Do not use BP_SYM.
4436 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4438 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4440 (FUNCTION): Do not use BP_SYM.
4441 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4443 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4445 2013-02-17 Andreas Jaeger <aj@suse.de>
4447 * time/Versions: Sort entries.
4448 * string/Versions: Likewise.
4449 * resolv/Versions: Likewise.
4450 * posix/Versions: Likewise.
4451 * iconv/Versions: Likewise.
4452 * elf/Versions: Likewise.
4453 * wcsmbs/Versions: Likewise.
4455 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4457 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4458 loop termination condition.
4460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4461 variable to calculate EZ.
4464 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4465 the lower precision input.
4467 2013-02-15 Joseph Myers <joseph@codesourcery.com>
4470 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4471 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4472 (run-via-rtld-prefix): Do not handle %-bp tests.
4473 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4474 (all-object-suffixes): Remove .ob.
4475 (bppfx): Remove variable.
4476 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4477 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4478 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4479 [$(build-bounded) = yes] (libtype.ob): Likewise.
4480 * Makerules (elide-routines.ob): Remove variable.
4481 (do-tests-clean): Do not handle *-bp.out.
4482 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4483 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4484 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4485 (tests): Do not include $(tests-bp.out).
4486 (xtests): Do not include $(xtests-bp.out).
4487 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4488 [$(build-bounded) = yes] ($(addprefix
4489 $(objpfx),$(binaries-bounded))): Remove rule.
4490 ($(objpfx)%-bp.out): Remove rule.
4491 * config.make.in (build-bounded): Remove variable.
4492 * crypt/Makefile [$(build-bounded) = yes]
4493 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4494 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4496 [$(build-bounded) = yes] (install-lib): Likewise.
4497 [$(build-bounded) = yes] (generated): Likewise.
4498 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4500 * intl/Makefile [$(build-bounded) = yes]
4501 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4502 * math/Makefile [$(build-bounded) = yes]
4503 ($(tests:%=$(objpfx)%-bp): Likewise.
4504 * misc/Makefile [$(build-bounded) = yes]
4505 ($(objpfx)tst-tsearch-bp): Likewise.
4506 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4507 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4509 * string/Makefile (o-objects.ob): Remove variable.
4510 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4511 (CFLAGS-.ob): Remove variable.
4512 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4513 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4514 both definitions of variable.
4515 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4516 (ASFLAGS-.ob): Remove variable.
4518 2013-02-14 Joseph Myers <joseph@codesourcery.com>
4521 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4522 Remove __BOUNDED_POINTERS__ from condition.
4523 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4524 * string/bits/string2.h [!__NO_STRING_INLINES &&
4525 !__BOUNDED_POINTERS__]: Likewise.
4526 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4528 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4529 Remove conditional code.
4530 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4531 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4532 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4536 * csu/libc-start.c: Do not include <bp-sym.h>.
4537 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4538 * elf/dl-open.c: Do not include <bp-sym.h>.
4539 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4540 * math/fegetenv.c: Do not include <bp-sym.h>.
4541 (fegetenv): Do not use BP_SYM in versioned symbols.
4542 * nptl/sysdeps/pthread/bits/libc-lockP.h
4543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4546 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4548 (__pthread_mutex_destroy): Likewise.
4549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4550 (__pthread_mutex_lock): Likewise.
4551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4552 (__pthread_mutex_trylock): Likewise.
4553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4554 (__pthread_mutex_unlock): Likewise.
4555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4556 (__pthread_mutexattr_init): Likewise.
4557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4558 (__pthread_mutexattr_destroy): Likewise.
4559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4560 (__pthread_mutexattr_settype): Likewise.
4561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4562 (__pthread_rwlock_init): Likewise.
4563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4564 (__pthread_rwlock_destroy): Likewise.
4565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4566 (__pthread_rwlock_rdlock): Likewise.
4567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4568 (__pthread_rwlock_tryrdlock): Likewise.
4569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4570 (__pthread_rwlock_wrlock): Likewise.
4571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4572 (__pthread_rwlock_trywrlock): Likewise.
4573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4574 (__pthread_rwlock_unlock): Likewise.
4575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4576 (__pthread_key_create): Likewise.
4577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4578 (__pthread_setspecific): Likewise.
4579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4580 (__pthread_getspecific): Likewise.
4581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4584 (_pthread_cleanup_push_defer): Likewise.
4585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4586 (_pthread_cleanup_pop_restore): Likewise.
4587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4588 (pthread_setcancelstate): Likewise.
4589 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4591 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4592 (memchr): Do not use BP_SYM in weak_alias.
4593 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4594 (fegetenv): Do not use BP_SYM in versioned symbols.
4595 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4596 (fesetenv): Do not use BP_SYM in versioned symbols.
4597 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4598 (feupdateenv): Do not use BP_SYM in versioned symbols.
4599 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4600 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4601 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4602 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4603 (open64): Do not use BP_SYM in weak_alias.
4604 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4605 (fegetenv): Do not use BP_SYM in versioned symbols.
4606 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4607 (fesetenv): Do not use BP_SYM in versioned symbols.
4608 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4609 (feupdateenv): Do not use BP_SYM in versioned symbols.
4610 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4611 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4612 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4613 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4614 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4615 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4616 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4618 (__libc_start_main): Do not use BP_SYM.
4620 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4623 redundant return line.
4627 (sub_magnitudes): Likewise.
4633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4637 (sub_magnitudes): Likewise.
4644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4646 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4647 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4650 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4651 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4653 of __mul for squares.
4654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4658 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4659 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4661 2013-02-13 Joseph Myers <joseph@codesourcery.com>
4664 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4666 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4667 prototype or function definition. Rename ubp_* variables and
4668 parameters. Remove argv definitions conditional on
4669 [__BOUNDED_POINTERS__].
4670 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4671 * elf/dl-runtime.c (_dl_fixup): Likewise.
4672 * include/set-hooks.h (RUN_HOOK): Likewise.
4673 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4675 * string/strcpy.c (strcpy): Do not use __unbounded.
4676 * sysdeps/generic/frame.h (struct layout): Likewise.
4677 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4678 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4679 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4680 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4681 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4682 (__backtrace): Likewise.
4683 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4685 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4686 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4687 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4689 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4690 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4691 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4692 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4693 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4694 Do not use __unbounded.
4695 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4696 Rename __unboundedrlimits parameter to rlimits in prototype.
4697 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4698 Do not use __unbounded.
4699 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4701 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4702 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4703 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4704 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4705 __ptrvalue or __unbounded.
4706 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4707 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4709 (__new_msgctl): Do not use __ptrvalue.
4710 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4712 (__libc_msgrcv): Do not use __ptrvalue.
4713 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4714 startup_info): Do not use __unbounded.
4715 (__libc_start_main): Likewise. Rename ubp_* variables and
4716 parameters. Remove argv definitions conditional on
4717 [__BOUNDED_POINTERS__].
4718 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4720 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4722 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4724 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4726 (__new_shmctl): Do not use __ptrvalue.
4727 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4728 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4730 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4732 (__libc_sigaction): Likewise.
4733 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4734 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4736 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4738 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
4740 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
4742 * string/mempcpy.c: Implement by calling memcpy.
4744 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4752 values in the mantissa.
4754 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4755 minimize writes to Z.
4756 (sub_magnitudes): Simplify code a bit.
4758 2013-02-12 Roland McGrath <roland@hack.frob.com>
4760 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4761 from the message. The linker prefixes all warnings with that already.
4763 2013-02-12 Andreas Schwab <schwab@suse.de>
4766 * posix/regexec.c (extend_buffers): Add parameter min_len.
4767 (check_matching): Pass minimum needed length.
4768 (clean_state_log_if_needed): Likewise.
4769 (get_subexp): Likewise.
4770 * posix/Makefile (tests): Add bug-regex34.
4771 (bug-regex34-ENV): Define.
4772 * posix/bug-regex34.c: New file.
4775 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4776 elements compare against the byte sequence of it, not its name.
4777 * posix/Makefile (tests): Add bug-regex35.
4778 (bug-regex35-ENV): Define.
4779 * posix/bug-regex35.c: New file.
4781 2013-02-11 Tom de Vries <tom@codesourcery.com>
4783 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4785 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4786 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4787 (CHECK_EOL): Add undef.
4789 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
4791 * bits/stdlib-bsearch.h: New file.
4792 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
4793 * stdlib/stdlib.h: Likewise.
4795 2013-02-11 Roland McGrath <roland@hack.frob.com>
4797 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4798 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4800 * manual/search.texi (Array Search Function): Add missing const in
4802 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4803 declaration to use rlim_t.
4804 (Basic Scheduling Functions): Remove erroneous const from
4805 sched_getparam prototype. Remove erroneous * from
4806 sched_get_priority_max and sched_get_priority_min prototypes.
4807 (Resource Usage): Fix summary @comment on vtimes to refer to
4808 sys/vtimes.h rather than vtimes.h.
4809 Add missing *s in vtimes prototype.
4810 (Limits on Resources): Fix ulimit prototype to return long int.
4811 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4812 prototypes to use long int rather than double.
4813 (BSD Random): Fix initstate and setstate to use char *, not void *.
4814 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4815 prototype to make second argument 'struct aiocb64 *const[]'.
4816 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4817 (Status of AIO Operations): Remove erroneous const in aio_return and
4818 aio_return64 prototypes.
4819 (Synchronizing I/O): Fix sync prototype to return void.
4820 * manual/startup.texi (Suboptions): Remove an erroneous const in
4821 getsubopt prototype.
4822 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4823 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4824 use size_t rather than int.
4825 (Scanning All Users): Likewise for getpwent_r.
4826 (Setting Groups): Add missing const to setgroups prototype.
4827 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4828 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4829 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4830 'const void *' rather than 'const char *'.
4831 (Host Address Functions): Likewise for inet_ntop.
4832 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4833 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4834 ssize_t for return value.
4835 (Sending Data): Likewise for send, sendto, sendmsg.
4836 (Socket Option Functions): Add a missing const in setsockopt prototype.
4837 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4838 use wchar_t for the argument.
4839 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4840 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4842 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4843 double/float/long double for second argument.
4844 Fix return types of significand, significandf, significandl.
4845 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4846 argument in fchmod prototype.
4847 (File Owner): Use uid_t and gid_t in fchown prototype.
4848 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4849 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4850 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4851 use 'const struct dirent **' as argument types to CMP function pointer
4853 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4854 (File Times): Fix summary magic @comment for struct utimbuf and utime
4855 to refer to utime.h, not time.h.
4856 * manual/string.texi (Argz Functions): Add missing const in
4857 argz_extract and argz_next prototypes.
4858 (Finding Tokens in a String): Likewise for basename.
4859 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4860 (Copying and Concatenation): Fix typo in wmemmove prototype.
4861 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4862 (Signal Stack): Remove erroneous const in sigstack prototype.
4863 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4865 (Simple Calendar Time): Likewise for stime.
4866 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4868 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4869 say sys/sysctl.h instead.
4870 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4871 and vsyslog prototypes.
4873 2013-02-11 Tom de Vries <tom@codesourcery.com>
4875 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4878 2013-02-11 Roland McGrath <roland@hack.frob.com>
4880 * misc/sys/mman.h: Fix typo in mremap comment.
4882 2013-02-08 Roland McGrath <roland@hack.frob.com>
4884 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4885 the '\0' terminator.
4887 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4890 * debug/segfault.c: Don't include <bp-checks.h>.
4891 * sysdeps/generic/bp-checks.h: Remove file.
4892 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4893 (__GETDENTS): Don't use CHECK_N.
4894 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4895 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4896 (__getgroups): Don't use CHECK_N.
4897 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4898 (setgroups): Don't use CHECK_N.
4899 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4900 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4901 (__libc_msgrcv): Don't use CHECK_N.
4902 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4903 (__libc_msgsnd): Don't use CHECK_N.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4906 (__libc_pread): Don't use CHECK_N.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4908 include <bp-checks.h>.
4909 (__libc_pread64): Don't use CHECK_N.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4911 include <bp-checks.h>.
4912 (__libc_pwrite): Don't use CHECK_N.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4914 include <bp-checks.h>.
4915 (__libc_pwrite64): Don't use CHECK_N.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4918 (__libc_pread): Don't use CHECK_N.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4920 include <bp-checks.h>.
4921 (__libc_pread64): Don't use CHECK_N.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4923 include <bp-checks.h>.
4924 (__libc_pwrite): Don't use CHECK_N.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4926 include <bp-checks.h>.
4927 (__libc_pwrite64): Don't use CHECK_N.
4928 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4929 (do_pread): Don't use CHECK_N.
4930 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4931 (do_pread64): Don't use CHECK_N.
4932 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4933 (do_pwrite): Don't use CHECK_N.
4934 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4935 (do_pwrite64): Don't use CHECK_N.
4936 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4937 (__libc_readv): Don't use CHECK_N.
4938 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4939 (semop): Don't use CHECK_N.
4940 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4942 (semtimedop): Don't use CHECK_N.
4943 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4944 (__libc_pread): Don't use CHECK_N.
4945 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4947 (__libc_pread64): Don't use CHECK_N.
4948 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4950 (__libc_pwrite): Don't use CHECK_N.
4951 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4953 (__libc_pwrite64): Don't use CHECK_N.
4954 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4956 (__libc_msgrcv): Don't use CHECK_N.
4957 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4958 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4959 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4960 (__libc_writev): Don't use CHECK_N.
4962 2013-02-08 Roland McGrath <roland@hack.frob.com>
4964 * string/strcpy.c: Removed unused variable.
4966 * Makeconfig (+sysdep-includes): Define with := rather than =.
4967 Use an existing include/ subdir of each sysdeps dir before it.
4969 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4971 * nscd/connection.c (register_traced_file): Comment function.
4972 [HAVE_INOTIFY] (union __inev): Define.
4973 [HAVE_INOTIFY] (inotify_check_files): New function.
4974 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4975 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4977 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4979 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4981 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4982 loaded if not already and that a failure is permanent.
4984 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4987 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4988 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4990 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4993 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4994 (CHECK_1_NULL_OK): Likewise.
4995 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4996 (__fxstat): Do not use CHECK_1.
4997 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4999 (___fxstat64): Do not use CHECK_1.
5000 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5002 (__fxstatat): Do not use CHECK_1.
5003 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5005 (__fxstatat64): Do not use CHECK_1.
5006 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5008 (__fxstat): Do not use CHECK_1.
5009 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5011 (__fxstatat): Do not use CHECK_1.
5012 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5014 (__getresgid): Do not use CHECK_1.
5015 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5017 (__getresuid): Do not use CHECK_1.
5018 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5020 (__lxstat): Do not use CHECK_1.
5021 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5023 (__old_msgctl): Do not use CHECK_1.
5024 (__new_msgctl): Likewise.
5025 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5027 (__new_setrlimit): Do not use CHECK_1.
5028 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5030 (__old_shmctl): Do not use CHECK_1.
5031 (__new_shmctl): Likewise.
5032 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5034 (__xstat): Do not use CHECK_1.
5035 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5036 (__lxstat): Do not use CHECK_1.
5037 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5039 (___lxstat64): Do not use CHECK_1.
5040 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5041 (__old_msgctl): Do not use CHECK_1.
5042 (__new_msgctl): Likewise.
5043 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5045 (__gettimeofday): Do not use CHECK_1.
5046 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5047 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5048 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5050 (__gettimeofday): Do not use CHECK_1.
5051 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5052 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5053 (__new_shmctl): Do not use CHECK_1.
5054 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5056 (do_sigtimedwait): Do not use CHECK_1.
5057 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5059 (do_sigwaitinfo): Do not use CHECK_1.
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5062 (msgctl): Do not use CHECK_1.
5063 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5065 (shmctl): Do not use CHECK_1.
5066 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5067 (ustat): Do not use CHECK_1.
5068 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5070 (__fxstat): Do not use CHECK_1.
5071 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5073 (__fxstatat): Do not use CHECK_1.
5074 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5076 (__lxstat): Do not use CHECK_1.
5077 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5079 (__xstat): Do not use CHECK_1.
5080 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5081 (__xstat): Do not use CHECK_1.
5082 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5083 (___xstat64): Do not use CHECK_1.
5086 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5088 (CHECK_BOUNDS_HIGH): Likewise.
5089 * string/strcpy.c: Do not include <bp-checks.h>.
5090 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5092 2013-02-07 Roland McGrath <roland@hack.frob.com>
5094 * nscd/nscd-client.h (__nscd_drop_map_ref):
5095 Add __attribute__ ((unused)).
5096 * nis/nss-nisplus.h (niserr2nss): Likewise.
5098 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5099 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5101 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5102 Remove inline keyword.
5103 * include/rounding-mode.h (round_away): Likewise.
5104 * libio/wfileops.c (adjust_wide_data): Likewise.
5105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5106 (__m128i_strloadu_tolower): Likewise.
5107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5108 (__m128i_strloadu_tolower): Likewise.
5109 * time/mktime.c (ydhms_diff): Likewise.
5110 * locale/elem-hash.h (elem_hash): Likewise.
5111 * locale/setlocale.c (setdata): Likewise.
5112 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5113 (re_string_wchar_at): Likewise.
5114 (bitset_not, bitset_merge, bitset_mask): Likewise.
5115 [!(__GNUC__ > 3)] (inline): Remove macro.
5116 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5117 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5118 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5119 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5120 * string/memcmp.c (memcmp_bytes): Likewise.
5121 * locale/programs/locarchive.c (compute_hashval): Likewise.
5122 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5123 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5124 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5125 * nss/getent.c (print_rpc, print_protocols): Likewise.
5126 (print_passwd, print_group, print_aliases): Likewise.
5127 * nis/nss-nisplus.h (niserr2nss): Likewise.
5128 * nscd/connections.c (restart_p): Likewise.
5129 Change return type to bool.
5131 2013-02-05 Roland McGrath <roland@hack.frob.com>
5133 * Makeconfig (all-Depend-files): Add existing
5134 $(sorted-subdirs:=/Depend) files.
5135 (all-subdirs): Remove nss.
5136 * sysdeps/unix/inet/Subdirs: Add it here instead.
5137 * hesiod/Depend: New file.
5139 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5140 instead of calling alloca.
5142 * io/lseek.c (__lseek): Rename to __libc_lseek.
5143 Define __lseek as an alias.
5145 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5147 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5149 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5150 else clause and remove check for non-standard endianness.
5152 2013-02-04 David S. Miller <davem@davemloft.net>
5154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5156 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5159 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5160 (__ubp_memchr): Remove prototype.
5161 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5162 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5163 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5164 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5165 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5167 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5168 (__ubp_memchr): Likewise.
5169 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5170 (__ubp_memchr): Likewise.
5171 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5172 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5173 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5174 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5176 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5177 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5178 (__getcwd): Do not use CHECK_STRING.
5179 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5181 (__real_chown): Do not use CHECK_STRING.
5182 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5184 (fchownat): Do not use CHECK_STRING.
5185 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5187 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5189 (__lchown): Do not use CHECK_STRING.
5190 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5191 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5192 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5193 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5195 include <bp-checks.h>.
5196 (truncate64): Do not use CHECK_STRING.
5197 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5199 (__real_chown): Do not use CHECK_STRING.
5200 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5202 (__lchown): Do not use CHECK_STRING.
5203 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5205 (__chown): Do not use CHECK_STRING.
5206 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5208 (truncate64): Do not use CHECK_STRING.
5209 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5211 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5212 (__xmknod): Do not use CHECK_STRING.
5213 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5215 (__xmknodat): Do not use CHECK_STRING.
5216 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5217 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5219 2013-02-04 Andreas Schwab <schwab@suse.de>
5222 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5223 * include/netdb.h: Likewise for h_errno.
5224 * elf/tst-stackguard1.c: Include <tls.h>.
5226 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5228 * elf/link.h (struct link_map): Extend the l_addr comment.
5229 * include/link.h (struct link_map): Likewise.
5231 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5234 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5235 (BOUNDED_1): Remove macro.
5236 * debug/backtrace.c: Don't include <bp-checks.h>.
5237 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5238 (__backtrace): Likewise.
5239 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5241 (__backtrace): Don't use BOUNDED_1.
5242 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5244 (__backtrace): Don't use BOUNDED_1.
5245 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5246 (__backtrace): Don't use BOUNDED_1.
5247 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5248 (shmat): Don't use BOUNDED_N.
5250 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5253 * sysdeps/generic/bp-start.h: Remove file.
5254 * csu/libc-start.c: Don't include <bp-start.h>.
5255 (LIBC_START_MAIN): Set up __environ directly instead of using
5256 INIT_ARGV_and_ENVIRON.
5257 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5261 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5263 (CHECK_FCNTL): Likewise.
5264 (CHECK_N_PAGES): Likewise.
5267 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5269 (CHECK_SIGSET_NULL_OK): Likewise.
5270 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5272 (sigpending): Don't use CHECK_SIGSET.
5273 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5275 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5276 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5278 (do_sigsuspend): Don't use CHECK_SIGSET.
5279 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5281 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5282 (do_sigwait): Don't use CHECK_SIGSET.
5283 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5286 include <bp-checks.h>.
5287 (sigpending): Don't use CHECK_SIGSET.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5289 include <bp-checks.h>.
5290 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5291 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5293 (sigpending): Don't use CHECK_SIGSET.
5294 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5296 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5299 * sysdeps/generic/bp-semctl.h: Remove file.
5300 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5301 <bp-checks.h> and <bp-semctl.h>.
5302 (__old_semctl): Don't use CHECK_SEMCTL.
5303 (__new_semctl): Likewise.
5304 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5306 (__old_semctl): Don't use CHECK_SEMCTL.
5307 (__new_semctl): Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5309 <bp-checks.h> and <bp-semctl.h>.
5310 (__old_semctl): Don't use CHECK_SEMCTL.
5311 (__new_semctl): Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5313 <bp-checks.h> and <bp-semctl.h>.
5314 (semctl): Don't use CHECK_SEMCTL.
5317 * Makerules (elide-bp-thunks): Remove variable.
5318 (elide-routines.oS): Don't use $(elide-bp-thunks).
5319 (elide-routines.os): Likewise.
5320 (elide-routines.o): Likewise.
5321 (elide-routines.op): Likewise.
5322 (elide-routines.og): Likewise.
5323 (objects): Don't use $(bp-thunks).
5324 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5326 (common-generated): Do not add s-proto-bp.d.
5327 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5330 Do not generate makefile rules for bounded-pointer thunks.
5331 * sysdeps/generic/bp-thunks.h: Remove file.
5332 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5333 * sysdeps/unix/s-proto-bp.S: Likewise.
5336 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5337 parts of result separately when argument is not close to line from
5338 -i to i and one part of argument is small.
5339 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5340 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5341 * math/libm-test.inc (cacos_test): Add more tests.
5342 (casin_test): Likewise.
5343 (casinh_test): Likewise.
5344 * sysdeps/i386/fpu/libm-test-ulps: Update.
5345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5347 2013-01-31 David S. Miller <davem@davemloft.net>
5349 * po/de.po: Update from translation team.
5351 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5353 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5355 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5357 * configure.in (_AC_PROG_CC_C89): New definition.
5358 * configure: Regenerate.
5360 * configure.in (AC_PROG_CPP): New definition.
5361 * configure: Regenerate.
5363 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5365 * debug/tst-backtrace.h: New file.
5366 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5367 (ret): Remove variable.
5369 (FAIL): Remove macro.
5370 (NO_INLINE): Likewise.
5371 (fn1): Use match function instead of strstr.
5372 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5373 (ret): Remove variable.
5375 (FAIL): Remove macro.
5376 (NO_INLINE): Likewise.
5377 (fn): Use match function instead of strstr.
5378 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5379 (ret): Remove variable.
5381 (FAIL): Remove macro.
5382 (NO_INLINE): Likewise.
5383 (handle_signal): Use match function instead of strstr.
5384 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5385 (ret): Remove variable.
5387 (FAIL): Remove macro.
5388 (NO_INLINE): Likewise.
5389 (handle_signal): Use match function instead of strstr.
5391 2013-01-23 Roland McGrath <roland@hack.frob.com>
5393 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5395 2013-01-23 David S. Miller <davem@davemloft.net>
5397 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5398 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5399 argument of CAS if possible.
5400 * sysdeps/sparc/sparc64/bits/atomic.h
5401 (__arch_compare_and_exchange_val_32_acq): Likewise.
5402 (__arch_compare_and_exchange_val_64_acq): Likewise.
5404 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5406 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5407 * sysdeps/posix/ulimit.c: ... this.
5409 * sysdeps/unix/bsd/ulimit.c: Remove file.
5411 2013-01-23 Adam Conrad <adconrad@0c3.net>
5413 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5414 (LDFLAGS-tst-array5): Likewise.
5416 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5419 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5420 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5421 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5422 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5424 2013-01-21 David S. Miller <davem@davemloft.net>
5426 * sysdeps/sparc/backtrace.c: New file.
5427 * sysdeps/sparc/sparc32/backtrace.h: New file.
5428 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5429 * sysdeps/sparc/sparc64/backtrace.h: New file.
5430 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5431 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5434 2013-01-21 Andreas Schwab <schwab@suse.de>
5437 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5440 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5446 2013-01-18 Joseph Myers <joseph@codesourcery.com>
5447 Mark Mitchell <mark@codesourcery.com>
5448 Tom de Vries <tom@codesourcery.com>
5449 Paul Pluzhnikov <ppluzhnikov@google.com>
5451 * debug/tst-backtrace2.c: New file.
5452 * debug/tst-backtrace3.c: Likewise.
5453 * debug/tst-backtrace4.c: Likewise.
5454 * debug/tst-backtrace5.c: Likewise.
5455 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5456 (CFLAGS-tst-backtrace3.c): Likewise.
5457 (CFLAGS-tst-backtrace4.c): Likewise.
5458 (CFLAGS-tst-backtrace5.c): Likewise.
5459 (LDFLAGS-tst-backtrace2): Likewise.
5460 (LDFLAGS-tst-backtrace3): Likewise.
5461 (LDFLAGS-tst-backtrace4): Likewise.
5462 (LDFLAGS-tst-backtrace5): Likewise.
5463 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5464 tst-backtrace4 and tst-backtrace5.
5466 2013-01-18 Anton Blanchard <anton@samba.org>
5467 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5469 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5470 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5472 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5474 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5475 "+r" and remove output regs list as redundant. Add explicit inline
5476 asm to specify register of return val to work around compiler codegen
5477 bug. Remove (int) cast on return value. Add return type parameter to
5478 use in macro so that this macro does not truncate return value for
5480 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5481 pass to INTERNAL_VSYSCALL_NCS.
5482 (INLINE_VSYSCALL): Add 'long int' as return type to
5483 INTERNAL_VSYSCALL_NCS macro invocation.
5484 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5485 INTERNAL_VSYSCALL_NCS macro invocation.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5488 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5491 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5492 Fix application of SIMD FP exception mask.
5494 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5495 mp_no from a power of two.
5496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5497 __mpexp_twomm1. Use __pow_mp.
5499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5502 2013-01-17 David S. Miller <davem@davemloft.net>
5504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5506 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5509 * include/complex.h: Condition contents on [!_COMPLEX_H].
5510 (__kernel_casinhf): New prototype.
5511 (__kernel_casinh): Likewise.
5512 (__kernel_casinhl): Likewise.
5513 * math/Makefile (libm_calls): Add k_casinh.
5514 * math/k_casinh.c: New file.
5515 * math/k_casinhf.c: Likewise.
5516 * math/k_casinhl.c: Likewise.
5517 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5518 finite nonzero arguments.
5519 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5520 finite nonzero arguments.
5521 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5522 finite nonzero arguments.
5523 * math/s_casinh.c: Do not include <float.h>.
5524 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5525 * math/s_casinhf.c: Do not include <float.h>.
5526 (__casinhf): Move code for finite nonzero arguments to
5528 * math/s_casinhl.c: Do not include <float.h>.
5529 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5531 (__casinhl): Move code for finite nonzero arguments to
5533 * math/libm-test.inc (cacos_test): Add more tests.
5534 * sysdeps/i386/fpu/libm-test-ulps: Update.
5535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5537 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5539 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5540 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5541 [!HAVE_MREMAP]: Remove [defined linux] case.
5542 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5544 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5546 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5548 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
5550 * elf/elf.h (R_386_SIZE32): New relocation.
5551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5553 (elf_machine_rela): Likewise.
5554 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5555 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5557 2013-01-17 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5560 (FP_FAST_FMA): Do not define.
5561 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5562 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5563 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5564 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5565 !_SOFT_FLOAT]: Likewise.
5566 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5567 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5569 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5570 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5571 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5572 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5573 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5574 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5577 2013-01-16 Andreas Schwab <schwab@suse.de>
5580 * include/stdlib.h (__mktemp): Add declaration.
5581 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5582 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5584 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5586 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5588 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5589 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5590 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5592 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5593 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5595 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5597 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5598 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5599 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5601 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5602 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5604 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5606 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5608 2013-01-15 David S. Miller <davem@davemloft.net>
5610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5611 trunc{,f} to libm-sysdep_routes.
5612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5622 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5623 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5624 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5626 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5627 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5630 nearbyint{,f} to libm-sysdep_routes.
5631 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5642 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5644 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5645 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5647 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5648 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5649 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5652 libc_feholdexcept and libc_fesetenv.
5654 2013-01-15 Mike Frysinger <vapier@gentoo.org>
5656 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5658 2013-01-14 David S. Miller <davem@davemloft.net>
5660 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5661 (SPARC_ASM_VIS2_IFUNC): Likewise.
5662 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5664 use of 'siam' instruction.
5665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5698 routines to libm-sysdep_routines.
5699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5702 fdim/fdimf to libm-sysdep_routines.
5703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5711 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5712 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5713 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5714 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5716 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5718 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5721 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5726 local variable MPTWO.
5727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5730 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5732 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5735 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5737 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5739 2013-01-13 Mike Frysinger <vapier@gentoo.org>
5741 * manual/pattern.texi (glob_t): Document gl_flags.
5742 (glob64_t): Likewise.
5744 2013-01-11 David S. Miller <davem@davemloft.net>
5746 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5747 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5748 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
5749 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5750 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5751 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5752 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5753 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5754 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5755 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5756 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5757 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5758 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5760 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5761 sparc V9 rather than using V8 code.
5762 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5763 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5765 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5767 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5770 2013-01-11 Roland McGrath <roland@hack.frob.com>
5772 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5773 not in the main loop.
5774 * configure: Regenerated.
5776 2013-01-11 Joseph Myers <joseph@codesourcery.com>
5778 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5779 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5781 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5782 [!__GLIBC_HAVE_LONG_LONG] case.
5783 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5784 condition to just #else.
5785 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5786 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5787 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5788 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5790 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5791 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5792 #elif condition to just #else.
5793 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5794 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5795 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5796 #elif condition to just #else.
5798 2013-01-11 Steve Ellcey <sellcey@mips.com>
5800 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5801 (EF_MIPS_ARCH_64): Fix value.
5802 (EF_MIPS_ARCH_32R2): New.
5803 (EF_MIPS_ARCH_64R2): New.
5805 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5807 * Makeconfig (+link-pie-before-libc): New.
5808 (+link-pie-after-libc): Likewise.
5809 (+link-pie-tests): Likewise.
5810 (+link-pie): Rewritten.
5811 (link-before-libc): Remove $(config-LDFLAGS).
5812 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5813 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5814 (config-LDFLAGS): Renamed to ...
5815 (rtld-LDFLAGS): This.
5816 (rtld-tests-LDFLAGS): New macro.
5817 (link-libc-rpath-link): Likewise.
5818 (link-libc-tests-rpath-link): Likewise.
5819 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5820 (link-libc): Prepand $(link-libc-rpath-link).
5821 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5822 (test-program-prefix): New macro.
5823 (test-via-rtld-prefix): Likewise.
5824 (test-program-cmd): Likewise.
5825 (host-test-program-cmd): Likewise.
5826 * Makefile ($(common-objpfx)testrun.sh): Replace
5827 $(run-program-prefix) with $(test-program-prefix).
5828 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5830 ($(common-objpfx)shlib.lds): Likewise.
5831 (build-module-helper): Likewise.
5832 ($(common-objpfx)format.lds): Likewise.
5833 * Rules (binaries-pie-tests): New.
5834 (binaries-pie-notests): Likewise.
5835 (binaries-pie): Rewritten.
5836 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5837 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5838 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5839 (make-test-out): Replace $(host-built-program-cmd) with
5840 $(host-test-program-cmd).
5841 * config.make.in (build-hardcoded-path-in-tests): New variable.
5842 * configure.in (--enable-hardcoded-path-in-tests): New configure
5844 (hardcoded_path_in_tests): New AC_SUBST.
5845 * configure: Regenerated.
5846 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5847 $(built-program-cmd) with $(test-program-cmd).
5848 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5849 (test_program_cmd): This.
5850 * elf/Makefile ($(objpfx)order.out): Run test with
5851 $(test-program-prefix).
5852 ($(objpfx)order2.out): Likewise.
5853 ($(objpfx)tst-initorder.out): Likewise.
5854 ($(objpfx)tst-initorder2.out): Likewise.
5855 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5856 $(test-program-cmd).
5857 ($(objpfx)tst-array1-static.out): Likewise.
5858 ($(objpfx)tst-array2.out): Likewise.
5859 ($(objpfx)tst-array3.out): Likewise.
5860 ($(objpfx)tst-array4.out): Likewise.
5861 ($(objpfx)tst-array5.out): Likewise.
5862 ($(objpfx)tst-array5-static.out): Likewise.
5863 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5864 $(test-program-cmd).
5865 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5866 $(run-program-prefix) with $(test-program-prefix).
5867 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5868 (test_program_prefix): This.
5869 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5870 $(run-program-prefix) with $(test-program-prefix).
5871 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5872 (test_program_prefix): This.
5873 * iconvdata/tst-tables.sh: Likewise.
5874 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5875 $(run-program-prefix) with $(test-program-prefix).
5876 ($(objpfx)tst-translit.out): Likewise.
5877 ($(objpfx)tst-gettext2.out): Likewise.
5878 ($(objpfx)tst-gettext4.out): Likewise.
5879 ($(objpfx)tst-gettext6.out): Likewise.
5880 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5881 (test_program_prefix): This.
5882 * intl/tst-gettext2.sh: Likewise.
5883 * intl/tst-gettext4.sh Likewise.
5884 * intl/tst-gettext6.sh: Likewise.
5885 * intl/tst-translit.sh: Likewise.
5886 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5887 with $(test-program-cmd).
5888 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5889 $(run-program-prefix) with $(test-program-prefix).
5890 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5891 (test_program_prefix): This.
5892 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5893 $(run-program-prefix) with $(test-program-prefix).
5894 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5895 (test_program_prefix): This.
5896 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5897 * posix/Makefile ($(objpfx)globtest.out): Replace
5898 $(run-via-rtld-prefix) and $(test-wrapper) with
5899 $(test-program-prefix) and $(test-via-rtld-prefix).
5900 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5901 $(test-program-prefix).
5902 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5903 $(host-test-program-cmd).
5904 (tst-spawn-ARGS): Likewise.
5905 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5906 $(test-program-prefix).
5907 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5908 (test_via_rtld_prefix): This.
5909 (test_wrapper): Renamed to ...
5910 (test_program_prefix): This.
5911 (run_program_prefix): Replaced by test_program_prefix.
5912 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5913 (test_program_prefix): This.
5914 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5915 with $(host-test-program-cmd).
5916 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5917 $(run-program-prefix) with $(test-program-prefix).
5918 ($(objpfx)tst-printf.out): Likewise.
5919 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5920 $(test-program-cmd).
5921 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5922 (test_program_prefix): This.
5923 * stdio-common/tst-unbputc.sh: Likewise.
5924 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5925 $(run-program-prefix) with $(test-program-prefix).
5926 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5927 (test_program_prefix): This.
5928 * string/Makefile ($(objpfx)tst-svc.out): Replace
5929 $(built-program-cmd) with $(test-program-cmd).
5931 2013-01-11 Andreas Jaeger <aj@suse.de>
5934 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5935 value. Sync with Linux 3.7.
5937 2013-01-10 David S. Miller <davem@davemloft.net>
5939 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5940 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5941 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5943 2013-01-10 Roland McGrath <roland@hack.frob.com>
5945 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5947 * configure: Regenerated.
5949 2013-01-10 David S. Miller <davem@davemloft.net>
5951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5952 sparc V9 rather than using V8 code.
5953 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5954 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5956 2013-01-10 Roland McGrath <roland@hack.frob.com>
5958 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5959 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5960 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5961 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5962 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5963 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5964 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5965 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5966 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5967 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5968 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5969 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5970 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5971 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5972 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5973 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5974 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5975 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5976 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5977 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5978 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5979 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5980 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5981 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5982 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5983 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5984 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5986 2013-01-10 David S. Miller <davem@davemloft.net>
5988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5990 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5992 * posix/Makefile (tests-static): New variable.
5993 (tests): Add $(tests-static).
5994 (tst-exec-static-ARGS): New variable.
5995 (tst-spawn-static-ARGS): Likewise.
5996 * posix/tst-exec-static.c: New file.
5997 * posix/tst-spawn-static.c: Likewise.
5998 * posix/tst-exec.c: Support run directly.
5999 * posix/tst-spawn.c: Likewise.
6001 2013-01-10 Joseph Myers <joseph@codesourcery.com>
6003 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6005 * math/bits/mathcalls.h (llrint): Likewise.
6006 (llround): Likewise.
6007 * stdlib/stdlib.h (struct drand48_data): Likewise.
6008 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6009 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6010 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6012 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6014 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6015 (elf_greg_t): Likewise.
6016 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6017 (__jmp_buf): Likewise.
6018 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6020 (llrint): Likewise, for all definitions.
6021 (llrintl): Likewise.
6023 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6024 Remove [__GNUC__] condition.
6025 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6026 condition to just [__USE_ISOC99].
6027 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6029 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6032 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6033 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6035 (_POSIX_V6_ILP32_OFF32): Likewise.
6036 (_XBS5_ILP32_OFF32): Likewise.
6037 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6038 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6040 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6042 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6044 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6045 doubles __mpexp_twomm1. Adjust usage.
6046 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6049 2013-01-10 Andreas Schwab <schwab@suse.de>
6052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6053 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6055 2013-01-09 David S. Miller <davem@davemloft.net>
6058 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6059 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6060 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6061 TCP_FASTOPEN): Define.
6062 (tcp_repair_opt): New structure.
6063 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6065 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6066 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6067 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6068 (tcp_cookie_transactions): New structure.
6070 2013-01-09 Anton Blanchard <anton@samba.org>
6072 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6073 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6074 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6077 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6079 * include/features.h (__USE_ANSI): Remove.
6081 2013-01-09 Roland McGrath <roland@hack.frob.com>
6083 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6085 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6087 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * sysdeps/s390/fpu/libm-test-ulps: Update.
6091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6093 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6098 (__mp_dbl): Likewise.
6099 (__dbl_mp): Likewise.
6100 (add_magnitudes): Likewise.
6101 (sub_magnitudes): Likewise.
6107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6112 (__mp_dbl): Likewise.
6113 (__dbl_mp): Likewise.
6114 (add_magnitudes): Likewise.
6115 (sub_magnitudes): Likewise.
6121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6126 (__mp_dbl): Likewise.
6127 (__dbl_mp): Likewise.
6128 (add_magnitudes): Likewise.
6129 (sub_magnitudes): Likewise.
6136 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6138 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6139 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6140 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6141 2 && __USE_EXTERN_INLINES]: Likewise.
6143 2013-01-08 Andreas Jaeger <aj@suse.de>
6146 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6148 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6149 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6151 2013-01-07 Anton Blanchard <anton@samba.org>
6153 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6154 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6155 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6156 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6157 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6158 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6159 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6160 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6164 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6166 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6167 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6168 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6169 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6170 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6171 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6172 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6173 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6174 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6176 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6177 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6178 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6179 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6180 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6182 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6183 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6185 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6186 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6187 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6188 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6189 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6191 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6192 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6193 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6195 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6197 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6199 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6200 (__MALLOC_PMT): Likewise.
6201 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6202 [__GNUC__], only on [_LIBC].
6203 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6204 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6205 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6206 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6207 forward declaration.
6208 (realloc_hook_ini): Likewise.
6209 (memalign_hook_ini): Likewise.
6210 (__libc_memalign): Do not use __MALLOC_PMT in variable
6212 (__libc_valloc): Likewise.
6213 (__libc_pvalloc): Likewise.
6214 (__libc_calloc): Likewise.
6215 (__posix_memalign): Likewise.
6218 * math/s_casinh.c: Include <float.h>.
6219 (__casinh): Do not do computation with squaring and square root
6220 for large arguments.
6221 * math/s_casinhf.c: Include <float.h>.
6222 (__casinhf): Do not do computation with squaring and square root
6223 for large arguments.
6224 * math/s_casinhl.c: Include <float.h>.
6225 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6226 (__casinhl): Do not do computation with squaring and square root
6227 for large arguments.
6228 * math/libm-test.inc (casin_test): Add more tests.
6229 (casinh_test): Likewise.
6230 * sysdeps/i386/fpu/libm-test-ulps: Update.
6231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6233 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6235 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6236 (__x86_64_raw_data_cache_size): Likewise.
6237 (__x86_64_data_cache_size_half): Likewise.
6238 (__x86_64_raw_data_cache_size_half): Likewise.
6239 (__x86_64_shared_cache_size): Likewise.
6240 (__x86_64_raw_shared_cache_size): Likewise.
6241 (__x86_64_shared_cache_size_half): Likewise.
6242 (__x86_64_raw_shared_cache_size_half): Likewise.
6243 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6245 (__x86_data_cache_size): This.
6246 (__x86_64_raw_data_cache_size): Renamed to ...
6247 (__x86_raw_data_cache_size): This.
6248 (__x86_64_data_cache_size_half): Renamed to ...
6249 (__x86_data_cache_size_half): This.
6250 (__x86_64_raw_data_cache_size_half): Renamed to ...
6251 (__x86_raw_data_cache_size_half): This.
6252 (__x86_64_shared_cache_size): Renamed to ...
6253 (__x86_shared_cache_size): This.
6254 (__x86_64_raw_shared_cache_size): Renamed to ...
6255 (__x86_raw_shared_cache_size): This.
6256 (__x86_64_shared_cache_size_half): Renamed to ...
6257 (__x86_shared_cache_size_half): This.
6258 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6259 (__x86_raw_shared_cache_size_half): This.
6260 * sysdeps/x86_64/memcpy.S: Updated.
6261 * sysdeps/x86_64/memset.S: Likewise.
6262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6264 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6266 2013-01-04 David S. Miller <davem@davemloft.net>
6268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6270 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6272 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6273 1 to avoid redefinition warning.
6274 (__USE_GNU): Don't define.
6275 (init_signaling_nan): Protoize.
6277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6279 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6281 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6283 (__cpymn): Likewise.
6284 (norm): Remove commented code.
6286 (__mp_dbl): Likewise.
6288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6289 (__cpymn): Likewise.
6290 (norm): Remove commented code.
6292 (__mp_dbl): Likewise.
6295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6296 mp_no value for 1.0 and 2.0.
6297 (norm): Use RADIXI instead of radixi.d.
6299 (__mul): Use 0.0 instead of zero.d.
6300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6301 mp_no value for 1.0 and 2.0.
6302 (norm): Use RADIXI instead of radixi.d.
6304 (__mul): Use 0.0 instead of zero.d.
6306 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6309 * math/s_casinh.c (__casinh): Reduce finite argument to first
6310 quadrant then set signs of results at the end.
6311 * math/s_casinhf.c (__casinhf): Likewise.
6312 * math/s_casinhl.c (__casinhl): Likewise.
6313 * math/libm-test.inc (casin_test): Add more tests.
6314 (casinh_test): Likewise.
6315 * sysdeps/i386/fpu/libm-test-ulps: Update.
6316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6320 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6322 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6324 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6327 (__mp_dbl): Likewise.
6330 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6331 and adjust the header comment.
6333 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6334 variable name from declaration.
6336 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6339 Initialize COMMON_CPUID_INDEX_7 element.
6340 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6341 (CPUID_RTM): Likewise.
6342 (HAS_RTM): Likewise.
6343 (COMMON_CPUID_INDEX_7): New enum.
6345 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6348 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6349 size is zero, record memory as freed.
6351 2013-01-03 Andreas Jaeger <aj@suse.de>
6353 * po/ia.po: Add new Interlingua translation.
6355 2012-01-03 Allan McRae <allan@archlinux.org>
6357 * locale/programs/localedef.c: Fix description of '--posix' flag.
6359 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6361 * NEWS: Update dates in second copyright notice.
6362 * README: Update copyright dates in example.
6363 * manual/libc.texinfo: Update copyright dates.
6364 * scripts/test-installation.pl: Update copyright date in --version
6367 * hurd/ctty-input.c: Fix copyright notice formatting.
6368 * hurd/ctty-output.c: Likewise.
6369 * hurd/dtable.c: Likewise.
6370 * hurd/hurd-raise.c: Likewise.
6371 * hurd/hurdprio.c: Likewise.
6372 * hurd/msgportdemux.c: Likewise.
6373 * misc/sys/file.h: Likewise.
6374 * misc/sys/ioctl.h: Likewise.
6375 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6376 * sysdeps/mach/hurd/chdir.c: Likewise.
6377 * sysdeps/mach/hurd/fchdir.c: Likewise.
6378 * sysdeps/mach/hurd/rename.c: Likewise.
6379 * sysdeps/mach/hurd/rmdir.c: Likewise.
6380 * sysdeps/mach/hurd/seekdir.c: Likewise.
6381 * sysdeps/mach/hurd/setsid.c: Likewise.
6382 * sysdeps/posix/wait3.c: Likewise.
6384 * All files with FSF copyright notices: Update copyright dates
6385 using scripts/update-copyrights.
6386 * intl/plural.c: Regenerated.
6387 * locale/programs/charmap-kw.h: Likewise.
6388 * locale/programs/locfile-kw.h: Likewise.
6390 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6392 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6395 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6396 calculation loop and add branch prediction.
6398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6399 check access beyond bounds of m1np.
6401 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6403 (__inv): Remove local variable MPTWO to use the global
6405 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6406 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6408 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6409 MP3HALFS static const.
6411 2013-01-01 David S. Miller <davem@davemloft.net>
6413 * po/ca.po: Update from translation team.
6415 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6417 * scripts/update-copyrights: New file.
6418 * Makeconfig: Reformat copyright notice.
6419 * ctype/ctype.h: Likewise.
6420 * debug/swprintf_chk.c: Likewise.
6421 * elf/dl-cache.c: Likewise.
6422 * elf/dl-debug.c: Likewise.
6423 * elf/dl-object.c: Likewise.
6424 * grp/initgroups.c: Likewise.
6425 * hurd/Makefile: Likewise.
6426 * hurd/hurd/signal.h: Likewise.
6427 * hurd/hurdfault.c: Likewise.
6428 * hurd/hurdioctl.c: Likewise.
6429 * hurd/hurdlookup.c: Likewise.
6430 * hurd/intr-msg.c: Likewise.
6431 * iconv/gconv_open.c: Likewise.
6432 * libio/swprintf.c: Likewise.
6433 * locale/lc-ctype.c: Likewise.
6434 * locale/nl_langinfo.c: Likewise.
6435 * mach/Machrules: Likewise.
6436 * mach/Makefile: Likewise.
6437 * malloc/obstack.h: Likewise.
6438 * manual/Makefile: Likewise.
6439 * manual/tsort.awk: Likewise.
6440 * misc/bits/stab.def: Likewise.
6441 * nis/nis_print_group_entry.c: Likewise.
6442 * nis/nis_table.c: Likewise.
6443 * nis/nss_compat/compat-pwd.c: Likewise.
6444 * nis/nss_compat/compat-spwd.c: Likewise.
6445 * po/Makefile: Likewise.
6446 * posix/fnmatch.c: Likewise.
6447 * posix/regex.h: Likewise.
6448 * resolv/Makefile: Likewise.
6449 * resolv/nss_dns/dns-network.c: Likewise.
6450 * resolv/res_hconf.c: Likewise.
6451 * scripts/gen-sorted.awk: Likewise.
6452 * soft-fp/soft-fp.h: Likewise.
6453 * stdio-common/printf.h: Likewise.
6454 * stdlib/monetary.h: Likewise.
6455 * stdlib/random.c: Likewise.
6456 * stdlib/random_r.c: Likewise.
6457 * sysdeps/generic/Makefile: Likewise.
6458 * sysdeps/gnu/Makefile: Likewise.
6459 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6487 * sysdeps/mach/hurd/errnos.awk: Likewise.
6488 * sysdeps/mach/hurd/fork.c: Likewise.
6489 * sysdeps/mach/hurd/getcwd.c: Likewise.
6490 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6491 * sysdeps/mach/hurd/mmap.c: Likewise.
6492 * sysdeps/mach/hurd/utimes.c: Likewise.
6493 * sysdeps/mach/hurd/xmknod.c: Likewise.
6494 * sysdeps/posix/profil.c: Likewise.
6495 * sysdeps/posix/readdir_r.c: Likewise.
6496 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6497 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6498 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6499 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6505 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6506 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6507 * sysdeps/pthread/lio_listio.c: Likewise.
6508 * sysdeps/sparc/dl-procinfo.h: Likewise.
6509 * sysdeps/unix/i386/sysdep.S: Likewise.
6510 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6511 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6512 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6513 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6515 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6516 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6517 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6518 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6519 * sysdeps/wordsize-32/divdi3.c: Likewise.
6520 * time/sys/time.h: Likewise.
6521 * wcsmbs/Makefile: Likewise.
6523 2013-01-01 David S. Miller <davem@davemloft.net>
6525 * po/fr.po: Update from translation team.
6527 * catgets/gencat.c: Update copyright year.
6528 * csu/version.c: Likewise.
6529 * debug/catchsegv.sh: Likewise.
6530 * debug/pcprofiledump.c: Likewise.
6531 * debug/xtrace.sh: Likewise.
6532 * elf/ldconfig.c: Likewise.
6533 * elf/ldd.bash.in: Likewise.
6534 * elf/pldd.c: Likewise.
6535 * elf/sotruss.ksh: Likewise.
6536 * elf/sprof.c: Likewise.
6537 * iconv/iconv_prog.c: Likewise.
6538 * iconv/iconvconfig.c: Likewise.
6539 * locale/programs/locale.c: Likewise.
6540 * locale/programs/localedef.c: Likewise.
6541 * login/programs/pt_chown.c: Likewise.
6542 * malloc/memusage.sh: Likewise.
6543 * malloc/memusagestat.c: Likewise.
6544 * malloc/mtrace.pl: Likewise.
6545 * nscd/nscd.c: Likewise.
6546 * nss/getent.c: Likewise.
6547 * nss/makedb.c: Likewise.
6548 * posix/getconf.c: Likewise.
6550 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6552 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6555 2012-12-30 Mike Frysinger <vapier@gentoo.org>
6557 * math/bits/mathcalls.h (modf): Use __nonnull.
6559 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6561 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6562 (split): Use macro CN instead of the bare value.
6563 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6566 instead of the bare value.
6569 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6573 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6575 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6577 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6578 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6579 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6580 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6582 2012-12-28 Andreas Jaeger <aj@suse.de>
6584 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6585 values are from Linux 3.7.
6587 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6588 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6590 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6592 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
6595 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6597 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6598 variables with preprocessor constants.
6599 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6600 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6601 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6603 2012-12-27 Bruno Haible <bruno@clisp.org>
6606 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6609 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6612 and use variable directly.
6613 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6615 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6617 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6620 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6622 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6623 include directive. Remove local variable MPONE.
6624 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6625 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6626 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6628 2012-12-25 David S. Miller <davem@davemloft.net>
6630 * version.h (RELEASE): Set to "development".
6631 (VERSION): Set to "2.17.90".
6632 * NEWS: Add 2.18 section.
6634 2012-12-21 David S. Miller <davem@davemloft.net>
6636 * po/hr.po: Update from translation team.
6638 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6640 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6642 2012-12-19 Steve Ellcey <sellcey@mips.com>
6644 * NEWS: Mention new memcpy for MIPS.
6646 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6648 * manual/contrib.texi (Contributors): Spelling correction.
6650 2012-12-15 David S. Miller <davem@davemloft.net>
6652 * po/ru.po: Update from translation team.
6654 2012-12-13 David S. Miller <davem@davemloft.net>
6656 * NEWS: Mention IFUNC testsuite enhancements.
6658 * po/pl.po: Update from translation team.
6659 * po/bg.po: Likewise.
6661 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6662 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6664 2012-12-11 David S. Miller <davem@davemloft.net>
6666 * po/sv.po: Update from translation team.
6668 * po/vi.po: Update from translation team.
6670 * po/cs.po: Update from translation team.
6672 * po/de.po: Update from translation team.
6673 * po/eo.po: Likewise.
6674 * po/nl.po: Likewise.
6676 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6679 * manual/argp.texi (Argp Helper Functions): Move node to follow
6683 * manual/conf.texi (Limits on File System Capacity): Mention if
6684 terminating null is included in the max size.
6686 2012-12-10 Andreas Jaeger <aj@suse.de>
6688 * po/cs.po: Update from translation team.
6690 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6692 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6693 void pointer and cast to uintptr_t.
6694 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6696 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6697 * sysdeps/s390/s390-64/memset.S: Likewise.
6699 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
6702 * menual/message.texi (Message Translation): Fix typos.
6703 (Helper programs for gettext): Likewise.
6705 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6708 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6711 2012-12-07 David S. Miller <davem@davemloft.net>
6713 * po/libc.pot: Update.
6715 2012-12-07 Richard Henderson <rth@redhat.com>
6718 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6719 normal/normal case to before the switch.
6720 (_FP_DIV): Likewise.
6722 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6723 Mike Frysinger <vapier@gentoo.org>
6725 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6726 check for __NR_fadvise64_64.
6728 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6730 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6731 0, not just to plain "0" as a statement.
6732 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6735 2012-12-06 Joseph Myers <joseph@codesourcery.com>
6737 * NEWS: Use sourceware.org in Bugzilla URL.
6739 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6742 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6744 * stdio-common/tst-put-error.c (do_test): Add newline to the
6745 padded test to ensure flush.
6747 2012-12-05 Jeff Law <law@redhat.com>
6749 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6751 2012-12-05 Joseph Myers <joseph@codesourcery.com>
6753 * README: Don't refer to ports add-on as distributed separately.
6754 Mention AArch64 in list of systems supported in the ports add-on.
6756 * LICENSES: Add more non-FSF copyright and license notices.
6758 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6761 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6763 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6764 10000 as width of padded output.
6766 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6768 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6771 variable LX with __attribute__ ((unused)).
6772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6774 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6777 with __attribute__ ((unused)).
6779 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
6781 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6783 2012-12-04 Joseph Myers <joseph@codesourcery.com>
6785 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6786 (CFLAGS-nldbl-acos.c): New variable.
6787 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6788 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6789 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6790 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6791 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6792 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6793 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6794 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6795 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6796 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6797 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6798 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6799 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6800 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6801 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6802 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6803 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6804 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6805 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6806 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6807 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6808 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6809 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6810 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6811 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6812 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6813 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6814 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6815 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6816 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6817 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6818 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6819 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6820 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6821 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6822 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6823 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6824 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6825 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6826 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6827 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6828 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6829 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6830 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6831 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6832 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6833 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6834 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6835 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6836 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6837 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6838 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6839 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6840 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6841 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6842 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6843 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6844 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6845 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6846 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6847 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6848 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6849 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6850 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6851 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6852 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6853 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6854 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6855 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6856 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6857 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6858 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6859 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6860 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6861 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6862 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6863 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6864 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6865 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6866 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6867 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6868 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6869 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6870 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6871 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6872 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6873 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6874 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6875 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6876 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6877 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6878 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6879 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6880 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6881 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6882 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6883 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6886 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6890 whole low double instead of just low 47 bits when splitting values
6893 2012-12-03 Allan McRae <allan@archlinux.org>
6895 * manual/stdio.texi (Predefined Printf Handlers): Remove
6896 @hsep and @vsep usage.
6898 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6900 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6901 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6903 2012-12-03 Jeff Law <law@redhat.com>
6905 * time/sys/time.h (settimeofday): Do not mark TV argument
6908 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6910 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6911 when currently writing and seek to current position when not.
6912 * libio/Makefile (tests): Remove bug-fclose1.
6913 * libio/bug-fclose1.c: Delete.
6915 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6917 * manual/arith.texi (feenableexcept): Fix typo.
6918 (fedisableexcept): Likewise.
6920 2012-11-30 Roland McGrath <roland@hack.frob.com>
6922 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6923 second, differently-typed declaration, rather than a cast.
6925 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6927 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6928 * include/rpc/svc.h: ... here.
6930 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6933 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6934 depending n and resplen2 to catch cases where answer
6937 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6939 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6940 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6942 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6944 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6946 2012-11-29 Roland McGrath <roland@hack.frob.com>
6948 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6950 2012-11-28 Jeff Law <law@redhat.com>
6953 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6954 dataset_temporary. Track alloca usage into alloca_used.
6955 If dataset is large allocate and release it via malloc/free.
6957 2012-06-04 Florian Weimer <fweimer@redhat.com>
6960 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6962 2012-11-28 David S. Miller <davem@davemloft.net>
6964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6966 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6969 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6970 of pi/2 rounded to nearest to 64 bits.
6971 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6973 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6976 2012-11-28 Jeff Law <law@redhat.com>
6977 Martin Osvald <mosvald@redhat.com>
6980 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6981 * sunrpc/svc.c: Include time.h.
6982 (__svc_accept_failed): New function.
6983 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6984 any reason other than EINTR, call __svc_accept_failed.
6985 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6986 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6988 2012-11-28 Andreas Schwab <schwab@suse.de>
6990 * scripts/abilist.awk: Also handle indirect functions in .opd
6993 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6996 * sysdeps/x86/fpu/powl_helper.c: New file.
6997 * sysdeps/x86/fpu/Makefile: Likewise.
6998 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7000 (__ieee754_powl): Use __powl_helper for finite arguments except
7001 integer exponents below 8.
7002 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7004 (__ieee754_powl): Use __powl_helper for finite arguments except
7005 integer exponents below 8.
7006 * math/libm-test.inc (pow_test): Add more tests and enable some
7007 previously disabled tests.
7008 * sysdeps/i386/fpu/libm-test-ulps: Update.
7009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7012 Carlos O'Donell <carlos_odonell@mentor.com>
7014 * nss/makedb.c (is_prime): Assert that input is odd and greater
7015 than 4. Note that fact in a comment too.
7016 (next_prime): Add 4 to input.
7018 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7021 * libio/Makefile (tests): Add test case tst-fwrite-error.
7022 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7023 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7024 * libio/tst-fwrite-error.c: New test case.
7026 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7028 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7029 before casting to void *.
7030 * include/libc-internal.h (__pointer_type): New macro.
7031 (__integer_if_pointer_type_sub): Likewise.
7032 (__integer_if_pointer_type): Likewise.
7033 (cast_to_integer): Likewise.
7034 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7035 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7036 before casting to atomic64_t.
7037 (atomic_exchange_acq): Likewise.
7038 (__arch_exchange_and_add_body): Likewise.
7039 (__arch_add_body): Likewise.
7040 (atomic_add_negative): Likewise.
7041 (atomic_add_zero): Likewise.
7043 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7045 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7046 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7047 (add_fdes): Likewise.
7048 (linear_search_fdes): Likewise.
7049 (binary_search_unencoded_fdes): Likewise.
7051 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7053 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7055 2012-11-24 Adam Conrad <adconrad@0c3.net>
7057 * configure.in: Autodetect C++ header directories.
7058 * configure: Regenerated.
7060 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7062 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7064 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7068 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7070 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7071 LDBL_MANT_DIG == 106]: Disable some tests.
7072 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7074 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7079 input for small inputs. Return +/- pi/2 for large inputs.
7080 * math/libm-test.inc (atan_test): Add more tests.
7082 * sysdeps/generic/unwind-dw2-fde-glibc.c
7083 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7084 __attribute__ ((unused)).
7087 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7088 x * y if x and y are nonzero and z is zero.
7091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7092 nonzero exponents with absolute value below 0x1p-117 to +/-
7096 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7097 up arguments below 2**-450, not just those below 2**-500.
7098 * math/libm-test.inc (hypot_test): Add another test.
7101 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7102 Return a+b for ratio over 2**120, not 2**60.
7103 * math/libm-test.inc (hypot_test): Add another test.
7105 * math/libm-test.inc (clog_test): Use
7106 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7107 (clog10_test): Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7112 2012-11-22 Andreas Schwab <schwab@suse.de>
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7116 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7118 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7119 printf output with newline.
7121 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7124 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7125 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7126 -z nodlopen, -z initfirst and -z execstack support.
7127 * configure: Regenerated.
7129 * elf/elf.h (DF_1_NODIRECT): New macro.
7130 (DF_1_IGNMULDEF): Likewise.
7131 (DF_1_NOKSYMS): Likewise.
7132 (DF_1_NOHDR): Likewise.
7133 (DF_1_EDITED): Likewise.
7134 (DF_1_NORELOC): Likewise.
7135 (DF_1_SYMINTPOSE): Likewise.
7136 (DF_1_GLOBAUDIT): Likewise.
7137 (DF_1_SINGLETON): Likewise.
7138 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7139 DT_1_SUPPORTED_MASK bits.
7140 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7142 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7144 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7146 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7148 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7151 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7152 (sendmmsg): Move declarations...
7153 * socket/sys/socket.h: ... here.
7154 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7155 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7157 * socket/recvmmsg.c: ... this new file.
7158 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7159 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7160 definition of __sendmmsg hidden.
7161 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7162 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7163 Move ENOSYS stub into and include it from...
7164 * socket/sendmmsg.c: ... this new file.
7165 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7166 (sysdep_routines): Move recvmmsg and sendmmsg...
7167 * socket/Makefile (routines): ... here.
7168 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7169 (GLIBC_PRIVATE): Add __sendmmsg.
7170 * include/sys/socket.h (__sendmmsg): Add declarations.
7171 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7174 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7177 variable I1 with __attribute__ ((unused)).
7178 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7180 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7182 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7183 DUMMY variables with __attribute__ ((unused)).
7185 * bits/byteswap.h: Include <bits/types.h>.
7186 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7188 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7190 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7191 string_t. Do not manually set errno.
7192 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7193 length with __strnlen. Make sure to both set errno and return it on
7196 2012-11-19 David S. Miller <davem@davemloft.net>
7198 With help from Joseph Myers.
7199 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7200 very large arguments properly.
7201 * math/libm-test.inc (atan_test): New tests.
7202 (atan2_test): New tests.
7203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7206 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7209 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7212 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7213 [POSIX] (EADDRNOTAVAIL): Likewise.
7214 [POSIX] (EAFNOSUPPORT): Likewise.
7215 [POSIX] (EALREADY): Likewise.
7216 [POSIX] (ECONNABORTED): Likewise.
7217 [POSIX] (ECONNREFUSED): Likewise.
7218 [POSIX] (ECONNRESET): Likewise.
7219 [POSIX] (EDESTADDRREQ): Likewise.
7220 [POSIX] (EDQUOT): Likewise.
7221 [POSIX] (EHOSTUNREACH): Likewise.
7222 [POSIX] (EIDRM): Likewise.
7223 [POSIX] (EISCONN): Likewise.
7224 [POSIX] (ELOOP): Likewise.
7225 [POSIX] (EMULTIHOP): Likewise.
7226 [POSIX] (ENETDOWN): Likewise.
7227 [POSIX] (ENETUNREACH): Likewise.
7228 [POSIX] (ENOBUFS): Likewise.
7229 [POSIX] (ENODATA): Likewise.
7230 [POSIX] (ENOLINK): Likewise.
7231 [POSIX] (ENOMSG): Likewise.
7232 [POSIX] (ENOPROTOOPT): Likewise.
7233 [POSIX] (ENOSR): Likewise.
7234 [POSIX] (ENOSTR): Likewise.
7235 [POSIX] (ENOTCONN): Likewise.
7236 [POSIX] (ENOTSOCK): Likewise.
7237 [POSIX] (EOPNOTSUPP): Likewise.
7238 [POSIX] (EOVERFLOW): Likewise.
7239 [POSIX] (EPROTO): Likewise.
7240 [POSIX] (EPROTONOSUPPORT): Likewise.
7241 [POSIX] (EPROTOTYPE): Likewise.
7242 [POSIX] (ESTALE): Likewise.
7243 [POSIX] (ETIME): Likewise.
7244 [POSIX] (ETXTBSY): Likewise.
7245 [POSIX] (EWOULDBLOCK): Likewise.
7246 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7247 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7248 [POSIX] (SEEK_CUR): Likewise.
7249 [POSIX] (SEEK_END): Likewise.
7250 [POSIX || UNIX98] (mode_t): Do not require.
7251 [POSIX] (off_t): Likewise.
7252 [POSIX] (pid_t): Likewise.
7253 [POSIX] (sys/stat.h): Do not allow header.
7254 [POSIX] (unistd.h): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7256 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7258 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7260 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7261 sigevent): Specify elements.
7262 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7264 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7265 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7267 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7268 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7269 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7270 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7271 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7272 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7273 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7274 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7276 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7277 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7278 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7279 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7280 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7282 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7284 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7286 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7288 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7289 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7290 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7291 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7293 Specify lower bound on value.
7294 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7295 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7296 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7300 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7301 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7303 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7305 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7314 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7315 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7317 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7318 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7319 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7322 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7324 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7331 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7334 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7335 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7336 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7337 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7339 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7340 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7341 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7342 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7343 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7344 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7345 specify as optional.
7346 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7347 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7348 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7349 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7350 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7351 [XPG3] (NL_LANGMAX): Likewise.
7352 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7353 [POSIX || XPG3] (NL_NMAX): Likewise.
7354 [POSIX || XPG3] (NL_SETMAX): Likewise.
7355 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7356 [XPG3] (NZERO): Likewise.
7357 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7358 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7359 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7360 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7361 (REG_ERANGE): Expect.
7362 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7364 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7365 Use (void) in prototype.
7366 [POSIX] (*_t): Allow.
7367 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7368 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7369 (WRDE_BADVAL): Expect.
7371 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7373 [XPG3 || XPG4] (O_RSYNC): Likewise.
7374 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7376 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7377 [XPG3 || XPG4] (sigqueue): Likewise.
7378 [XPG3 || XPG4] (sigtimedwait): Likewise.
7379 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7380 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7381 [XPG3 || XPG4] (vsnprintf): Likewise.
7382 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7384 [XPG3 || XPG4] (blksize_t): Likewise.
7385 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7387 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7388 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7389 [XPG3 || XPG4] (struct itimerspec): Likewise.
7390 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7391 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7392 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7393 [XPG3 || XPG4] (clockid_t): Likewise.
7394 [XPG3 || XPG4] (timer_t): Likewise.
7395 [XPG3 || XPG4] (clock_getres): Likewise.
7396 [XPG3 || XPG4] (clock_gettime): Likewise.
7397 [XPG3 || XPG4] (clock_settime): Likewise.
7398 [XPG3 || XPG4] (nanosleep): Likewise.
7399 [XPG3 || XPG4] (timer_create): Likewise.
7400 [XPG3 || XPG4] (timer_delete): Likewise.
7401 [XPG3 || XPG4] (timer_gettime): Likewise.
7402 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7403 [XPG3 || XPG4] (timer_settime): Likewise.
7404 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7405 [XPG3 || XPG4] (getlogin_r): Likewise.
7406 [XPG3 || XPG4] (pread): Likewise.
7407 [XPG3 || XPG4] (pthread_atfork): Likewise.
7408 [XPG3 || XPG4] (pwrite): Likewise.
7411 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7414 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7416 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7417 finalizing MALLSTREAM.
7419 * sysdeps/mach/hurd/syncfs.c: New file.
7421 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7424 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7425 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7426 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7427 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7428 (_nss_dns_gethostbyname4_r): Likewise.
7429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7430 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7432 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7435 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7437 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7439 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7440 * elf/cache.c (print_entry): Print ",AArch64" for
7443 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7444 * elf/cache.c (print_entry): Print ",hard-float" for
7447 2012-11-18 David S. Miller <davem@davemloft.net>
7449 With help from Joseph Myers.
7450 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7452 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7454 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7455 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7457 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7458 * math/libm-test.inc (y0_test): New tests.
7459 (y1_test): New tests.
7460 * sysdeps/i386/fpu/libm-test-ulps: Update.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7464 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7466 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7468 * configure: Regenerated.
7470 2012-11-17 David S. Miller <davem@davemloft.net>
7473 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7474 nonzero exponents with absolute value below 0x1p-128 to +/-
7477 2012-11-17 Joseph Myers <joseph@codesourcery.com>
7479 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7481 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7483 * posix/getconf-speclist.c: New file.
7484 * posix/posix-envs.def: Likewise.
7485 * posix/confstr.c (START_ENV_GROUP): New macro.
7486 (END_ENV_GROUP): Likewise.
7487 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7488 (KNOWN_PRESENT_ENV_STRING): Likewise.
7489 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7490 (UNKNOWN_ENVIRONMENT): Likewise.
7491 (confstr): Include posix-envs.def instead of handling
7492 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7493 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7494 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7495 (END_ENV_GROUP): Likewise.
7496 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7497 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7498 (UNKNOWN_ENVIRONMENT): Likewise.
7499 (__sysconf): Include posix-envs.def instead of handling associated
7500 cases directly here.
7501 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7502 preprocessing getconf-speclist.c rather than running getconf or
7503 generating empty file.
7505 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7507 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7509 2012-11-16 Andrej Lajovic <natrij@gmail.com>
7512 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7514 2012-11-16 David S. Miller <davem@davemloft.net>
7516 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7517 smaller than LDBL_EPSILON/2.0L, just return xm1.
7519 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7521 * elf/tst-array1.c (init): Set constructor priority to 1000.
7522 (fini): Set destructor priority to 1000.
7523 * elf/tst-array2dep.c: Likewise.
7525 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7528 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7529 (_IO_new_file_xsputn): Also return EOF if none of the input
7530 data was written when overflow failed.
7531 * libio/iopadn.c (_IO_padn): Likewise.
7532 * libio/iowpadn.c (_IO_wpadn): Likewise.
7533 * stdio-common/tst-put-error.c: Add copyright notice.
7534 (do_test): Add case for printing padded string.
7535 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7536 _IO_padn returned error.
7537 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7538 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7541 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7543 * libio/libioP.h: Add comment note that the references to C++
7544 bits are now obsolete.
7546 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7548 * math/libm-test.inc (check_complex): Use asprintf.
7550 2012-11-14 Joseph Myers <joseph@codesourcery.com>
7552 * debug/pcprofiledump.c (print_version): Update copyright year.
7553 * malloc/memusagestat.c (print_version): Likewise.
7555 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7558 * elf/Makefile (tests): Add tst-audit8.
7559 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7560 ($(objpfx)tst-audit8.out): New target.
7561 (tst-audit8-ENV): New variable.
7562 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7563 audit if l_reloc_result is NULL.
7564 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7565 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7566 * elf/tst-audit8.c: New file.
7568 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7570 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7571 * misc/Makefile (CFLAGS-select.c): Define.
7572 * posix/Makefile (CFLAGS-pause.c): Define.
7574 2012-11-13 David S. Miller <davem@davemloft.net>
7576 * crypt/Makefile: Move test targets after toplevel Rules
7577 inclusion. Grab any necessary sysdep routines when linking.
7578 * crypt/md5.c (md5_process_block): Remove define, we will always
7579 name it __md5_process_block.
7580 (md5_finish_ctx): Update md5_process_block call.
7581 (md5_stream): Likewise.
7582 (md5_process_bytes): Likewise.
7583 (md5_process_block): Rename to __md5_process_block and move to ...
7584 * crypt/md5-block.c: ... here.
7585 * crypt/sha256.c (sha256_process_block): Move to ...
7586 * crypt/sha256-block.c: ... here.
7587 * crypt/sha512.c (sha512_process_block): Move to ...
7588 * crypt/sha512-block.c: ... here.
7589 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7591 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7592 * sysdeps/sparc/sparc64/multiarch/Makefile
7593 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7595 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7596 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7598 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7599 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7600 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7601 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7602 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7603 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7604 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7605 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7606 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7608 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7609 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7611 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7613 2012-11-13 Joseph Myers <joseph@codesourcery.com>
7615 * timezone/tzselect.ksh: Update from tzcode git revision
7616 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7617 * timezone/zdump.c: Likewise.
7618 * timezone/zic.c: Likewise.
7619 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7620 in TZVERSION setting, not $(PKGVERSION).
7621 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7622 REPORT_BUGS_TO settings.
7625 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7628 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7630 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7631 detection to immediately after _FP_ROUND().
7632 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7635 2012-11-11 David S. Miller <davem@davemloft.net>
7637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7639 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7640 __close rather than their public counterparts.
7642 2012-11-10 Joseph Myers <joseph@codesourcery.com>
7644 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7646 [UNIX98] (sem_timedwait): Do not expect.
7647 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7648 [XPG4 || UNIX98] (sockatmark): Do not expect.
7649 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7650 (clock_getcpuclockid): Do not expect.
7651 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7652 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7654 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7655 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7656 [UNIX98] (vwscanf): Likewise.
7657 [UNIX98] (vswscanf): Likewise.
7659 2012-11-09 Joseph Myers <joseph@codesourcery.com>
7661 * timezone/version.h: Remove file.
7662 * timezone/README: Do not refer to version.h.
7663 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7665 ($(objpfx)zdump.o): Likewise.
7666 ($(objpfx)version.h): New target.
7668 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7670 * timezone/README: Don't mention modification to tzselect.ksh.
7671 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7672 work on unmodified tzselect.ksh. Substitute version numbers in
7675 * Makefile (format-me): Remove.
7676 (INSTALL): Adjust indentation. Use commands directly instead of
7679 * aclocal.m4 (ACX_PKGVERSION): New macro.
7680 (ACX_BUGURL): Likewise.
7681 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7682 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7683 (REPORT_BUGS_TO): Likewise.
7684 * configure: Regenerated.
7685 * config.h.in (PKGVERSION): New macro.
7686 (REPORT_BUGS_TO): Likewise.
7687 * config.make.in (PKGVERSION): New variable.
7688 (PKGVERSION_TEXI): Likewise.
7689 (REPORT_BUGS_TO): Likewise.
7690 (REPORT_BUGS_TEXI): Likewise.
7691 * Makefile (format-me): Use -I$(common-objpfx)manual.
7692 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7693 ($(common-objpfx)manual/%): New target.
7694 (manual/%): Remove target.
7695 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7696 (print_version): Use PKGVERSION.
7697 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7698 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7700 ($(objpfx)xtrace): Likewise.
7701 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7702 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7703 (print_version): Use PKGVERSION.
7704 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7705 (do_version): Use PKGVERSION.
7706 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7708 (common-ldd-rewrite): Likewise.
7709 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7710 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7711 (print_version): Use PKGVERSION.
7712 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7713 * elf/pldd.c (argp_program_bug_address): Remove variable.
7714 (more_help): New function.
7715 (argp): Use more_help.
7716 (print_version): Use PKGVERSION.
7717 * elf/sln.c (main): Use PKGVERSION.
7718 (usage): Use REPORT_BUGS_TO.
7719 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7720 (top level): Use PKGVERSION.
7721 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7722 (print_version): Use PKGVERSION.
7723 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7724 (print_version): Use PKGVERSION.
7725 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7726 (print_version): Use PKGVERSION.
7727 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7728 (print_version): Use PKGVERSION.
7729 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7730 (print_version): Use PKGVERSION.
7731 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7732 (print_version): Use PKGVERSION.
7733 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7735 ($(objpfx)memusage): Likewise.
7736 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7737 (do_version): Use PKGVERSION.
7738 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7739 (print_version): Use PKGVERSION.
7740 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7741 ($PKGVERSION): New variable.
7742 ($REPORT_BUGS_TO): Likewise.
7743 (usage): Use $REPORT_BUGS_TO.
7744 (top level): Use $PKGVERSION.
7745 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7746 ($(objpfx)pkgvers.texi): New rule.
7747 ($(objpfx)stamp-pkgvers): Likewise.
7748 * manual/install.texi: Include pkgvers.texi.
7749 (--with-pkgversion): Document new configure option.
7750 (--with-bugurl): Likewise.
7751 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7752 than necessarily for this particular distribution. Use
7753 REPORT_BUGS_TO for where to report bugs.
7754 * INSTALL: Regenerated.
7755 * manual/libc.texinfo: Include pkgvers.texi.
7756 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7757 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7758 (print_version): Use PKGVERSION.
7759 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7760 (print_version): Use PKGVERSION.
7761 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7762 (print_version): Use PKGVERSION.
7763 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7764 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7766 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7767 (print_version): Use PKGVERSION.
7768 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7769 (print_version): Use PKGVERSION.
7770 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7773 * timezone/checktab.awk: Update from tzcode 2012i.
7774 * timezone/ialloc.c: Likewise.
7775 * timezone/private.h: Likewise.
7776 * timezone/scheck.c: Likewise.
7777 * timezone/tzfile.h: Likewise.
7778 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7779 (TZVERSION): Hardcode tzcode version number.
7780 * timezone/zdump.c: Update from tzcode 2012i.
7781 * timezone/zic.c: Likewise.
7782 * timezone/version.h: New file.
7783 * timezone/README: Describe version.h. Update upstream location.
7786 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7787 (mktemp): Enable declaration.
7788 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7790 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7805 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7806 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7807 for copies of such integer values.
7808 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7809 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7811 2012-11-09 Andreas Jaeger <aj@suse.de>
7813 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7814 definitions and declarations that are provided by
7815 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7817 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7819 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
7820 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7821 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7824 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7826 * elf/elf.h: Update comment before AArch64 relocations.
7828 2012-11-07 David S. Miller <davem@davemloft.net>
7830 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7831 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7832 (__start_context): Declare.
7833 (__makecontext_ret): Delete.
7834 (__makecontext): Hook up __start_context instead of
7836 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7837 (sysdep_routines): Add __start_context when in stdlib.
7839 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7841 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7842 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7843 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7845 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7846 (READELF): New variable. Use it instead of hardcoded "readelf".
7848 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7850 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7851 * sysdeps/x86/Makefile: Here.
7852 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7853 * sysdeps/x86/tst-xmmymm.sh: This.
7855 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7857 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7859 [UNIX98] (pthread_barrier_t): Do not expect.
7860 [UNIX98] (pthread_barrierattr_t): Likewise.
7861 [UNIX98] (pthread_spinlock_t): Likewise.
7862 [UNIX98] (pthread_barrier_destroy): Likewise.
7863 [UNIX98] (pthread_barrier_init): Likewise.
7864 [UNIX98] (pthread_barrier_wait): Likewise.
7865 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7866 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7867 [UNIX98] (pthread_barrierattr_init): Likewise.
7868 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7869 [UNIX98] (pthread_getcpuclockid): Likewise.
7870 [UNIX98] (pthread_mutex_timedlock): Likewise.
7871 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7872 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7873 [UNIX98] (pthread_sigmask): Likewise.
7874 [UNIX98] (pthread_spin_destroy): Likewise.
7875 [UNIX98] (pthread_spin_init): Likewise.
7876 [UNIX98] (pthread_spin_lock): Likewise.
7877 [UNIX98] (pthread_spin_trylock): Likewise.
7878 [UNIX98] (pthread_spin_unlock): Likewise.
7879 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7881 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7882 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7883 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7884 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7885 [XPG3 || XPG4] (pthread_key_t): Likewise.
7886 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7887 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7888 [XPG3 || XPG4] (pthread_once_t): Likewise.
7889 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7890 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7891 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7892 [XPG3 || XPG4] (pthread_t): Likewise.
7894 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7896 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7898 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7899 Change function return type to int.
7901 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7902 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7903 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7904 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7905 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7906 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7907 [!POSIX] (posix_madvise): Likewise.
7908 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7910 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7911 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7913 (posix_mem_offset): Likewise.
7914 (posix_typed_mem_get_info): Likewise.
7915 (posix_typed_mem_open): Likewise.
7917 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7918 Change condition to [XOPEN2K8].
7920 * conform/conformtest.pl: Preprocess allow-header data with -x c
7921 instead of from stdin.
7922 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7923 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7924 [C99-based standards] (cerfc): Likewise.
7925 [C99-based standards] (cexp2): Likewise.
7926 [C99-based standards] (cexpm1): Likewise.
7927 [C99-based standards] (clog10): Likewise.
7928 [C99-based standards] (clog1p): Likewise.
7929 [C99-based standards] (clog2): Likewise.
7930 [C99-based standards] (clgamma): Likewise.
7931 [C99-based standards] (ctgamma): Likewise.
7932 [C99-based standards] (cerff): Likewise.
7933 [C99-based standards] (cerfcf): Likewise.
7934 [C99-based standards] (cexp2f): Likewise.
7935 [C99-based standards] (cexpm1f): Likewise.
7936 [C99-based standards] (clog10f): Likewise.
7937 [C99-based standards] (clog1pf): Likewise.
7938 [C99-based standards] (clog2f): Likewise.
7939 [C99-based standards] (clgammaf): Likewise.
7940 [C99-based standards] (ctgammaf): Likewise.
7941 [C99-based standards] (cerfl): Likewise.
7942 [C99-based standards] (cerfcl): Likewise.
7943 [C99-based standards] (cexp2l): Likewise.
7944 [C99-based standards] (cexpm1l): Likewise.
7945 [C99-based standards] (clog10l): Likewise.
7946 [C99-based standards] (clog1pl): Likewise.
7947 [C99-based standards] (clog2l): Likewise.
7948 [C99-based standards] (clgammal): Likewise.
7949 [C99-based standards] (ctgammal): Likewise.
7950 * conform/data/inttypes.h-data [C99-based standards]: Include
7951 stdint.h-data. Remove all expectations for stdint.h contents.
7952 [C99-based standards] (PRI*): Do not allow.
7953 [C99-based standards] (SCN*): Likewise.
7954 [C99-based standards] (*_t): Likewise.
7955 [C99-based-standards] (PRId8): Expect macro.
7956 [C99-based-standards] (PRIi8): Likewise.
7957 [C99-based-standards] (PRIo8): Likewise.
7958 [C99-based-standards] (PRIu8): Likewise.
7959 [C99-based-standards] (PRIx8): Likewise.
7960 [C99-based-standards] (PRIX8): Likewise.
7961 [C99-based-standards] (SCNd8): Likewise.
7962 [C99-based-standards] (SCNi8): Likewise.
7963 [C99-based-standards] (SCNo8): Likewise.
7964 [C99-based-standards] (SCNu8): Likewise.
7965 [C99-based-standards] (SCNx8): Likewise.
7966 [C99-based-standards] (PRIdLEAST8): Likewise.
7967 [C99-based-standards] (PRIiLEAST8): Likewise.
7968 [C99-based-standards] (PRIoLEAST8): Likewise.
7969 [C99-based-standards] (PRIuLEAST8): Likewise.
7970 [C99-based-standards] (PRIxLEAST8): Likewise.
7971 [C99-based-standards] (PRIXLEAST8): Likewise.
7972 [C99-based-standards] (SCNdLEAST8): Likewise.
7973 [C99-based-standards] (SCNiLEAST8): Likewise.
7974 [C99-based-standards] (SCNoLEAST8): Likewise.
7975 [C99-based-standards] (SCNuLEAST8): Likewise.
7976 [C99-based-standards] (SCNxLEAST8): Likewise.
7977 [C99-based-standards] (PRIdFAST8): Likewise.
7978 [C99-based-standards] (PRIiFAST8): Likewise.
7979 [C99-based-standards] (PRIoFAST8): Likewise.
7980 [C99-based-standards] (PRIuFAST8): Likewise.
7981 [C99-based-standards] (PRIxFAST8): Likewise.
7982 [C99-based-standards] (PRIXFAST8): Likewise.
7983 [C99-based-standards] (SCNdFAST8): Likewise.
7984 [C99-based-standards] (SCNiFAST8): Likewise.
7985 [C99-based-standards] (SCNoFAST8): Likewise.
7986 [C99-based-standards] (SCNuFAST8): Likewise.
7987 [C99-based-standards] (SCNxFAST8): Likewise.
7988 [C99-based-standards] (PRId16): Likewise.
7989 [C99-based-standards] (PRIi16): Likewise.
7990 [C99-based-standards] (PRIo16): Likewise.
7991 [C99-based-standards] (PRIu16): Likewise.
7992 [C99-based-standards] (PRIx16): Likewise.
7993 [C99-based-standards] (PRIX16): Likewise.
7994 [C99-based-standards] (SCNd16): Likewise.
7995 [C99-based-standards] (SCNi16): Likewise.
7996 [C99-based-standards] (SCNo16): Likewise.
7997 [C99-based-standards] (SCNu16): Likewise.
7998 [C99-based-standards] (SCNx16): Likewise.
7999 [C99-based-standards] (PRIdLEAST16): Likewise.
8000 [C99-based-standards] (PRIiLEAST16): Likewise.
8001 [C99-based-standards] (PRIoLEAST16): Likewise.
8002 [C99-based-standards] (PRIuLEAST16): Likewise.
8003 [C99-based-standards] (PRIxLEAST16): Likewise.
8004 [C99-based-standards] (PRIXLEAST16): Likewise.
8005 [C99-based-standards] (SCNdLEAST16): Likewise.
8006 [C99-based-standards] (SCNiLEAST16): Likewise.
8007 [C99-based-standards] (SCNoLEAST16): Likewise.
8008 [C99-based-standards] (SCNuLEAST16): Likewise.
8009 [C99-based-standards] (SCNxLEAST16): Likewise.
8010 [C99-based-standards] (PRIdFAST16): Likewise.
8011 [C99-based-standards] (PRIiFAST16): Likewise.
8012 [C99-based-standards] (PRIoFAST16): Likewise.
8013 [C99-based-standards] (PRIuFAST16): Likewise.
8014 [C99-based-standards] (PRIxFAST16): Likewise.
8015 [C99-based-standards] (PRIXFAST16): Likewise.
8016 [C99-based-standards] (SCNdFAST16): Likewise.
8017 [C99-based-standards] (SCNiFAST16): Likewise.
8018 [C99-based-standards] (SCNoFAST16): Likewise.
8019 [C99-based-standards] (SCNuFAST16): Likewise.
8020 [C99-based-standards] (SCNxFAST16): Likewise.
8021 [C99-based-standards] (PRId32): Likewise.
8022 [C99-based-standards] (PRIi32): Likewise.
8023 [C99-based-standards] (PRIo32): Likewise.
8024 [C99-based-standards] (PRIu32): Likewise.
8025 [C99-based-standards] (PRIx32): Likewise.
8026 [C99-based-standards] (PRIX32): Likewise.
8027 [C99-based-standards] (SCNd32): Likewise.
8028 [C99-based-standards] (SCNi32): Likewise.
8029 [C99-based-standards] (SCNo32): Likewise.
8030 [C99-based-standards] (SCNu32): Likewise.
8031 [C99-based-standards] (SCNx32): Likewise.
8032 [C99-based-standards] (PRIdLEAST32): Likewise.
8033 [C99-based-standards] (PRIiLEAST32): Likewise.
8034 [C99-based-standards] (PRIoLEAST32): Likewise.
8035 [C99-based-standards] (PRIuLEAST32): Likewise.
8036 [C99-based-standards] (PRIxLEAST32): Likewise.
8037 [C99-based-standards] (PRIXLEAST32): Likewise.
8038 [C99-based-standards] (SCNdLEAST32): Likewise.
8039 [C99-based-standards] (SCNiLEAST32): Likewise.
8040 [C99-based-standards] (SCNoLEAST32): Likewise.
8041 [C99-based-standards] (SCNuLEAST32): Likewise.
8042 [C99-based-standards] (SCNxLEAST32): Likewise.
8043 [C99-based-standards] (PRIdFAST32): Likewise.
8044 [C99-based-standards] (PRIiFAST32): Likewise.
8045 [C99-based-standards] (PRIoFAST32): Likewise.
8046 [C99-based-standards] (PRIuFAST32): Likewise.
8047 [C99-based-standards] (PRIxFAST32): Likewise.
8048 [C99-based-standards] (PRIXFAST32): Likewise.
8049 [C99-based-standards] (SCNdFAST32): Likewise.
8050 [C99-based-standards] (SCNiFAST32): Likewise.
8051 [C99-based-standards] (SCNoFAST32): Likewise.
8052 [C99-based-standards] (SCNuFAST32): Likewise.
8053 [C99-based-standards] (SCNxFAST32): Likewise.
8054 [C99-based-standards] (PRId64): Likewise.
8055 [C99-based-standards] (PRIi64): Likewise.
8056 [C99-based-standards] (PRIo64): Likewise.
8057 [C99-based-standards] (PRIu64): Likewise.
8058 [C99-based-standards] (PRIx64): Likewise.
8059 [C99-based-standards] (PRIX64): Likewise.
8060 [C99-based-standards] (SCNd64): Likewise.
8061 [C99-based-standards] (SCNi64): Likewise.
8062 [C99-based-standards] (SCNo64): Likewise.
8063 [C99-based-standards] (SCNu64): Likewise.
8064 [C99-based-standards] (SCNx64): Likewise.
8065 [C99-based-standards] (PRIdLEAST64): Likewise.
8066 [C99-based-standards] (PRIiLEAST64): Likewise.
8067 [C99-based-standards] (PRIoLEAST64): Likewise.
8068 [C99-based-standards] (PRIuLEAST64): Likewise.
8069 [C99-based-standards] (PRIxLEAST64): Likewise.
8070 [C99-based-standards] (PRIXLEAST64): Likewise.
8071 [C99-based-standards] (SCNdLEAST64): Likewise.
8072 [C99-based-standards] (SCNiLEAST64): Likewise.
8073 [C99-based-standards] (SCNoLEAST64): Likewise.
8074 [C99-based-standards] (SCNuLEAST64): Likewise.
8075 [C99-based-standards] (SCNxLEAST64): Likewise.
8076 [C99-based-standards] (PRIdFAST64): Likewise.
8077 [C99-based-standards] (PRIiFAST64): Likewise.
8078 [C99-based-standards] (PRIoFAST64): Likewise.
8079 [C99-based-standards] (PRIuFAST64): Likewise.
8080 [C99-based-standards] (PRIxFAST64): Likewise.
8081 [C99-based-standards] (PRIXFAST64): Likewise.
8082 [C99-based-standards] (SCNdFAST64): Likewise.
8083 [C99-based-standards] (SCNiFAST64): Likewise.
8084 [C99-based-standards] (SCNoFAST64): Likewise.
8085 [C99-based-standards] (SCNuFAST64): Likewise.
8086 [C99-based-standards] (SCNxFAST64): Likewise.
8087 [C99-based-standards] (PRIdMAX): Likewise.
8088 [C99-based-standards] (PRIiMAX): Likewise.
8089 [C99-based-standards] (PRIoMAX): Likewise.
8090 [C99-based-standards] (PRIuMAX): Likewise.
8091 [C99-based-standards] (PRIxMAX): Likewise.
8092 [C99-based-standards] (PRIXMAX): Likewise.
8093 [C99-based-standards] (SCNdMAX): Likewise.
8094 [C99-based-standards] (SCNiMAX): Likewise.
8095 [C99-based-standards] (SCNoMAX): Likewise.
8096 [C99-based-standards] (SCNuMAX): Likewise.
8097 [C99-based-standards] (SCNxMAX): Likewise.
8098 [C99-based-standards] (PRIdPTR): Likewise.
8099 [C99-based-standards] (PRIiPTR): Likewise.
8100 [C99-based-standards] (PRIoPTR): Likewise.
8101 [C99-based-standards] (PRIuPTR): Likewise.
8102 [C99-based-standards] (PRIxPTR): Likewise.
8103 [C99-based-standards] (PRIXPTR): Likewise.
8104 [C99-based-standards] (SCNdPTR): Likewise.
8105 [C99-based-standards] (SCNiPTR): Likewise.
8106 [C99-based-standards] (SCNoPTR): Likewise.
8107 [C99-based-standards] (SCNuPTR): Likewise.
8108 [C99-based-standards] (SCNxPTR): Likewise.
8109 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8111 * conform/data/stdint.h-data: Update comments to clarify
8113 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8115 [C99-based standards] (INT8_MAX): Likewise.
8116 [C99-based standards] (INT16_MIN): Likewise.
8117 [C99-based standards] (INT16_MAX): Likewise.
8118 [C99-based standards] (INT32_MIN): Likewise.
8119 [C99-based standards] (INT32_MAX): Likewise.
8120 [C99-based standards] (INT64_MIN): Likewise.
8121 [C99-based standards] (INT64_MAX): Likewise.
8122 [C99-based standards] (UINT8_MAX): Likewise.
8123 [C99-based standards] (UINT16_MAX): Likewise.
8124 [C99-based standards] (UINT32_MAX): Likewise.
8125 [C99-based standards] (UINT64_MAX): Likewise.
8126 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8127 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8128 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8129 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8130 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8131 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8132 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8133 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8134 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8135 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8136 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8137 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8138 [C99-based standards] (INT_FAST8_MIN): Likewise.
8139 [C99-based standards] (INT_FAST8_MAX): Likewise.
8140 [C99-based standards] (INT_FAST16_MIN): Likewise.
8141 [C99-based standards] (INT_FAST16_MAX): Likewise.
8142 [C99-based standards] (INT_FAST32_MIN): Likewise.
8143 [C99-based standards] (INT_FAST32_MAX): Likewise.
8144 [C99-based standards] (INT_FAST64_MIN): Likewise.
8145 [C99-based standards] (INT_FAST64_MAX): Likewise.
8146 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8147 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8148 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8149 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8150 [C99-based standards] (INTPTR_MIN): Likewise.
8151 [C99-based standards] (INTPTR_MAX): Likewise.
8152 [C99-based standards] (UINTPTR_MAX): Likewise.
8153 [C99-based standards] (INTMAX_MIN): Likewise.
8154 [C99-based standards] (INTMAX_MAX): Likewise.
8155 [C99-based standards] (UINTMAX_MAX): Likewise.
8156 [C99-based standards] (PTRDIFF_MIN): Likewise.
8157 [C99-based standards] (PTRDIFF_MAX): Likewise.
8158 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8159 [C99-based standards] (SIZE_MAX): Likewise.
8160 [C99-based standards] (WCHAR_MAX): Likewise.
8161 [C99-based standards] (WINT_MAX): Likewise.
8162 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8163 constraint on value.
8164 [C99-based standards] (WCHAR_MIN): Likewise.
8165 [C99-based standards] (WINT_MIN): Likewise.
8166 [C99-based standards] (*_t): Allow.
8167 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8168 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8169 Include math.h-data and complex.h-data. Remove all expectations
8170 of math.h and complex.h contents.
8171 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8173 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8174 (struct tm): Expect tag.
8175 [C99-based-standards] (wcstof): Expect function.
8176 [C99-based-standards] (wcstold): Likewise.
8177 [C99-based-standards] (wcstoll): Likewise.
8178 [C99-based-standards] (wcstoull): Likewise.
8179 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8180 macro-int-constant. Specify type.
8181 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8182 constraint on value.
8183 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8185 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8187 [ISO C standards]: Do not allow headers.
8188 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8189 wcs[abcdefghijklmnopqrstuvwxyz]*.
8190 [ISO C standards] (*_t): Do not allow.
8191 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8193 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8194 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8196 [ISO C standards]: Do not allow headers.
8197 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8198 is[abcdefghijklmnopqrstuvwxyz]*.
8199 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8200 to[abcdefghijklmnopqrstuvwxyz]*.
8201 [ISO C standards] (*_t): Do not allow.
8202 * conform/data/stdalign.h-data: New file.
8203 * conform/data/stdbool.h-data: Likewise.
8204 * conform/data/stdnoreturn.h-data: Likewise.
8206 2012-11-07 Roland McGrath <roland@hack.frob.com>
8209 * manual/filesys.texi (Directory Entries): Typo fix.
8210 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8212 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8214 * elf/elf.h (EM_AARCH64): New macro.
8215 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8216 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8217 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8218 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8219 (R_AARCH64_TLSDESC): Likewise.
8220 (NT_ARM_TLS): Likewise.
8221 (NT_ARM_HW_BREAK): Likewise.
8222 (NT_ARM_HW_WATCH): Likewise.
8224 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8227 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8228 (__ieee754_powl): Saturate nonzero exponents with absolute value
8229 below 0x1p-79 to +/- 0x1p-79.
8230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8231 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8232 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8233 nonzero exponents with absolute value below 0x1p-32 to +/-
8235 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8236 (__ieee754_powl): Saturate nonzero exponents with absolute value
8237 below 0x1p-79 to +/- 0x1p-79.
8238 * math/libm-test.inc (pow_test): Add more tests.
8240 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8242 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8243 _dl_s390_cap_flags with kernel. Increase string length.
8244 (_dl_s390_platforms): Add z196 and zEC12.
8246 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8248 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8249 Change XOPEN21K to XOPEN2K.
8251 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8253 * string/memmove.c: Use memcpy when possible.
8255 2012-11-06 Andreas Jaeger <aj@suse.de>
8257 * po/eo.po: Update from translation team.
8259 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8263 exponent and small x and y exponents, scale x or y up. Increase
8264 by 2 the exponent used in scaling up.
8265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8267 * math/libm-test.inc (fma_test): Add more tests.
8268 (fma_test_towardzero): Likewise.
8269 (fma_test_downward): Likewise.
8270 (fma_test_upward): Likewise.
8272 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8275 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8279 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8280 namespace for names of struct fields.
8281 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8283 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8284 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8286 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8289 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8291 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8293 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8297 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8300 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8304 definitely overflow as x * y not x * y + z.
8305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8307 * math/libm-test.inc (fma_test): Add more tests.
8308 (fma_test_towardzero): Likewise.
8309 (fma_test_downward): Likewise.
8310 (fma_test_upward): Likewise.
8312 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8316 * include/stub-tag.h: Remove file.
8317 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8319 * manual/maint.texi (Porting): Don't reference it.
8320 * Makerules ($(objpfx)stubs): Likewise.
8321 * dirent/closedir.c: Don't include <stub-tag.h>.
8322 * dirent/dirfd.c: Likewise.
8323 * dirent/fdopendir.c: Likewise.
8324 * dirent/getdents.c: Likewise.
8325 * dirent/getdents64.c: Likewise.
8326 * dirent/opendir.c: Likewise.
8327 * dirent/readdir.c: Likewise.
8328 * dirent/readdir64.c: Likewise.
8329 * dirent/readdir64_r.c: Likewise.
8330 * dirent/readdir_r.c: Likewise.
8331 * dirent/rewinddir.c: Likewise.
8332 * dirent/seekdir.c: Likewise.
8333 * dirent/telldir.c: Likewise.
8334 * gmon/profil.c: Likewise.
8335 * grp/setgroups.c: Likewise.
8336 * inet/if_index.c: Likewise.
8337 * io/access.c: Likewise.
8338 * io/chdir.c: Likewise.
8339 * io/chmod.c: Likewise.
8340 * io/chown.c: Likewise.
8341 * io/close.c: Likewise.
8342 * io/dup.c: Likewise.
8343 * io/dup2.c: Likewise.
8344 * io/dup3.c: Likewise.
8345 * io/euidaccess.c: Likewise.
8346 * io/faccessat.c: Likewise.
8347 * io/fchdir.c: Likewise.
8348 * io/fchmod.c: Likewise.
8349 * io/fchmodat.c: Likewise.
8350 * io/fchown.c: Likewise.
8351 * io/fchownat.c: Likewise.
8352 * io/fcntl.c: Likewise.
8353 * io/flock.c: Likewise.
8354 * io/fstatfs.c: Likewise.
8355 * io/fstatfs64.c: Likewise.
8356 * io/fstatvfs.c: Likewise.
8357 * io/fstatvfs64.c: Likewise.
8358 * io/futimens.c: Likewise.
8359 * io/fxstat.c: Likewise.
8360 * io/fxstat64.c: Likewise.
8361 * io/fxstatat.c: Likewise.
8362 * io/fxstatat64.c: Likewise.
8363 * io/getcwd.c: Likewise.
8364 * io/isatty.c: Likewise.
8365 * io/lchmod.c: Likewise.
8366 * io/lchown.c: Likewise.
8367 * io/link.c: Likewise.
8368 * io/linkat.c: Likewise.
8369 * io/lseek.c: Likewise.
8370 * io/lseek64.c: Likewise.
8371 * io/lxstat64.c: Likewise.
8372 * io/mkdir.c: Likewise.
8373 * io/mkdirat.c: Likewise.
8374 * io/mkfifo.c: Likewise.
8375 * io/mkfifoat.c: Likewise.
8376 * io/open.c: Likewise.
8377 * io/open64.c: Likewise.
8378 * io/openat.c: Likewise.
8379 * io/openat64.c: Likewise.
8380 * io/pipe.c: Likewise.
8381 * io/pipe2.c: Likewise.
8382 * io/poll.c: Likewise.
8383 * io/posix_fadvise.c: Likewise.
8384 * io/posix_fadvise64.c: Likewise.
8385 * io/posix_fallocate.c: Likewise.
8386 * io/posix_fallocate64.c: Likewise.
8387 * io/read.c: Likewise.
8388 * io/readlink.c: Likewise.
8389 * io/readlinkat.c: Likewise.
8390 * io/rmdir.c: Likewise.
8391 * io/sendfile.c: Likewise.
8392 * io/sendfile64.c: Likewise.
8393 * io/statfs.c: Likewise.
8394 * io/statfs64.c: Likewise.
8395 * io/statvfs.c: Likewise.
8396 * io/statvfs64.c: Likewise.
8397 * io/symlink.c: Likewise.
8398 * io/symlinkat.c: Likewise.
8399 * io/ttyname.c: Likewise.
8400 * io/ttyname_r.c: Likewise.
8401 * io/umask.c: Likewise.
8402 * io/unlink.c: Likewise.
8403 * io/unlinkat.c: Likewise.
8404 * io/utime.c: Likewise.
8405 * io/utimensat.c: Likewise.
8406 * io/write.c: Likewise.
8407 * io/xmknod.c: Likewise.
8408 * io/xmknodat.c: Likewise.
8409 * io/xstat.c: Likewise.
8410 * io/xstat64.c: Likewise.
8411 * login/getpt.c: Likewise.
8412 * login/grantpt.c: Likewise.
8413 * login/unlockpt.c: Likewise.
8414 * math/e_acoshl.c: Likewise.
8415 * math/e_acosl.c: Likewise.
8416 * math/e_asinl.c: Likewise.
8417 * math/e_atan2l.c: Likewise.
8418 * math/e_atanhl.c: Likewise.
8419 * math/e_coshl.c: Likewise.
8420 * math/e_expl.c: Likewise.
8421 * math/e_fmodl.c: Likewise.
8422 * math/e_gammal_r.c: Likewise.
8423 * math/e_hypotl.c: Likewise.
8424 * math/e_j0l.c: Likewise.
8425 * math/e_j1l.c: Likewise.
8426 * math/e_jnl.c: Likewise.
8427 * math/e_lgammal_r.c: Likewise.
8428 * math/e_log10l.c: Likewise.
8429 * math/e_log2l.c: Likewise.
8430 * math/e_logl.c: Likewise.
8431 * math/e_powl.c: Likewise.
8432 * math/e_rem_pio2l.c: Likewise.
8433 * math/e_sinhl.c: Likewise.
8434 * math/e_sqrtl.c: Likewise.
8435 * math/fclrexcpt.c: Likewise.
8436 * math/fedisblxcpt.c: Likewise.
8437 * math/feenablxcpt.c: Likewise.
8438 * math/fegetenv.c: Likewise.
8439 * math/fegetexcept.c: Likewise.
8440 * math/fegetround.c: Likewise.
8441 * math/feholdexcpt.c: Likewise.
8442 * math/fesetenv.c: Likewise.
8443 * math/fesetround.c: Likewise.
8444 * math/feupdateenv.c: Likewise.
8445 * math/fgetexcptflg.c: Likewise.
8446 * math/fraiseexcpt.c: Likewise.
8447 * math/fsetexcptflg.c: Likewise.
8448 * math/ftestexcept.c: Likewise.
8449 * math/k_cosl.c: Likewise.
8450 * math/k_rem_pio2l.c: Likewise.
8451 * math/k_sinl.c: Likewise.
8452 * math/k_tanl.c: Likewise.
8453 * math/s_asinhl.c: Likewise.
8454 * math/s_atanl.c: Likewise.
8455 * math/s_cbrtl.c: Likewise.
8456 * math/s_erfl.c: Likewise.
8457 * math/s_expm1l.c: Likewise.
8458 * math/s_log1pl.c: Likewise.
8459 * math/s_tanhl.c: Likewise.
8460 * misc/acct.c: Likewise.
8461 * misc/brk.c: Likewise.
8462 * misc/chflags.c: Likewise.
8463 * misc/chroot.c: Likewise.
8464 * misc/fchflags.c: Likewise.
8465 * misc/fgetxattr.c: Likewise.
8466 * misc/flistxattr.c: Likewise.
8467 * misc/fremovexattr.c: Likewise.
8468 * misc/fsetxattr.c: Likewise.
8469 * misc/fsync.c: Likewise.
8470 * misc/ftruncate.c: Likewise.
8471 * misc/futimes.c: Likewise.
8472 * misc/futimesat.c: Likewise.
8473 * misc/getdomain.c: Likewise.
8474 * misc/getdtsz.c: Likewise.
8475 * misc/gethostid.c: Likewise.
8476 * misc/gethostname.c: Likewise.
8477 * misc/getloadavg.c: Likewise.
8478 * misc/getpagesize.c: Likewise.
8479 * misc/getsysstats.c: Likewise.
8480 * misc/getxattr.c: Likewise.
8481 * misc/gtty.c: Likewise.
8482 * misc/ioctl.c: Likewise.
8483 * misc/lgetxattr.c: Likewise.
8484 * misc/listxattr.c: Likewise.
8485 * misc/llistxattr.c: Likewise.
8486 * misc/lremovexattr.c: Likewise.
8487 * misc/lsetxattr.c: Likewise.
8488 * misc/lutimes.c: Likewise.
8489 * misc/madvise.c: Likewise.
8490 * misc/mincore.c: Likewise.
8491 * misc/mlock.c: Likewise.
8492 * misc/mlockall.c: Likewise.
8493 * misc/mmap.c: Likewise.
8494 * misc/mprotect.c: Likewise.
8495 * misc/msync.c: Likewise.
8496 * misc/munlock.c: Likewise.
8497 * misc/munlockall.c: Likewise.
8498 * misc/munmap.c: Likewise.
8499 * misc/preadv.c: Likewise.
8500 * misc/preadv64.c: Likewise.
8501 * misc/ptrace.c: Likewise.
8502 * misc/pwritev.c: Likewise.
8503 * misc/pwritev64.c: Likewise.
8504 * misc/readv.c: Likewise.
8505 * misc/reboot.c: Likewise.
8506 * misc/remap_file_pages.c: Likewise.
8507 * misc/removexattr.c: Likewise.
8508 * misc/revoke.c: Likewise.
8509 * misc/select.c: Likewise.
8510 * misc/setdomain.c: Likewise.
8511 * misc/setegid.c: Likewise.
8512 * misc/seteuid.c: Likewise.
8513 * misc/sethostid.c: Likewise.
8514 * misc/sethostname.c: Likewise.
8515 * misc/setregid.c: Likewise.
8516 * misc/setreuid.c: Likewise.
8517 * misc/setxattr.c: Likewise.
8518 * misc/sstk.c: Likewise.
8519 * misc/stty.c: Likewise.
8520 * misc/swapoff.c: Likewise.
8521 * misc/swapon.c: Likewise.
8522 * misc/sync.c: Likewise.
8523 * misc/syncfs.c: Likewise.
8524 * misc/syscall.c: Likewise.
8525 * misc/truncate.c: Likewise.
8526 * misc/ualarm.c: Likewise.
8527 * misc/usleep.c: Likewise.
8528 * misc/ustat.c: Likewise.
8529 * misc/utimes.c: Likewise.
8530 * misc/vhangup.c: Likewise.
8531 * misc/writev.c: Likewise.
8532 * posix/_exit.c: Likewise.
8533 * posix/alarm.c: Likewise.
8534 * posix/execve.c: Likewise.
8535 * posix/fexecve.c: Likewise.
8536 * posix/fork.c: Likewise.
8537 * posix/fpathconf.c: Likewise.
8538 * posix/getaddrinfo.c: Likewise.
8539 * posix/getegid.c: Likewise.
8540 * posix/geteuid.c: Likewise.
8541 * posix/getgid.c: Likewise.
8542 * posix/getgroups.c: Likewise.
8543 * posix/getlogin.c: Likewise.
8544 * posix/getlogin_r.c: Likewise.
8545 * posix/getpgid.c: Likewise.
8546 * posix/getpid.c: Likewise.
8547 * posix/getppid.c: Likewise.
8548 * posix/getresgid.c: Likewise.
8549 * posix/getresuid.c: Likewise.
8550 * posix/getsid.c: Likewise.
8551 * posix/getuid.c: Likewise.
8552 * posix/glob64.c: Likewise.
8553 * posix/nanosleep.c: Likewise.
8554 * posix/pathconf.c: Likewise.
8555 * posix/pause.c: Likewise.
8556 * posix/posix_madvise.c: Likewise.
8557 * posix/pread.c: Likewise.
8558 * posix/pread64.c: Likewise.
8559 * posix/pwrite.c: Likewise.
8560 * posix/pwrite64.c: Likewise.
8561 * posix/sched_getaffinity.c: Likewise.
8562 * posix/sched_getp.c: Likewise.
8563 * posix/sched_gets.c: Likewise.
8564 * posix/sched_primax.c: Likewise.
8565 * posix/sched_primin.c: Likewise.
8566 * posix/sched_rr_gi.c: Likewise.
8567 * posix/sched_setaffinity.c: Likewise.
8568 * posix/sched_setp.c: Likewise.
8569 * posix/sched_sets.c: Likewise.
8570 * posix/sched_yield.c: Likewise.
8571 * posix/setgid.c: Likewise.
8572 * posix/setlogin.c: Likewise.
8573 * posix/setpgid.c: Likewise.
8574 * posix/setresgid.c: Likewise.
8575 * posix/setresuid.c: Likewise.
8576 * posix/setsid.c: Likewise.
8577 * posix/setuid.c: Likewise.
8578 * posix/sleep.c: Likewise.
8579 * posix/spawni.c: Likewise.
8580 * posix/sysconf.c: Likewise.
8581 * posix/times.c: Likewise.
8582 * posix/wait.c: Likewise.
8583 * posix/wait3.c: Likewise.
8584 * posix/wait4.c: Likewise.
8585 * posix/waitpid.c: Likewise.
8586 * resolv/gai_sigqueue.c: Likewise.
8587 * resource/getpriority.c: Likewise.
8588 * resource/getrlimit.c: Likewise.
8589 * resource/getrusage.c: Likewise.
8590 * resource/nice.c: Likewise.
8591 * resource/setpriority.c: Likewise.
8592 * resource/setrlimit.c: Likewise.
8593 * resource/ulimit.c: Likewise.
8594 * rt/aio_cancel.c: Likewise.
8595 * rt/aio_fsync.c: Likewise.
8596 * rt/aio_read.c: Likewise.
8597 * rt/aio_sigqueue.c: Likewise.
8598 * rt/aio_suspend.c: Likewise.
8599 * rt/aio_write.c: Likewise.
8600 * rt/clock_getres.c: Likewise.
8601 * rt/clock_gettime.c: Likewise.
8602 * rt/clock_nanosleep.c: Likewise.
8603 * rt/clock_settime.c: Likewise.
8604 * rt/lio_listio.c: Likewise.
8605 * rt/mq_close.c: Likewise.
8606 * rt/mq_getattr.c: Likewise.
8607 * rt/mq_notify.c: Likewise.
8608 * rt/mq_open.c: Likewise.
8609 * rt/mq_receive.c: Likewise.
8610 * rt/mq_send.c: Likewise.
8611 * rt/mq_setattr.c: Likewise.
8612 * rt/mq_timedreceive.c: Likewise.
8613 * rt/mq_timedsend.c: Likewise.
8614 * rt/mq_unlink.c: Likewise.
8615 * rt/shm_open.c: Likewise.
8616 * rt/shm_unlink.c: Likewise.
8617 * rt/timer_create.c: Likewise.
8618 * rt/timer_delete.c: Likewise.
8619 * rt/timer_getoverr.c: Likewise.
8620 * rt/timer_gettime.c: Likewise.
8621 * rt/timer_settime.c: Likewise.
8622 * setjmp/__longjmp.c: Likewise.
8623 * setjmp/setjmp.c: Likewise.
8624 * signal/kill.c: Likewise.
8625 * signal/killpg.c: Likewise.
8626 * signal/raise.c: Likewise.
8627 * signal/sigaction.c: Likewise.
8628 * signal/sigaltstack.c: Likewise.
8629 * signal/sigblock.c: Likewise.
8630 * signal/sigignore.c: Likewise.
8631 * signal/sigintr.c: Likewise.
8632 * signal/signal.c: Likewise.
8633 * signal/sigpause.c: Likewise.
8634 * signal/sigpending.c: Likewise.
8635 * signal/sigqueue.c: Likewise.
8636 * signal/sigreturn.c: Likewise.
8637 * signal/sigset.c: Likewise.
8638 * signal/sigsetmask.c: Likewise.
8639 * signal/sigstack.c: Likewise.
8640 * signal/sigsuspend.c: Likewise.
8641 * signal/sigtimedwait.c: Likewise.
8642 * signal/sigvec.c: Likewise.
8643 * signal/sigwait.c: Likewise.
8644 * signal/sigwaitinfo.c: Likewise.
8645 * signal/sysv_signal.c: Likewise.
8646 * socket/accept.c: Likewise.
8647 * socket/accept4.c: Likewise.
8648 * socket/bind.c: Likewise.
8649 * socket/connect.c: Likewise.
8650 * socket/getpeername.c: Likewise.
8651 * socket/getsockname.c: Likewise.
8652 * socket/getsockopt.c: Likewise.
8653 * socket/isfdtype.c: Likewise.
8654 * socket/listen.c: Likewise.
8655 * socket/recv.c: Likewise.
8656 * socket/recvfrom.c: Likewise.
8657 * socket/recvmsg.c: Likewise.
8658 * socket/send.c: Likewise.
8659 * socket/sendmsg.c: Likewise.
8660 * socket/sendto.c: Likewise.
8661 * socket/setsockopt.c: Likewise.
8662 * socket/shutdown.c: Likewise.
8663 * socket/sockatmark.c: Likewise.
8664 * socket/socket.c: Likewise.
8665 * socket/socketpair.c: Likewise.
8666 * stdio-common/ctermid.c: Likewise.
8667 * stdio-common/cuserid.c: Likewise.
8668 * stdio-common/remove.c: Likewise.
8669 * stdio-common/rename.c: Likewise.
8670 * stdio-common/renameat.c: Likewise.
8671 * stdio-common/tempname.c: Likewise.
8672 * stdlib/getcontext.c: Likewise.
8673 * stdlib/makecontext.c: Likewise.
8674 * stdlib/setcontext.c: Likewise.
8675 * stdlib/swapcontext.c: Likewise.
8676 * stdlib/system.c: Likewise.
8677 * streams/fattach.c: Likewise.
8678 * streams/fdetach.c: Likewise.
8679 * streams/getmsg.c: Likewise.
8680 * streams/getpmsg.c: Likewise.
8681 * streams/putmsg.c: Likewise.
8682 * streams/putpmsg.c: Likewise.
8683 * sysdeps/unix/bsd/getpt.c: Likewise.
8684 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8685 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8686 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8689 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8690 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8691 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8692 * sysvipc/msgctl.c: Likewise.
8693 * sysvipc/msgget.c: Likewise.
8694 * sysvipc/msgrcv.c: Likewise.
8695 * sysvipc/msgsnd.c: Likewise.
8696 * sysvipc/semctl.c: Likewise.
8697 * sysvipc/semget.c: Likewise.
8698 * sysvipc/semop.c: Likewise.
8699 * sysvipc/semtimedop.c: Likewise.
8700 * sysvipc/shmat.c: Likewise.
8701 * sysvipc/shmctl.c: Likewise.
8702 * sysvipc/shmdt.c: Likewise.
8703 * sysvipc/shmget.c: Likewise.
8704 * termios/tcdrain.c: Likewise.
8705 * termios/tcflow.c: Likewise.
8706 * termios/tcflush.c: Likewise.
8707 * termios/tcgetattr.c: Likewise.
8708 * termios/tcgetpgrp.c: Likewise.
8709 * termios/tcsendbrk.c: Likewise.
8710 * termios/tcsetattr.c: Likewise.
8711 * termios/tcsetpgrp.c: Likewise.
8712 * time/adjtime.c: Likewise.
8713 * time/clock.c: Likewise.
8714 * time/getitimer.c: Likewise.
8715 * time/gettimeofday.c: Likewise.
8716 * time/setitimer.c: Likewise.
8717 * time/settimeofday.c: Likewise.
8718 * time/stime.c: Likewise.
8719 * time/time.c: Likewise.
8721 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
8723 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8726 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8728 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8730 2012-11-03 Joseph Myers <joseph@codesourcery.com>
8733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8734 FE_TONEAREST before applying Dekker multiplication and Knuth
8735 addition. Clear inexact exceptions and check for exact zero
8737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8738 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8739 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8740 * math/libm-test.inc (fma_test): Add more tests.
8741 (fma_test_towardzero): Likewise.
8742 (fma_test_downward): Likewise.
8743 (fma_test_upward): Likewise.
8744 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8746 (libc_fesetround): New macro.
8747 (libc_fesetroundf): Likewise.
8748 (libc_fesetroundl): Likewise.
8749 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8751 (libc_fesetround_387): Likewise.
8752 (libc_fesetroundf): New macro.
8753 (libc_fesetround): Likewise.
8754 (libc_fesetroundl): Likewise.
8755 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8757 (libc_fesetroundf): New macro.
8758 (libc_fesetround): Likewise.
8759 (libc_fesetroundl): Likewise.
8760 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8761 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8762 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8764 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8765 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8767 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8768 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8770 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8774 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8775 integer constant usable in #if and use that to give value to enum
8777 (FE_DIVBYZERO): Likewise.
8778 (FE_UNDERFLOW): Likewise.
8779 (FE_OVERFLOW): Likewise.
8780 (FE_INVALID): Likewise.
8781 (FE_INVALID_SNAN): Likewise.
8782 (FE_INVALID_ISI): Likewise.
8783 (FE_INVALID_IDI): Likewise.
8784 (FE_INVALID_ZDZ): Likewise.
8785 (FE_INVALID_IMZ): Likewise.
8786 (FE_INVALID_COMPARE): Likewise.
8787 (FE_INVALID_SOFTWARE): Likewise.
8788 (FE_INVALID_SQRT): Likewise.
8789 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8790 (FE_TONEAREST): Likewise.
8791 (FE_TOWARDZERO): Likewise.
8792 (FE_UPWARD): Likewise.
8793 (FE_DOWNWARD): Likewise.
8794 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8795 (FE_DIVBYZERO): Likewise.
8796 (FE_OVERFLOW): Likewise.
8797 (FE_UNDERFLOW): Likewise.
8798 (FE_INEXACT): Likewise.
8799 (FE_TONEAREST): Likewise.
8800 (FE_DOWNWARD): Likewise.
8801 (FE_UPWARD): Likewise.
8802 (FE_TOWARDZERO): Likewise.
8803 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8804 (FE_UNDERFLOW): Likewise.
8805 (FE_OVERFLOW): Likewise.
8806 (FE_DIVBYZERO): Likewise.
8807 (FE_INVALID): Likewise.
8808 (FE_TONEAREST): Likewise.
8809 (FE_TOWARDZERO): Likewise.
8810 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8811 (FE_OVERFLOW): Likewise.
8812 (FE_UNDERFLOW): Likewise.
8813 (FE_DIVBYZERO): Likewise.
8814 (FE_INEXACT): Likewise.
8815 (FE_TONEAREST): Likewise.
8816 (FE_TOWARDZERO): Likewise.
8817 (FE_UPWARD): Likewise.
8818 (FE_DOWNWARD): Likewise.
8819 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8820 (FE_DIVBYZERO): Likewise.
8821 (FE_OVERFLOW): Likewise.
8822 (FE_UNDERFLOW): Likewise.
8823 (FE_INEXACT): Likewise.
8824 (FE_TONEAREST): Likewise.
8825 (FE_DOWNWARD): Likewise.
8826 (FE_UPWARD): Likewise.
8827 (FE_TOWARDZERO): Likewise.
8829 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8831 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8833 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8835 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8836 commands. Quote $PWD.
8837 (blacklist_exports): Don't use remove_newlines. Replace "declare
8839 (remove_newlines): Remove.
8841 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8843 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8844 * stdlib/stdlib.h (atof): Moved to ...
8845 * include/bits/stdlib-float.h: Here. New file.
8846 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8847 * stdlib/bits/stdlib-float.h: New file.
8848 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8853 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8855 * conform/conformtest.pl (@headers): Add fenv.h.
8856 * conform/data/fenv.h-data: New file.
8857 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8858 include of <math/fenv.h>.
8860 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8861 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8862 && !UNIX98]. Enables tests for XOPEN2K8.
8863 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8864 POSIX2008]: Likewise.
8866 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8867 (struct rusage): Do not expect type or its members.
8870 * math/math.h (FP_NAN): Define macro to integer constant usable in
8871 #if and use that to give value to enum constant.
8872 (FP_INFINITE): Likewise.
8873 (FP_ZERO): Likewise.
8874 (FP_SUBNORMAL): Likewise.
8875 (FP_NORMAL): Likewise.
8877 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8879 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8880 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8883 2012-11-02 Roland McGrath <roland@hack.frob.com>
8885 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8886 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8887 autoconf-time if not.
8888 * configure.in: Remove AC_PREREQ.
8890 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8892 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8893 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8894 of the internal implementation.
8896 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8898 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8899 except include of <misc/sys/syslog.h>.
8901 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8904 function returns with a NULL context exit with zero.
8906 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8908 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8910 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8912 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8913 (run_program_cmd): This.
8914 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8915 (tst_langinfo): New variable. Use it.
8917 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8919 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8920 floating point opcodes.
8922 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8924 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8927 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8929 * sysdeps/mach/hurd/powerpc: Remove directory.
8930 * sysdeps/mach/powerpc: Likewise.
8932 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8934 * scripts/check-local-headers.sh: Ignore c++ headers.
8936 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8938 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8939 __libc_cleanup_region_start argument.
8941 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8946 x * y using scaling, not as x * y + z.
8947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8949 * math/libm-test.inc (fma_test): Add more tests.
8950 (fma_test_towardzero): Likewise.
8951 (fma_test_downward): Likewise.
8952 (fma_test_upward): Likewise.
8954 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8956 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8958 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8960 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8963 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8965 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8967 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8974 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8977 Fix the order of the list for glibc 2.17.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8981 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8985 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8989 for low part of x being zero before using __atanl (y).
8990 * math/libm-test.inc (atan2_test): Add another test.
8992 * manual/install.texi (Configuring and compiling): Document
8993 general use of test-wrapper and test-wrapper-env.
8994 * INSTALL: Regenerated.
8996 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8997 (__fma): Do not extract and scale down low bits on after-rounding
8998 systems when result rounded to normal precision would have normal
9000 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9001 (__fmal): Do not extract and scale down low bits on after-rounding
9002 systems when result rounded to normal precision would have normal
9004 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9005 (__fmal): Do not extract and scale down low bits on after-rounding
9006 systems when result rounded to normal precision would have normal
9008 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9010 (fma_test): Add more tests.
9011 (fma_test_towardzero): Likewise.
9012 (fma_test_downward): Likewise.
9013 (fma_test_upward): Likewise.
9015 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9017 * sysdeps/i386/tininess.h: Renamed to ...
9018 * sysdeps/x86/tininess.h: This.
9019 * sysdeps/x86_64/tininess.h: Removed.
9021 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9023 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9024 input. Use $(build-program-cmd).
9025 ($(objpfx)tst-array1-static.out): Likewise.
9026 ($(objpfx)tst-array2.out): Likewise.
9027 ($(objpfx)tst-array3.out): Likewise.
9028 ($(objpfx)tst-array4.out): Likewise.
9029 ($(objpfx)tst-array5.out): Likewise.
9030 ($(objpfx)tst-array5-static.out): Likewise.
9032 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9034 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9037 * nss/nsswitch.h (nss_interface_function): Provide new
9038 macro for use with NSS functions.
9039 * grp/initgroups.c: Use new macro.
9040 * nss/getXXbyYY.c: Likewise.
9041 * nss/getXXbyYY_r.c: Likewise.
9042 * nss/getXXent.c: Likewise.
9043 * nss/getXXent_r.c: Likewise.
9044 * sysdeps/posix/getaddrinfo.c: Likewise.
9046 2012-10-30 Andreas Jaeger <aj@suse.de>
9048 * po/ru.po: Update Russion translation from translation project.
9050 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9055 result and shift together with sticky bit instead of replicating
9056 round-to-nearest rounding.
9057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9059 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9060 missing underflow exceptions.
9061 (fma_test_towardzero): Add more tests.
9062 (fma_test_downward): Likewise.
9063 (fma_test_upward): Likewise.
9066 * sysdeps/generic/tininess.h: New file.
9067 * sysdeps/i386/tininess.h: Likewise.
9068 * sysdeps/sh/tininess.h: Likewise.
9069 * sysdeps/x86_64/tininess.h: Likewise.
9070 * stdlib/tst-strtod-underflow.c: Likewise.
9071 * stdlib/tst-tininess.c: Likewise.
9072 * stdlib/strtod_l.c: Include <tininess.h>.
9073 (round_and_return): Do not set errno for exact underflow cases.
9074 Force an underflow exception when setting errno for underflow.
9075 Determine underflow based on rounding to normal precision if
9076 TININESS_AFTER_ROUNDING.
9077 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9078 ERANGE for exact underflow cases.
9079 * stdlib/Makefile (tests): Add tst-tininess and
9080 tst-strtod-underflow.
9081 ($(objpfx)tst-tininess): Use $(link-libm).
9082 ($(objpfx)tst-strtod-underflow): Likewise.
9084 2012-10-30 Andreas Jaeger <aj@suse.de>
9087 * elf/Makefile (tests): Remove conditional for have-initfini-array
9088 since this is now always required and the variable does not exist
9090 (tests-static): Likewise.
9091 (modules-names): Likewise.
9093 * po/eo.po: Add Esperanto translation from translation project.
9095 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9096 merged with constructor/destructor.
9097 (init_array): Likewise.
9098 * elf/tst-array2dep.c (fini_array): Likewise.
9099 (init_array): Likewise.
9101 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9103 * manual/message.texi: Delete @cartouche tags.
9105 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9107 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9109 * sysdeps/mach/hurd/fsync.c: Likewise.
9111 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9112 [_POSIX_REALTIME_SIGNALS]: Change condition to
9113 [_POSIX_REALTIME_SIGNALS > 0].
9115 2012-10-27 Andreas Jaeger <aj@suse.de>
9117 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9118 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9120 [__WORDSIZE != 64]: Likewise.
9122 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9124 * iconvdata/tst-table.sh: Remove ${SHELL}.
9125 * iconvdata/tst-tables.sh: Likewise.
9127 2012-10-25 David S. Miller <davem@davemloft.net>
9129 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9130 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9135 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9136 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9137 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9140 2012-10-25 Roland McGrath <roland@hack.frob.com>
9142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9143 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9146 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9147 Jim Blandy <jimb@codesourcery.com>
9149 * scripts/cross-test-ssh.sh: New file.
9150 * manual/install.texi (Configuring and compiling): Document use of
9152 * INSTALL: Regenerated.
9154 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9156 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9159 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9161 * Makeconfig (run-program-prefix): Fix comment.
9163 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9164 Jim Blandy <jimb@codesourcery.com>
9166 * Makeconfig (test-wrapper): New variable,
9167 (test-wrapper-env): Likewise.
9168 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9169 (run-built-tests): Define to yes.
9170 (run-program-prefix): Use $(test-wrapper).
9171 (built-program-cmd): Likewise.
9172 * Rules (make-test-out): Use $(test-wrapper-env) and
9173 $(host-built-program-cmd).
9174 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9175 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9177 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9178 $(test-wrapper-env) to tst-rtld-load-self.sh.
9179 ($(objpfx)order2.out): Use $(test-wrapper).
9180 ($(objpfx)tst-initorder.out): Likewise.
9181 ($(objpfx)tst-initorder2.out): Likewise.
9182 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9183 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9184 (test_wrapper_env): New variable. Use it to run ld.so.
9185 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9186 Use it to run ld.so.
9187 (test_wrapper_env): Likewise.
9188 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9189 $(test-wrapper) to run-iconv-test.sh.
9190 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9191 (ICONV): Use $test_wrapper.
9192 * posix/Makefile ($(objpfx)globtest.out): Pass
9193 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9194 globtest.sh, not $(run-program-prefix).
9195 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9196 (test_wrapper): Likewise.
9197 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9198 set together with run_via_rtld_prefix.
9199 (run_program_prefix): Define in terms of test_wrapper and
9200 run_via_rtld_prefix.
9202 2012-10-24 Roland McGrath <roland@hack.frob.com>
9204 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9205 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9209 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9210 Declare __clock_getres, __clock_gettime, __clock_settime,
9211 __clock_nanosleep, and __clock_getcpuclockid.
9212 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9213 Remove librt_hidden_def (clock_gettime).
9214 * sysdeps/unix/clock_gettime.c: Likewise.
9215 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9217 * rt/clock_getres.c: Define __clock_getres as an alias.
9218 * sysdeps/posix/clock_getres.c: Likewise.
9219 * rt/clock_settime.c: Define __clock_settime as an alias.
9220 * sysdeps/unix/clock_settime.c: Likewise.
9221 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9222 * sysdeps/unix/clock_nanosleep.c: Likewise.
9223 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9224 * rt/clock-compat.c: New file.
9225 * rt/Makefile (librt-routines): Add clock-compat and move
9226 $(clock-routines) to ...
9227 (routines): ... here, new variable.
9228 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9229 Don't add get_clockfreq here.
9230 * rt/Versions (libc: GLIBC_2.17): New version set.
9231 Add clock_* symbols here.
9232 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9234 (GLIBC_2.17): Add clock_* symbols.
9235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9246 * NEWS: Mention the move.
9248 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9249 Use __open, __read, __close rather than their public counterparts.
9250 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9251 (__get_clockfreq_via_cpuinfo): Likewise.
9252 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9253 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9255 * config.h.in (HAVE_IFUNC): New #undef.
9256 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9258 * configure: Regenerated.
9260 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9262 * configure.in: Move READELF check to start of file.
9263 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9264 libc_cv_asm_gnu_indirect_function in the process.
9265 * configure: Regenerated.
9267 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9269 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9270 send the output to /dev/null.
9271 (libc_cv_cc_with_libunwind): Likewise.
9272 (libc_cv_as_noexecstack): Likewise.
9273 * configure: Regenerate.
9275 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9277 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9279 * posix/globtest.sh (TMPDIR): Do not set.
9280 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9281 (testout): Likewise.
9283 2012-10-24 Andreas Jaeger <aj@suse.de>
9285 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9286 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9287 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9288 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9289 posix_fadvise64, posix_fallocate64.
9291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9292 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9293 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9295 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9297 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9300 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9301 <bits/fcntl-linux.h>.
9302 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9305 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9306 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9307 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9308 [__WORDSIZE != 64]: Likewise.
9310 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9312 * Makeconfig (run-built-tests): New variable.
9313 * Rules [$(cross-compiling) = yes]: Change condition to
9314 [$(run-built-tests) = no].
9315 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9316 to [$(run-built-tests) = yes].
9317 * elf/Makefile [$(cross-compiling) = no]: Likewise
9318 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9319 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9320 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9321 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9322 * io/Makefile [$(cross-compiling) = no]: Likewise.
9323 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9324 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9325 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9326 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9327 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9328 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9329 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9330 * string/Makefile [$(cross-compiling) = no]: Likewise.
9332 * posix/Makefile ($(objpfx)globtest.out): Pass
9333 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9334 $(rtld-installed-name).
9335 * posix/globtest.sh (elf_objpfx): Remove variable.
9336 (rtld_installed_name): Likewise.
9337 (library_path): Likewise.
9338 (run_program_prefix): New variable. Use for running globtest
9341 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9342 Joseph Myers <joseph@codesourcery.com>
9344 * Makeconfig (host-built-program-cmd): New variable.
9345 * elf/Makefile (tst-stackguard1-ARGS): Use
9346 $(host-built-program-cmd).
9347 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9348 (tst-spawn-ARGS): Likewise.
9349 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9351 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9352 Jim Blandy <jimb@codesourcery.com>
9354 * Makeconfig (run-via-rtld-prefix): New variable.
9355 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9356 (built-program-cmd): Likewise.
9358 2012-10-22 Andreas Jaeger <aj@suse.de>
9360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9361 __O_RSYNC if it exists, otherwise to O_SYNC.
9363 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9364 Joseph Myers <joseph@codesourcery.com>
9366 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9368 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9370 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9373 2012-10-22 Andreas Jaeger <aj@suse.de>
9375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9383 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9390 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9391 Joseph Myers <joseph@codesourcery.com>
9393 * config.make.in (NM): New variable.
9395 2012-10-21 Andreas Jaeger <aj@suse.de>
9397 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9398 definitions and declarations that are provided by
9399 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9401 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9404 * elf/Makefile (tests-static): Add tst-leaks1-static.
9405 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9406 ($(objpfx)tst-leaks1-static): New rule.
9407 ($(objpfx)tst-leaks1-static-mem): Likewise.
9408 (tst-leaks1-static-ENV): New macro.
9409 * elf/dl-open.c (dl_open_worker): Check the main application
9410 only if SHARED is defined.
9411 * elf/tst-leaks1-static.c: New file.
9413 2012-10-20 Andreas Jaeger <aj@suse.de>
9415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9416 generic values for Linux.
9417 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9418 and declarations that are provided by <bits/fcntl-linux.h> and
9419 include <bits/fcntl-linux.h>.
9420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9423 2012-10-20 Roland McGrath <roland@hack.frob.com>
9425 * io/fcntl.h: Move include of <bits/types.h> to the top and
9426 include it unconditionally.
9428 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9430 * wcsmbs/Makefile (tests-ifunc): New variable.
9431 (tests): Add $(tests-ifunc).
9432 * wcsmbs/test-wcschr-ifunc.c: New file.
9433 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9434 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9435 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9436 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9437 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9439 * string/Makefile (tests-ifunc): New variable.
9440 (tests): Add $(tests-ifunc).
9441 * string/test-memccpy.c (TEST_NAME): New macro.
9442 * string/test-memchr.c (TEST_NAME): Likewise.
9443 * string/test-memcmp.c (TEST_NAME): Likewise.
9444 * string/test-memcpy.c (TEST_NAME): Likewise.
9445 * string/test-memmem.c (TEST_NAME): Likewise.
9446 * string/test-memmove.c (TEST_NAME): Likewise.
9447 * string/test-memset.c (TEST_NAME): Likewise.
9448 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9449 * string/test-stpcpy.c (TEST_NAME): Likewise.
9450 * string/test-stpncpy.c (TEST_NAME): Likewise.
9451 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9452 * string/test-strcasestr.c (TEST_NAME): Likewise.
9453 * string/test-strcat.c (TEST_NAME): Likewise.
9454 * string/test-strchr.c (TEST_NAME): Likewise.
9455 * string/test-strcmp.c(TEST_NAME): Likewise.
9456 * string/test-strcpy.c (TEST_NAME): Likewise.
9457 * string/test-strcspn.c (TEST_NAME): Likewise.
9458 * string/test-strlen.c (TEST_NAME): Likewise.
9459 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9460 * string/test-strncmp.c (TEST_NAME): Likewise.
9461 * string/test-strncpy.c (TEST_NAME): Likewise.
9462 * string/test-strnlen.c (TEST_NAME): Likewise.
9463 * string/test-strpbrk.c (TEST_NAME): Likewise.
9464 * string/test-strrchr.c (TEST_NAME): Likewise.
9465 * string/test-strspn.c (TEST_NAME): Likewise.
9466 * string/test-strstr.c (TEST_NAME): Likewise.
9467 * string/test-bcopy-ifunc.c: New file.
9468 * string/test-bzero-ifunc.c: Likewise.
9469 * string/test-memccpy-ifunc.c: Likewise.
9470 * string/test-memchr-ifunc.c: Likewise.
9471 * string/test-memcmp-ifunc.c: Likewise.
9472 * string/test-memcpy-ifunc.c: Likewise.
9473 * string/test-memmem-ifunc.c: Likewise.
9474 * string/test-memmove-ifunc.c: Likewise.
9475 * string/test-mempcpy-ifunc.c: Likewise.
9476 * string/test-memset-ifunc.c: Likewise.
9477 * string/test-rawmemchr-ifunc.c: Likewise.
9478 * string/test-stpcpy-ifunc.c: Likewise.
9479 * string/test-stpncpy-ifunc.c: Likewise.
9480 * string/test-strcasecmp-ifunc.c: Likewise.
9481 * string/test-strcasestr-ifunc.c: Likewise.
9482 * string/test-strcat-ifunc.c: Likewise.
9483 * string/test-strchr-ifunc.c: Likewise.
9484 * string/test-strchrnul-ifunc.c: Likewise.
9485 * string/test-strcmp-ifunc.c: Likewise.
9486 * string/test-strcpy-ifunc.c: Likewise.
9487 * string/test-strcspn-ifunc.c: Likewise.
9488 * string/test-strlen-ifunc.c: Likewise.
9489 * string/test-strncasecmp-ifunc.c: Likewise.
9490 * string/test-strncat-ifunc.c: Likewise.
9491 * string/test-strncmp-ifunc.c: Likewise.
9492 * string/test-strncpy-ifunc.c: Likewise.
9493 * string/test-strnlen-ifunc.c: Likewise.
9494 * string/test-strpbrk-ifunc.c: Likewise.
9495 * string/test-strrchr-ifunc.c: Likewise.
9496 * string/test-strspn-ifunc.c: Likewise.
9497 * string/test-strstr-ifunc.c: Likewise.
9499 * debug/Makefile (tests-ifunc): New variable.
9500 (tests): Add $(tests-ifunc).
9501 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9502 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9503 * debug/test-stpcpy_chk-ifunc.c: New file.
9504 * debug/test-strcpy_chk-ifunc.c: Likewise.
9506 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9509 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9510 header is not read in.
9512 2012-10-19 Joseph Myers <joseph@codesourcery.com>
9514 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9515 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9516 directly. Pass built executable to script as
9517 $(built-program-cmd).
9518 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9519 $testprogram without using LD_LIBRARY_PATH and $ldso.
9521 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9522 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9523 $(rtld-installed-name).
9524 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9525 (rtld_installed_name): Likewise.
9526 (library_path): Likewise.
9527 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9528 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9529 $(run-program-prefix) to tst-tables.sh.
9530 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9531 it to run tst-table-from and tst-table-to.
9532 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9533 Pass it to tst-table.sh.
9534 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9535 $(run-program-prefix) to tst-gettext.sh.
9536 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9538 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9540 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9542 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9543 to run tst-gettext2.
9544 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9545 to run tst-translit.
9546 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9547 $(run-program-prefix) to tst-mtrace.sh.
9548 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9550 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9551 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9552 $(rtld-installed-name).
9553 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9554 (rtld_installed_name): Likewise.
9555 (run_program_prefix): New variable. Use it to run wordexp-test.
9557 * Makeconfig (ARCH): Remove all definitions.
9558 (machine): Likewise.
9559 [ARCH]: Remove conditional code.
9560 [!objdir]: Give error.
9561 [!objdir] (objpfx): Remove.
9562 [!objdir] (common-objpfx): Likewise.
9563 [!objdir] (common-objdir): Likewise.
9564 * configure.in (config_makefile): Remove. Hardcode Makefile in
9565 AC_CONFIG_FILES call.
9566 * configure: Regenerated.
9569 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9571 (testout): Likewise.
9573 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9574 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9575 $(rtld-installed-name).
9576 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9577 (rtld_installed_name): Likwise.
9578 (runit): Remove function.
9579 (run_getconf): New variable, Use it for running getconf binary.
9581 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9584 * string/test-memmem.c (check_result): New function.
9585 (do_one_test): Use it.
9586 (check1): New function.
9587 (test_main): Use it.
9589 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9591 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9593 2012-10-18 Joseph Myers <joseph@codesourcery.com>
9595 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9596 (_G_LSEEK64): Likewise.
9597 (_G_MMAP64): Likewise.
9598 (_G_FSTAT64): Likewise.
9599 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9600 (_G_LSEEK64): Likewise.
9601 (_G_MMAP64): Likewise.
9602 (_G_FSTAT64): Likewise.
9603 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9604 unconditional. Call __mmap64 directly.
9605 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9606 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9608 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9609 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9611 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9612 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9614 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9615 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9617 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9618 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9620 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9621 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9622 __fxstat64 directly.
9623 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9624 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9626 (freopen64) [!_G_OPEN64]: Remove conditional code.
9627 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9629 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9630 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9632 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9633 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9635 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9636 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9638 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9639 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9641 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9642 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9644 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9645 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9647 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9649 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9652 * manual/memory.texi (Malloc Tunable Parameters): Add note
9653 about free list pointers overwriting some perturb bytes.
9654 Wording suggested by Roland McGrath.
9656 2012-10-17 Joseph Myers <joseph@codesourcery.com>
9658 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9659 (lgamma_test): Likewise.
9660 (tgamma_test): Likewise.
9662 2012-10-16 Florian Weimer <fweimer@redhat.com>
9665 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9666 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9668 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9670 * NEWS: Mention BZ #14716.
9671 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9672 when removing AVAILABLE1_USES_J macro.
9674 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9676 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9677 (__bswap_64): __uint64_t for unsigned 64-bit int.
9679 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9681 * include/string.h (memmem): Declare libc hidden alias.
9682 * string/memmem.c (memmem): Define libc hidden alias.
9683 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9684 __read, __close instead of open, read, close.
9686 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9689 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9691 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9692 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9693 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9695 (__rawmemchr_sse2): Likewise.
9696 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9697 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9698 (__strchr_sse2): Likewise.
9699 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9700 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9701 (__strcasecmp_sse2): Likewise.
9702 (__strncasecmp_sse2): Likewise.
9703 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9704 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9705 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9706 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9707 (__strrchr_sse2): Likewise.
9708 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9710 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9711 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9712 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9713 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9714 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9715 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9716 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9717 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9718 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9719 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9720 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9721 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9722 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9723 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9724 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9725 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9726 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9727 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9728 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9729 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9730 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9731 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9732 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9733 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9734 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9736 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9737 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9738 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9739 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9741 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9743 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9744 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9745 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9746 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9748 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9750 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9751 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9752 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9753 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9755 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9756 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9757 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9758 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9759 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9760 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9761 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9762 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9763 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9764 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9765 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9766 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9767 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9768 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9769 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9770 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9771 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9772 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9773 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9774 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9775 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9776 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9777 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9778 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9779 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9780 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9781 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9782 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9783 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9784 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9785 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9786 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9787 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9788 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9795 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9797 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9798 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9799 * include/ifunc-impl-list.h: New file.
9800 * misc/ifunc-impl-list.c: Likewise.
9801 * misc/Makefile (routines): Add ifunc-impl-list.
9802 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9803 * string/test-string.h: Include <ifunc-impl-list.h>.
9804 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9805 impl_array): New variables.
9806 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9808 (test_init): Call __libc_ifunc_impl_list to initialize
9809 func_list if TEST_IFUNC and TEST_NAME are defined.
9811 * string/Makefile (strop-tests): Add bcopy and bzero.
9812 * string/test-bcopy.c: New file.
9813 * string/test-bzero.c: Likewise.
9814 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9816 * string/test-memset.c: Support bzero test if TEST_BZERO is
9818 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9820 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9822 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9825 2012-10-10 Joseph Myers <joseph@codesourcery.com>
9827 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9828 * configure: Regenerated.
9830 * Makeconfig (+link-static-before-libc): Don't include
9831 $(link-static-libc).
9833 * libio/libio.h (_IO_pos_t): Remove.
9835 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9837 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9840 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9842 * crypt/crypt-entry.c: Include fips-private.h.
9843 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9844 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9845 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9846 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9848 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9850 * crypt/crypt-private.h: Include stdbool.h.
9851 (_ufc_setup_salt_r): Return bool.
9852 * crypt/crypt-entry.c: Include errno.h.
9853 (__crypt_r): Return NULL with EINVAL for bad salt.
9854 * crypt/crypt_util.c (bad_for_salt): New.
9855 (_ufc_setup_salt_r): Check that salt is long enough and within
9856 the specified alphabet.
9857 * crypt/badsalttest.c: New file.
9858 * crypt/Makefile (tests): Add it.
9859 ($(objpfx)badsalttest): New.
9861 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9863 * NEWS: Add entry for BZ #14602.
9865 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9867 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9869 * math/libm-test.inc: Update comment listing what functions and
9871 (isgreater_test): New function.
9872 (isgreaterequal_test): Likewise.
9873 (isless_test): Likewise.
9874 (islessequal_test): Likewise.
9875 (islessgreater_test): Likewise.
9876 (isunordered_test): Likewise.
9877 (main): Call the new functions.
9879 2012-10-09 Roland McGrath <roland@hack.frob.com>
9881 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9882 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9883 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9884 * sysdeps/i386/configure: Regenerated.
9885 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9886 * sysdeps/mach/configure: Regenerated.
9887 * sysdeps/mach/hurd/configure: Regenerated.
9888 * sysdeps/powerpc/configure: Regenerated.
9889 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9890 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9891 * sysdeps/s390/s390-32/configure: Regenerated.
9892 * sysdeps/s390/s390-64/configure: Regenerated.
9893 * sysdeps/sh/configure: Regenerated.
9894 * sysdeps/sparc/configure: Regenerated.
9895 * sysdeps/unix/sysv/linux/configure: Regenerated.
9896 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9897 * sysdeps/x86_64/configure: Regenerated.
9899 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9900 defined. Don't check if MAP is NULL.
9902 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9904 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9905 (_G_stat64): Likewise.
9906 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9907 (_G_stat64): Likewise.
9908 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9909 instead of struct _G_stat64.
9910 * libio/fileops.c (mmap_remap_check): Likewise.
9911 (decide_maybe_mmap): Likewise.
9912 (_IO_new_file_seekoff): Likewise.
9913 (_IO_file_stat): Likewise.
9914 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9916 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9917 instead of struct _G_stat64.
9918 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9920 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9923 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9925 (CHECK_EOL): New macro.
9926 (two_way_short_needle): Check beginning of haystack for EOL. Use
9928 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9929 Replace with CHECK_EOL.
9930 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9931 Replace with CHECK_EOL.
9933 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9935 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9937 * math/libm-test.inc: Update comment listing what functions and
9939 (finite_test): New function.
9940 (isinf_test): Likewise.
9941 (isnan_test): Likewise.
9942 (fpclassify_test): Test subnormal input.
9943 (isfinite_test): Likewise.
9944 (isnormal_test): Likewise.
9945 (main): Call the new functions.
9947 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9950 * Makerules (%.dynsym): Force C locale when running
9951 $(OBJDUMP) --dynamic-syms.
9953 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9955 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9958 2012-10-06 David S. Miller <davem@davemloft.net>
9960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9961 upper 32-bits of the length value in %o2 since we use branch-on-register
9962 tests which consider the entire 64-bit register.
9964 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9966 * string/test-strstr.c (check2): Add a test for page boundary.
9968 2012-10-05 David S. Miller <davem@davemloft.net>
9970 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9971 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9973 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9975 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9976 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9977 and bzero when HWCAP_SPARC_CRYPTO is present.
9979 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9982 * string/test-strstr.c (check2): New function.
9983 (test_main): Call check2.
9985 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9987 * string/bug-strcasestr1.c (do_test): Moved to ...
9988 * string/test-strcasestr.c (check1): Here. New function.
9989 (do_one_test): Break out result checking code into ...
9990 (check_result): This. New function.
9991 (do_one_test): Call check_result.
9992 (test_main): Call check1.
9993 * string/bug-strchr1.c (do_test): Moved to ...
9994 * string/test-strchr.c (check1): Here. New function.
9995 (do_one_test): Break out result checking code into ...
9996 (check_result): This. New function.
9997 (do_one_test): Call check_result.
9998 (test_main): Call check1.
9999 * string/bug-strstr1.c (main): Moved to ...
10000 * string/test-strstr.c (check1): Here. New function.
10001 (do_one_test): Break out result checking code into ...
10002 (check_result): This. New function.
10003 (do_one_test): Call check_result.
10004 (test_main): Call check1.
10005 * string/bug-strcasestr1.c: Removed.
10006 * string/bug-strchr1.c: Likewise.
10007 * string/bug-strstr1.c: Likewise.
10009 * elf/Makefile (dl-routines): Add hwcaps.
10010 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10011 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10012 (_dl_important_hwcaps): Moved to ...
10013 * elf/dl-hwcaps.c: Here. New file.
10014 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10017 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10018 if IS_IN_rtld isn't defined.
10020 * elf/dl-support.c (_dl_sysinfo_map): New.
10021 Include "get-dynamic-info.h" and "setup-vdso.h".
10022 (_dl_non_dynamic_init): Call setup_vdso.
10023 * elf/dynamic-link.h: Don't include <assert.h>.
10024 (elf_get_dynamic_info): Moved to ...
10025 * elf/get-dynamic-info.h: Here. New file.
10026 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10027 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10028 * elf/setup-vdso.h: Here. New file.
10029 * elf/rtld.c: Include "setup-vdso.h".
10030 (dl_main): Call setup_vdso.
10032 2012-10-05 Joseph Myers <joseph@codesourcery.com>
10034 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10035 creal in comment listing functions tested. List finite, isinf,
10036 isnan, isless, islessequal, isgreater, isgreaterequal,
10037 islessgreater, isunordered, lgamma_r and pow10 as functions and
10038 macros not tested. Mention which functions not tested are aliases
10039 for other functions. Fix typo. Note that signs of NaNs are not
10042 * scripts/config.guess: Update from config.git.
10043 * scripts/config.sub: Likewise.
10045 2012-10-04 Roland McGrath <roland@hack.frob.com>
10047 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10048 * misc/madvise.c (madvise): Renamed to __madvise.
10049 Make madvise a weak alias.
10050 * include/sys/mman.h: Declare __madvise.
10051 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10052 * sysdeps/unix/syscalls.list
10053 (madvise): Make __madvise the strong name, and madvise a weak alias.
10054 * sysdeps/unix/sysv/linux/syscalls.list
10055 (madvise, mmap): Remove redundant entries.
10056 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10057 * malloc/malloc.c (mtrim): Likewise.
10058 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10060 2012-10-03 Roland McGrath <roland@hack.frob.com>
10062 * sysdeps/mach/hurd/dl-cache.c: File removed.
10063 * config.h.in (USE_LDCONFIG): New #undef.
10064 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10065 * configure: Regenerated.
10066 * elf/Makefile (dl-routines): Add dl-cache only under
10067 [$(use-ldconfig) = yes].
10068 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10069 cache on [USE_LDCONFIG].
10070 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10072 * elf/rtld.c (dl_main): Likewise.
10074 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10076 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10077 _SC_LEVEL4_CACHE_LINESIZE.
10079 2012-10-03 Roland McGrath <roland@hack.frob.com>
10081 * sysdeps/unix/bsd/confstr.h: File removed.
10083 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10085 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10088 2012-10-02 Roland McGrath <roland@hack.frob.com>
10090 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10091 Make 'mapoff' field ElfW(Off) rather than off_t.
10093 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10095 * nscd/Makefile: Remove nscd-cflags and all its users.
10096 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10097 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10100 * malloc.c (malloc_printerr): Clarify error message.
10102 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10106 Set bit_FMA_Usable if FMA is supported.
10107 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10109 (bit_FMA4_Usable): Updated.
10110 (index_FMA_Usable): New macro.
10111 (CPUID_FMA): Likewise
10112 (HAS_FMA): Defined with bit_FMA_Usable.
10114 2012-10-01 Roland McGrath <roland@hack.frob.com>
10116 * bits/types.h (__swblk_t): Type removed.
10117 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10118 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10120 (__SWBLK_T_TYPE): Likewise.
10121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10122 (__SWBLK_T_TYPE): Likewise.
10123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10124 (__SWBLK_T_TYPE): Likewise.
10125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10126 (__SWBLK_T_TYPE): Likewise.
10128 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10129 Honza Horak <hhorak@redhat.com>
10131 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10132 (xdr_mapname): Use YPMAXMAP as maxsize.
10133 (xdr_peername): Use YPMAXPEER as maxsize.
10134 (xdr_keydat): Use YPAXRECORD as maxsize.
10135 (xdr_valdat): Use YPMAXRECORD as maxsize.
10137 2012-10-01 Roland McGrath <roland@hack.frob.com>
10139 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10141 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10142 * csu/init-first.c: ... here.
10143 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10144 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10145 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10146 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10147 * sysdeps/i386/init-first.c: File removed.
10148 * sysdeps/sh/init-first.c: File removed.
10150 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10154 if x * y might underflow to zero and z is zero.
10155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10157 * math/libm-test.inc (min_subnorm_value): New variable.
10158 (fma_test): Add more tests.
10159 (fma_test_towardzero): Likewise.
10160 (fma_test_downward): Likewise
10161 (fma_test_upward): Likewise.
10162 (initialize): Set min_subnorm_value.
10164 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10170 mode for addition resulting in exact zero.
10171 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10176 * math/libm-test.inc (fma_test): Add more tests.
10177 (fma_test_towardzero): New function.
10178 (fma_test_downward): Likewise.
10179 (fma_test_upward): Likewise.
10180 (main): Call the new functions.
10182 2012-09-28 David S. Miller <davem@davemloft.net>
10184 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10186 2012-09-28 Roland McGrath <roland@hack.frob.com>
10188 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10189 instead of SIGALRM.
10191 * sysdeps/gnu/_G_config.h: Moved to ...
10192 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10193 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10194 * sysdeps/generic/_G_config.h: ... here.
10196 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10198 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10200 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10201 Conditionalize target on [libnss_test1.so-version].
10203 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10205 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10206 (elfobjdir): Move out of conditionals.
10208 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10209 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10210 (__nss_lookup_function): Conditionalize label remove_from_tree on
10211 [!DO_STATIC_NSS || SHARED], matching its only use.
10213 2012-09-28 David S. Miller <davem@davemloft.net>
10215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10216 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10218 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10220 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10222 when HWCAP_SPARC_CRYPTO is present.
10224 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10226 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10228 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10231 * stdio-common/vfprintf.c (process_string_arg): Revert
10234 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10236 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10238 * stdio-common/tst-sprintf.c: Include <locale.h>
10239 (main): Test sprintf's handling of incomplete multibyte
10242 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10244 * elf/dl-runtime.c (VERSYMIDX): Removed.
10245 * elf/dl-version.c (VERSYMIDX): Likewise.
10246 * elf/do-rel.h (VERSYMIDX): Likewise.
10247 (VALIDX): Likewise.
10248 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10249 * elf/rtld.c (VALIDX): Likewise.
10250 (ADDRIDX): Likewise.
10251 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10252 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10253 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10254 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10255 (VALIDX): Likewise.
10256 (ADDRIDX): Likewise.
10258 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10260 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10262 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10265 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10267 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10268 addresses are in the same scope as 192.0.2/24.
10269 * posix/gai.conf: Document new scope table defaults.
10271 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10274 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10275 for ftell. Compute offsets from write pointers instead.
10276 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10278 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10281 * libio/Makefile (tests): New test case tst-fseek.
10282 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10283 combination works in wide mode.
10284 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10285 state when the external buffer state changes.
10287 2012-09-27 David S. Miller <davem@davemloft.net>
10290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10291 pass reloc->r_addend in as the 'high' argument to
10292 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10296 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10298 * rt/tst-aio2.c: Include <pthread.h>.
10299 * rt/tst-aio3.c: Likewise.
10301 2012-09-27 Steve Ellcey <sellcey@mips.com>
10303 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10305 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10307 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10308 contents on [SHARED].
10310 2012-09-26 Marek Polacek <polacek@redhat.com>
10314 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10315 for C++ and GCC <4.3 as well as for non GCC compilers.
10317 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10321 2012-09-25 Roland McGrath <roland@hack.frob.com>
10323 * Makefile.in (all, install): Declare with .PHONY.
10324 Reported by Michael Hope <michael.hope@linaro.org>.
10326 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10328 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10329 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10331 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10333 (sydep_routines): Add the new and the internal functions.
10334 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10335 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10337 (GLIBC_2.17): Add the new function.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10339 (GLIBC_2.17): Likewise.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10341 (GLIBC_2.17): Likewise.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10343 (GLIBC_2.17): Likewise.
10344 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10346 2012-09-25 Alan Modra <amodra@gmail.com>
10348 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10349 Add release barrier before setting once_control to say
10350 initialisation is done. Add hints on lwarx. Use macro in
10352 (clear_once_control): Add release barrier.
10354 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10357 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10359 * math/s_clog10.c (__clog10): Likewise.
10360 * math/s_clog10f.c (__clog10f): Likewise.
10361 * math/s_clog10l.c (__clog10l): Likewise.
10362 * math/s_clogf.c (__clogf): Likewise.
10363 * math/s_clogl.c (__clogl): Likewise.
10364 * math/Makefile (libm-calls): Add x2y2m1.
10365 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10366 (__x2y2m1): Likewise.
10367 (__x2y2m1l): Likewise.
10368 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10369 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10371 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10374 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10375 * sysdeps/i386/fpu/libm-test-ulps: Update.
10376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10379 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10380 int as type of variable DEPTH.
10381 (glob): Use size_t instead of int as type of variables NEWCOUNT
10384 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10386 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10387 Add s_sincosf-sse2.
10388 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10389 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10390 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10391 macros for using routine as __sincosf_ia32.
10392 Use macro for function declaration and weak_alias.
10393 * sysdeps/i386/fpu/libm-test-ulps: Update.
10395 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10398 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10399 subnormal argument.
10400 * math/s_cexpf.c (__cexpf): Likewise.
10401 * math/s_csinf.c (__csinf): Likewise.
10402 * math/s_csinhf.c (__csinhf): Likewise.
10403 * math/s_ctanf.c (__ctanf): Likewise.
10404 * math/s_ctanhf.c (__ctanhf): Likewise.
10405 * math/s_ccosh.c (__ccoshf): Likewise.
10406 * math/s_cexp.c (__cexpl): Likewise.
10407 * math/s_csin.c (__csin): Likewise.
10408 * math/s_csinh.c (__csinh): Likewise.
10409 * math/s_ctan.c (__ctan): Likewise.
10410 * math/s_ctanh.c (ctanh): Likewise.
10411 * math/s_ccoshl.c (__ccoshl): Likewise.
10412 * math/s_cexpl.c (__cexpl): Likewise.
10413 * math/s_csinl.c (__csinl): Likewise.
10414 * math/s_csinhl.c (__csinhl): Likewise.
10415 * math/s_ctanl.c (__ctanl): Likewise.
10416 * math/s_ctanhl.c (__ctanhl): Likewise.
10418 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10420 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10421 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10422 (_IO_off_t): Define to __off_t, not _G_off_t.
10423 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10424 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10425 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10426 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10427 type of __dummy and __dummy2 fields.
10428 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10429 (_G_ssize_t): Likewise.
10430 (_G_off_t): Likewise.
10431 (_G_pid_t): Likewise.
10432 (_G_uid_t): Likewise.
10433 (_G_wchar_t): Likewise.
10434 (_G_wint_t): Likewise.
10435 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10436 (_G_ssize_t): Likewise.
10437 (_G_off_t): Likewise.
10438 (_G_pid_t): Likewise.
10439 (_G_uid_t): Likewise.
10440 (_G_wchar_t): Likewise.
10441 (_G_wint_t): Likewise.
10442 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10443 (_G_ssize_t): Likewise.
10444 (_G_off_t): Likewise.
10445 (_G_pid_t): Likewise.
10446 (_G_uid_t): Likewise.
10447 (_G_wchar_t): Likewise.
10448 (_G_wint_t): Likewise.
10450 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 * malloc/arena.c: Include malloc-sysdep.h.
10453 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10454 is sufficient to shrink the heap or an unmap is needed.
10455 * sysdeps/generic/malloc-sysdep.h: New file. Define
10456 new function check_may_shrink_heap.
10457 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10458 new function check_may_shrink_heap.
10460 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10462 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10465 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10467 * catgets/test-gencat.sh: Add "set -e".
10468 * elf/tst-pathopt.sh: Likewise.
10469 * grp/tst_fgetgrent.sh: Likewise.
10470 * iconvdata/run-iconv-test.sh: Likewise.
10471 * intl/tst-gettext.sh: Likewise.
10472 * intl/tst-gettext2.sh: Likewise.
10473 * intl/tst-gettext4.sh: Likewise.
10474 * intl/tst-gettext6.sh: Likewise.
10475 * intl/tst-translit.sh: Likewise.
10476 * io/ftwtest-sh: Likewise.
10477 * libio/test-freopen.sh: Likewise.
10478 * malloc/tst-mtrace.sh: Likewise.
10479 * posix/globtest.sh: Likewise.
10480 * posix/tst-getconf.sh: Likewise.
10481 * posix/wordexp-tst.sh: Likewise.
10482 * stdio-common/tst-printf.sh: Likewise.
10483 * stdio-common/tst-unbputc.sh: Likewise.
10484 * stdlib/tst-fmtmsg.sh: Likewise.
10485 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10486 * catgets/Makefile: Do not specify -e option when running
10487 testsuite shell scripts.
10488 * elf/Makefile: Likewise.
10489 * grp/Makefile: Likewise.
10490 * iconvdata/Makefile: Likewise.
10491 * intl/Makefile: Likewise.
10492 * io/Makefile: Likewise.
10493 * libio/Makefile: Likewise.
10494 * malloc/Makefile: Likewise.
10495 * posix/Makefile: Likewise.
10496 * stdio-common/Makefile: Likewise.
10497 * stdlib/Makefile: Likewise.
10498 * sysdeps/x86_64/Makefile: Likewise.
10500 * io/ftwtest-sh: Add copyright header.
10501 * posix/globtest.sh: Likewise.
10502 * posix/tst-getconf.sh: Likewise.
10503 * posix/wordexp-tst.sh: Likewise.
10504 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10506 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10509 * Makeconfig (+link): Defined as $(+link-static) if
10510 $(build-shared) isn't yes.
10511 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10513 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10515 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10518 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10519 new chunk size with MALLOC_ALIGN_MASK.
10521 2012-09-24 Joseph Myers <joseph@codesourcery.com>
10524 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10526 (__printf_fphex): Determine rounding using get_rounding_mode and
10528 * stdio-common/tst-printf-round.c (struct hex_test): New
10530 (hex_tests): New variable.
10531 (test_hex_in_one_mode): New function.
10532 (do_test): Also run tests for hex float output.
10534 2012-09-21 Joseph Myers <joseph@codesourcery.com>
10536 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10537 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10538 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10539 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10540 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10541 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10542 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10543 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10545 2012-09-20 Joseph Myers <joseph@codesourcery.com>
10547 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10548 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10549 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10550 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10552 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10555 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10557 * elf/tst-rtld-load-self.sh: New test.
10558 * elf/Makefile: Run it.
10560 2012-09-18 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10563 (tst-writev-ENV): Remove.
10564 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10566 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10568 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10570 2012-09-17 Joseph Myers <joseph@codesourcery.com>
10572 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10574 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10576 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10577 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10578 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10581 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10584 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10585 * config.make.in (have-cpp-asm-debuginfo): Removed.
10586 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10587 * configure: Regenerated.
10589 2012-09-14 Joseph Myers <joseph@codesourcery.com>
10592 * stdio-common/printf_fp.c: Include <stdbool.h> and
10594 (___printf_fp): Determine rounding using get_rounding_mode and
10596 * stdio-common/tst-printf-round.c: New file.
10597 * stdio-common/Makefile (tests): Add tst-printf-round.
10598 (link-libm): New variable.
10599 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10601 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10604 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10605 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10607 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10610 2012-09-13 Joseph Myers <joseph@codesourcery.com>
10612 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10613 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10614 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10615 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10617 2012-09-12 Joseph Myers <joseph@codesourcery.com>
10620 * include/rounding-mode.h: New file.
10621 * sysdeps/generic/get-rounding-mode.h: Likewise.
10622 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10623 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10624 (MAX_VALUE): New macro.
10625 (MIN_VALUE): Likewise.
10626 (overflow_value): New function.
10627 (underflow_value): Likewise.
10628 (round_and_return): Use overflow_value and underflow_value to
10629 determine return values in overflow and underflow cases. Use
10630 round_away to determine rounding depending on rounding mode.
10631 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10632 determine return values in overflow and underflow cases.
10633 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10634 (struct test_results): New structure.
10635 (struct test): Use struct test_results to store expected results
10636 for all rounding modes.
10637 (TEST): Include expected results for all rounding modes.
10638 (test_in_one_mode): New function.
10639 (do_test): Use test_in_one_mode to compute and check results.
10640 Check results for all rounding modes.
10641 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10644 2012-12-09 Allan McRae <allan@archlinux.org>
10646 * sysdeps/i386/fpu/libm-test-ulps: Update
10648 2012-09-11 Joseph Myers <joseph@codesourcery.com>
10650 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10651 (_G_int32_t): Likewise.
10652 (_G_uint16_t): Likewise.
10653 (_G_uint32_t): Likewise.
10654 (_G_HAVE_BOOL): Likewise.
10655 (_G_HAVE_ATEXIT): Likewise.
10656 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10657 (_G_HAVE_IO_FILE_OPEN): Likewise.
10658 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10659 (_G_int32_t): Likewise.
10660 (_G_uint16_t): Likewise.
10661 (_G_uint32_t): Likewise.
10662 (_G_HAVE_BOOL): Likewise.
10663 (_G_HAVE_ATEXIT): Likewise.
10664 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10665 (_G_HAVE_IO_FILE_OPEN): Likewise.
10666 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10667 (_G_int32_t): Likewise.
10668 (_G_uint16_t): Likewise.
10669 (_G_uint32_t): Likewise.
10670 (_G_HAVE_BOOL): Likewise.
10671 (_G_HAVE_ATEXIT): Likewise.
10672 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10673 (_G_HAVE_IO_FILE_OPEN): Likewise.
10675 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10677 * csu/libc-tls.c: Update copyright years.
10679 2012-09-10 Joseph Myers <joseph@codesourcery.com>
10681 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10682 [!_G_USING_THUNKS]: Remove conditional code.
10683 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10684 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10686 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10687 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10688 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10689 (_G_VTABLE_LABEL_PREFIX): Likewise.
10690 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10691 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10692 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10693 (_G_VTABLE_LABEL_PREFIX): Likewise.
10694 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10695 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10696 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10697 (_G_VTABLE_LABEL_PREFIX): Likewise.
10698 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10700 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10702 * libio/Makefile: Include ../Makeconfig before tests.
10703 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10704 only if $(build-shared) is yes.
10706 * iconv/gconv_db.c: Update copyright years.
10708 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10710 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10711 unwind info if defined PIC. Fix special cases description.
10712 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10714 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10716 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10718 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10720 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10722 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10725 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10726 (LDLIBS-tst-chk4): This.
10727 (LDFLAGS-tst-chk5): Renamed to ...
10728 (LDLIBS-tst-chk5): This.
10729 (LDFLAGS-tst-chk6): Renamed to ...
10730 (LDLIBS-tst-chk6): This.
10731 (LDFLAGS-tst-lfschk4): Renamed to ...
10732 (LDLIBS-tst-lfschk4): This.
10733 (LDFLAGS-tst-lfschk5): Renamed to ...
10734 (LDLIBS-tst-lfschk5): This.
10735 (LDFLAGS-tst-lfschk6): Renamed to ...
10736 (LDLIBS-tst-lfschk6): This.
10738 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10739 on $(common-objpfx)soversions.mk.
10741 2012-09-07 Joseph Myers <joseph@codesourcery.com>
10744 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10747 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10749 * malloc/arena.c (arena_get_retry): New function that gets
10750 another arena for the caller to try its request on.
10751 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10752 current arena cannot fulfill the request.
10753 (__libc_memalign): Likewise.
10754 (__libc_memalign): Likewise.
10755 (__libc_pvalloc): Likewise.
10756 (__libc_calloc): Likewise.
10758 2012-09-05 John Tobey <john.tobey@gmail.com>
10761 * manual/arith.texi (Operations on Complex): Fix description
10762 of carg branch cut.
10764 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10767 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10771 * manual/memory.texi (Memory): Make order of menu items match
10774 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10776 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10777 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10778 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10780 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10782 * csu/libc-tls.c (static_dtv): Renamed to ...
10783 (_dl_static_dtv): This. Make it global.
10784 (_dl_initial_dtv): Removed.
10785 (__libc_setup_tls): Updated.
10786 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10787 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10790 2012-09-06 Petr Machata <pmachata@redhat.com>
10792 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10793 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10794 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10795 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10797 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10800 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10801 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10804 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10807 * Makeconfig (link-static-before-libc): Replace $(+prector)
10809 (link-static-after-libc): Replace $(+postctor) with
10811 (link-bounded): Replace $(+prector)/$(+postctor) with
10812 $(+prectorT)/$(+postctorT).
10813 (+prectorT): New macro.
10814 (+postctorT): Likewise.
10816 2012-09-06 Joseph Myers <joseph@codesourcery.com>
10818 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10819 (round_str): Handle values above the maximum for IBM long double
10821 * stdlib/tst-strtod-round.c (tests): Regenerated.
10823 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10825 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10827 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10828 zarch_nohighgprs around the zarch optimized routines.
10829 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10830 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10831 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10834 2012-09-05 David S. Miller <davem@davemloft.net>
10836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10838 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10839 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10840 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10841 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10844 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10846 * malloc/arena.c: Fold copyright years.
10847 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10849 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10851 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10853 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10855 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10857 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10859 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10860 change internal state upon failure.
10862 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10864 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10865 * malloc/memusage.c (mmap): Likewise.
10866 (mmap64, mremap): Likewise. Adjust name in comment.
10868 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10870 * libio/fileops.c: Fix typos in comments.
10871 * libio/oldfileops.c: Likewise.
10872 * libio/wfileops.c: Likewise.
10874 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10877 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10878 (tst-malloc-usable-ENV): Set environment for test case.
10879 * malloc/hooks.c (malloc_check_get_size): New function to get
10881 * malloc/malloc.c (musable): Use malloc_check_get_size.
10882 * malloc/tst-malloc-usable.c: New test case.
10884 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10886 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10888 2012-09-05 Allan McRae <allan@archlinux.org>
10891 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10892 determine header location.
10893 * configure: Regenerated.
10895 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10897 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10899 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10900 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10902 (test): Regenerate.
10904 2012-09-04 David S. Miller <davem@davemloft.net>
10906 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10907 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10908 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10910 2012-09-04 Florian Weimer <fweimer@redhat.com>
10912 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10915 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10917 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10920 * libio/iogetdelim.c: Include <limits.h>.
10921 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10922 + len + 1 would overflow.
10924 2012-09-03 Andreas Jaeger <aj@suse.de>
10926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10929 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10931 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10932 Add s_sinf-sse2, s_conf-sse2.
10934 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10935 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10936 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10937 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10939 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10940 for using routine as __sinf_ia32.
10941 Use macro for function declaration and weak_alias.
10942 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10943 for using routine as __cosf_ia32.
10944 Use macro for function declaration and weak_alias.
10946 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10947 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10949 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10950 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10953 * math/libm-test.inc (cos_test): Add more test cases.
10954 (sin_test): Likewise.
10955 (sincos_test): Likewise.
10957 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10959 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10960 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10962 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10964 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10967 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10968 first element of the GOT.
10969 (elf_machine_load_address): Return the difference between
10970 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10972 2012-09-01 Allan McRae <allan@archlinux.org>
10975 * configure.in (AWK): Require gawk version 3.0 or later.
10976 * configure: Regenerated.
10978 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10980 * sysdeps/unix/sysv/linux/kernel-features.h
10981 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10982 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10983 [__NR_clock_getres]: Make code unconditional.
10984 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10985 (clock_getcpuclockid): Remove code left unreachable by removal of
10987 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10988 code unconditional.
10989 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10990 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10991 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10992 Make code unconditional.
10993 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10994 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10995 * sysdeps/unix/sysv/linux/clock_settime.c
10996 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10998 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10999 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11001 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11004 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11005 scripts/test-installation.pl.
11007 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11008 and $ld_so_version if it is set.
11010 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11013 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11014 failure if reading from procfs failed.
11015 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11017 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11019 * sysdeps/unix/sysv/linux/kernel-features.h
11020 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11021 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11022 Remove conditional code.
11023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11024 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11025 Remove conditional code.
11026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11027 * sysdeps/unix/sysv/linux/i386/fxstat.c
11028 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11029 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11030 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11031 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11032 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11033 * sysdeps/unix/sysv/linux/i386/lxstat.c
11034 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11036 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11037 Remove conditional code.
11038 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11039 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11040 Remove conditional code.
11041 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11042 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11043 <kernel-features.h>.
11044 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11046 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11047 Remove conditional code.
11048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11049 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11050 Remove conditional.
11052 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11055 * NEWS: Add fixed bug number.
11057 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11060 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11061 underflowing exponent in case of negative sign.
11062 * stdlib/tst-strtod-round-data: Add more tests.
11063 * stdlib/tst-strtod-round.c (tests): Regenerated.
11066 * stdlib/strtod_l.c (NDIG): Remove.
11067 (HEXNDIG): Likewise.
11068 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11069 smallest representable value.
11070 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11071 lie within an exact representation of 1/2 ulp of the result.
11072 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11074 (TENS_P9_IDX): Define unconditionally.
11075 (TENS_P9_SIZE): Likewise.
11076 (TENS_P10_IDX): Likewise.
11077 (TENS_P10_SIZE): Likewise.
11078 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11079 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11080 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11081 entries for 10^2^13 and 10^2^14.
11082 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11083 (TENS_P13_IDX): Define.
11084 (TENS_P13_SIZE): Likewise.
11085 (TENS_P14_IDX): Likewise.
11086 (TENS_P14_SIZE): Likewise.
11087 (_fpioconst_pow10): Change array size to
11088 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11090 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11091 1024]: Add entries for 10^2^13 and 10^2^14.
11092 [LAST_POW10 > _LAST_POW10]: Remove #error.
11093 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11094 (_fpioconst_pow10): Change array size to
11095 FPIOCONST_POW10_ARRAY_SIZE.
11096 * stdlib/gen-fpioconst.c: New file.
11097 * stdlib/gen-tst-strtod-round.c: Likewise.
11098 * stdlib/tst-strtod-round-data: Likewise.
11099 * stdlib/tst-strtod-round.c: Likewise.
11100 * stdlib/Makefile (tests): Add tst-strtod-round.
11103 * stdlib/strtod_l.c: Include <stdint.h>.
11104 (NDEBUG): Do not define.
11105 (round_and_return): Change EXPONENT parameter to type intmax_t.
11106 Rearrange calculations to avoid internal overflow possibilities.
11107 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11108 Rearrange calculations to avoid internal overflow possibilities.
11109 Assert that number fits inside MPNSIZE limbs.
11110 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11111 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11112 calculations and add assertions to avoid internal overflow
11113 possibilities. Add casts to avoid signed/unsigned operations.
11114 * stdlib/tst-strtod-overflow.c: New file.
11115 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11117 2012-08-25 Marek Polacek <polacek@redhat.com>
11119 * time/time.h: Fix some typos in comments.
11121 2012-08-23 Roland McGrath <roland@hack.frob.com>
11123 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11124 * posix/tst-rfc3484-2.c: Likewise.
11125 * posix/tst-rfc3484-3.c: Likewise.
11127 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11129 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11130 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11132 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11135 #include of fxstatat64.c.
11137 2012-08-22 Roland McGrath <roland@hack.frob.com>
11139 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11140 * shadow/getspent_r.c: Likewise.
11141 * shadow/getspnam.c: Likewise.
11142 * shadow/getspnam_r.c: Likewise.
11143 * gshadow/getsgent.c: Likewise.
11144 * gshadow/getsgent_r.c: Likewise.
11145 * gshadow/getsgnam.c: Likewise.
11146 * gshadow/getsgnam_r.c: Likewise.
11147 * inet/getnetbyad.c: Likewise.
11148 * inet/getnetbyad_r.c: Likewise.
11149 * inet/getnetbynm.c: Likewise.
11150 * inet/getnetbynm_r.c: Likewise.
11151 * inet/getnetent.c: Likewise.
11152 * inet/getnetent_r.c: Likewise.
11153 * inet/getproto.c: Likewise.
11154 * inet/getproto_r.c: Likewise.
11155 * inet/getprtent.c: Likewise.
11156 * inet/getprtent_r.c: Likewise.
11157 * inet/getprtname.c: Likewise.
11158 * inet/getprtname_r.c: Likewise.
11159 * inet/getrpcbyname.c: Likewise.
11160 * inet/getrpcbyname_r.c: Likewise.
11161 * inet/getrpcbynumber.c: Likewise.
11162 * inet/getrpcbynumber_r.c: Likewise.
11163 * inet/getrpcent.c: Likewise.
11164 * inet/getrpcent_r.c: Likewise.
11165 * inet/getaliasent.c: Likewise.
11166 * inet/getaliasent_r.c: Likewise.
11167 * inet/getaliasname.c: Likewise.
11168 * inet/getaliasname_r.c: Likewise.
11169 * nscd/getgrgid_r.c: Likewise.
11170 * nscd/getgrnam_r.c: Likewise.
11171 * nscd/gethstbyad_r.c: Likewise.
11172 * nscd/gethstbynm3_r.c: Likewise.
11173 * nscd/getpwnam_r.c: Likewise.
11174 * nscd/getpwuid_r.c: Likewise.
11175 * nscd/getsrvbynm_r.c: Likewise.
11176 * nscd/getsrvbypt_r.c: Likewise.
11177 * nscd/gai.c: Likewise.
11179 * configure.in (build_nscd): New substituted variable, set
11180 by --disable-build-nscd and defaults to $use_nscd.
11181 * configure: Regenerated.
11182 * config.make.in (build-nscd): New substituted variable.
11183 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11184 Change conditional to require [$(build-nscd) = yes] as well.
11185 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11188 * configure.in (use_nscd): New substituted variable, set by
11189 --disable-nscd. If enabled, define USE_NSCD.
11190 * configure: Regenerated.
11191 * config.h.in: Add USE_NSCD.
11192 * config.make.in (use-nscd): New substituted variable.
11193 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11194 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11195 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11196 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11197 (CFLAGS-getgrnam_r.c): Likewise.
11198 (CFLAGS-initgroups.c): Likewise.
11199 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11200 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11202 * inet/getnetgrent_r.c
11203 (nscd_setnetgrent): New function, broken out of ...
11204 (setnetgrent): ... here. Call it.
11205 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11206 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11207 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11208 * nscd/Makefile (routines, aux): Move definitions after include of
11209 Makeconfig. Conditionalize on [$(use-nscd) != no].
11210 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11211 Conditionalize on [USE_NSCD].
11212 (is_nscd, nscd_init_cb): Likewise.
11213 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11214 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11215 * nss/nss_db/db-init.c: Likewise.
11216 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11218 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11219 (make_request): Use it.
11220 (cache_valid_p): New function.
11221 (__check_pf): Use it.
11222 * NEWS: Add item for --disable-nscd.
11224 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11226 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11227 to support sed >= 4.2.1-20-ga9bf076.
11228 * configure: Regenerated.
11230 2012-08-22 Roland McGrath <roland@hack.frob.com>
11232 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11233 Conditionalize whole body on [IREL].
11235 2012-08-22 Jeff Law <law@redhat.com>
11238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11239 if the family is PF_UNSPEC.
11241 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11243 * Makerules (lib-version): Rename from V.
11244 (install-lib-nosubdir): Change V to lib-version.
11246 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11249 * powerpc32/power6/wcschr.c: New file.
11250 * powerpc32/power6/wcscpy.c: New file.
11251 * powerpc32/power6/wcsrchr.c: New file.
11252 * powerpc64/power6/wcschr.c: New file.
11253 * powerpc64/power6/wcscpy.c: New file.
11254 * powerpc64/power6/wcsrchr.c: New file.
11256 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11258 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11259 (two_way_short_needle): Use it.
11260 * string/strstr.c (AVAILABLE1_USES_J): Define.
11261 * string/strcasestr.c: Likewise.
11263 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11265 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11268 * NEWS: Add an entry.
11269 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11270 define their defaults.
11271 (two_way_short_needle): Detect end-of-string on-the-fly.
11272 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11273 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11274 * string/bug-strcasestr1.c: New test.
11275 * string/Makefile: Run it.
11277 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11280 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11281 the first character.
11283 2012-08-21 Roland McGrath <roland@hack.frob.com>
11285 * csu/elf-init.c (__libc_csu_irel): Function removed.
11286 * csu/libc-start.c (apply_irel): New function.
11287 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11289 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11291 * sysdeps/unix/sysv/linux/kernel-features.h
11292 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11293 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11294 <kernel-features.h>.
11295 [__NR_fadvise64_64]: Make code unconditional.
11296 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11297 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11298 !__NR_fadvise64_64)]: Likewise.
11299 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11300 !__NR_fadvise64_64))]: Likewise.
11301 [__NR_fadvise64]: Make code unconditional.
11302 [!__NR_fadvise64]: Remove conditional code.
11303 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11304 <kernel-features.h>.
11305 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11307 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11310 not include <kernel-features.h>.
11311 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11313 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11315 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11316 include <kernel-features.h>.
11317 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11319 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11322 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11324 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11325 slight instruction rearrangements per scrollpipe analysis.
11326 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11328 2012-08-20 Roland McGrath <roland@hack.frob.com>
11330 * manual/syslog.texi (syslog; vsyslog, closelog):
11331 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11332 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11334 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11335 DSOCAPS to match condition on defining it.
11337 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11339 * sysdeps/unix/sysv/linux/kernel-features.h
11340 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11342 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11343 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11345 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11346 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11348 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11349 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11351 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11352 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11354 * sysdeps/unix/sysv/linux/kernel-features.h
11355 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11356 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11358 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11359 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11360 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11361 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11362 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11363 Make code unconditional.
11364 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11365 (__mmap64) [!__NR_mmap2]: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11367 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11368 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11369 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11370 [__NR_mmap2]: Make code unconditional.
11371 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11372 (__mmap64) [!__NR_mmap2]: Likewise.
11374 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11376 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11378 2012-08-18 Andreas Jaeger <aj@suse.de>
11380 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11382 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11384 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11385 * include/unistd.h (__have_sock_cloexec): Likewise.
11386 (__have_pipe2): Likewise.
11387 (__have_dup3): Likewise.
11389 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11392 * include/unistd.h (__have_pipe2): Change define into an extern int.
11393 (__have_dup3): Likewise.
11394 * socket/have_sock_cloexec.c: Include fcntl.h.
11395 (__have_pipe2): New variable.
11396 (__have_dup3): Likewise.
11398 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11400 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11402 2012-08-17 Marek Polacek <polacek@redhat.com>
11404 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11405 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11407 2012-08-17 Roland McGrath <roland@hack.frob.com>
11409 * configure.in: Add AC_SUBST for sysheaders.
11410 * configure: Regenerated.
11411 * config.make.in (sysheaders): New substituted variable.
11413 * sysdeps/unix/mkfifo.c: Moved ...
11414 * sysdeps/posix/mkfifo.c: ... here.
11415 * sysdeps/unix/mkfifoat.c: Moved ...
11416 * sysdeps/posix/mkfifoat.c: ... here.
11418 * sysdeps/unix/utime.c: Moved ...
11419 * sysdeps/posix/utime.c: ... here.
11421 * sysdeps/unix/time.c: Moved ...
11422 * sysdeps/posix/time.c: ... here.
11423 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11426 * sysdeps/unix/nice.c: Moved ...
11427 * sysdeps/posix/nice.c: ... here.
11429 * sysdeps/unix/alarm.c: Moved ...
11430 * sysdeps/posix/alarm.c: ... here.
11432 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11434 2012-08-17 Jeff Law <law@redhat.com>
11436 * intl/Makefile (codeset_mo): New variable.
11437 ($(codeset_mo)): New target.
11438 (tst-codeset.out): Depend on that. Remove explicit rule.
11439 (tst-gettext3.out, tst-gettext5.out): Likewise.
11440 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11441 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11442 * intl/tst-codeset.sh: Remove.
11443 * intl/tst-gettext3.sh: Likewise.
11444 * intl/tst-gettext5.sh: Likewise.
11446 2012-08-17 Roland McGrath <roland@hack.frob.com>
11448 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11449 * sysdeps/unix/syscalls.list: ... here.
11451 * sysdeps/posix/getaddrinfo.c
11452 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11453 (gaiconf_init, gaiconf_reload): Use them.
11454 [!_STATBUF_ST_NSEC]
11455 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11456 Define using time_t rather than struct timespec.
11458 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11459 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11461 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11463 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11464 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11467 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11468 __libc_cleanup_push argument.
11470 * bits/param.h: New file.
11471 * misc/sys/param.h: New file.
11472 * include/sys/param.h: New file.
11473 * misc/Makefile (headers): Add bits/param.h.
11474 * sysdeps/generic/sys/param.h: File removed.
11475 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11476 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11477 * sysdeps/mach/hurd/bits/param.h: New file.
11478 * sysdeps/mach/hurd/sys/param.h: File removed.
11480 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11483 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11485 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11486 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11489 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11490 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11491 rather than -D_IO_MTSAFE_IO conditionally.
11492 * stdio-common/Makefile (CPPFLAGS): Likewise.
11493 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11494 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11495 Use $(libio-mtsafe).
11496 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11497 of -D_IO_MTSAFE_IO.
11498 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11499 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11500 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11501 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11502 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11503 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11504 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11505 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11506 (CFLAGS-fread_u_chk.c): Likewise.
11507 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11508 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11509 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11510 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11511 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11512 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11513 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11514 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11515 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11517 * libio/Makefile: Test [$(libc-reentrant) = yes]
11518 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11521 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11522 * sysdeps/pthread/configure: File removed.
11523 * sysdeps/pthread/Makeconfig: New file.
11524 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11525 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11527 2012-08-16 Gary Benson <gbenson@redhat.com>
11529 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11530 unmapping the first object in a namespace.
11532 2012-08-16 Roland McGrath <roland@hack.frob.com>
11534 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11535 (__internal_setnetgrent): ... this. Add internal_function to
11536 definition. Add libc_hidden_def.
11537 (setnetgrent): Update caller.
11538 (internal_endnetgrent): Renamed to ...
11539 (__internal_endnetgrent): ... this. Add internal_function to
11540 definition. Add libc_hidden_def.
11541 (endnetgrent): Update caller.
11542 (internal_getnetgrent_r): Renamed to ...
11543 (__internal_getnetgrent_r): ... this. Add internal_function to
11544 definition. Add libc_hidden_def.
11545 (__getnetgrent_r): Update caller.
11546 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11548 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11550 * stdlib/longlong.h: Update from GCC.
11552 2012-08-16 Roland McGrath <roland@hack.frob.com>
11554 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11555 on _QL, which is set by umul_ppmm but never used.
11556 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11557 variables, which are set by GMP macros but never used.
11558 * stdio-common/_itowa.c (_itowa): Likewise.
11559 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11560 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11562 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11564 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11565 struct La_sh_regs is not constant.
11566 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11567 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11568 and struct La_sparc64_regs are not constant.
11570 2012-08-16 Joseph Myers <joseph@codesourcery.com>
11572 * sysdeps/unix/sysv/linux/kernel-features.h
11573 (__ASSUME_POSIX_TIMERS): Remove.
11574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11575 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11576 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11577 Make code unconditional.
11578 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11579 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11580 Make code unconditional.
11581 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11582 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11583 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11584 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11585 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11586 Make code unconditional.
11587 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11588 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11589 (__libc_missing_posix_timers): Remove.
11591 2012-08-15 Roland McGrath <roland@hack.frob.com>
11593 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11594 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11596 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11598 * elf/dl-sym.c: Include <stdlib.h>.
11600 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11601 constants, which avoids warnings in 32-bit builds.
11603 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11604 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11606 * misc/lseek.c: File moved to ...
11607 * io/lseek.c: ... here.
11609 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11611 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11612 shifting LEN more than 31 bits at once.
11614 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11617 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11618 segmentation fault for a case of two empty input strings.
11619 * string/test-strncasecmp.c (check1): Renamed to...
11620 (bz12205): ...this.
11621 (bz14195): Add new testcase for two empty input strings and N > 0.
11622 (test_main): Call new testcase, adapt for renamed function.
11624 2012-08-15 Andreas Jaeger <aj@suse.de>
11627 * crypt/md5test2.c: New test, based on test supplied by Serge
11628 Belyshev <belyshev@depni.sinp.msu.ru>.
11629 * crypt/Makefile (xtests): Add md5test-giant..
11630 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11632 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11635 * crypt/md5.c (md5_process_block): Don't assume the buffer
11636 length is less than 2**32.
11637 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11638 length is less than 2**64.
11640 2012-08-15 Roland McGrath <roland@hack.frob.com>
11642 * string/str-two-way.h: Include <sys/param.h>.
11643 (MAX): Macro removed.
11645 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11646 Move #define and #undef of memmove to just before and after
11647 including <string.h>.
11649 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11650 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11651 and after including <string.h>. Move declarations of
11652 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11653 to before #include "string/memmove.c".
11655 * include/dirent.h: Declare __getdirentries.
11657 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11658 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11660 2012-08-14 Mike Frysinger <vapier@gentoo.org>
11662 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11663 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11664 * sysdeps/i386/configure: Regenerated.
11665 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11666 STABS_CURRENT_FILE, and STABS_FUN.
11667 (END): Remove call to STABS_FUN_END.
11668 (STABS_CURRENT_FILE1): Delete.
11669 (STABS_CURRENT_FILE): Likewise.
11670 (STABS_FUN): Likewise.
11671 (STABS_FUN_END): Likewise.
11672 (STABS_FUN2): Likewise.
11673 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11674 * sysdeps/x86_64/configure: Regenerated.
11676 2012-08-14 Roland McGrath <roland@hack.frob.com>
11678 * elf/dl-open.c: Include <atomic.h>.
11679 * elf/dl-lookup.c: Likewise.
11681 2012-08-14 Joseph Myers <joseph@codesourcery.com>
11683 * sysdeps/unix/sysv/linux/kernel-features.h
11684 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11685 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11687 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11689 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11690 condition on __ASSUME_CLONE_THREAD_FLAGS.
11692 2012-08-14 Andreas Jaeger <aj@suse.de>
11694 * sysdeps/i386/fpu/libm-test-ulps: Update.
11696 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11698 * include/atomic.h (atomic_exchange_and_add): Split into ...
11699 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11702 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11706 2012-08-13 Jeff Law <law@redhat.com>
11708 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11709 null byte in the output string.
11711 2012-08-10 Joseph Myers <joseph@codesourcery.com>
11713 * sysdeps/unix/sysv/linux/kernel-features.h
11714 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11715 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11716 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11717 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11718 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11719 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11720 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11722 2012-08-09 Jeff Law <law@redhat.com>
11725 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11726 When avoid_arena is set, don't retry in the that arena. Pick the
11727 next one, whatever it might be.
11728 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11729 (arena_lock): Pass in new parameter to arena_get2.
11730 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11732 (__libc_malloc): Unify retrying after main arena failure with
11733 __libc_memalign version.
11734 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11736 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11739 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11740 to __redirect_strstr.
11741 (__strstr_sse42): Use typeof __redirect_strstr.
11742 (__strstr_ia32): Likewise.
11743 (__libc_strstr): New prototype.
11744 (strstr): Renamed to ...
11745 (__libc_strstr): This.
11746 (strstr): New strong alias of __libc_strstr.
11747 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11748 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11751 (__libc_time): New prototype.
11752 (time_ifunc): Replace time with __libc_time.
11753 (time): New strong alias and hidden definition of __libc_time.
11754 (__GI_time): Remove strong alias.
11755 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11756 Include <stddef.h>.
11757 (memmove): Redefined to __redirect_memmove.
11758 (__memmove_sse2): Use typeof __redirect_memmove.
11759 (__memmove_ssse3): Likewise.
11760 (__memmove_ssse3_back): Likewise.
11761 (__libc_memmove): New prototype.
11762 (memmove): Renamed to ...
11763 (__libc_memmove): This.
11764 (memmove): New strong alias of __libc_memmove.
11766 2012-08-08 Mark Salter <msalter@redhat.com>
11769 (R_MN10300_TLS_GD): Define.
11770 (R_MN10300_TLS_LD): Likewise.
11771 (R_MN10300_TLS_LDO): Likewise.
11772 (R_MN10300_TLS_GOTIE): Likewise.
11773 (R_MN10300_TLS_IE): Likewise.
11774 (R_MN10300_TLS_LE): Likewise.
11775 (R_MN10300_TLS_DTPMOD): Likewise.
11776 (R_MN10300_TLS_DTPOFF): Likewise.
11777 (R_MN10300_TLS_TPOFF): Likewise.
11778 (R_MN10300_SYM_DIFF): Likewise.
11779 (R_MN10300_ALIGN): Likewise.
11780 (R_MN10300_NUM): Update.
11782 2012-08-08 Joseph Myers <joseph@codesourcery.com>
11784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11787 2012-08-08 Roland McGrath <roland@hack.frob.com>
11789 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11791 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11792 sysdeps/unix -> sysdeps/posix move.
11793 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11795 2012-08-07 Allan McRae <allan@archlinux.org>
11798 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11799 (SUNOS_CPP): Likewise.
11800 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11802 (open_input): Call CPP using execvp.
11804 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11806 * sysdeps/unix/sysv/linux/kernel-features.h
11807 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11808 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11809 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11810 (__ASSUME_WAITID_SYSCALL): Likewise.
11811 * sysdeps/unix/sysv/linux/dl-execstack.c
11812 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11813 code unconditional.
11814 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11816 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11817 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11818 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11820 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11822 [__ASSUME_WAITID_SYSCALL]: Likewise.
11823 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11825 2012-08-07 Roland McGrath <roland@hack.frob.com>
11827 * sysdeps/unix/closedir.c: Renamed to ...
11828 * sysdeps/posix/closedir.c: ... here.
11829 * sysdeps/unix/dirfd.c: Renamed to ...
11830 * sysdeps/posix/dirfd.c: ... here.
11831 * sysdeps/unix/dirstream.h: Renamed to ...
11832 * sysdeps/posix/dirstream.h: ... here.
11833 * sysdeps/unix/fdopendir.c: Renamed to ...
11834 * sysdeps/posix/fdopendir.c: ... here.
11835 * sysdeps/unix/opendir.c: Renamed to ...
11836 * sysdeps/posix/opendir.c: ... here.
11837 * sysdeps/unix/readdir.c: Renamed to ...
11838 * sysdeps/posix/readdir.c: ... here.
11839 * sysdeps/unix/readdir_r.c: Renamed to ...
11840 * sysdeps/posix/readdir_r.c: ... here.
11841 * sysdeps/unix/rewinddir.c: Renamed to ...
11842 * sysdeps/posix/rewinddir.c: ... here.
11843 * sysdeps/unix/seekdir.c: Renamed to ...
11844 * sysdeps/posix/seekdir.c: ... here.
11845 * sysdeps/unix/telldir.c: Renamed to ...
11846 * sysdeps/posix/telldir.c: ... here.
11847 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11848 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11850 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11852 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11853 * bits/fcntl.h: ... here.
11855 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11857 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11858 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11859 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11860 (struct flock): Move l_start, l_len to the beginning.
11861 Use __pid_t for l_pid.
11862 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11863 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11864 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11865 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11866 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11867 [__USE_LARGEFILE64] (struct flock64): New type.
11868 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11870 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11871 * bits/dirent.h: ... here.
11873 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11874 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11876 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11879 Change from 2.6.0 to 2.6.16.
11880 * sysdeps/unix/sysv/linux/configure: Regenerated.
11881 * sysdeps/unix/sysv/linux/kernel-features.h
11882 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11883 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11885 (__ASSUME_UTIMES): Likewise.
11886 (__ASSUME_CLONE_STOPPED): Remove.
11887 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11888 architectures, not kernel version.
11889 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11890 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11891 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11892 (__ASSUME_WAITID_SYSCALL): Likewise.
11893 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11894 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11895 * README: State 2.6.16 as minimum Linux kernel version. Do not
11896 refer to older versions.
11898 2012-08-06 Roland McGrath <roland@hack.frob.com>
11900 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11901 Define alphasort64 as an alias.
11902 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11903 Define versionsort64 as an alias.
11904 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11905 Define scandir64 as an alias.
11906 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11907 Define scandirat64 as an alias.
11908 * dirent/alphasort64.c (alphasort64):
11909 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11910 * dirent/versionsort64.c: Likewise.
11911 * dirent/scandir64.c: Likewise.
11912 * dirent/scandirat64.c: Likewise.
11913 * sysdeps/wordsize-64/alphasort.c: File removed.
11914 * sysdeps/wordsize-64/alphasort64.c: File removed.
11915 * sysdeps/wordsize-64/scandir.c: File removed.
11916 * sysdeps/wordsize-64/scandir64.c: File removed.
11917 * sysdeps/wordsize-64/scandirat.c: File removed.
11918 * sysdeps/wordsize-64/scandirat64.c: File removed.
11919 * sysdeps/wordsize-64/versionsort.c: File removed.
11920 * sysdeps/wordsize-64/versionsort64.c: File removed.
11921 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11922 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11923 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11924 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11925 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11926 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11927 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11928 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11930 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11932 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11934 [defined __arch64__ || defined __sparcv9]
11935 (__INO_T_MATCHES_INO64_T): New macro.
11936 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11937 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11938 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11939 * sysdeps/unix/sysv/linux/bits/dirent.h
11940 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11941 (_DIRENT_MATCHES_DIRENT64): New macro.
11943 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11944 Define lockf64 as an alias.
11945 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11946 Define fseeko64 as an alias.
11947 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11948 Define ftello64 as an alias.
11949 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11950 Define _IO_fgetpos64 and fgetpos64 as aliases.
11951 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11952 Define _IO_fsetpos64 and fsetpos64 as aliases.
11953 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11954 Conditionalize body on this.
11955 * libio/fseeko64.c: Likewise.
11956 * libio/ftello64.c: Likewise.
11957 * libio/iofgetpos64.c: Likewise.
11958 * libio/iofsetpos64.c: Likewise.
11959 * sysdeps/wordsize-64/lockf.c: File removed.
11960 * sysdeps/wordsize-64/lockf64.c: File removed.
11961 * sysdeps/wordsize-64/fseeko.c: File removed.
11962 * sysdeps/wordsize-64/fseeko64.c: File removed.
11963 * sysdeps/wordsize-64/ftello.c: File removed.
11964 * sysdeps/wordsize-64/ftello64.c: File removed.
11965 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11966 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11967 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11968 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11969 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11970 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11971 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11972 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11973 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11974 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11975 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11976 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11977 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11978 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11980 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11982 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11984 [defined __arch64__ || defined __sparcv9]
11985 (__OFF_T_MATCHES_OFF64_T): New macro.
11986 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11987 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11989 (__OFF_T_MATCHES_OFF64_T): New macro.
11991 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11993 * stdlib/secure-getenv.c (__secure_getenv): Replace
11994 GLIBC_2_16 with GLIBC_2_17.
11996 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11998 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11999 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12001 2012-08-03 David S. Miller <davem@davemloft.net>
12003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12005 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12007 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12009 (__ASSUME_CORRECT_SI_PID): Likewise.
12010 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12011 (__ASSUME_TMPFS_NAME): Likewise.
12012 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12013 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12014 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12015 (HAVE_AUX_SECURE): Make definition unconditional.
12016 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12017 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12019 2012-08-03 Roland McGrath <roland@hack.frob.com>
12021 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12022 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12023 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12024 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12025 __eloop_threshold instead of SYMLOOP_MAX.
12027 * sysdeps/generic/eloop-threshold.h: New file.
12028 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12030 * elf/chroot_canon.c (chroot_canon): Likewise.
12032 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12035 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12036 Change to 2.6.0 everywhere.
12037 * sysdeps/unix/sysv/linux/configure: Regenerated.
12038 * sysdeps/unix/sysv/linux/kernel-features.h
12039 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12040 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12042 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12043 (__ASSUME_FUTEX_REQUEUE): Remove.
12044 (__ASSUME_STATFS64): Define unconditionally.
12045 (__ASSUME_AT_SECURE): Likewise.
12046 (__ASSUME_CORRECT_SI_PID): Likewise.
12047 (__ASSUME_TGKILL): Define without depending on kernel version for
12049 (__ASSUME_UTIMES): Likewise.
12050 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12052 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12053 (__ASSUME_TMPFS_NAME): Likewise.
12054 * README: Update reference to Linux kernel versions.
12056 2012-08-02 Marek Polacek <polacek@redhat.com>
12059 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12060 libc_cv_asm_type_prefix with %.
12061 * configure: Regenerated.
12062 * include/libc-symbols.h: Remove comment about
12063 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12064 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12065 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12066 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12067 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12068 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12069 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12070 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12071 * elf/tst-unique2mod1.c: Likewise.
12072 * elf/tst-unique1mod2.c: Likewise.
12073 * elf/tst-unique1mod1.c: Likewise.
12074 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12075 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12076 Replace ASM_TYPE_DIRECTIVE with .type.
12077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12078 * sysdeps/i386/sysdep.h: Likewise.
12079 * sysdeps/x86_64/sysdep.h: Likewise.
12080 * sysdeps/sh/sysdep.h: Likewise.
12081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12082 Do not define ASM_TYPE_DIRECTIVE.
12083 * sysdeps/powerpc/sysdep.h: Likewise.
12084 * sysdeps/powerpc/powerpc32/sysdep.h:
12085 Replace ASM_TYPE_DIRECTIVE with .type.
12086 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12087 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12088 * sysdeps/i386/fpu/e_powf.S: Likewise.
12089 * sysdeps/i386/fpu/e_expl.S: Likewise.
12090 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12091 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12092 * sysdeps/i386/fpu/e_pow.S: Likewise.
12093 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12094 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12095 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12096 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12097 * sysdeps/i386/fpu/e_log2.S: Likewise.
12098 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12099 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12100 * sysdeps/i386/fpu/e_powl.S: Likewise.
12101 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12102 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12103 * sysdeps/i386/fpu/e_logl.S: Likewise.
12104 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12105 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12106 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12107 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12108 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12109 * sysdeps/i386/fpu/e_log.S: Likewise.
12110 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12111 * sysdeps/i386/fpu/e_logf.S: Likewise.
12112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12114 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12115 * sysdeps/i386/fpu/e_log10.S: Likewise.
12116 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12117 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12118 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12119 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12121 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12122 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12123 * sysdeps/i386/i686/strtok.S: Likewise.
12124 * sysdeps/i386/i386-mcount.S: Likewise.
12125 * sysdeps/i386/strtok.S: Likewise.
12126 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12127 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12128 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12129 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12130 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12131 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12132 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12133 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12134 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12135 * sysdeps/x86_64/_mcount.S: Likewise.
12136 * sysdeps/x86_64/strtok.S: Likewise.
12137 * sysdeps/sh/_mcount.S: Likewise.
12139 2012-08-01 Roland McGrath <roland@hack.frob.com>
12141 * libio/iofopen.c: Include <fcntl.h>.
12142 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12143 (_IO_fopen64, fopen64): Define as aliases.
12144 * libio/iofopen64.c: Include <fcntl.h>.
12145 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12146 Conditionalize body on this.
12147 * sysdeps/wordsize-64/iofopen.c: File removed.
12148 * sysdeps/wordsize-64/iofopen64.c: File removed.
12150 2012-08-01 Marek Polacek <polacek@redhat.com>
12152 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12153 Use dlfcn directly instead of a variable.
12154 (binfmt-subdir): Do not define.
12157 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12159 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12160 Remove all definitions.
12161 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12162 <kernel-features.h>.
12163 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12164 (miss_F_GETOWN_EX): Remove all definitions.
12165 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12167 [!__ASSUME_FCNTL64]: Remove conditional code.
12168 [__ASSUME_FCNTL64]: Make code unconditional.
12169 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12170 <kernel-features.h>.
12171 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12172 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12173 (lockf64) [__NR_fcntl64]: Make code unconditional.
12174 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12176 * sysdeps/unix/sysv/linux/kernel-features.h
12177 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12178 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12179 Make code unconditional.
12180 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12181 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12183 [__NR_vfork]: Make code unconditional.
12184 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12185 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12187 [__NR_vfork]: Make code unconditional.
12188 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12189 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12191 2012-08-01 Roland McGrath <roland@hack.frob.com>
12193 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12194 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12196 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12197 Define mkstemp64 as an alias.
12198 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12199 Define mkstemps64 as an alias.
12200 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12201 Define mkostemp64 as an alias.
12202 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12203 Define mkostemps64 as an alias.
12204 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12205 Conditionalize body on this.
12206 * misc/mkostemp64.c: Likewise.
12207 * misc/mkostemps64.c: Likewise.
12208 * misc/mkstemps64.c: Likewise.
12209 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12210 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12211 * sysdeps/wordsize-64/mkostemp.c: File removed.
12212 * sysdeps/wordsize-64/mkstemp.c: File removed.
12213 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12214 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12215 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12216 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12219 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12220 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12221 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12222 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12224 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12225 compat_symbol macros from <shlib-compat.h> rather than the underlying
12226 default_symbol_version and symbol_version macros, so that DEFAULT
12227 lines in shlib-versions are respected.
12228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12230 2012-08-01 Florian Weimer <fweimer@redhat.com>
12232 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12233 Declare with warn_unused_result.
12234 (setgid, setregid, setegid, setresgid): Likewise.
12235 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12237 * WUR-REPORT: Remove set*id functions.
12239 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12241 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12243 2012-07-31 Roland McGrath <roland@hack.frob.com>
12246 * include/sys/socket.h (__libc_accept, __libc_accept4):
12247 Add attribute_hidden.
12248 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12250 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12252 * inet/getnetgrent_r.c (setup): Likewise.
12254 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12256 2012-07-31 David S. Miller <davem@davemloft.net>
12258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12260 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12263 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12264 value between 1.0 and 2.0 and smaller part has absolute value less
12266 * math/s_clog10.c (__clog10): Likewise.
12267 * math/s_clog10f.c (__clog10f): Likewise.
12268 * math/s_clog10l.c (__clog10l): Likewise.
12269 * math/s_clogf.c (__clogf): Likewise.
12270 * math/s_clogl.c (__clogl): Likewise.
12271 * math/libm-test.inc (clog_test): Add more tests.
12272 (clog10_test): Likewise.
12273 * sysdeps/i386/fpu/libm-test-ulps: Update.
12274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12276 2012-07-31 Florian Weimer <fweimer@redhat.com>
12278 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12279 Exit with zero in case no suitable GID is found, and write a
12280 message to standard error.
12282 2012-07-30 Roland McGrath <roland@hack.frob.com>
12284 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12286 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12287 (MAXPATHLEN): Removed.
12288 (NOGROUP, NODEV): New macros.
12289 (setbit, clrbit, isset, isclr): New macros.
12290 (howmany, roundup, powerof2): New macros.
12291 (DEV_BSIZE): New macro.
12293 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12294 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12296 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12297 definition on [!__NO_LONG_DOUBLE_MATH].
12299 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12300 PTR_MANGLE and PTR_DEMANGLE.
12302 * socket/accept4.c (accept4): Rename to __libc_accept4.
12303 Define accept4 as a weak alias.
12305 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12306 on [_DIRENT_HAVE_D_TYPE].
12307 * io/ftw.c (ftw_dir): Likewise.
12309 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12311 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12313 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12314 Use the BSD numbers rather than the arbitrary ones we had.
12315 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12316 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12317 (SIGXCPU, SIGXFSZ): New macros.
12320 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12321 initializer on [_LIBC_REENTRANT].
12323 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12324 definitions inside [_POSIX_MAPPED_FILES].
12326 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12328 * dirent/opendir.c: Include <fcntl.h>.
12330 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12331 (__libc_getspecific): Likewise.
12332 (__libc_key_create): Likewise.
12334 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12335 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12336 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12337 (tmpfile64): Define as alias.
12338 * sysdeps/wordsize-64/tmpfile.c: File removed.
12339 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12340 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12341 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12343 * stdio-common/vfscanf.c: Include <stdbool.h>.
12344 * nss/makedb.c: Likewise.
12345 * stdio-common/_i18n_number.h: Likewise.
12346 * argp/argp-help.c: Likewise.
12347 * posix/wordexp.c: Likewise.
12348 * sysdeps/posix/spawni.c: Likewise.
12349 * nss/nss_files/files-initgroups.c: Likewise.
12350 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12351 * nss/nss_files/files-initgroups.c: Likewise.
12352 * nss/nss_db/db-netgrp.c: Likewise.
12353 * nss/nss_db/db-initgroups.c: Likewise.
12354 * io/fchmodat.c: Include <sys/stat.h>.
12356 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12357 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12359 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12362 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12363 Add multiple inclusion protection.
12365 2012-07-27 David S. Miller <davem@davemloft.net>
12367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12369 2012-07-27 Gary Benson <gbenson@redhat.com>
12372 * elf/rtld.c: Include <stap-probe.h>.
12373 (dl_main): Added static probes "init_start" and "init_complete".
12374 * elf/dl-load.c: Include <stap-probe.h>.
12375 (lose): Take new parameter "nsid".
12376 Added static probe "map_failed".
12377 (_dl_map_object_from_fd): Pass namespace id to lose.
12378 Added static probe "map_start".
12379 (open_verify): Pass namespace id to lose.
12380 * elf/dl-open.c: Include <stap-probe.h>.
12381 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12382 and "reloc_complete".
12383 * elf/dl-close.c: Include <stap-probe.h>.
12384 (_dl_close_worker): Added static probes "unmap_start" and
12386 * elf/rtld-debugger-interface.txt: New file documenting the above.
12388 2012-07-26 Roland McGrath <roland@hack.frob.com>
12390 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12391 rather than a string variable.
12392 * sunrpc/rpc_main.c (h_output): Likewise.
12393 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12395 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12397 * inet/check_native.c: New file.
12399 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12402 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12403 if larger part has absolute value 1.0.
12404 * math/s_clog10.c (__clog10): Likewise.
12405 * math/s_clog10f.c (__clog10f): Likewise.
12406 * math/s_clog10l.c (__clog10l): Likewise.
12407 * math/s_clogf.c (__clogf): Likewise.
12408 * math/s_clogl.c (__clogl): Likewise.
12409 * math/libm-test.inc (clog_test): Add more tests.
12410 (clog10_test): Likewise.
12411 * sysdeps/i386/fpu/libm-test-ulps: Update.
12412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12414 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12415 (pltexit): Likewise.
12416 (La_regs): Likewise.
12417 (La_retval): Likewise.
12418 (int_retval): Likewise.
12419 Update #error for removed macros to refer only to definitions in
12421 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12423 (pltexit): Likewise.
12424 (La_regs): Likewise.
12425 (La_retval): Likewise.
12426 (int_retval): Likewise.
12427 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12429 (pltexit): Likewise.
12430 (La_regs): Likewise.
12431 (La_retval): Likewise.
12432 (int_retval): Likewise.
12433 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12435 (pltexit): Likewise.
12436 (La_regs): Likewise.
12437 (La_retval): Likewise.
12438 (int_retval): Likewise.
12439 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12441 (pltexit): Likewise.
12442 (La_regs): Likewise.
12443 (La_retval): Likewise.
12444 (int_retval): Likewise.
12445 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12447 (pltexit): Likewise.
12448 (La_regs): Likewise.
12449 (La_retval): Likewise.
12450 (int_retval): Likewise.
12451 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12453 (pltexit): Likewise.
12454 (La_regs): Likewise.
12455 (La_retval): Likewise.
12456 (int_retval): Likewise.
12457 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12458 macro definitions in tst-audit.h.
12459 * sysdeps/i386/tst-audit.h: New file.
12460 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12461 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12462 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12463 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12464 * sysdeps/sh/tst-audit.h: Likewise.
12465 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12466 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12467 * sysdeps/x86_64/tst-audit.h: Likewise.
12469 2012-07-26 Andreas Jaeger <aj@suse.de>
12471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12474 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12475 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12476 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12478 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12479 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12480 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12482 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12485 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12487 (si_call_addr, si_syscall, si_arch): Define new macro.
12488 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12490 (si_call_addr, si_syscall, si_arch): Define new marcro.
12491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12493 (si_call_addr, si_syscall, si_arch): Define new macro.
12494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12496 (si_call_addr, si_syscall, si_arch): Define new macro.
12498 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12502 Change to 2.4.21 where previously 2.4.1.
12503 * sysdeps/unix/sysv/linux/configure: Regenerated.
12504 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12505 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12506 Linux kernel version.
12507 (__ASSUME_STD_AUXV): Remove.
12508 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12510 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12511 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12512 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12513 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12514 (__ASSUME_NETLINK_SUPPORT): Likewise.
12515 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12516 (__no_netlink_support): Remove conditional definition.
12517 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12519 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12520 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12521 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12522 (if_nameindex_ioctl): Remove.
12523 (if_nameindex_netlink): Do not handle __no_netlink_support.
12524 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12526 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12527 Remove conditional code.
12528 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12530 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12532 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12533 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12534 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12536 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12537 [!__ASSUME_STD_AUXV]: Remove conditional code.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12539 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12540 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12542 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12543 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12545 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12547 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12548 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12550 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12552 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12555 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12558 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12559 code unconditional.
12560 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12562 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12564 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12567 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12569 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12572 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12573 code unconditional.
12574 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12576 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12578 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12581 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12582 code unconditional.
12583 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12585 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12587 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12590 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12592 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12593 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12594 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12595 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12596 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12597 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12598 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12599 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12600 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12601 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12602 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12603 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12604 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12605 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12616 2012-07-25 Florian Weimer <fweimer@redhat.com>
12618 * Versions.def: Add GLIBC_2.17.
12619 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12620 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12621 Introduce __libc_secure_getenv.
12622 * stdlib/Versions (2.17): Add secure_getenv
12623 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12624 * stdlib/secure-getenv.c: Rename __secure_getenv to
12625 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12626 symbol __secure_getenv for GLIBC_2.0.
12627 * stdlib/tst-secure-getenv.c: New.
12628 * stdlib/Makefile (tests): Add testcase.
12629 * manual/startup.texi (Environment Access): Document
12631 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12632 __libc_secure_getenv.
12633 * inet/ruserpass.c (ruserpass): Likewise.
12634 * malloc/mtrace.c (mtrace): Likewise.
12635 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
12636 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12637 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12638 * sysdeps/posix/tempname.c: Likewise. Evaluate
12639 HAVE_SECURE_GETENV.
12640 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
12641 __secure_getenv to __libc_secure_getenv.
12642 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12655 2012-07-25 Joseph Myers <joseph@codesourcery.com>
12657 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12658 (struct La_i86_retval): Likewise.
12659 (struct La_x86_64_regs): Likewise.
12660 (struct La_x86_64_retval): Likewise.
12661 (struct La_x32_regs): Likewise.
12662 (struct La_x32_retval): Likewise.
12663 (struct La_ppc32_regs): Likewise.
12664 (struct La_ppc32_retval): Likewise.
12665 (struct La_ppc64_regs): Likewise.
12666 (struct La_ppc64_retval): Likewise.
12667 (struct La_sh_regs): Likewise.
12668 (struct La_sh_retval): Likewise.
12669 (struct La_s390_32_regs): Likewise.
12670 (struct La_s390_32_retval): Likewise.
12671 (struct La_s390_64_regs): Likewise.
12672 (struct La_s390_64_retval): Likewise.
12673 (struct La_sparc32_regs): Likewise.
12674 (struct La_sparc32_retval): Likewise.
12675 (struct La_sparc64_regs): Likewise.
12676 (struct La_sparc64_retval): Likewise.
12677 (struct audit_ifaces): Remove architecture-specific pltenter and
12679 * sysdeps/i386/ldsodefs.h: New file.
12680 * sysdeps/powerpc/ldsodefs.h: Likewise.
12681 * sysdeps/s390/ldsodefs.h: Likewise.
12682 * sysdeps/sh/ldsodefs.h: Likewise.
12683 * sysdeps/sparc/ldsodefs.h: Likewise.
12684 * sysdeps/x86_64/ldsodefs.h: Likewise.
12686 2012-07-25 Marek Polacek <polacek@redhat.com>
12689 * math/libm-test.inc (yn_test): Add another test.
12690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12691 to ERANGE when the result is +-Inf.
12692 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12693 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12694 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12695 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12697 2012-07-24 Joseph Myers <joseph@codesourcery.com>
12699 * conform/data/time.h-data (NULL): Use macro-constant. Require
12701 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12703 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12705 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12707 * configure.in <sysdeps resolving>: Correct printing
12709 * configure: Regenerate.
12711 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12713 * math/w_ilogb.c: Include <limits.h>.
12714 * math/w_ilogbl.c: Likewise.
12716 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12718 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12719 va_copy. Document allowing for unavailable va_copy only as
12720 pre-C99 compatibility.
12721 * manual/string.texi (Copying and Concatenation): Use va_copy
12722 instead of __va_copy in concat example.
12724 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12726 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12727 (__sendto): Use create_address_port. Initialize APORT and deallocate
12730 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12731 with O_NOLINK passed to __file_name_lookup.
12733 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12734 with O_NOLINK passed to __file_name_lookup.
12736 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12737 negative N or less than NGIDS.
12739 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12740 type to string_t. Set ERANGE as errno and return it if NAME is not big
12741 enough. Use memcpy instead of strncpy.
12743 2012-07-20 Joseph Myers <joseph@codesourcery.com>
12745 * elf/Makefile (check-data): Remove.
12746 (localplt.data): New vpath directive.
12747 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12748 instead of $(check-data).
12749 * scripts/data/localplt-generic.data: Move to ...
12750 * sysdeps/generic/localplt.data: ... here.
12751 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12752 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12753 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12756 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12759 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12762 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12765 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12768 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12772 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12774 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12775 PPC32 and PPC64 files.
12776 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12777 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12779 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12781 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12782 __makecontext_ret to ...
12783 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12784 ... here and call exit if uc_link is NULL. New file.
12785 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12786 __makecontext_ret.S.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12788 __makecontext_ret to ...
12789 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12790 ... here and call exit if uc_link is NULL. New file.
12791 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12792 __makecontext_ret.S.
12794 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12796 * elf/elf.h (R_390_IRELATIVE): New definition.
12797 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12798 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12799 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12800 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12801 (elf_machine_lazy_rel): Likewise.
12802 * sysdeps/s390/dl-irel.h: New file.
12803 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12804 * sysdeps/s390/s390-64/memset.S: New asm code.
12805 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12806 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12807 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12808 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12809 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12810 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12811 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12812 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12813 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12814 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12815 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12816 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12817 * sysdeps/s390/s390-32/memset.S: New asm code.
12818 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12820 2012-07-17 Marek Polacek <polacek@redhat.com>
12823 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12824 * sysdeps/s390/s390-64/configure.in: Likewise.
12825 * sysdeps/sparc/configure.in: Likewise.
12826 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12827 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12828 * sysdeps/i386/configure.in: Likewise.
12829 * sysdeps/x86_64/configure.in: Likewise.
12830 * sysdeps/sh/configure.in: Likewise.
12831 * sysdeps/s390/s390-32/configure: Regenerated.
12832 * sysdeps/s390/s390-64/configure: Likewise.
12833 * sysdeps/x86_64/configure: Likewise.
12834 * sysdeps/sh/configure: Likewise.
12835 * sysdeps/powerpc/powerpc64/configure: Likewise.
12836 * sysdeps/powerpc/powerpc32/configure: Likewise.
12837 * sysdeps/sparc/configure: Likwise.
12838 * sysdeps/i386/configure: Likewise.
12840 * elf/dl-open.c: Comment fixes.
12842 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12844 * Makefile [CXX] (check-data): Remove.
12845 [CXX] (c++-types.data): New vpath directive.
12846 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12847 vpath. Do not allow for C++ type data being missing.
12848 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12849 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12850 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12851 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12852 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12853 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12854 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12857 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12860 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12863 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12866 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12869 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12872 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12875 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12878 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12879 definitions to architecture-specific files.
12880 (TLS_IE): Likewise.
12881 (TLS_LD): Likewise.
12882 (TLS_GD): Likewise.
12883 * sysdeps/i386/tls-macros.h: New file.
12884 * sysdeps/powerpc/tls-macros.h: Likewise.
12885 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12886 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12887 * sysdeps/sh/tls-macros.h: Likewise.
12888 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12889 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12890 * sysdeps/x86_64/tls-macros.h: Likewise.
12892 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12894 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12895 zero value for regular exit case.
12897 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12898 (__start_context): Preserve zero value for regular exit case.
12900 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12901 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12903 * manual/setjmp.texi (setcontext): Clarify normal process
12904 termination when uc_link is the null pointer.
12905 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12908 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12910 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12911 preprocessor. Test for each exception mask separately.
12913 2012-07-16 Andreas Jaeger <aj@suse.de>
12915 * po/ru.po: Update from translation team.
12917 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12919 * conform/data/string.h-data (NULL): Use macro-constant. Require
12921 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12922 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12923 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12924 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12927 2012-07-13 Andreas Jaeger <aj@suse.de>
12929 * po/fr.po: Update from translation team.
12931 2012-07-12 Marek Polacek <polacek@redhat.com>
12934 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12935 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12938 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12941 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12942 Change to 2.4.1 where previously 2.4.0.
12943 * sysdeps/unix/sysv/linux/configure: Regenerated.
12944 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12945 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12947 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12948 (__ASSUME_AT_CLKTCK): Remove.
12949 (__ASSUME_AT_PAGESIZE): Likewise.
12950 (__ASSUME_AT_XID): Likewise.
12951 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12952 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12953 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12955 (HAVE_AUX_PAGESIZE): Likewise.
12956 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12957 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12958 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12960 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12964 the temporary buffer used to invoke __gethostbyname2_r,
12965 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12966 host_data / struct gaih_addrtuple.
12967 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12968 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12969 header file nss/nsswitch.h.
12970 * nss/nsswitch.h (global scope): Add definition of implementation
12971 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12972 resolv/nss_dns/dns-host.c).
12974 2012-07-11 Andreas Jaeger <aj@suse.de>
12976 * po/fr.po: Update from translation team.
12978 * po/sv.po: Update from translation team
12979 * po/fr.po: Another update from translation team.
12981 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12983 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12984 for subnormals or multiply small sinh result by itself.
12985 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12988 2012-07-11 David S. Miller <davem@davemloft.net>
12990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12992 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12995 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12996 (INTERNAL_MARK): Shift it here.
12998 2012-07-10 Marek Polacek <polacek@redhat.com>
13001 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13002 libc_cv_asm_global_directive with .globl.
13003 * configure: Regenerated.
13004 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13006 * sysdeps/i386/configure: Regenerated.
13007 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13009 * sysdeps/x86_64/configure: Regenerated.
13010 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13011 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13012 * elf/tst-unique2mod2.c: Likewise.
13013 * elf/tst-unique2mod1.c: Likewise.
13014 * elf/tst-unique1mod2.c: Likewise.
13015 * elf/tst-unique1mod1.c: Likewise.
13016 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13017 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13018 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13019 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13020 * sysdeps/mach/sysdep.h: Likewise.
13021 * sysdeps/i386/sysdep.h: Likewise.
13022 * sysdeps/i386/i386-mcount.S: Likewise.
13023 * sysdeps/x86_64/_mcount.S: Likewise.
13024 * sysdeps/x86_64/sysdep.h: Likewise.
13025 * sysdeps/sh/_mcount.S: Likewise.
13026 * sysdeps/sh/sysdep.h: Likewise.
13027 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13028 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13029 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13030 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13031 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13032 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13033 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13034 * locale/localeinfo.h: Likewise.
13035 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13036 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13038 2012-07-09 Roland McGrath <roland@hack.frob.com>
13041 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13043 * manual/message.texi (The Uniforum approach): Likewise.
13044 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13045 (glibc iconv Implementation): Likewise.
13047 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13050 * math/s_clog.c (__clog): Avoid scaling a value down where that
13051 could result in underflow.
13052 * math/s_clog10.c (__clog10): Likewise.
13053 * math/s_clog10f.c (__clog10f): Likewise.
13054 * math/s_clog10l.c (__clog10l): Likewise.
13055 * math/s_clogf.c (__clogf): Likewise.
13056 * math/s_clogl.c (__clogl): Likewise.
13057 * math/libm-test.inc (clog_test): Add more tests.
13058 (clog10_test): Likewise.
13059 * sysdeps/i386/fpu/libm-test-ulps: Update.
13060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13062 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13065 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13066 by 7 not 8 to examine high bit of fractional part.
13069 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13070 for call to __mcount_internal.
13071 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13072 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13073 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13075 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13078 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13079 approximation for values within 0x1p-13f of an odd multiple of
13081 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13082 exception. Add more tests.
13083 * sysdeps/i386/fpu/libm-test-ulps: Update.
13086 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13087 inputs and return -1 for them. Do not check for +Inf in case not
13088 reachable for +Inf.
13089 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13090 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13091 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13092 and return -1 for them. Do not check for +Inf in case not
13093 reachable for +Inf.
13094 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13096 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13097 and return -1 for them. Do not check for +Inf in case not
13098 reachable for +Inf.
13099 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13100 spurious underflow.
13101 * sysdeps/i386/fpu/libm-test-ulps: Update.
13102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13104 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13106 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13108 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13112 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13113 could result in spurious underflow. Scale down values above
13114 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13115 * math/s_csqrtf.c (__csqrtf): Likewise.
13116 * math/s_csqrtl.c (__csqrtl): Likewise.
13117 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13118 spurious underflow.
13119 * sysdeps/i386/fpu/libm-test-ulps: Update.
13120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13122 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13124 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13126 * catgets/xopen-msg.awk: New file.
13127 * catgets/xopen-msg.sed: Removed.
13129 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13131 * intl/po2test.awk: New file.
13132 * intl/po2test.sed: Removed.
13134 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13137 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13138 or multiply small sinh result by itself.
13139 * math/s_ctanf.c (__ctanf): Likewise.
13140 * math/s_ctanh.c (__ctanh): Likewise.
13141 * math/s_ctanhf.c (__ctanhf): Likewise.
13142 * math/s_ctanhl.c (__ctanhl): Likewise.
13143 * math/s_ctanl.c (__ctanl): Likewise.
13144 * math/libm-test.inc (ctan_test_tonearest): New function.
13145 (ctan_test_towardzero): Likewise.
13146 (ctan_test_downward): Likewise.
13147 (ctan_test_upward): Likewise.
13148 (ctanh_test_tonearest): Likewise.
13149 (ctanh_test_towardzero): Likewise.
13150 (ctanh_test_downward): Likewise.
13151 (ctanh_test_upward): Likewise.
13152 (main): Call these new functions.
13153 * sysdeps/i386/fpu/libm-test-ulps: Update.
13154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13156 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13158 * .gitignore: Delete /ports entry.
13160 2012-07-03 Andreas Jaeger <aj@suse.de>
13162 * po/bg.po: Update from translation team.
13163 * po/cs.po: Likewise.
13164 * po/de.po: Likewise.
13165 * po/hr.po: Likewise.
13166 * po/nl.pl: Likewise.
13167 * po/pl.po: Likewise.
13168 * po/vi.po: Likewise.
13170 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13172 * Makeconfig [!+link] (+link-before-libc): New variable.
13173 [!+link] (+link-after-libc): Likewise.
13174 [!+link] (+link-tests): Likewise.
13175 [!+link] (+link): Define in terms of $(+link-before-libc) and
13176 $(+link-after-libc).
13177 [!+link-static] (+link-static-before-libc): New variable.
13178 [!+link-static] (+link-static-after-libc): Likewise.
13179 [!+link-static] (+link-static-tests): Likewise.
13180 [!+link-static] (+link-static): Define in terms of
13181 $(+link-static-before-libc) and $(+link-static-after-libc).
13182 [build-shared] (link-libc-before-gnulib): New variable.
13183 [build-shared] (link-libc-tests): Likewise.
13184 [build-shared] (link-libc): Define in terms of
13185 $(link-libc-before-gnulib).
13186 [!build-shared] (link-libc-tests): New variable.
13187 (link-libc-static-tests): New variable.
13188 [!gnulib] (gnulib-arch): New variable.
13189 [!gnulib] (gnulib-tests): Likewise.
13190 [!gnulib] (static-gnulib-arch): Likewise.
13191 [!gnulib] (static-gnulib-tests): Likewise.
13192 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13193 Define with "=" instead of ":=".
13194 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13195 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13196 * Rules (binaries-all-notests): New variable.
13197 (binaries-all-tests): Likewise.
13198 (binaries-static-notests): Likewise.
13199 (binaries-static-tests): Likewise.
13200 (binaries-all): Define using $(binaries-all-notests) and
13201 $(binaries-all-tests).
13202 (binaries-static): Define using $(binaries-static-notests) and
13203 $(binaries-static-tests).
13204 (binaries-shared-tests): New variable.
13205 (binaries-shared-notests): Likewise.
13206 (binaries-shared): Remove variable.
13207 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13208 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13209 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13210 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13211 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13212 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13213 * elf/Makefile (sln-modules): New variable.
13214 (extra-objs): Add $(sln-modules:=.o).
13215 (ldconfig-modules): Add static-stubs.
13216 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13217 * elf/static-stubs.c: New file.
13220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13221 by 7 not 8 to examine high bit of fractional part. Use volatile
13222 variables when splitting into final array of floats if
13223 __FLT_EVAL_METHOD__ != 0.
13224 * math/libm-test.inc (cos_test): Add another test.
13225 (sin_test): Likewise.
13226 * sysdeps/i386/fpu/libm-test-ulps: Update.
13229 * math/libm-test.inc (cosh_test): Add more tests.
13231 * version.h (RELEASE): Set to "development".
13232 (VERSION): Set to "2.16.90".
13234 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13236 * NEWS: Update copyright. Remove last-updated date.
13237 Mention math library bug fixes and timezone data changes.
13238 * README: Mention GNU/Hurd, x32, and HPPA support status.
13240 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13242 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13244 2012-06-27 Andreas Jaeger <aj@suse.de>
13246 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13248 2012-06-25 Andreas Jaeger <aj@suse.de>
13250 * sysdeps/s390/fpu/libm-test-ulps: Update.
13252 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13253 Thomas Schwinge <thomas@codesourcery.com>
13255 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13256 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13260 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13262 * sysdeps/mach/start.c: Remove file.
13263 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13264 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13265 * sysdeps/sh/init-first.c: Likewise.
13267 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13268 registers for frame unwinding purposes, add CFI directives.
13269 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13270 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13271 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13274 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13275 __fortify_fail returning.
13276 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13278 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13279 sysdeps/sh/____longjmp_chk.S.
13280 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13281 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13282 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13283 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13285 * sysdeps/sh/abort-instr.h: New file.
13286 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13287 process in case exit returns.
13289 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13290 initialize the GOT register before use.
13292 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13293 calculation of ARGC > 4.
13295 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13296 meaningful names to some local labels.
13298 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13299 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13301 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13302 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13303 (__arch_compare_and_exchange_val_16_acq): Likewise.
13304 (__arch_compare_and_exchange_val_32_acq): Likewise.
13305 (atomic_exchange_and_add): Fix gUSA sequence.
13306 (atomic_add): Likewise.
13307 (atomic_add_negative): Likewise.
13308 (atomic_add_zero): Likewise.
13309 (atomic_bit_test_set): Likewise.
13311 2012-06-22 Andreas Schwab <schwab@redhat.com>
13314 * include/link.h (struct link_map): Add l_free_initfini.
13315 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13317 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13318 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13319 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13322 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13324 * configure.in: Use AC_LANG_SOURCE.
13325 * configure: Regenerate.
13327 2012-06-22 Roland McGrath <roland@hack.frob.com>
13329 * configure.in (libc_cv_localstatedir): New substituted variable.
13330 * configure: Regenerated.
13331 * config.make.in (localstatedir): New variable, substituted from
13332 libc_cv_localstatedir.
13333 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13334 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13335 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13336 * sysdeps/gnu/configure: Regenerated.
13338 2012-06-21 Jeff Law <law@redhat.com>
13341 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13342 free. Simplify list management for _LIBC case.
13344 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13348 Clear sign bit of 64-bit integer value before comparing against
13351 * sysdeps/mach/configure: Regenerated.
13353 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13356 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13358 2012-06-21 Jeff Law <law@redhat.com>
13361 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13362 uint16_t for elements in the "seen" array to avoid char overflows.
13363 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13364 * elf/dl-open.c (dl_open_worker): Likewise.
13366 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13368 * scripts/list-sources.sh: Scan PORTS for translations.
13369 * po/libc.pot: Regenerated.
13371 2012-06-21 Andreas Jaeger <aj@suse.de>
13374 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13376 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13377 * bits/byteswap-16.h (__bswap_16): Likewise.
13378 * bits/byteswap.h (__bswap_constant_16): Likewise.
13380 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13383 * sysdeps/i386/fpu_control.h: Removed.
13384 * sysdeps/x86_64/fpu_control.h: Moved to ...
13385 * sysdeps/x86/fpu_control.h: Here.
13387 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13388 (_FPU_SETCW): Likewise.
13390 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13393 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13394 * sysdeps/x86/fpu/bits/mathinline.h: This.
13395 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13399 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13400 functions if __x86_64__ is defined.
13402 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13404 * string/endian.h: Add !__ASSEMBLER__ condition for including
13405 conversion interfaces.
13407 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13411 of ABS(x) in calculating zero to negative powers other than odd
13413 * math/libm-test.inc (pow_test): Add more tests.
13415 2012-06-15 Andreas Jaeger <aj@suse.de>
13417 * manual/contrib.texi (Contributors): Update entry of Liubov
13418 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13421 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13423 * string/string.h: Add __wur to GNU version of strerror_r.
13425 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13428 * string/Makefile (tests): Add tst-strtok_r.
13429 * string/tst-strtok_r.c: New file.
13430 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13431 RAX_LP/RDX_LP on SAVE_PTR.
13433 2012-06-14 Roland McGrath <roland@hack.frob.com>
13435 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13437 2012-06-14 Joseph Myers <joseph@codesourcery.com>
13439 * libm_test.inc (csqrt_test): Allow more spurious underflow
13441 (j0_test): Likewise.
13442 (j1_test): Likewise.
13443 (y0_test): Likewise.
13444 (y1_test): Likewise.
13446 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13448 * po/Makefile (libc.pot): Use UTF-8 charset.
13450 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13453 Suppress sign-conversion warning from FD_SET.
13454 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13455 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13456 not unsigned long int.
13457 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13459 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13463 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13464 __extern_always_inline instead of __extern_inline.
13465 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13466 (__signbit): Likewise.
13467 (__signbitl): Support C++ namespace.
13468 (lrintf): New inline function.
13470 (llrintf): Likewise.
13471 (llrint): Likewise.
13481 (floorf): Likewise.
13482 (nearbyint): Likewise.
13483 (nearbyintf): Likewise.
13485 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13487 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13488 non-default versions.
13490 2012-06-11 Roland McGrath <roland@hack.frob.com>
13493 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13495 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13497 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13498 (FE_UPWARD, FE_DOWNWARD): Don't define.
13499 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13500 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13502 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13504 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13505 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13507 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13509 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13511 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13512 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13514 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13517 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13518 * sysdeps/i386/fpu/Implies: New file.
13519 * sysdeps/x86_64/fpu/Implies: Likewise.
13520 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13521 * sysdeps/x86/fpu/bits/fenv.h: This.
13523 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13526 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13529 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13530 character 0xffff that matches the last element of the
13533 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13538 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13540 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13541 values higher than 25.6283.
13543 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13545 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13546 subnormal exponent extraction and add some __builtin_expect.
13547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13548 Fix for subnormal mantissa calculation.
13550 2012-06-04 Mike Frysinger <vapier@gentoo.org>
13552 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13553 cpu2 is -1 and errno is not ENOSYS.
13555 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13558 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13559 * sysdeps/x86/bits/string.h: This.
13560 * sysdeps/x86_64/bits/string.h: Removed.
13562 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13563 if not compiling for x86-64, but compiling for >= i486.
13565 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13566 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13568 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13569 New macro from Linux kernel 3.4.0.
13570 (FP_XSTATE_MAGIC2): Likewise.
13571 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13572 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13573 (struct _fpx_sw_bytes): New struct.
13574 (struct _xsave_hdr): Likewise.
13575 (struct _ymmh_state): Likewise.
13576 (struct _xstate): Likewise.
13578 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13579 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13580 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13581 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13582 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13583 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13585 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13586 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13587 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13588 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13589 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13590 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13592 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13595 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13596 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13597 (sysdep_headers): Include sys/platform/ppc.h.
13598 * sysdeps/powerpc/test-gettimebase.c: Test for
13599 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13600 * manual/Makefile (appendices): Include platform.texi.
13601 * manual/contrib.texi (Contributors): Update @node pointers.
13602 * manual/maint.texi (Maintenance): Likewise.
13603 (Platform): New node.
13604 * manual/platform.texi: New file. Document the new features.
13606 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13607 Jakub Jelinek <jakub@redhat.com>
13610 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13611 where __builtin_expect is unavailable.
13613 2012-06-03 David S. Miller <davem@davemloft.net>
13615 * stdlib/longlong.h: Updated from GCC.
13617 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13620 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13621 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13624 (GLIBC_2.16): Likewise.
13626 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13628 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13630 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13633 (default-abi): New variable.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13635 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13637 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13639 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13641 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13644 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13645 definition. Document in comment.
13647 2012-06-01 David S. Miller <davem@davemloft.net>
13649 * stdlib/longlong.h: Updated from GCC.
13651 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13654 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13655 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13656 sys/debugreg.h sys/io.h here.
13657 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13658 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13660 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13661 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13662 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13663 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13664 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13665 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13667 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13668 Define only if __x86_64__ is defined.
13670 2012-06-01 Joseph Myers <joseph@codesourcery.com>
13673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13674 Use int64_t for variable i.
13675 * math/libm-test.inc (fmod_test): Add more tests.
13677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13678 z computation is not scheduled after fetestexcept.
13679 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13680 Use math_force_eval instead of asm to ensure calculation scheduled
13681 before exception test.
13682 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13683 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13685 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13688 computation is not scheduled after fetestexcept.
13690 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13693 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13694 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13696 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13698 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13699 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13701 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13704 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13706 (__WCHAR_MIN): Support __WORDSIZE == 64.
13707 (__WCHAR_MAX): Likewise.
13709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13714 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13717 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13718 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13720 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13721 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13723 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13724 Defined to 1 if __x86_64__ isn't defined.
13725 (_STAT_VER_LINUX_OLD): New.
13726 (st_atime): Remove duplicate.
13727 (st_mtime): Likewise.
13728 (st_ctime): Likewise.
13730 2012-05-31 David S. Miller <davem@davemloft.net>
13732 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13735 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13737 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13741 * elf/dl-reloc.c: Include <_itoa.h>.
13742 (_dl_reloc_bad_type): Remove use of INTUSE.
13743 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13744 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13745 * stdio-common/psiginfo.c (psiginfo): Likewise.
13746 * stdio-common/psignal.c (psignal): Likewise.
13747 * string/strsignal.c (strsignal): Likewise.
13748 * include/signal.h (_sys_siglist): Declare hidden proto.
13749 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13750 INTVARDEF with libc_hidden_data_def.
13751 * stdio-common/itoa-udigits.c: Likewise.
13752 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13753 (_itoa_lower_digits_internal): Remove declaration.
13754 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13755 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13756 (_sys_sigabbrev_internal): Remove aliases.
13757 (_sys_siglist): Define hidden alias.
13759 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13764 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13767 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13768 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13770 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13771 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13772 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13773 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13775 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13777 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13778 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13779 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13781 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13789 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13790 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13791 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13793 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13794 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13796 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13797 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13798 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13800 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13801 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13803 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13804 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13806 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13808 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13810 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13811 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13813 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13815 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13816 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13817 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13819 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13821 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13823 2012-05-31 Joseph Myers <joseph@codesourcery.com>
13825 * math/math.h (M_El): Use two more decimal places.
13826 (M_LOG2El): Likewise.
13827 (M_LOG10El): Likewise.
13828 (M_LN2l): Likewise.
13829 (M_LN10l): Likewise.
13831 (M_PI_2l): Likewise.
13832 (M_PI_4l): Likewise.
13833 (M_1_PIl): Likewise.
13834 (M_2_PIl): Likewise.
13835 (M_2_SQRTPIl): Likewise.
13836 (M_SQRT2l): Likewise.
13837 (M_SQRT1_2l): Likewise.
13839 2012-05-31 David S. Miller <davem@davemloft.net>
13841 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13842 values between float registers.
13843 * sysdeps/sparc/sparc64/memset.S: Likewise.
13844 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13846 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13848 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13849 -D_FORTIFY_SOURCE=1.
13850 (CPPFLAGS-tst-longjmp_chk.c): Define.
13851 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13852 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13853 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13854 CFLAGS-tst-wchar-h.c.
13856 2012-05-31 Marek Polacek <polacek@redhat.com>
13859 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13860 __endmntent_internal): Remove declaration.
13861 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13862 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13863 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13865 2012-05-30 David S. Miller <davem@davemloft.net>
13867 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13868 (___Q_simulate_exceptions): Use real FP ops rather than writing
13870 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13873 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13876 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13877 * sysdeps/x86/bits/xtitypes.h: This.
13879 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13880 * sysdeps/x86/bits/wordsize.h: This.
13882 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13883 * sysdeps/x86/bits/huge_vall.h: This.
13885 * sysdeps/i386/bits/select.h: Removed.
13886 * sysdeps/x86_64/bits/select.h: Renamed to ...
13887 * sysdeps/x86/bits/select.h: This.
13889 * sysdeps/i386/bits/setjmp.h: Removed.
13890 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13891 * sysdeps/x86/bits/setjmp.h: This.
13893 * sysdeps/i386/bits/mathdef.h: Removed.
13894 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13895 * sysdeps/x86/bits/mathdef.h: This.
13897 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13900 * include/sys/socket.h (__connect_internal)
13901 (__libc_sa_len_internal): Remove declaration.
13902 (__connect, __libc_sa_len): Declare hidden_proto.
13903 (SA_LEN): Remove use of INTUSE.
13904 * socket/connect.c: Add libc_hidden_def.
13905 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13906 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13907 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13909 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13910 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13911 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13912 of adding _internal alias.
13914 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13917 * sysdeps/i386/bits/link.h: Removed.
13918 * sysdeps/i386/bits/linkmap.h: Likewise.
13919 * sysdeps/x86_64/bits/link.h: Renamed to ...
13920 * sysdeps/x86/bits/link.h: This.
13921 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13922 * sysdeps/x86/bits/linkmap.h: This.
13924 * sysdeps/i386/bits/endian.h: Removed.
13925 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13926 * sysdeps/x86/bits/endian.h: This.
13928 * sysdeps/i386/bits/byteswap.h: Removed.
13929 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13930 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13931 * sysdeps/x86/bits/byteswap.h: This.
13932 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13933 * sysdeps/x86/bits/byteswap-16.h: This.
13934 * sysdeps/i386/Implies: Add x86.
13935 * sysdeps/x86_64/Implies: Likewise.
13937 2012-05-30 David S. Miller <davem@davemloft.net>
13939 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13940 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13942 (FP_TRAPPING_EXCEPTIONS): Define.
13943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13944 (FP_TRAPPING_EXCEPTIONS): Define.
13945 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13946 subnormals only when inexact has been signalled or underflow
13947 exceptions are enabled.
13948 (_FP_PACK_CANONICAL): Likewise.
13950 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13953 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13954 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13956 2012-05-30 Richard Henderson <rth@twiddle.net>
13958 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13959 with #ifndef NOT_IN_libc.
13961 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13962 marked to avoid plt entry.
13964 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13967 * Makeconfig (default-abi): New macro.
13968 (abi-includes): Likewise.
13969 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13970 $(abi-$(default-abi)-lib-soname) for soname if defined.
13971 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13973 * Makefile (installed-stubs): Likewise.
13974 * include/stubs-biarch.h: Removed.
13975 * scripts/lib-names.awk: Only handle one library at a time.
13976 * scripts/soversions.awk: Remove WORDSIZE support.
13977 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13979 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13981 (syscall-list-default-condition): Likewise.
13982 (syscall-list-default-condition): Likewise.
13983 (syscall-list-includes): Likewise.
13984 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13985 syscall-list-* with abi-*. Handle undefined abi-variants.
13986 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13987 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13988 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13989 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13990 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13991 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13993 (syscall-list-32-options): Likewise.
13994 (syscall-list-32-condition): Likewise.
13995 (syscall-list-64-options): Likewise.
13996 (syscall-list-64-condition): Likewise.
13997 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13999 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14002 (abi-64-ld-soname): New macro.
14003 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14007 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14008 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14010 2012-05-30 Joseph Myers <joseph@codesourcery.com>
14012 * sysdeps/unix/sysv/linux/kernel-features.h
14013 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14014 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14015 include <kernel-features.h>.
14016 [!__NR_ftruncate64]: Remove conditional code.
14017 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14018 [__NR_ftruncate64]: Make code unconditional.
14019 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14020 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14021 include <kernel-features.h>.
14022 [!__NR_ftruncate64]: Remove conditional code.
14023 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14024 [__NR_ftruncate64]: Make code unconditional.
14025 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14027 include <kernel-features.h>.
14028 [!__NR_ftruncate64]: Remove conditional code.
14029 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14030 [__NR_ftruncate64]: Make code unconditional.
14031 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14033 include <kernel-features.h>.
14034 [!__NR_ftruncate64]: Remove conditional code.
14035 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14036 [__NR_ftruncate64]: Make code unconditional.
14037 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14039 * configure.in (libc_cv_fpie): Weaken to a compile test using
14040 LIBC_TRY_CC_OPTION.
14041 * configure: Regenerated.
14043 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14058 2012-05-27 David S. Miller <davem@davemloft.net>
14060 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14062 (__Q_simulate_exceptions): Return void. Change to simulate
14063 exceptions by writing into the %fsr.
14064 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14065 (__Qp_handle_exceptions): Likewise.
14067 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14068 __Qp_handle_exceptions.
14069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14070 __Qp_handle_exceptions.
14071 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14072 as unused and give dummy FP_RND_NEAREST initializer.
14073 (FP_INHIBIT_RESULTS): Define.
14074 (___Q_simulate_exceptions): Update declaration.
14075 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14077 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14078 as unused and give dummy FP_RND_NEAREST initializer.
14079 (__Qp_handle_exceptions): Update declaration.
14080 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14083 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14085 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14086 the temporary FPU control word.
14087 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14088 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14089 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14090 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14091 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14092 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14093 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14094 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14095 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14096 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14099 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14101 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14104 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14106 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14107 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14108 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14109 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14111 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14112 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14115 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14117 * po/h.po: Update from translation team.
14119 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14121 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14123 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14124 handling of denormals.
14125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14126 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14128 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14130 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14134 2012-05-26 Marek Polacek <polacek@redhat.com>
14137 * math/libm-test.inc (fma_test): Don't always expect underflow
14140 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14143 * elf/tst-execstack.c: Include stackinfo.h.
14144 (do_test): Adjust test case to ensure that pthread_getattr_np
14145 behaviour remains the same after marking stack executable.
14147 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14149 * sysdeps/unix/sysv/linux/kernel-features.h
14150 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14151 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14153 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14154 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14155 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14157 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14158 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14160 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14162 * configure.in: Define the default includes to being none.
14163 * configure: Regenerated.
14165 2012-05-25 Roland McGrath <roland@hack.frob.com>
14167 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14168 * sysdeps/x86_64/setjmp.S: Likewise.
14169 * sysdeps/i386/bsd-setjmp.S: Likewise.
14170 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14171 * sysdeps/i386/setjmp.S: Likewise.
14172 * sysdeps/i386/__longjmp.S: Likewise.
14173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14174 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14176 * include/stap-probe.h: New file.
14177 * configure.in: Handle --enable-systemtap.
14178 * configure: Regenerated.
14179 * config.h.in (USE_STAP_PROBE): New #undef.
14180 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14181 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14182 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14184 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14188 to 2.4.0 where earlier.
14189 * sysdeps/unix/sysv/linux/configure: Regenerated.
14190 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14191 <kernel-features.h>.
14192 [__ASSUME_32BITUIDS]: Make code unconditional.
14193 [!__ASSUME_32BITUIDS]: Remove conditional code.
14194 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14195 <kernel-features.h>.
14196 [__ASSUME_32BITUIDS]: Make code unconditional.
14197 [!__ASSUME_32BITUIDS]: Remove conditional code.
14198 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14199 [__ASSUME_32BITUIDS]: Make code unconditional.
14200 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14201 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14202 <kernel-features.h>.
14203 [__ASSUME_32BITUIDS]: Make code unconditional.
14204 [!__ASSUME_32BITUIDS]: Remove conditional code.
14205 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14206 <kernel-features.h>.
14207 [__ASSUME_32BITUIDS]: Make code unconditional.
14208 [!__ASSUME_32BITUIDS]: Remove conditional code.
14209 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
14242 <kernel-features.h>.
14243 [__NR_setresgid] (__setresgid): Do not declare.
14244 [__ASSUME_32BITUIDS]: Make code unconditional.
14245 [!__ASSUME_32BITUIDS]: Remove conditional code.
14246 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14247 <kernel-features.h>.
14248 [__NR_setresuid] (__setresuid): Do not declare.
14249 [__ASSUME_32BITUIDS]: Make code unconditional.
14250 [!__ASSUME_32BITUIDS]: Remove conditional code.
14251 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14252 <kernel-features.h>.
14253 [__ASSUME_32BITUIDS]: Make code unconditional.
14254 [!__ASSUME_32BITUIDS]: Remove conditional code.
14255 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14256 <kernel-features.h>.
14257 [__ASSUME_32BITUIDS]: Make code unconditional.
14258 [!__ASSUME_32BITUIDS]: Remove conditional code.
14259 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14260 <kernel-features.h>.
14261 [__ASSUME_32BITUIDS]: Make code unconditional.
14262 [!__ASSUME_32BITUIDS]: Remove conditional code.
14263 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14264 <kernel-features.h>.
14265 [__ASSUME_32BITUIDS]: Make code unconditional.
14266 [!__ASSUME_32BITUIDS]: Remove conditional code.
14267 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14268 <kernel-features.h>.
14269 [__ASSUME_32BITUIDS]: Make code unconditional.
14270 [!__ASSUME_32BITUIDS]: Remove conditional code.
14271 * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.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/i386/setreuid.c: Do not include
14280 <kernel-features.h>.
14281 [__ASSUME_32BITUIDS]: Make code unconditional.
14282 [!__ASSUME_32BITUIDS]: Remove conditional code.
14283 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14284 <kernel-features.h>.
14285 [__ASSUME_32BITUIDS]: Make code unconditional.
14286 [!__ASSUME_32BITUIDS]: Remove conditional code.
14287 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14288 <kernel-features.h>.
14289 [__ASSUME_32BITUIDS]: Make code unconditional.
14290 [!__ASSUME_32BITUIDS]: Remove conditional code.
14291 * sysdeps/unix/sysv/linux/kernel-features.h
14292 (__ASSUME_SETRESUID_SYSCALL): Remove.
14293 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14294 (__ASSUME_32BITUIDS): Likewise.
14295 (__ASSUME_LDT_WORKS): Likewise.
14296 (__ASSUME_O_DIRECTORY): Likewise.
14297 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14298 architecture but not kernel version.
14299 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14300 (__ASSUME_MMAP2_SYSCALL): Likewise.
14301 (__ASSUME_STAT64_SYSCALL): Likewise.
14302 (__ASSUME_IPC64): Likewise.
14303 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14304 <kernel-features.h>.
14305 [__ASSUME_32BITUIDS]: Make code unconditional.
14306 [!__ASSUME_32BITUIDS]: Remove conditional code.
14307 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14308 <kernel-features.h>.
14309 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14310 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14311 132096]: Remove conditional code.
14312 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14313 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14314 <kernel-features.h>.
14315 [__ASSUME_32BITUIDS]: Make code unconditional.
14316 [!__ASSUME_32BITUIDS]: Remove conditional code.
14317 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14318 <kernel-features.h>.
14319 [__ASSUME_32BITUIDS]: Make code unconditional.
14320 [!__ASSUME_32BITUIDS]: Remove conditional code.
14321 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14322 <kernel-features.h>.
14323 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14325 (__setresgid): Do not declare.
14326 [__ASSUME_32BITUIDS]: Make code unconditional.
14327 [!__ASSUME_32BITUIDS]: Remove conditional code.
14328 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14329 <kernel-features.h>.
14330 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14332 (__setresuid): Do not declare.
14333 [__ASSUME_32BITUIDS]: Make code unconditional.
14334 [!__ASSUME_32BITUIDS]: Remove conditional code.
14335 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14336 <kernel-features.h>.
14337 [__ASSUME_32BITUIDS]: Make code unconditional.
14338 [!__ASSUME_32BITUIDS]: Remove conditional code.
14339 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14340 <kernel-features.h>.
14341 [__ASSUME_32BITUIDS]: Make code unconditional.
14342 [!__ASSUME_32BITUIDS]: Remove conditional code.
14344 2012-05-25 Richard Henderson <rth@twiddle.net>
14346 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14347 dl_hwcap to ifunc resolver.
14348 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14350 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14351 dl_hwcap to ifunc resolver.
14352 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14354 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14357 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14358 for |x| <= 2**-26, not 2**-57.
14359 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14362 2012-05-24 Jeff Law <law@redhat.com>
14364 * stdio-common/Makefile (tests): Add bug25.
14365 * stdio-common/bug25.c: New test.
14367 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14370 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14371 multiple of MALLOC_ALIGNMENT in size.
14372 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14374 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14376 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14378 (FILENAME_MAX): Use macro-int-constant.
14379 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14380 (_IOFBF): Use macro-int-constant.
14381 (_IOLBF): Likewise.
14382 (_IONBF): Likewise.
14383 (SEEK_CUR): Likewise.
14384 (SEEK_END): Likewise.
14385 (SEEK_SET): Likewise.
14386 (TMP_MAX): Likewise.
14387 (EOF): Use macro-int-constant. Require < 0.
14388 (NULL): Use macro-constant. Require == 0.
14389 (stdin): Require type to be FILE *.
14390 (stdout): Likewise.
14391 (stderr): Likewise.
14392 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14393 macro-int-constant.
14394 (EXIT_SUCCESS): Likewise.
14395 (NULL): Use macro-constant. Require == 0.
14396 (RAND_MAX): Use macro-int-constant.
14397 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14398 [C99-based standards] (strtof): Require function.
14399 [C99-based standards] (strtold): Likewise.
14400 [C99-based standards] (strtoll): Likewise.
14401 [C99-based standards] (strtoull): Likewise.
14402 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14403 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14404 [ISO || ISO99 || ISO11] (math.h): Likewise.
14405 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14406 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14409 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14412 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14413 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14414 * intl/dgettext.c (DCGETTEXT): Likewise.
14415 * intl/gettext.c (DCGETTEXT): Likewise.
14416 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14417 * posix/regex_internal.h (gettext): Likewise.
14418 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14419 Remove declaration.
14420 * include/argz.h (__argz_count_internal)
14421 (__argz_stringify_internal): Remove declaration.
14422 (__argz_count, __argz_stringify): Declare hidden proto.
14423 * intl/dcgettext.c: Remove use of INTDEF.
14424 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14425 * string/argz-stringify.c: Likewise.
14426 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14427 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14428 Declare hidden proto.
14429 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14430 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14431 Declare hidden proto.
14432 * include/stdio.h (__asprintf_internal): Don't declare.
14433 (__asprintf): Don't define as macro. Declare hidden proto.
14434 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14435 (__fsetlocking): Declare hidden proto.
14436 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14437 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14439 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14440 (_IO_setlinebuf): Remove use of INTUSE.
14441 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14442 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14443 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14444 Remove declaration.
14445 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14446 (_IO_do_flush): Remove use of INTUSE.
14447 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14448 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14449 (_IO_adjust_column, _IO_least_wmarker)
14450 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14451 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14452 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14453 (_IO_default_doallocate, _IO_wdefault_doallocate)
14454 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14455 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14456 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14457 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14458 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14459 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14460 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14461 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14462 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14463 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14464 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14465 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14466 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14468 (_IO_flush_all_internal, _IO_adjust_column_internal)
14469 (_IO_default_uflow_internal, _IO_default_finish_internal)
14470 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14471 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14472 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14473 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14474 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14475 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14476 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14477 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14478 (_IO_file_close_internal, _IO_file_close_it_internal)
14479 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14480 (_IO_file_init_internal, _IO_file_attach_internal)
14481 (_IO_file_fopen_internal, _IO_file_read_internal)
14482 (_IO_file_sync_internal, _IO_file_seek_internal)
14483 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14484 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14485 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14486 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14487 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14488 (_IO_list_all_internal, _IO_link_in_internal)
14489 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14490 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14491 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14492 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14493 (_IO_do_write_internal, _IO_padn_internal)
14494 (_IO_getline_info_internal, _IO_getline_internal)
14495 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14496 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14497 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14498 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14499 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14500 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14501 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14502 with libc_hidden_ver, remove use of INTUSE.
14503 * libio/genops.c: Likewise.
14504 * libio/freopen.c: Likewise.
14505 * libio/freopen64.c: Likewise.
14506 * libio/iofclose.c: Likewise.
14507 * libio/iofdopen.c: Likewise.
14508 * libio/iofflush.c: Likewise.
14509 * libio/iofflush_u.c: Likewise.
14510 * libio/iofgets.c: Likewise.
14511 * libio/iofgets_u.c: Likewise.
14512 * libio/iofopen.c: Likewise.
14513 * libio/iofopncook.c: Likewise.
14514 * libio/iofread.c: Likewise.
14515 * libio/iofread_u.c: Likewise.
14516 * libio/ioftell.c: Likewise.
14517 * libio/iofwrite.c: Likewise.
14518 * libio/iogetline.c: Likewise.
14519 * libio/iogets.c: Likewise.
14520 * libio/iogetwline.c: Likewise.
14521 * libio/iopadn.c: Likewise.
14522 * libio/iopopen.c: Likewise.
14523 * libio/ioseekoff.c: Likewise.
14524 * libio/ioseekpos.c: Likewise.
14525 * libio/iosetbuffer.c: Likewise.
14526 * libio/iosetvbuf.c: Likewise.
14527 * libio/ioungetc.c: Likewise.
14528 * libio/ioungetwc.c: Likewise.
14529 * libio/iovdprintf.c: Likewise.
14530 * libio/iovsprintf.c: Likewise.
14531 * libio/iovsscanf.c: Likewise.
14532 * libio/memstream.c: Likewise.
14533 * libio/obprintf.c: Likewise.
14534 * libio/oldfileops.c: Likewise.
14535 * libio/oldiofclose.c: Likewise.
14536 * libio/oldiofdopen.c: Likewise.
14537 * libio/oldiofopen.c: Likewise.
14538 * libio/oldiopopen.c: Likewise.
14539 * libio/oldstdfiles.c: Likewise.
14540 * libio/putc.c: Likewise.
14541 * libio/setbuf.c: Likewise.
14542 * libio/setlinebuf.c: Likewise.
14543 * libio/stdfiles.c: Likewise.
14544 * libio/strops.c: Likewise.
14545 * libio/vasprintf.c: Likewise.
14546 * libio/vscanf.c: Likewise.
14547 * libio/vsnprintf.c: Likewise.
14548 * libio/vswprintf.c: Likewise.
14549 * libio/wfiledoalloc.c: Likewise.
14550 * libio/wfileops.c: Likewise.
14551 * libio/wgenops.c: Likewise.
14552 * libio/wmemstream.c: Likewise.
14553 * libio/wstrops.c: Likewise.
14554 * libio/__fpurge.c: Likewise.
14555 * libio/__fsetlocking.c: Likewise.
14556 * assert/assert.c: Likewise.
14557 * debug/fgets_chk.c: Likewise.
14558 * debug/fgets_u_chk.c: Likewise.
14559 * debug/fread_chk.c: Likewise.
14560 * debug/fread_u_chk.c: Likewise.
14561 * debug/gets_chk.c: Likewise.
14562 * debug/obprintf_chk.c: Likewise.
14563 * debug/vasprintf_chk.c: Likewise.
14564 * debug/vdprintf_chk.c: Likewise.
14565 * debug/vsnprintf_chk.c: Likewise.
14566 * debug/vsprintf_chk.c: Likewise.
14567 * malloc/mtrace.c: Likewise.
14568 * misc/error.c: Likewise.
14569 * misc/syslog.c: Likewise.
14570 * stdio-common/asprintf.c: Likewise.
14571 * stdio-common/fxprintf.c: Likewise.
14572 * stdio-common/getw.c: Likewise.
14573 * stdio-common/isoc99_fscanf.c: Likewise.
14574 * stdio-common/isoc99_scanf.c: Likewise.
14575 * stdio-common/isoc99_vfscanf.c: Likewise.
14576 * stdio-common/isoc99_vscanf.c: Likewise.
14577 * stdio-common/isoc99_vsscanf.c: Likewise.
14578 * stdio-common/printf-prs.c: Likewise.
14579 * stdio-common/printf_fp.c: Likewise.
14580 * stdio-common/printf_fphex.c: Likewise.
14581 * stdio-common/printf_size.c: Likewise.
14582 * stdio-common/putw.c: Likewise.
14583 * stdio-common/scanf.c: Likewise.
14584 * stdio-common/sprintf.c: Likewise.
14585 * stdio-common/tmpfile.c: Likewise.
14586 * stdio-common/vfprintf.c: Likewise.
14587 * stdio-common/vfscanf.c: Likewise.
14588 * stdlib/strfmon_l.c: Likewise.
14589 * sunrpc/openchild.c: Likewise.
14590 * sunrpc/xdr_stdio.c: Likewise.
14591 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14592 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14594 2012-05-24 Roland McGrath <roland@hack.frob.com>
14596 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14598 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14599 in the third column, to generate for the shared library an IFUNC
14600 that uses _dl_vdso_vsym.
14601 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14602 * Makeconfig (object-suffixes-noshared): New variable.
14604 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14605 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14606 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14607 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14610 * include/sys/time.h (__gettimeofday): Remove macro.
14611 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14612 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14614 (__gettimeofday): Add libc_hidden_def.
14615 (gettimeofday): Add libc_hidden_weak.
14616 * sysdeps/mach/gettimeofday.c: Likewise.
14617 * sysdeps/posix/gettimeofday.c: Likewise.
14618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14619 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14621 (__gettimeofday_internal): Remove strong_alias.
14622 (__gettimeofday): Add libc_hidden_def.
14623 (gettimeofday): Add libc_hidden_weak.
14624 * sysdeps/unix/syscalls.list (gettimeofday):
14625 Remove __gettimeofday_internal alias.
14627 2012-05-24 Daniel Jacobowitz <drow@false.org>
14628 H.J. Lu <hongjiu.lu@intel.com>
14631 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14632 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14633 (largebin_index_32_big): New.
14634 (largebin_index): Use it for 16-byte alignment.
14635 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14636 correction with front_misalign.
14638 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14666 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14667 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14669 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14673 * math/libm-test.inc (exp_test): Add test from bug 14036.
14674 (pow_test): Add test from bug 10846.
14676 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14678 (special_function): Do not include flags in test name.
14679 (parse_args): Likewise.
14680 * sysdeps/i386/fpu/libm-test-ulps: Update.
14681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14682 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14683 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14686 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14688 * math/libm-test.inc ("Philosophy"): Update comment about
14690 (UNDERFLOW_EXCEPTION): New macro.
14691 (UNDERFLOW_EXCEPTION_OK): Likewise.
14692 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14693 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14694 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14695 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14696 (INVALID_EXCEPTION_OK): Update value.
14697 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14698 (OVERFLOW_EXCEPTION_OK): Likewise.
14699 (IGNORE_ZERO_INF_SIGN): Likewise.
14700 (test_exceptions): Handle underflow exceptions.
14701 (acos_test): Update for underflow exception expectations.
14702 (cexp_test): Likewise.
14703 (clog_test): Likewise.
14704 (clog10_test): Likewise.
14705 (csqrt_test): Likewise.
14706 (ctan_test): Likewise.
14707 (ctanh_test): Likewise.
14708 (exp_test): Likewise.
14709 (exp10_test): Likewise.
14710 (exp2_test): Likewise.
14711 (expm1_test): Likewise.
14712 (fma_test): Likewise.
14713 (j0_test): Likewise.
14714 (jn_test): Likewise.
14715 (nexttoward_test): Likewise.
14716 (pow_test): Likewise.
14717 (scalbn_test): Likewise.
14718 (scalbln_test): Likewise.
14719 (tan_test): Likewise.
14720 (y1_test): Likewise.
14721 * sysdeps/i386/fpu/libm-test-ulps: Update.
14722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724 2012-05-23 David S. Miller <davem@davemloft.net>
14726 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14727 (__libc_sigaction): Remove unused local variables.
14729 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14731 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14733 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14735 mktime: avoid signed integer overflow
14736 * time/mktime.c (__mktime_internal): Do not mishandle the case
14737 where diff == INT_MIN.
14739 mktime: simplify computation of average
14740 * time/mktime.c (ranged_convert): Use new time_t_avg function
14741 instead of rolling our own (probably-slower) code.
14743 mktime: do not assume signed right shift propagates sign bit
14744 * time/mktime.c (isdst_differ): New static function.
14745 (__mktime_internal): No need to normalize tm_isdst now.
14746 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14749 mktime: merge another wrapv change from gnulib
14750 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14751 from some compilers.
14753 mktime: remove incorrect attempt at unusual arithmetics
14754 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14755 The code didn't really work on such machines anyway.
14756 (TYPE_MINIMUM): Assume two's complement.
14757 (twos_complement_arithmetic): Verify that long_int and time_t
14758 are two's complement (or unsigned, in the latter case).
14760 mktime: check signed shifts on long_int and time_t, too
14761 * time/mktime.c (SHR): Check that shifts work as desired
14762 on the types long_int and time_t too, as SHR is used on
14765 mktime: do not assume 'long' is wide enough
14766 * time/mktime.c (verify): Move decl up.
14767 (long_int): New type.
14768 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14769 to remove assumption in the code that 'long' is wide enough to
14770 store year values. This assumption is not true on x32 and on
14771 some non-glibc platforms.
14773 mktime: merge wrapv change from gnulib
14774 * time/mktime.c (WRAPV): New macro.
14775 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14776 (guess_time_tm, __mktime_internal): Do not assume that signed
14777 integer overflow wraps around; modern compilers generate code
14778 where this assumption is no longer valid.
14780 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14782 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14783 Replace "jmp L(pseudo_end)" with "ret".
14784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14787 2012-05-23 Andreas Jaeger <aj@suse.de>
14789 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14790 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14792 2012-05-23 Andreas Jaeger <aj@suse.de>
14793 Maximilian Attems <max@stro.at>
14795 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14798 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14800 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14801 code so that pseudo_end is just ret and the stack pointer is
14802 correct also for static library in error case.
14804 2012-05-23 Joseph Myers <joseph@codesourcery.com>
14806 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14807 move to syscalls.list.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14813 * manual/install.texi (Running make install): Do not mention Linux
14814 kernel version for which pt_chown is not needed.
14815 (Linux): Do not mention problems with nscd with 2.0 kernels.
14816 * INSTALL: Regenerated.
14818 2012-05-23 Andreas Jaeger <aj@suse.de>
14820 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14821 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14823 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14825 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14826 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14827 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14830 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14832 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14833 * sysdeps/unix/sysv/linux/bits/in.h
14834 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14836 2012-05-22 Roland McGrath <roland@hack.frob.com>
14838 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14839 (PREPARE_VERSION): Just use assert instead, it will be elided
14840 under [NDEBUG] anyway.
14842 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14844 * sysdeps/unix/sysv/linux/Makefile: Include
14845 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14846 (sysdep_routines): Remove sysctl.
14847 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14848 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14849 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14850 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14851 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14853 2012-05-22 Andreas Jaeger <aj@suse.de>
14855 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14856 that pseudo_end is just ret and the stack pointer is correct also
14857 for static library in error case.
14859 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14862 * nss/nsswitch.c (defconfig_entries): New variable.
14863 (__nss_database_lookup): Don't leak defconfig entries.
14864 (nss_parse_service_list): Don't leak on error paths.
14865 (free_database_entries): New function.
14866 (free_defconfig): New function.
14867 (free_mem): Move common code to free_database_entries.
14869 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14871 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14873 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14875 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14876 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14879 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14880 (INTERNAL_SYSCALL_TYPES): Likewise.
14881 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14882 (LOAD_REGS_TYPES_[1-6]): Likewise.
14883 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14884 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14886 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14888 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14889 copysignl for GLIBC_2_0.
14890 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14891 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14893 logbl for GLIBC_2_0.
14894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14895 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14897 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14900 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14902 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14905 * time/mktime.c: Update copyright years.
14907 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14909 mktime: merge comment-quoting-style change from gnulib
14910 * time/mktime.c: Quote 'like this' in comments.
14911 The GNU coding standards suggest that we no longer quote `like this',
14912 as "`" and "'" are typically rendered asymmetrically nowadays.
14913 The typical gnulib style is to quote 'like this' when quoting
14914 code, and "like this" when quoting English.
14916 * time/mktime.c (compile-command): Add "-I.".
14918 mktime: merge mktime-internal.h change from gnulib
14919 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14921 mktime: merge time_r change from gnulib
14922 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14924 mktime: merge DEBUG change from gnulib
14925 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14926 case system <time.h> has a #define.
14928 mktime: merge <sys/types.h> change from gnulib
14929 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14930 since <time.t> is now guaranteed to define time_t.
14932 mktime: merge HAVE_CONFIG_H change from gnulib
14933 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14935 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14940 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14942 (struct rusage): Use anonymous union to pad each field to
14945 2012-05-21 David S. Miller <davem@davemloft.net>
14947 * Makefules (o-iterator): Remove .s cases.
14948 (compile-command.s): Delete.
14949 (COMPILE.s): Delete.
14950 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14952 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14954 * configure.in (libc_cv_predef_stack_protector): Only consider
14955 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14956 * configure: Regenerated.
14958 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14961 New macro. Use R*LP on int and pointer.
14962 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14963 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14964 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14965 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14967 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14968 [__WORDSIZE_TIME64_COMPAT32] instead of
14969 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14970 (struct utmp): Likewise.
14971 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14972 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14974 (__WORDSIZE_TIME64_COMPAT32): This.
14975 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14976 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14977 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14978 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14979 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14980 (__WORDSIZE_TIME64_COMPAT32): New macro.
14982 2012-05-21 Andreas Jaeger <aj@suse.de>
14984 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14985 only if [SHARED]. Add prototype for __wcschr_ia32.
14987 2012-05-21 Roland McGrath <roland@hack.frob.com>
14989 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14990 of %rbp unmolested in the jmp_buf while mangling the low bits.
14991 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14992 unmolested high bits of %rbp while demangling the low bits.
14993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14995 2012-05-21 Andreas Jaeger <aj@suse.de>
14997 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14998 * sunrpc/svc_simple.c: Use it for registerrpc.
14999 * sunrpc/xcrypt.c: Use it for passwd2des.
15001 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15003 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15005 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15006 Don't define if [__SYSCALL_WORDSIZE != 32].
15007 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15010 2012-05-21 Bruno Haible <bruno@clisp.org>
15011 Andreas Jaeger <aj@suse.de>
15013 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15014 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15015 inptr and inend for must_buffer_ch.
15016 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15017 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15018 * stdio-common/Makefile (tests): Remove bug15.
15019 (bug15-ENV): Remove macro.
15020 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15023 2012-05-19 Andreas Jaeger <aj@suse.de>
15024 Roland McGrath <roland@hack.frob.com>
15026 * manual/contrib.texi: Completely rewritten. It contains now an
15027 alphabetical list of contributors and their contributions.
15029 2012-05-21 Richard Henderson <rth@twiddle.net>
15031 * misc/getauxval.c (__getauxval): Use unsigned long int.
15032 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15033 (getauxval): Use unsigned long int.
15035 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15037 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15039 2012-05-21 Roland McGrath <roland@hack.frob.com>
15041 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15042 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15043 __alignof__ (long double).
15045 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15049 2012-05-20 Richard Henderson <rth@twiddle.net>
15051 * misc/getauxval.c: New file.
15052 * misc/sys/auxv.h: New file.
15053 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15054 (routines): Add getauxval.
15055 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15056 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15057 * elf/dl-sysdep.c (_dl_auxv): Remove.
15058 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15059 * elf/dl-support.c (_dl_auxv): New variable.
15060 (_dl_aux_init): Initialize it.
15061 * manual/startup.texi (Auxiliary Vector): New node.
15062 * sysdeps/generic/bits/hwcap.h: New file.
15063 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15064 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15065 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15066 * sysdeps/sparc/sysdep.h: ... here. Include it.
15067 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15068 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15080 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15084 2012-05-19 David S. Miller <davem@davemloft.net>
15086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15088 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15091 * math/s_ccosh.c: Include <float.h>
15092 (__ccosh): Avoid internal overflow calculating sinh and cosh
15093 values before multiplying by sin and cos values.
15094 * math/s_ccoshf.c: Likewise.
15095 * math/s_ccoshl.c: Likewise.
15096 * math/s_csin.c: Likewise.
15097 * math/s_csinf.c: Likewise.
15098 * math/s_csinl.c: Likewise.
15099 * math/s_csinh.c: Likewise.
15100 * math/s_csinhf.c: Likewise.
15101 * math/s_csinhl.c: Likewise.
15102 * math/libm-test.inc (ccos_test): Add more tests.
15103 (ccosh_test): Likewise.
15104 (csin_test): Likewise.
15105 (csinh_test): Likewise.
15106 * sysdeps/i386/fpu/libm-test-ulps: Update.
15107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15109 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15111 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15112 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15114 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15116 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15118 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15119 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15120 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15121 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15122 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15123 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15124 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15125 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15126 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15127 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15128 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15129 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15130 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15131 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15132 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15133 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15134 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15135 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15136 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15137 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15138 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15139 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15140 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15141 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15142 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15143 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15144 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15145 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15146 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15147 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15148 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15150 2012-05-18 Andreas Jaeger <aj@suse.de>
15152 * csu/.gitignore: Delete.
15154 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15156 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15157 (timex): Use __syscall_slong_t.
15159 2012-05-18 Andreas Jaeger <aj@suse.de>
15160 Carlos O'Donell <carlos_odonell@mentor.com>
15162 * manual/install.texi (Configuring and compiling): Update
15163 description about files modified in the source directory.
15164 * INSTALL: Regenerated.
15166 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15168 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15169 value. Use "or" to set return value to -1.
15170 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15171 negate return value.
15173 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15175 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15176 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15177 failure if the compiler has Graphite support disabled.
15178 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15180 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15181 CFLAGS-memmove.c): Likewise.
15182 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15185 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15187 * sysdeps/x86_64/x32/_itoa.h: New file.
15189 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15190 getdents system call only if kernel and user dirents have the
15191 same d_ino and d_off.
15193 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15194 LLONG_MAX != LONG_MAX.
15195 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15196 (_fitoa_word): Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15204 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15205 include <bits/wordsize.h>. Check __x86_64__ instead of
15207 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15208 if __x86_64__ is defined. Use anonymous union on fpstate.
15210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15213 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15215 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15216 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15217 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15218 Refer to _rtld_local_ro instead of _rtld_global_ro.
15219 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15221 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15223 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15225 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15226 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15227 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15229 * sysdeps/powerpc/powerpc32/dl-machine.c
15230 (__elf_machine_runtime_setup) [PROF]: Don't reference
15233 2012-05-18 Andreas Jaeger <aj@suse.de>
15235 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15236 function only available for GCCs before 3.4 since GCC 3.4
15237 introduced a builtin.
15239 (llrintf): Likewise.
15240 (llrint): Likewise.
15247 (nearbyint): Likewise.
15248 (nearbyintf): Likewise.
15252 (floorf): Likewise.
15254 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15256 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15257 on both fields and cast pointer to __syscall_ulong_t.
15259 * bits/types.h (__fsword_t): New type.
15260 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15261 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15263 (__FSWORD_T_TYPE): Likewise.
15264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15265 (__FSWORD_T_TYPE): Likewise.
15266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15267 (__FSWORD_T_TYPE): Likewise.
15268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15269 (__FSWORD_T_TYPE): Likewise.
15270 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15271 __SWORD_TYPE with __fsword_t.
15272 (statfs64): Likewise.
15274 2012-05-17 David S. Miller <davem@davemloft.net>
15276 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15278 2012-05-17 Andreas Jaeger <aj@suse.de>
15280 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15283 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15285 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15287 2012-05-17 Andreas Jaeger <aj@suse.de>
15289 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15292 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15294 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15296 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15298 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15299 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15301 2012-05-17 Andreas Jaeger <aj@suse.de>
15302 Carlos O'Donell <carlos_odonell@mentor.com>
15305 * sysdeps/x86_64/multiarch/init-arch.h
15306 (bit_YMM_Usable): Rename to...
15307 (bit_AVX_Usable): ... this.
15308 (bit_FMA4_Usable): New macro.
15309 (bit_XMM_state): New macro.
15310 (bit_YMM_state): New macro.
15311 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15312 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15313 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15314 (CPUID_OSXSAVE): New macro.
15315 (CPUID_AVX): New macro.
15316 (CPUID_FMA4): New macro.
15317 (index_YMM_Usable): Rename to...
15318 (index_AVX_Usable): ... this.
15319 (HAS_AVX): Use HAS_ARCH_FEATURE.
15320 (HAS_FMA4): Likewise.
15321 (HAS_YMM_USABLE): Remove.
15322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15323 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15325 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15326 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15327 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15328 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15329 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15331 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15333 * math/libm-test.c: Support platforms without multiple rounding modes.
15334 * math/bug-nextafter.c: Support platforms without FP exceptions.
15335 * math/bug-nexttoward.c: Likewise.
15336 * math/test-fenv.c: Likewise.
15337 * math/test-misc.c: Likewise.
15338 * stdlib/bug-getcontext.c: Likewise.
15340 2012-05-17 Andreas Jaeger <aj@suse.de>
15342 * manual/examples/search.c (critter_cmp): Change signature to
15344 * manual/string.texi (Collation Functions): Likewise.
15346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15348 * bits/types.h: Fold copyright years.
15349 * bits/typesizes.h: Likewise.
15350 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15354 * time/time.h: Likewise.
15356 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15359 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15360 in instead of returning them. Return void.
15361 (__libc_mallinfo): Accumulate over all arenas.
15362 (__malloc_stats): Adjust for change in int_mallinfo interface.
15364 2012-05-16 Roland McGrath <roland@hack.frob.com>
15367 * configure.in (NM): Add AC_CHECK_TOOL for it.
15368 (libc_extra_cflags): New substituted variable.
15369 Check for -fstack-protector being used implicitly.
15370 * configure: Regenerated.
15371 * config.make.in (config-extra-cflags): New variable,
15372 gets @libc_extra_cflags@.
15373 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15376 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15377 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15378 * configure: Regenerated.
15379 * config.make.in (CPPUNDEFS): New substituted variable.
15380 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15381 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15382 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15384 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15386 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15387 (mq_attr): Use __syscall_slong_t.
15389 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15391 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15392 Check __x86_64__ instead of __WORDSIZE.
15393 (_STAT_VER_LINUX): Likewise.
15394 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15395 __syscall_ulong_t and __syscall_slong_t.
15396 (stat64): Likewise.
15398 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15402 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15404 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15406 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15408 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15411 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15412 include <bits/wordsize.h>. Check __x86_64__ instead of
15414 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15416 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15419 include <bits/wordsize.h>. Check __x86_64__ instead of
15421 (user_regs_struct): Use "__extension__ unsigned long long"
15422 instead of "unsigned long" if __x86_64__ is defined.
15423 (user): Likewise. Pad after pointer field if __ILP32__ is
15426 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15428 * configure.in (makeinfo): Require version 4.5 or later. Allow
15430 * configure: Regenerated.
15431 * manual/install.texi (texinfo): Increase version requirement to
15433 * INSTALL: Regenerated.
15435 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15437 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15439 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15441 * sysdeps/x86_64/x32/ffs.c: New file.
15443 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15445 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15446 defined. Use __syscall_ulong_t.
15447 (shminfo): Use __syscall_ulong_t.
15448 (shm_info): Likewise.
15450 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15453 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15455 (msgqnum_t): Use __syscall_ulong_t.
15456 (msglen_t): Likewise.
15457 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15460 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15461 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15463 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15465 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15466 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15468 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15471 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15472 include <bits/wordsize.h>. Check __x86_64__ instead of
15475 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15476 "unsigned long long int" if __x86_64__ is defined.
15477 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15480 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15481 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15483 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15485 (GET_PC): Cast to uintptr_t first.
15486 (GET_FRAME): Likewise.
15487 (GET_STACK): Likewise.
15489 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15490 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15491 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15492 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15493 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15494 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15495 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15496 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15497 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15498 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15500 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15501 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15502 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15503 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15504 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15505 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15506 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15507 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15508 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15509 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15510 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15511 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15512 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15513 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15514 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15516 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15519 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15521 * Makerules (+depfiles): Also collect depfiles from .oS in
15523 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15524 .oS, $(libnldbl-routines)).
15526 * Makerules (native-compile-mkdep-flags): Define.
15527 * sunrpc/Makefile (extra-objs): Add $(addprefix
15528 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15529 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15530 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15531 calling $(make-target-directory).
15533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15535 * bits/types.h (__snseconds_t): Removed.
15536 * time/time.h (struct timespec): Replace __snseconds_t with
15538 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15539 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15542 (__SNSECONDS_T_TYPE): Likewise.
15543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15544 (__SNSECONDS_T_TYPE): Likewise.
15545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15546 (__SNSECONDS_T_TYPE): Likewise.
15548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15550 * sysdeps/mach/hurd/bits/typesizes.h
15551 (__SYSCALL_SLONG_TYPE): New macro.
15552 (__SYSCALL_ULONG_TYPE): Likewise.
15554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15556 * bits/types.h (__syscall_slong_t): New type.
15557 (__syscall_ulong_t): Likewise.
15559 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15560 (__SYSCALL_ULONG_TYPE): Likewise.
15561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15562 (__SYSCALL_SLONG_TYPE): Likewise.
15563 (__SYSCALL_ULONG_TYPE): Likewise.
15564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15565 (__SYSCALL_SLONG_TYPE): Likewise.
15566 (__SYSCALL_ULONG_TYPE): Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15568 (__SYSCALL_SLONG_TYPE): Likewise.
15569 (__SYSCALL_ULONG_TYPE): Likewise.
15571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15573 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15574 Add sigaltstack-offsets.sym.
15575 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15576 <sigaltstack-offsets.h>.
15577 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15578 longjmp_msg pointer.
15579 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15580 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15582 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15584 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15586 * elf/stackguard-macros.h: Remove file.
15587 * sysdeps/generic/stackguard-macros.h: New file.
15588 * sysdeps/i386/stackguard-macros.h: Likewise.
15589 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15590 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15591 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15592 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15593 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15594 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15595 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15596 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15597 <elf/stackguard-macros.h>.
15600 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15601 __aligned__ in attribute.
15602 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15603 (gregset_t): Likewise.
15605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15607 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15608 * sysdeps/x86_64/64/Implies-after: Here. New file.
15609 * sysdeps/x86_64/x32/Implies-after: New file.
15611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15613 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15614 and access return value for _dl_profile_fixup. Use R10_LP to
15617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15619 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15623 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15624 * sysdeps/x86_64/x32/sysdep.h: New file.
15626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15628 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15629 * sysdeps/x86_64/setjmp.S: Likewise.
15631 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15634 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15635 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15636 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15637 remove unused global constant.
15639 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15641 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15642 include of <not-cancel.h>.
15644 2012-05-15 Roland McGrath <roland@hack.frob.com>
15646 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15648 2012-05-15 Jeff Law <law@redhat.com>
15649 Andreas Jaeger <aj@suse.de>
15652 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15654 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15655 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15656 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15657 code changing __hst_map_handle.map.
15659 2012-05-15 Roland McGrath <roland@hack.frob.com>
15661 * configure.in (sysnames): Look for Implies-before and Implies-after
15663 * configure: Regenerated.
15665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15667 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15668 8-byte data alignment with LP_SIZE alignment.
15670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15672 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15677 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15681 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15682 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15685 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15689 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15690 (stackinfo_sub_sp): Likewise.
15692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15699 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15702 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15704 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15709 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15713 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15714 into R11_LP and load __x86_64_shared_cache_size_half into
15717 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15719 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15722 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15731 powerpc32/power7/fpu/s_logb.c via #include.
15732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15733 powerpc32/power7/fpu/s_logbf.c via #include.
15734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15735 powerpc32/power7/fpu/s_logbl.c via #include.
15737 2012-05-15 Joseph Myers <joseph@codesourcery.com>
15739 * README.libm: Remove file.
15741 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15743 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15744 count for x32. Use R*_LP and omit operand-size suffix.
15746 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15748 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15749 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15750 * sysdeps/x86_64/x32/shlib-versions: New file.
15752 2012-05-14 Roland McGrath <roland@hack.frob.com>
15754 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15755 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15756 Use _dl_fatal_printf instead.
15758 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15760 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15761 set if not set by the user. Do not allow for being unset.
15762 * sysdeps/unix/sysv/linux/configure: Regenerated.
15764 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15766 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15767 the `q' suffix from lea and replace .quad with ASM_ADDR.
15769 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15772 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15774 (PTR_DEMANGLE): Likewise.
15776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15778 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15780 (ASM_ADDR): Likewise.
15781 (RAX_LP): Likewise.
15782 (RBP_LP): Likewise.
15783 (RBX_LP): Likewise.
15784 (RCX_LP): Likewise.
15785 (RDI_LP): Likewise.
15786 (RSI_LP): Likewise.
15787 (RSP_LP): Likewise.
15790 (R10_LP): Likewise.
15791 (R10_LP): Likewise.
15792 (R11_LP): Likewise.
15793 (R12_LP): Likewise.
15794 (R13_LP): Likewise.
15795 (R14_LP): Likewise.
15796 (R15_LP): Likewise.
15798 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15800 * sysdeps/x86_64/x32/dl-machine.h: New file.
15802 2012-05-14 Andreas Jaeger <aj@suse.de>
15804 * manual/Makefile (subdir): Remove export of subdir.
15805 (all): Remove target.
15806 (.PHONY): Remove all from list.
15807 (mkinstalldirs): Remove.
15808 (.PHONY): Remove installdirs from list.
15809 ($(inst_infodir)/libc.info): Use make-target-directory.
15810 (installdirs): Remove.
15811 (subdir_%): Remove.
15812 (glibc-targets): Remove.
15815 ($(objpfx)stubs ../po/manual.pot): Remove.
15816 ($(objpfx)stamp%): Remove.
15817 (make-target-directory): Remove.
15818 (subdir_install): Remove.
15819 (routines): Remove.
15826 * manual/.gitignore: Remove, it's not needed anymore.
15827 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15829 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15831 (texis): Renamed to $(objpfx)texis.
15832 (texis-path): New, contains path to generated files.
15833 (chapters.%): Use texis-path for complete path, add extra argument
15835 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15836 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15837 (summary,texi, stamp-summary): Use complete path of
15838 files. Generate files in build dir.
15839 (dir-add.texi): Build in build dir.
15840 (libm-err.texi,stamp-libm-err): Likewise.
15841 (version.texi, stamp-version): Likewise.
15842 (.%c.texi): Likewise.
15843 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15844 (mostlyclean): Remove target.
15845 (realclean): Remove target.
15846 (generated): Add new variable with contents from mostlyclean and
15847 realclean, remove entries duplicated in common-mostlyclean, add
15848 stamp-libm-err and stamp-version.
15849 (generated-dirs): Add libc directory.
15850 ($(inst_infodir)/libc.info): Install files from build dir.
15852 * manual/install.texi (Configuring and compiling): Adjust since
15853 the info files are not part of the tar ball anymore.
15855 2012-05-14 Andreas Jaeger <aj@suse.de>
15857 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15860 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15863 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15864 to 2.2.0 where earlier.
15865 * sysdeps/unix/sysv/linux/configure: Regenerated.
15866 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15867 Remove conditional code.
15868 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15869 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15870 Remove conditional code.
15871 [!__NR_lchown]: Likewise.
15872 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15873 [__NR_lchown]: Likewise.
15874 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15875 comment referencing __ASSUME_LCHOWN_SYSCALL.
15876 * sysdeps/unix/sysv/linux/i386/sigaction.c
15877 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15878 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15879 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15880 Remove conditional code.
15881 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15882 (__protocol_available): Remove #if 0 code.
15883 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15885 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15886 * sysdeps/unix/sysv/linux/kernel-features.h
15887 (__ASSUME_GETCWD_SYSCALL): Don't define.
15888 (__ASSUME_REALTIME_SIGNALS): Likewise.
15889 (__ASSUME_PREAD_SYSCALL): Likewise.
15890 (__ASSUME_PWRITE_SYSCALL): Likewise.
15891 (__ASSUME_POLL_SYSCALL): Likewise.
15892 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15893 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15895 (__ASSUME_SIOCGIFNAME): Don't define.
15896 (__ASSUME_MSG_NOSIGNAL): Likewise.
15897 (__ASSUME_SENDFILE): Define unconditionally.
15898 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15899 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15901 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15902 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15903 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15904 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15905 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15906 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15907 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15912 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15918 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15924 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15930 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15931 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15932 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15933 Remove conditional code.
15934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15935 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15936 Remove conditional code.
15937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15938 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15939 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15940 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15941 Remove conditional code.
15942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15943 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15944 Remove conditional code.
15945 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15946 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15947 Remove conditional code.
15948 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15949 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15950 Remove conditional code.
15951 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15952 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15953 Remove conditional code.
15954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15955 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15956 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15958 * sysdeps/unix/sysv/linux/sigaction.c
15959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15961 * sysdeps/unix/sysv/linux/sigpending.c
15962 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15963 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15964 * sysdeps/unix/sysv/linux/sigprocmask.c
15965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15967 * sysdeps/unix/sysv/linux/sigsuspend.c
15968 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15969 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15970 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15971 (__libc_missing_rt_sigs): Remove.
15972 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15973 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15974 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15975 Remove conditional code.
15976 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15977 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15979 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15980 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15981 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15982 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15984 2012-05-14 Andreas Jaeger <aj@suse.de>
15986 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15987 it's not used in glibc.
15988 (__coshm1): Likewise.
15989 (__acosh1p): Likewise.
15992 * manual/string.texi (Copying and Concatenation): Add missing
15993 variable in concat example.
15994 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15996 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16000 __builtin_clzl with __builtin_clzll.
16002 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16005 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16008 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16010 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16011 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16012 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16013 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16015 2012-05-14 Mike Frysinger <vapier@gentoo.org>
16017 * NEWS: Update ia64 info.
16019 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16021 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16024 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16026 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16027 * sysdeps/unix/syscalls.list (dup3): Likewise.
16028 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16029 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16031 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16033 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16034 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16036 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16038 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16040 (TLS_IE): Use mov/add instead of movq/addq to load thread
16042 (TLS_GD_PREFIX): New.
16045 2012-05-11 David S. Miller <davem@davemloft.net>
16047 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16048 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16049 (_FPU_SETCW): Likewise.
16051 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16053 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16054 is 32-byte aligned.
16056 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16059 * iconvdata/gb18030.c: Update tables.
16060 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16061 characters specially.
16062 (BODY for TO_LOOP): Add encoding of missing ranges.
16064 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16067 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16068 * sysdeps/mach/hurd/dup3.c: Likewise.
16069 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16070 * sysdeps/powerpc/memmove.c:: Likewise.
16072 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16075 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16077 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16079 * elf/elf.h (R_X86_64_RELATIVE64): New.
16080 (R_X86_64_NUM): Updated.
16081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16082 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16083 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16084 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16085 tst-quad1pie tst-quad2pie
16086 (modules-names): Add tst-quadmod1 tst-quadmod2.
16087 ($(objpfx)tst-quad1): New dependency.
16088 ($(objpfx)tst-quad2): Likewise.
16089 ($(objpfx)tst-quad1pie): Likewise.
16090 ($(objpfx)tst-quad2pie): Likewise.
16091 * sysdeps/x86_64/tst-quad1.c: New file.
16092 * sysdeps/x86_64/tst-quad1pie.c: New file.
16093 * sysdeps/x86_64/tst-quad2.c: Likewise.
16094 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16095 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16096 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16097 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16098 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16100 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16102 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16103 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16104 * streams/stropts.h (t_scalar_t): Define type.
16106 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16107 (_PATH_PRESERVE): Set to "/var/lib".
16108 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16110 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16113 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16114 if __dir_mkfile succeeded.
16116 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16117 checking for _hurd_dtablesize. Unlock it right after having
16118 finished _hurd_dtable allocation.
16120 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16122 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16123 * sysdeps/mach/hurd/configure: Regenerated.
16124 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16125 special-casing to...
16126 * sysdeps/gnu/configure.in: ... this new file.
16127 * sysdeps/unix/sysv/linux/configure: Regenerated.
16128 * sysdeps/gnu/configure: New generated file.
16130 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16131 for Linux: use nsec instead of usec, as well as:
16132 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16133 members of type struct timespec.
16134 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16136 (struct stat64): Likewise.
16137 (_STATBUF_ST_NSEC): New macro.
16138 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16140 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16141 __strtoul_internal rather than strtoul.
16143 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16145 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16150 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16151 which preserves existing values.
16152 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16154 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16156 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16157 TIMEOUT values. Return EINVAL for NFDS values either negative or
16158 greater than FD_SETSIZE.
16160 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16162 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16163 allocated, call __vm_protect to finish enabling the existing space, and
16164 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16165 allocate the remainder.
16167 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16169 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16170 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16174 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16175 sysdeps/mach/hurd/readlink.c.
16177 * posix/tst-sysconf.c (posix_options): Only use
16178 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16179 _POSIX_SYNCHRONIZED_IO when they are defined
16180 * sysdeps/mach/hurd/bits/posix_opt.h:
16181 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16182 (_XOPEN_REALTIME): Undefine macro.
16183 (_XOPEN_REALTIME_THREADS): Undefine macro.
16184 (_XOPEN_SHM): Undefine macro.
16185 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16187 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16189 (_POSIX_ASYNC_IO): Undefine macro.
16190 (_POSIX_PRIORITIZED_IO): Undefine macro.
16191 (_POSIX_SPIN_LOCKS): Define macro to -1.
16193 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16194 SA_NODEFER, SA_RESETHAND.
16195 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16196 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16199 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16201 * elf/Makefile (pldd-modules): Define unconditionally.
16203 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16205 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16209 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16210 Return ENOENT when name is empty.
16211 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16213 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16215 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16217 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16221 Fix mlock in all cases except non-readable pages.
16222 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16223 instead of VM_PROT_ALL as parameter to __vm_wire function.
16225 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16226 (__mkdir): When path is `/', just fail with EEXIST.
16227 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16231 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16232 <sys/uio.h> (for writev).
16233 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16234 and <sys/param.h> (for MIN).
16236 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16238 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16239 REQUESTED_TIME. Properly set the remaining time and return EINTR
16242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16244 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16245 Depend on against $(link-rpcuserlibs).
16247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16249 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16250 (__libc_stack_end): Do not use attribute_relro.
16251 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16252 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16253 to libthread-provided value.
16254 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16257 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16260 * bits/libc-lock.h (__libc_once_get): New macro.
16261 * sysdeps/mach/bits/libc-lock.h: Likewise.
16262 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16264 instead of using implementation details.
16266 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16267 * libio/freopen.c: Likewise.
16268 * libio/freopen64.c: Likewise.
16269 * misc/syslog.c: Likewise.
16270 * nscd/connections.c: Likewise.
16271 * nscd/netgroupcache.c: Likewise.
16272 * sysdeps/posix/getcwd.c: Likewise.
16274 2012-05-10 Roland McGrath <roland@hack.frob.com>
16276 * math/w_ilogbf.c: Add #include <limits.h>.
16278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16280 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16281 path instead of returning without unlocking.
16283 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16284 immediate-write ioctls.
16285 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16287 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16289 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16290 __builtin_frame_address instead of making assumptions about the
16291 location of the return address relative to DATA. Force early load of
16292 the return address.
16293 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16294 __builtin_frame_address.
16297 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16298 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16299 implement dup3 and do some further code clean-ups.
16300 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16301 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16303 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16305 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16307 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16308 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16309 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16310 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16311 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16314 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16315 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16316 when handler == SIG_ERR, not when handler != SIG_ERR.
16318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16320 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16321 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16324 accept4 for GNU Hurd.
16325 * include/sys/socket.h (__libc_accept4): New prototype.
16326 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16327 to implement __libc_accept4.
16328 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16330 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16332 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16333 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16334 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16335 signal-defines.sym.
16337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16339 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16341 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16343 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16344 assertion on O_CLOEXEC flag.
16345 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16346 * hurd/intern-fd.c: Likewise.
16347 * hurd/port2fd.c: Likewise.
16349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16352 * bits/in.h (IPV6_PKTINFO): Define new macro.
16353 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16355 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16360 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16362 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16363 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16365 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16366 * math/libm-test.inc (logb_test) : Additional logb tests.
16368 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16369 Andreas Jaeger <aj@suse.de>
16371 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16372 * configure: Regenerated.
16373 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16374 * config.make.in (link-obsolete-rpc): New substituted variable.
16375 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16376 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16377 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16378 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16379 so that libc.a contains the symbols.
16380 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16381 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16382 * sunrpc/auth_none.c: Likewise.
16383 * sunrpc/auth_unix.c: Likewise.
16384 * sunrpc/authdes_prot.c: Likewise.
16385 * sunrpc/authuxprot.c: Likewise.
16386 * sunrpc/clnt_gen.c: Likewise.
16387 * sunrpc/clnt_perr.c: Likewise.
16388 * sunrpc/clnt_raw.c: Likewise.
16389 * sunrpc/clnt_simp.c: Likewise.
16390 * sunrpc/clnt_tcp.c: Likewise.
16391 * sunrpc/clnt_udp.c: Likewise.
16392 * sunrpc/clnt_unix.c: Likewise.
16393 * sunrpc/des_crypt.c: Likewise.
16394 * sunrpc/des_soft.c: Likewise.
16395 * sunrpc/get_myaddr.c: Likewise.
16396 * sunrpc/key_call.c: Likewise.
16397 * sunrpc/key_prot.c: Likewise.
16398 * sunrpc/netname.c: Likewise.
16399 * sunrpc/pm_getmaps.c: Likewise.
16400 * sunrpc/pm_getport.c: Likewise.
16401 * sunrpc/pmap_clnt.c: Likewise.
16402 * sunrpc/pmap_prot.c: Likewise.
16403 * sunrpc/pmap_prot2.c: Likewise.
16404 * sunrpc/pmap_rmt.c: Likewise.
16405 * sunrpc/publickey.c: Likewise.
16406 * sunrpc/rpc_cmsg.c: Likewise.
16407 * sunrpc/rpc_common.c: Likewise.
16408 * sunrpc/rpc_dtable.c: Likewise.
16409 * sunrpc/rpc_prot.c: Likewise.
16410 * sunrpc/rpc_thread.c: Likewise.
16411 * sunrpc/rtime.c: Likewise.
16412 * sunrpc/svc.c: Likewise.
16413 * sunrpc/svc_auth.c: Likewise.
16414 * sunrpc/svc_raw.c: Likewise.
16415 * sunrpc/svc_run.c: Likewise.
16416 * sunrpc/svc_tcp.c: Likewise.
16417 * sunrpc/svc_udp.c: Likewise.
16418 * sunrpc/svc_unix.c: Likewise.
16419 * sunrpc/svcauth_des.c: Likewise.
16420 * sunrpc/xcrypt.c: Likewise.
16421 * sunrpc/xdr.c: Likewise.
16422 * sunrpc/xdr_array.c: Likewise.
16423 * sunrpc/xdr_float.c: Likewise.
16424 * sunrpc/xdr_intXX_t.c: Likewise.
16425 * sunrpc/xdr_mem.c: Likewise.
16426 * sunrpc/xdr_rec.c: Likewise.
16427 * sunrpc/xdr_ref.c: Likewise.
16428 * sunrpc/xdr_sizeof.c: Likewise.
16429 * sunrpc/xdr_stdio.c: Likewise.
16431 2012-05-10 Roland McGrath <roland@hack.frob.com>
16433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16434 change. Update copyright years.
16436 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16438 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16440 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16441 Joseph Myers <joseph@codesourcery.com>
16442 Paul Pluzhnikov <ppluzhnikov@google.com>
16445 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16447 [cross-compiling] (extra-libs): Likewise.
16448 [cross-compiling] (extra-libs-others): Likewise.
16449 [cross-compiling] (librpcsvc-routines): Likewise.
16450 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16451 [cross-compiling] (omit-deps): Likewise.
16452 (sunrpc-CPPFLAGS): New variable.
16453 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16454 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16455 (cross-rpcgen-objs): New variable.
16456 (extra-objs): Append $(cross-rpcgen-objs).
16457 ($(cross-rpcgen-objs)): New rule.
16458 ($(objpfx)cross-rpcgen): Likewise.
16459 (rpcgen-cmd): Define to use $(built-program-file). Expand
16461 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16462 ($(objpfx)x%.stmp): Likewise.
16463 * sunrpc/proto.h [IS_IN_build] (_): Define.
16464 [IS_IN_build] (_libc_intl_domainname): Likewise.
16466 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16469 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16470 and R_X86_64_TPOFF64.
16472 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16474 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16475 sysdeps/unix/sysv/syscalls.list.
16478 * sysdeps/unix/sysv/syscalls.list: Remove file.
16480 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16483 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16484 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16485 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16486 (__LC_IDENTIFICATION): Make these macros useful in #if
16487 expressions, as required by C99.
16489 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16491 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16492 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16495 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16497 * stdlib/longlong.h: Updated from GCC.
16499 2012-05-09 Andreas Jaeger <aj@suse.de>
16501 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16502 default is first entry.
16503 (run_mode): Set type.
16504 (main): Remove informal message about syslog.
16505 (options): Fix typo.
16508 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
16511 (llrintf): Likewise.
16512 (llrint): Likewise.
16515 (nearbyint): Likewise.
16516 (nearbyintf): Likewise.
16518 2012-05-09 Andreas Jaeger <aj@suse.de>
16519 Pedro Alves <palves@redhat.com>
16521 * nscd/nscd.c (run_mode): Use enum.
16522 (main): Cleanup coding style issue.
16524 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
16525 Andreas Jaeger <aj@suse.de>
16527 * nscd/nscd.c (go_background): Replaced with...
16528 (run_mode): ... this.
16529 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
16530 (options): Add -F --foreground.
16531 (main): Implement it.
16532 (parse_opt): Parse it.
16534 2012-05-09 Andreas Jaeger <aj@suse.de>
16537 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16538 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16539 -Wconversion warning.
16540 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16543 2012-05-09 Joseph Myers <joseph@codesourcery.com>
16545 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16547 (LC_ALL): Use macro-int-constant.
16548 (LC_COLLATE): Likewise.
16549 (LC_CTYPE): Likewise.
16550 (LC_MESSAGES): Likewise.
16551 (LC_MONETARY): Likewise.
16552 (LC_NUMERIC): Likewise.
16553 (LC_TIME): Likewise.
16554 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16555 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16557 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16559 [C99-based standards] (float_t): Expect type.
16560 [C99-based standards] (double_t): Expect type.
16561 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16563 [C99-based standards] (HUGE_VALL): Likewise.
16564 [C99-based standards] (INFINITY): Likewise.
16565 [C99-based standards] (NAN): Likewise.
16566 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16567 [C99-based standards] (FP_NAN): Likewise.
16568 [C99-based standards] (FP_NORMAL): Likewise.
16569 [C99-based standards] (FP_SUBNORMAL): Likewise.
16570 [C99-based standards] (FP_ZERO): Likewise.
16571 [C99-based standards] (FP_FAST_FMA): Use
16572 optional-macro-int-constant. Specify type. Require == 1.
16573 [C99-based standards] (FP_FAST_FMAF): Likewise.
16574 [C99-based standards] (FP_FAST_FMAL): Likewise.
16575 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16576 [C99-based standards] (FP_ILOGBNAN): Likewise.
16577 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16579 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16580 [C99-based standards] (math_errhandling): Specify type.
16581 [ISO99 || ISO11] (signgam): Do not allow.
16582 [non-C99-based standards] (copysignf): Do not allow.
16583 [non-C99-based standards] (exp2f): Likewise.
16584 [non-C99-based standards] (log2f): Likewise.
16585 [non-C99-based standards] (modff): Allow.
16586 [non-C99-based standards] (erff): Do not allow.
16587 [non-C99-based standards] (erfcf): Likewise.
16588 [non-C99-based standards] (gammaf): Likewise.
16589 [non-C99-based standards] (hypotf): Likewise.
16590 [non-C99-based standards] (j0f): Likewise.
16591 [non-C99-based standards] (j1f): Likewise.
16592 [non-C99-based standards] (jnf): Likewise.
16593 [non-C99-based standards] (lgammaf): Likewise.
16594 [non-C99-based standards] (tgammaf): Likewise.
16595 [non-C99-based standards] (y0f): Likewise.
16596 [non-C99-based standards] (y1f): Likewise.
16597 [non-C99-based standards] (ynf): Likewise.
16598 [non-C99-based standards] (isnanf): Likewise.
16599 [non-C99-based standards] (acoshf): Likewise.
16600 [non-C99-based standards] (asinhf): Likewise.
16601 [non-C99-based standards] (atanhf): Likewise.
16602 [non-C99-based standards] (cbrtf): Likewise.
16603 [non-C99-based standards] (expm1f): Likewise.
16604 [non-C99-based standards] (ilogbf): Likewise.
16605 [non-C99-based standards] (log1pf): Likewise.
16606 [non-C99-based standards] (logbf): Likewise.
16607 [non-C99-based standards] (nextafterf): Likewise.
16608 [non-C99-based standards] (remainderf): Likewise.
16609 [non-C99-based standards] (rintf): Likewise.
16610 [non-C99-based standards] (scalbf): Likewise.
16611 [non-C99-based standards] (copysignl): Likewise.
16612 [non-C99-based standards] (exp2l): Likewise.
16613 [non-C99-based standards] (log2l): Likewise.
16614 [non-C99-based standards] (modfl): Allow.
16615 [non-C99-based standards] (erfl): Do not allow.
16616 [non-C99-based standards] (erfcl): Likewise.
16617 [non-C99-based standards] (gammal): Likewise.
16618 [non-C99-based standards] (hypotl): Likewise.
16619 [non-C99-based standards] (j0l): Likewise.
16620 [non-C99-based standards] (j1l): Likewise.
16621 [non-C99-based standards] (jnl): Likewise.
16622 [non-C99-based standards] (lgammal): Likewise.
16623 [non-C99-based standards] (tgammal): Likewise.
16624 [non-C99-based standards] (y0l): Likewise.
16625 [non-C99-based standards] (y1l): Likewise.
16626 [non-C99-based standards] (ynl): Likewise.
16627 [non-C99-based standards] (isnanl): Likewise.
16628 [non-C99-based standards] (acoshl): Likewise.
16629 [non-C99-based standards] (asinhl): Likewise.
16630 [non-C99-based standards] (atanhl): Likewise.
16631 [non-C99-based standards] (cbrtl): Likewise.
16632 [non-C99-based standards] (expm1l): Likewise.
16633 [non-C99-based standards] (ilogbl): Likewise.
16634 [non-C99-based standards] (log1pl): Likewise.
16635 [non-C99-based standards] (logbl): Likewise.
16636 [non-C99-based standards] (nextafterl): Likewise.
16637 [non-C99-based standards] (remainderl): Likewise.
16638 [non-C99-based standards] (rintl): Likewise.
16639 [non-C99-based standards] (scalbl): Likewise.
16640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16641 [non-C99-based standards] (FP_*): Do not allow.
16642 [C99-based standards] (FP_*): Change to
16643 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16644 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16646 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16647 (SIG_ERR): Likewise.
16648 [X/Open-based standards] (SIG_HOLD): Likewise.
16649 (SIG_IGN): Likewise.
16650 (SIGABRT): Use macro-int-constant. Specify type. Require
16652 (SIGFPE): Likewise.
16653 (SIGILL): Likewise.
16654 (SIGINT): Likewise.
16655 (SIGSEGV): Likewise.
16656 (SIGTER): Likewise.
16657 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16658 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16659 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16660 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16661 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16662 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16663 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16664 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16665 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16666 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16667 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16668 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16669 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16670 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16671 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16672 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16673 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16674 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16675 [X/Open-based standards] (SIGTRAP): Likewise.
16676 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16677 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16678 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16679 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16680 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16683 2012-05-08 Ian Wienand <ianw@vmware.com>
16686 * time/tzset.c (__tzset_parse_tz): Update default rules for
16687 daylight time changes in the Energy Policy Act of 2005.
16689 2012-05-09 Andreas Jaeger <aj@suse.de>
16692 * elf/ldconfig.c (parse_conf): Change string to make clear that
16693 ldconfig only issued a warning if ld.so.conf does not exist.
16695 2012-05-08 David S. Miller <davem@davemloft.net>
16697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16698 movxtod instead of popping the value on the stack.
16700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16702 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16704 * config.h.in: Add HAVE_ARM_PCS_VFP.
16706 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
16709 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16710 checking but the checks are disabled for any reason.
16712 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16714 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16715 and ELF64_R_TYPE with ELFW(R_TYPE).
16717 2012-05-08 Joseph Myers <joseph@codesourcery.com>
16719 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16720 (ulimit): Likewise.
16722 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16723 (settimeofday): Likewise.
16725 2012-05-08 Mike Frysinger <vapier@gentoo.org>
16727 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16728 a struct th_u2 inside the union, and move tu_block/tu_code into
16729 a new th_u3 union of tu_block/tu_code inside of that. Move
16730 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16731 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16732 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16733 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16734 (th_stuff): Change to th_u1.tu_stuff.
16736 (th_msg): Change to th_u1.th_u2.tu_data.
16738 2012-05-07 David S. Miller <davem@davemloft.net>
16740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16743 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16744 (SETUP_PIC_REG): Use it.
16745 (SETUP_PIC_REG_LEAF): Use it.
16747 2012-05-07 Joseph Myers <joseph@codesourcery.com>
16751 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16753 (EXPL_FINITE): Likewise.
16754 (FLDLOG): Likewise.
16755 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16756 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16758 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16760 (EXPL_FINITE): Likewise.
16761 (FLDLOG): Likewise.
16762 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16763 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16765 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16766 test of -max_value argument for long double.
16767 * sysdeps/i386/fpu/libm-test-ulps: Update.
16768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16770 2012-05-06 David S. Miller <davem@davemloft.net>
16772 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16773 quad soft-float symbols whose references which are compiler
16775 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16777 2012-05-06 Joseph Myers <joseph@codesourcery.com>
16781 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16783 (EXPL_FINITE): Likewise.
16784 (FLDLOG): Likewise.
16787 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16788 Adjust comments for base varying.
16789 (__expl_finite): Change alias to EXPL_FINITE.
16790 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16792 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16793 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16795 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16796 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16798 (EXPL_FINITE): Likewise.
16799 (FLDLOG): Likewise.
16802 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16803 Adjust comments for base varying.
16804 (__expl_finite): Change alias to EXPL_FINITE.
16805 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16810 * math/libm-test.inc (check_float_internal): Correct ulp
16811 calculation for subnormal expected results.
16813 2012-05-06 Andreas Jaeger <aj@suse.de>
16815 * Makeconfig (+math-flags): New, set to -frounding-math.
16816 (+cflags): Add +math-flags so that all of glibc gets compiled with
16819 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16821 2012-05-05 Joseph Myers <joseph@codesourcery.com>
16823 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16829 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16830 (__ieee754_expl): Allow for and saturate large arguments.
16831 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16832 (u_threshold): Likewise.
16833 (__exp): Call __ieee754_exp before checking for overflow and
16835 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16836 (u_threshold): Likewise.
16837 (__expf): Call __ieee754_expf before checking for overflow and
16839 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16840 (u_threshold): Likewise.
16841 (__expl): Call __ieee754_expl before checking for overflow and
16843 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16844 (__ieee754_expl): Allow for and saturate large arguments.
16845 * math/libm-test.inc (exp_test): Add another test. Do not allow
16846 missing overflow exception on overflow.
16847 (expm1_test): Do not allow missing overflow exception on overflow.
16849 * sysdeps/i386/fpu/e_expl.c: Move to ...
16850 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16851 rather than using inline asm.
16852 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16853 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16854 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16856 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16859 (signal): Likewise.
16863 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16865 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16866 sysdeps/unix/common/syscalls.list.
16867 (fchmod): Likewise.
16868 (fchown): Likewise.
16869 (ftruncate): Likewise.
16870 (getrusage): Likewise.
16871 (gettimeofday): Likewise.
16872 (setpgid): Likewise.
16873 (setregid): Likewise.
16874 (setreuid): Likewise.
16875 (sigaction): Likewise.
16876 (truncate): Likewise.
16877 (vhangup): Likewise.
16878 * sysdeps/unix/common/syscalls.list: Remove file.
16879 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16880 * sysdeps/unix/sysv/linux/Implies: Likewise.
16882 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16884 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16886 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16890 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16893 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16896 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16899 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16902 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16905 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16908 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16912 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16916 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16919 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16923 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16927 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16929 * sysdeps/unix/common/bits/dirent.h: Remove file.
16930 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16932 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16933 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16934 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16935 * sysdeps/unix/bsd/isatty.c: Likewise.
16936 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16937 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16938 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16940 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16944 long double comparison inaccuracies.
16945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16948 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16950 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16953 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16956 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16957 nonzero digits before rounding a hex value.
16958 * stdlib/tst-strtod.c (tests): Add another test.
16960 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16962 * sysdeps/s390/fpu/libm-test-ulps: Update.
16964 2012-05-03 Andreas Jaeger <aj@suse.de>
16966 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16967 does not get optimized out.
16968 (malloc_opt_barrier): New.
16970 2012-05-03 Andreas Jaeger <aj@suse.de>
16971 Roland McGrath <roland@hack.frob.com>
16973 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16974 intermediate file deletion.
16975 (generated): Add .symlist files.
16977 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16980 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16981 Redirect under this condition.
16982 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16983 [__USE_GNU] (__dprintf_chk): Not under this condition.
16984 [__USE_GNU] (__vdprintf_chk): Likewise.
16985 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16986 under this condition.
16987 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16988 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16989 [__USE_XOPEN2K8] (vdprintf): Likewise.
16990 [__USE_GNU] (__dprintf_chk): Not under this condition.
16991 [__USE_GNU] (__vdprintf_chk): Likewise.
16992 [__USE_GNU] (dprintf): Likewise.
16993 [__USE_GNU] (vdprintf): Likewise.
16995 2012-05-03 Roland McGrath <roland@hack.frob.com>
16997 * elf/Makefile (common-generated): Set this instead of generated for
16998 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16999 $(all-built-dso)-derived lists.
17001 2012-05-03 Andreas Jaeger <aj@suse.de>
17003 * sysdeps/i386/fpu/libm-test-ulps: Update.
17006 * FAQ.in: Likewise.
17007 * scripts/gen-FAQ.pl: Likewise.
17008 * manual/install.texi (Installation): Point to online location of
17010 * Makefile (files-for-dist): Remove FAQ.
17013 2012-05-02 Allan McRae <allan@archlinux.org>
17015 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17016 (LDFLAGS-reldepmod5.so): Likewise.
17017 (LDFLAGS-reldep6mod1.so): Likewise.
17018 (LDFLAGS-reldep6mod4.so): Likewise.
17019 (LDFLAGS-reldep8mod3.so): Likewise.
17020 (LDFLAGS-unload4mod1.so): Likewise.
17021 (LDFLAGS-unload4mod2.so): Likewise.
17022 (LDFLAGS-tst-initorder): Likewise.
17023 (LDFLAGS-tst-initordera2.so): Likewise.
17024 (LDFLAGS-tst-initordera3.so): Likewise.
17025 (LDFLAGS-tst-initordera4.so): Likewise.
17026 (LDFLAGS-tst-initorderb2.so): Likewise.
17027 (LDFLAGS-noload): Likewise.
17028 (LDFLAGS-next): Likewise.
17029 (LDFLAGS-order2mod1.so): Likewise.
17030 (LDFLAGS-order2mod2.so): Likewise.
17031 (LDFLAGS-tst-initorder2): Likewise.
17032 (LDFLAGS-tst-initorder2a.so): Likewise.
17033 (LDFLAGS-tst-initorder2b.so): Likewise.
17034 (LDFLAGS-tst-initorder2c.so): Likewise.
17035 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17037 2012-05-02 David S. Miller <davem@davemloft.net>
17039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17041 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17044 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17046 2012-05-02 Andreas Jaeger <aj@suse.de>
17048 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17049 since we manipulate rounding mode.
17050 (CPPFLAGS-test-idouble.c): Likewise.
17051 (CPPFLAGS-test-ifloat.c): Likewise.
17052 (CFLAGS-test-ldouble.c): Likewise.
17053 (CFLAGS-test-double.c): Likewise.
17054 (CFLAGS-test-float.c): Likewise.
17055 (CFLAGS-test-misc.c): Likewise.
17056 (CFLAGS-test-test-fenv.c): Likewise.
17058 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17062 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17063 comparisons to determine direction to adjust input.
17065 2012-05-01 Roland McGrath <roland@hack.frob.com>
17067 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17068 output to the target.
17070 * scripts/localplt.awk: New file.
17071 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17072 (check-localplt-CFLAGS): Variable removed.
17073 ($(all-built-dso:=.jmprel)): New static pattern rule.
17074 (generated): Add those targets.
17075 (localplt-built-dso): New variable.
17076 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17078 * elf/check-localplt.c: File removed.
17080 * scripts/check-execstack.awk: New file.
17081 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17082 (check-execstack-CFLAGS): Variable removed.
17083 ($(objpfx)check-execstack.h): Target removed.
17084 ($(objpfx)execstack-default): New target.
17085 (generated): Add that instead of check-execstack.h.
17086 ($(all-built-dso:=.phdr)): New static pattern rule.
17087 (generated): Add those targets.
17088 * elf/check-execstack.c: File removed.
17090 * scripts/check-textrel.awk: New file.
17091 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17092 (check-textrel-CFLAGS): Variable removed.
17093 (all-built-dso): Use := to define.o
17094 ($(all-built-dso:=.dyn)): New static pattern rule.
17095 (generated): Add those targets.
17096 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17097 * config.make.in (READELF): New substituted variable.
17098 * elf/check-textrel.c: File removed.
17100 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17102 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17104 * conform/data/ctype.h-data [C99-based standards] (isblank):
17106 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17107 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17109 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17110 Specify type. Require positive value.
17111 (EILSEQ): Likewise.
17112 (ERANGE): Likewise.
17113 [ISO || POSIX] (EILSEQ): Do not expect.
17114 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17115 Specify type. Require positive value.
17116 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17117 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17118 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17119 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17120 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17121 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17122 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17123 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17124 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17125 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17126 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17127 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17128 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17129 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17134 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17135 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17136 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17137 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17138 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17139 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17142 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17143 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17144 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17145 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17146 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17147 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17148 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17149 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17150 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17151 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17152 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17153 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17154 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17155 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17156 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17157 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17158 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17159 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17160 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17161 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17162 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17163 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17164 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17165 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17166 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17167 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17168 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17169 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17170 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17171 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17172 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17173 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17174 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17175 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17176 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17177 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17178 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17179 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17180 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17181 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17182 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17183 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17184 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17185 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17186 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17187 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17188 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17189 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17190 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17191 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17192 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17194 (FLT_ROUNDS): Expect as macro, not constant.
17195 (FLT_MANT_DIG): Use macro-int-constant.
17196 (DBL_MANT_DIG): Likewise.
17197 (LDBL_MANT_DIG): Likewise.
17198 (FLT_DIG): Likewise.
17199 (DBL_DIG): Likewise.
17200 (LDBL_DIG): Likewise.
17201 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17202 (DBL_MIN_EXP): Likewise.
17203 (LDBL_MIN_EXP): Likewise.
17204 (FLT_MAX_EXP): Use macro-int-constant.
17205 (DBL_MAX_EXP): Likewise.
17206 (LDBL_MAX_EXP): Likewise.
17207 (FLT_MAX_10_EXP): Likewise.
17208 (DBL_MAX_10_EXP): Likewise.
17209 (LDBL_MAX_10_EXP): Likewise.
17210 (FLT_MAX): Use macro-constant.
17211 (DBL_MAX): Likewise.
17212 (LDBL_MAX): Likewise.
17213 (FLT_EPSILON): Use macro-constant. Give upper bound.
17214 (DBL_EPSILON): Likewise.
17215 (LDBL_EPSILON): Likewise.
17216 (FLT_MIN): Likewise.
17217 (DBL_MIN): Likewise.
17218 (LDBL_MIN): Likewise.
17219 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17220 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17221 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17222 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17223 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17224 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17225 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17226 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17227 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17228 [ISO11] (FLT_TRUE_MIN): Likewise.
17229 [ISO11] (LDBL_TRUE_MIN): Likewise.
17230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17231 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17232 (SCHAR_MIN): Use macro-int-constant. Specify type.
17233 (SCHAR_MAX): Likewise.
17234 (UCHAR_MAX): Likewise.
17235 (CHAR_MIN): Likewise.
17236 (CHAR_MAX): Likewise.
17237 (MB_LEN_MAX): Use macro-int-constant.
17238 (SHRT_MIN): Use macro-int-constant. Specify type.
17239 (SHRT_MAX): Likewise.
17240 (USHRT_MAX): Likewise.
17241 (INT_MAX): Likewise.
17242 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17244 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17246 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17248 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17249 bound negative. Suffix upper bound with "L".
17250 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17252 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17254 [C99-based standards] (LLONG_MAX): Likewise.
17255 [C99-based standards] (ULLONG_MAX): Likewise.
17256 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17258 [ISO11] (max_align_t): Require type.
17259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17261 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17262 from $CFLAGS, without defining away __attribute__ calls.
17263 (checknamespace): Use $CFLAGS_namespace.
17265 * conform/conformtest.pl (@keywords): Only include C99 keywords
17266 for standards based on C99 or C11.
17268 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17270 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17273 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17274 usability of symbols in #if.
17276 * conform/conformtest.pl: If macro or constant types start
17277 "promoted:", expect the symbol to be of the following type
17278 promoted by the integer promotions.
17280 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17281 in one place. Also handle "macro-constant".
17283 * conform/conformtest.pl: Only accept expected macro values with
17284 "==". Parse all "macro" lines in one place.
17285 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17287 * conform/conformtest.pl: Handle braced types on "constant" lines
17288 instead of handling "typed-constant".
17289 * conform/data/signal.h-data: Use "constant" instead of
17292 * conform/conformtest.pl: Handle "optional-" at start of lines in
17293 one place rather than duplicating several cases. Handle each
17294 format of "macro" line with initial "optional-".
17296 * conform/conformtest.pl: Only accept expected constant or
17297 optional-constant values with "==". Parse all "constant" lines in
17298 one place. Parse all "optional-constant" lines in one place.
17299 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17300 * conform/data/fmtmsg.h-data: Likewise.
17301 * conform/data/netinet/in.h-data: Likewise.
17302 * conform/data/tar.h-data: Likewise.
17303 * conform/data/limits.h-data: Use "==" form on "constant" and
17304 "optional-constant" lines.
17306 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17307 Use -std=c99 for XOPEN2K.
17308 (@knownproblems): Remove.
17309 (newtoken): Don't check %isknown.
17311 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17312 Do not expect macro.
17313 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17314 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17315 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17316 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17317 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17318 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17319 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17320 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17321 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17322 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17323 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17324 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17325 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17326 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17327 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17328 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17329 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17330 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17331 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17332 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17333 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17334 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17335 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17336 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17337 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17338 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17339 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17340 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17341 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17342 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17343 [XPG3] (acosh): Likewise.
17344 [XPG3] (asinh): Likewise.
17345 [XPG3] (atanh): Likewise.
17346 [XPG3] (cbrt): Likewise.
17347 [XPG3] (expm1): Likewise.
17348 [XPG3] (ilogb): Likewise.
17349 [XPG3] (log1p): Likewise.
17350 [XPG3] (logb): Likewise.
17351 [XPG3] (nextafter): Likewise.
17352 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17353 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17354 [XPG3] (remainder): Likewise.
17355 [XPG3] (rint): Likewise.
17356 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17357 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17358 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17359 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17360 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17361 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17362 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17363 [UNIX98 || XOPEN2K] (scalb): Expect.
17364 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17365 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17366 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17367 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17368 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17369 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17370 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17371 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17372 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17373 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17375 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17376 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17377 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17378 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17379 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17380 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17381 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17382 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17384 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17385 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17386 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17387 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17388 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17389 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17390 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17391 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17392 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17393 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17394 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17395 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17396 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17397 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17398 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17399 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17400 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17402 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17403 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17404 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17405 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17406 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17407 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17408 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17409 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17412 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17413 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17414 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17415 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17416 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17417 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17418 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17419 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17421 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17422 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17424 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17425 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17426 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17427 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17428 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17429 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17430 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17431 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17433 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17434 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17435 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17436 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17437 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17438 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17439 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17440 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17441 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17443 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17444 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17445 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17446 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17447 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17448 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17449 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17450 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17451 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17452 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17453 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17454 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17455 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17456 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17457 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17458 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17459 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17460 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17461 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17462 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17463 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17464 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17465 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17466 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17467 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17468 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17469 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17470 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17471 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17472 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17473 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17474 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17475 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17476 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17477 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17478 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17479 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17480 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17481 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17482 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17483 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17484 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17485 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17486 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17487 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17488 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17489 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17490 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17491 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17492 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17493 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17494 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17495 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17496 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17497 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17498 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17499 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17500 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17502 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17503 _XOPEN_SOURCE_EXTENDED for XPG4.
17505 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17507 * Makeconfig (localtime): Remove variable.
17508 (inst_localtime-file): Likewise.
17510 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17531 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17535 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17536 comparisons to determine direction to adjust input.
17537 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17538 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17543 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17545 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17546 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17548 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17550 * math/libm-test.inc (nexttoward_test): Add more tests.
17552 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17555 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17556 in version GLIBC_2.1, not GLIBC_2.0.
17557 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17560 2012-04-30 Joseph Myers <joseph@codesourcery.com>
17563 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17565 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17566 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17567 * math/libm-test.inc (acos_test): Add more tests.
17568 (asin_test): Likewise.
17569 * sysdeps/i386/fpu/libm-test-ulps: Update.
17570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17573 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17575 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17576 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17577 * math/libm-test.inc (acos_test_tonearest): New function.
17578 (acos_test_towardzero): Likewise.
17579 (acos_test_downward): Likewise.
17580 (acos_test_upward): Likewise.
17581 (asin_test_tonearest): Likewise.
17582 (asin_test_towardzero): Likewise.
17583 (asin_test_downward): Likewise.
17584 (asin_test_upward): Likewise.
17585 (main): Call the new functions.
17586 * sysdeps/i386/fpu/libm-test-ulps: Update.
17587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17591 * math/e_exp10.c: Include <float.h>.
17592 (__ieee754_exp10): Handle underflow here rather than multiplying
17593 large negative argument by M_LN10.
17594 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17596 * math/e_exp10l.c: Include <float.h>.
17597 (__ieee754_exp10l): Handle underflow here rather than multiplying
17598 large negative argument by M_LN10l.
17599 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17600 spurious overflow exception on underflow.
17602 2012-04-29 Marek Polacek <polacek@redhat.com>
17604 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17605 (__fortify_function): New macro.
17606 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17607 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17608 __extern_always_inline.
17609 * libio/bits/stdio2.h: Likewise.
17610 * libio/bits/stdio.h: Likewise.
17611 * string/string.h: Likewise.
17612 * string/bits/string3.h: Likewise.
17613 * include/stdio.h: Likewise.
17614 * stdlib/bits/stdlib.h: Likewise.
17615 * stdlib/stdlib.h: Likewise.
17616 * rt/bits/mqueue2.h: Likewise.
17617 * rt/mqueue.h: Likewise.
17618 * posix/bits/unistd.h: Likewise.
17619 * posix/unistd.h: Likewise.
17620 * io/bits/poll2.h: Likewise.
17621 * io/bits/fcntl2.h: Likewise.
17622 * io/fcntl.h: Likewise.
17623 * io/sys/poll.h: Likewise.
17624 * misc/bits/syslog.h: Likewise.
17625 * misc/bits/syslog-ldbl.h: Likewise.
17626 * misc/sys/syslog.h: Likewise.
17627 * socket/bits/socket2.h: Likewise.
17628 * socket/sys/socket.h: Likewise.
17629 * debug/tst-chk1.c: Likewise.
17630 * wcsmbs/bits/wchar2.h: Likewise.
17631 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17632 * wcsmbs/wchar.h: Likewise.
17634 2012-04-29 Andreas Jaeger <aj@suse.de>
17636 * Makerules (tests): Remove enable-check-abi protection.
17637 (check-abi-warn): Remove.
17638 (check-abi-%): Remove check-abi-warn usage.
17640 * configure.in: Remove check-abi configure option.
17641 * configure: Regenerated.
17642 * config.make.in (enable-check-abi): Remove.
17644 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17647 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17648 double functions to double *_finite functions.
17651 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17652 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17654 * stdio-common/Makefile (tests): Add tst-sprintf3.
17655 * stdio-common/tst-sprintf3.c: New file.
17657 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17658 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17660 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17662 * conform/conformtest.pl: Remove duplicate typed-constant
17665 2012-04-28 David S. Miller <davem@davemloft.net>
17667 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17668 (check-abi-%): Remove AWK script prerequisite and explicit
17670 (check-abi): Rewrite to just diff the symlist with the abilist.
17671 (config-tls, config-abi-config): Delete, no longer used.
17672 (update-abi-%): Remove AWK script and explicit abilist directory.
17673 (update-abi): Rewrite to simply compare and conditionally copy the
17674 symlist and the sysdep abilist file. Remove update-abi-config
17676 * abilist/ld.abilist: Remove.
17677 * abilist/libBrokenLocale.abilist: Remove.
17678 * abilist/libanl.abilist: Remove.
17679 * abilist/libcrypt.abilist: Remove.
17680 * abilist/libdl.abilist: Remove.
17681 * abilist/librt.abilist: Remove.
17682 * abilist/libthread_db.abilist: Remove.
17683 * abilist/libutil.abilist: Remove.
17684 * scripts/extract-abilist.awk: Remove.
17685 * scripts/merge-abilist.awk: Remove.
17686 * sysdeps/generic/libcidn.abilist: New file.
17687 * sysdeps/generic/libnss_compat.abilist: New file.
17688 * sysdeps/generic/libnss_db.abilist: New file.
17689 * sysdeps/generic/libnss_dns.abilist: New file.
17690 * sysdeps/generic/libnss_files.abilist: New file.
17691 * sysdeps/generic/libnss_hesiod.abilist: New file.
17692 * sysdeps/generic/libnss_nis.abilist: New file.
17693 * sysdeps/generic/libnss_nisplus.abilist: New file.
17694 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17695 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17696 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17698 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17699 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17700 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17701 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17702 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17703 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17704 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17705 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17706 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17708 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17709 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17710 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17711 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17713 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17714 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17715 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17716 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17717 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17718 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17720 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17721 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17722 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17724 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17827 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17828 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17829 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17831 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17832 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17833 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17834 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17835 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17836 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17837 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17838 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17839 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17840 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17892 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17894 * conform/conformtest.pl: Fix typo in handling typed-constant from
17897 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17899 * README: Cut down references to pre-2.6 Linux kernels and
17900 Linuxthreads. Update lists of configurations in libc and ports
17901 and sort alphabetically. Say "or newer" with Linux kernel version
17904 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17906 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17909 * math/libm-test.inc (logb_test_downward): New test to expose
17910 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17913 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17916 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17918 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17919 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17921 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17923 * sysdeps/unix/i386/brk.S: Remove file.
17924 * sysdeps/unix/i386/dl-brk.S: Likewise.
17925 * sysdeps/unix/i386/pipe.S: Likewise.
17926 * sysdeps/unix/i386/sigreturn.S: Likewise.
17927 * sysdeps/unix/i386/syscall.S: Likewise.
17928 * sysdeps/unix/i386/vfork.S: Likewise.
17929 * sysdeps/unix/i386/wait.S: Likewise.
17931 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17932 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17934 * configure.in (arm*-none*): Do not allow without
17935 --enable-hacker-mode.
17936 (netbsd*): Remove case setting base_os.
17937 (386bsd*): Likewise.
17938 (freebsd*): Likewise.
17941 (sunos*): Likewise.
17942 (ultrix*): Likewise.
17943 (newsos*): Likewise.
17944 (dynix*): Likewise.
17950 (minix*): Likewise.
17951 (irix4*): Likewise.
17952 (irix6*): Likewise.
17953 (solaris[2-9]*): Likewise.
17955 * configure: Regenerated.
17957 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17960 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17961 overflow or cancellation in calculating denominator.
17962 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17964 down expression to avoid unexpected rounding in newer GCCs.
17965 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17967 2012-04-26 David S. Miller <davem@davemloft.net>
17969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17970 long-double compat symbols.
17971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17985 2012-04-25 David S. Miller <davem@davemloft.net>
17987 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17988 HWCAP_* values only after the memory barriers have been defined.
17989 (atomic_full_barrier): Define.
17990 (atomic_read_barrier): Define.
17991 (atomic_write_barrier): Define.
17993 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17995 * shlib-versions: Add libgcc_s version information.
17996 * sysdeps/generic/libgcc_s.h: Remove.
17997 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17999 * sysdeps/gnu/unwind-resume.c: Likewise.
18000 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18002 2012-04-25 David S. Miller <davem@davemloft.net>
18004 * sysdeps/unix/sparc/brk.S: Delete.
18005 * sysdeps/unix/sparc/dl-brk.S: Delete.
18006 * sysdeps/unix/sparc/pipe.S: Delete.
18007 * sysdeps/unix/sparc/sysdep.S: Delete.
18008 * sysdeps/unix/sparc/sysdep.h: Delete.
18009 * sysdeps/unix/sparc/vfork.S: Delete.
18010 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18011 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18012 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18013 ret_ERRVAL, r0, r1, MOVE): Define.
18014 (JUMPTARGET): Remove.
18015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18016 sysdeps/unix/sparc/sysdep.h
18017 (ENTRY, END): Remove.
18018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18020 2012-04-25 Joseph Myers <joseph@codesourcery.com>
18022 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18023 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18026 * timezone/README: Update upstream location and email address for
18028 * timezone/zdump.c: Update from tzcode 2012b.
18029 * timezone/zic.c: Likewise.
18031 * configure.in (libc_cv_as_needed): Remove test.
18032 * configure: Regenerated.
18033 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18034 conditional definition.
18035 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18036 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18037 * config.make.in (have-as-needed): Remove variable.
18039 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18040 Paul Pluzhnikov <ppluzhnikov@google.com>
18042 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18045 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18047 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18048 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18049 * sysdeps/sh/strlen.S: Likewise.
18051 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18053 * sysdeps/unix/fork.S: Remove file.
18054 * sysdeps/unix/i386/fork.S: Likewise.
18055 * sysdeps/unix/sparc/fork.S: Likewise.
18057 * sysdeps/unix/system.c: Remove file.
18058 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18060 * sysdeps/unix/getegid.S: Remove file.
18061 * sysdeps/unix/geteuid.S: Likewise.
18063 2012-04-24 Roland McGrath <roland@hack.frob.com>
18065 * scripts/check-localplt.awk: New file.
18066 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18068 * scripts/data/localplt-generic.data: Add a comment.
18070 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18071 NODE when __dir_mkfile failed.
18072 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18073 Reported by Ludovic Courtès <ludo@gnu.org>.
18075 2012-04-24 Andreas Jaeger <aj@suse.de>
18077 * Makerules (common-clean): Also remove gen-as-const-headers
18080 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18082 * Makerules (native-compile): Do not change working directory for
18083 build. Use $(OUTPUT_OPTION) in command.
18084 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18086 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18089 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18090 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18091 * math/libm-test.inc (floor_test): Add more tests.
18092 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18094 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18096 * sysdeps/unix/getdents.c: Remove file.
18097 * sysdeps/unix/sysv/getdents.c: Likewise.
18098 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18100 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18101 sysdeps/unix/mman/syscalls.list.
18103 (mprotect): Likewise.
18105 (munmap): Likewise.
18106 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18107 * sysdeps/unix/mman/syscalls.list: Remove.
18108 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18110 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18111 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18112 * configure: Regenerated.
18113 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18114 $(libgcc_s_suffix).
18115 * config.make.in (libgcc_s_suffix): Remove variable.
18117 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18119 * sysdeps/unix/sysv/gethostname.c: Move to ...
18120 * sysdeps/posix/gethostname.c: ... here.
18122 * sysdeps/unix/execve.S: Remove file.
18124 * sysdeps/unix/_exit.S: Remove file.
18126 2012-04-23 Andreas Jaeger <aj@suse.de>
18129 * manual/Makefile: Remove make dist support, there's no
18130 need for a stand-alone documentation tar ball.
18131 (TEXI2DVI): Define always, it's not in Makeconfig.
18134 (edition): Removed.
18135 (glibc-doc-$(edition).tar): Removed
18139 (ETAGS): Remove, it's in Makeconfig.
18140 (move-if-change): Remove, it's in Makeconfig.
18142 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18145 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18146 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18147 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18148 (strtod_l, strtof_l, strtold_l): Remove __wur.
18149 It is not necessarily an error to ignore strtol's return value.
18150 One can reliably look at the stored endptr to decide whether
18151 the number had valid syntax.
18153 2012-04-21 Andreas Jaeger <aj@suse.de>
18156 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18158 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18160 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18161 * sysdeps/unix/sysv/Versions: Remove file.
18163 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18168 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18172 version from __vm86.
18174 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18176 * sysdeps/unix/common/lxstat.c: Remove file.
18177 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18179 * sysdeps/unix/sysv/Makefile: Remove file.
18181 * sysdeps/unix/sysv/direct.h: Remove file.
18183 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18184 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18185 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18186 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18187 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18188 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18189 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18191 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18193 * sysdeps/unix/xmknod.c: Remove file.
18194 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18196 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18198 * sysdeps/unix/sysv/i386/time.S: Remove file.
18200 * sysdeps/unix/fxstat.c: Remove file.
18201 * sysdeps/unix/xstat.c: Likewise.
18202 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18204 * sysdeps/unix/sysv/sigaction.c: Remove file.
18206 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18207 (sysdep_headers): Remove variable.
18208 [termio.h not in sysdep_headers] (generated): Likewise.
18209 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18210 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18211 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18212 * sysdeps/unix/sysv/tcflow.c: Likewise.
18213 * sysdeps/unix/sysv/tcflush.c: Likewise.
18214 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18215 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18216 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18217 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18218 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18220 * sysdeps/unix/siglist.c: Remove file.
18222 * sysdeps/unix/getppid.S: Remove file.
18224 * sysdeps/unix/mkdir.c: Remove file.
18225 * sysdeps/unix/rmdir.c: Likewise.
18227 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18229 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18231 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18232 errlist-compat value.
18234 2012-04-18 David S. Miller <davem@davemloft.net>
18236 * sysdeps/generic/memcopy.h (reg_char): Delete.
18237 * debug/strcat_chk.c: Use char, not reg_char.
18238 * debug/strcpy_chk.c: Likewise.
18239 * debug/strncat_chk.c: Likewise.
18240 * debug/strncpy_chk.c: Likewise.
18241 * string/memchr.c: Likewise.
18242 * string/memrchr.c: Likewise.
18243 * string/rawmemchr.c: Likewise.
18244 * string/strcat.c: Likewise.
18245 * string/strchr.c: Likewise.
18246 * string/strchrnul.c: Likewise.
18247 * string/strcmp.c: Likewise.
18248 * string/strcpy.c: Likewise.
18249 * string/strncat.c: Likewise.
18250 * string/strncmp.c: Likewise.
18251 * string/strncpy.c: Likewise.
18253 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18255 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18256 __builtin_memcopy is called when src and dest ranges are known to not
18259 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18261 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18262 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18263 fwd_align_merge macro call.
18264 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18265 bwd_align_merge macro call.
18266 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18268 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18270 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18271 bwd_align_merge macros.
18272 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18273 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18274 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18276 2012-04-18 David S. Miller <davem@davemloft.net>
18278 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18280 2012-04-18 Andreas Jaeger <aj@suse.de>
18283 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18284 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18288 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18289 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18291 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18292 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18293 Adjust for changed ldbl-128 files.
18295 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18296 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18297 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18299 2012-04-17 David S. Miller <davem@davemloft.net>
18301 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18303 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18305 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18306 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18307 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18308 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18309 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18310 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18312 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18315 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18316 * math/libm-test.inc: Add ilogb errno and exception tests.
18317 * math/w_ilogb.c: New file: ilogb wrapper.
18318 * math/w_ilogbf.c: New file: ilogbf wrapper.
18319 * math/w_ilogbl.c: New file: ilogbl wrapper.
18320 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18321 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18322 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18323 exception being thrown with 0.0 as argument.
18324 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18325 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18326 exception being thrown with 0.0 as argument.
18327 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18328 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18329 exception being thrown with 0.0 as argument.
18330 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18331 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18332 exception being thrown with 0.0 as argument.
18333 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18334 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18335 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18336 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18337 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18338 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18339 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18340 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18341 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18343 2012-04-17 Petr Baudis <pasky@ucw.cz>
18345 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18348 2012-04-16 Marek Polacek <polacek@redhat.com>
18350 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18352 2012-04-16 Marek Polacek <polacek@redhat.com>
18354 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18355 operands of fdivp instruction.
18357 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18359 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18360 * elf/tst-auditmod3b.c: Likewise.
18361 * elf/tst-auditmod4b.c: Likewise.
18362 * elf/tst-auditmod5b.c: Likewise.
18363 * elf/tst-auditmod6b.c: Likewise.
18364 * elf/tst-auditmod6c.c: Likewise.
18365 * elf/tst-auditmod7b.c: Likewise.
18366 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18367 * sysdeps/x86_64/preconfigure.in: Likewise.
18368 * sysdeps/x86_64/preconfigure: Regenerated.
18370 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18372 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18375 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18378 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18380 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18383 * locale/iso-639.def: Fix gl language name. Spotted by
18386 2012-04-12 Roland McGrath <roland@hack.frob.com>
18389 * libio/libio.h (__io_write_fn): Update comment.
18391 2012-04-12 Petr Baudis <pasky@ucw.cz>
18394 * stdio.texi (Hook Functions): The user provided writer function
18395 is not allowed to return -1.
18397 2012-04-11 David S. Miller <davem@davemloft.net>
18399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18401 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18403 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18404 Add a leading slash to rtkaio.
18406 2012-04-11 Jim Meyering <meyering@redhat.com>
18409 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18410 It is not necessarily an error to ignore fwrite's return
18411 value. One can reliably use ferror to test for errors after
18414 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18416 * bits/types.h (__snseconds_t): New type.
18417 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18419 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18421 (__SNSECONDS_T_TYPE): Likewise.
18422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18423 (__SNSECONDS_T_TYPE): Likewise.
18424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18425 (__SNSECONDS_T_TYPE): Likewise.
18427 2012-04-10 Andreas Jaeger <aj@suse.de>
18430 * manual/time.texi (Processor Time): Return type of times is
18431 elapsed real time since an arbitrary point in the past.
18432 (CPU Time): Move CLK_TCK from here...
18433 (Processor Time): ...to here. Correct description.
18434 * manual/conf.texi (Constants for Sysconf): Correct description of
18437 2012-04-10 David S. Miller <davem@davemloft.net>
18440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18441 where the is a gap between DT_REL(A) and DT_JMPREL.
18443 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18445 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18446 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18447 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18449 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18451 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18452 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18453 (dl_main): Handle --inhibit-cache.
18454 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18456 * elf/dl-load.c (_dl_map_object): Use it.
18457 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18459 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18462 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18463 (__ieee754_powl): Saturate large exponents rather than testing for
18464 overflow of y*log2(x).
18465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18466 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18470 * math/s_ctan.c: Include <float.h>.
18471 (__ctan): Avoid internal overflow or cancellation in calculating
18473 * math/s_ctanf.c: Likewise.
18474 * math/s_ctanl.c: Likewise.
18475 * math/s_ctanh.c: Likewise.
18476 * math/s_ctanhf.c: Likewise.
18477 * math/s_ctanhl.c: Likewise.
18478 * math/libm-test.inc (ctan_test): Add more tests.
18479 (ctanh_test): Likewise.
18480 * sysdeps/i386/fpu/libm-test-ulps: Update.
18481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18483 2012-04-09 Andreas Jaeger <aj@suse.de>
18486 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18487 is an optional BSD extension.
18490 * manual/stdio.texi (Opening Streams): Document additional fopen
18493 2012-04-09 Roland McGrath <roland@hack.frob.com>
18495 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18496 %eax without telling the compiler.
18498 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18501 * manual/install.texi: Use sourceware.org.
18503 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18506 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18507 (__ieee754_pow): Generate overflow and underflow using huge*huge
18508 and tiny*tiny rather than just returning constant infinity or zero
18509 for large exponents.
18510 * math/libm-test.inc (pow_test): Require overflow exceptions for
18511 applicable cases of large exponents.
18514 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18515 (__ieee754_pow): Use iterative multiplication algorithm only for
18516 integer exponents with absolute value below 1024. Check for odd
18517 integer exponents when using algorithm for real exponents.
18518 * math/libm-test.inc (pow_test): Add more tests.
18519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18521 2012-04-08 Joseph Myers <joseph@codesourcery.com>
18524 * math/libm-test.inc (exp_test): Do not allow overflow exception
18527 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18530 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18531 instead of __kernel_standard_f.
18533 2012-04-08 Mike Frysinger <vapier@gentoo.org>
18535 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18536 * sysdeps/x86_64/memset_chk.S: Likewise.
18538 2012-04-08 Andreas Jaeger <aj@suse.de>
18541 * manual/startup.texi (Environment Access): Describe return value
18542 for putenv and setenv.
18545 * manual/filesys.texi (Directory Entries): Add description for
18549 * manual/filesys.texi (Directory Entries): Clarify that it's file
18550 system not operating system in the description of DT_UNKNOWN.
18553 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18555 2012-04-08 Stephen Compall <s11@member.fsf.org>
18558 * manual/llio.texi (Opening and Closing Files): Add cross
18559 reference to explain mode argument.
18561 2012-04-07 Mike Frysinger <vapier@gentoo.org>
18563 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18564 * sysdeps/x86_64/memset_chk.S: Likewise.
18566 2012-04-07 David S. Miller <davem@davemloft.net>
18568 * elf/elf.h (R_SPARC_WDISP10): Define.
18569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18572 R_SPARC_SIZE64 and R_SPARC_H34.
18574 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18577 conditions and remove no longer applicable assertion.
18579 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18581 * bits/byteswap.h: Include <features.h>.
18582 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18583 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18585 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18587 * bits/byteswap.h (__bswap_16): Removed.
18588 Include <bits/byteswap-16.h> to get __bswap_16.
18589 * sysdeps/i386/bits/byteswap.h: Likewise.
18590 * sysdeps/s390/bits/byteswap.h: Likewise.
18591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18592 * bits/byteswap-16.h: New file.
18593 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18594 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18595 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18596 * string/Makefile (headers): Add bits/byteswap-16.h.
18598 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18601 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18603 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18604 * nss/tst-nss-static.c: New.
18606 2012-04-06 Robert Millan <rmh@gnu.org>
18609 * manual/llio.texi (File Position Primitive): lseek
18610 refers to WHENCE when it really means OFFSET.
18612 2012-04-06 Andreas Jaeger <aj@suse.de>
18614 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18615 strncmp declarations.
18617 * abilist/libc.abilist: Add __poll and __ppoll.
18619 2012-04-05 David S. Miller <davem@davemloft.net>
18621 * scripts/check-local-headers.sh: Accept a host triplet in the
18622 path matched by the exclude regexp.
18624 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18626 * sysdeps/powerpc/powerpc32/dl-machine.h
18627 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18628 * sysdeps/s390/s390-32/dl-machine.h
18629 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18630 * sysdeps/sparc/sparc32/dl-machine.h
18631 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18632 * sysdeps/sparc/sparc64/dl-machine.h
18633 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18635 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18637 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
18638 undefined symbol errors.
18640 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
18643 2012-04-05 Michael Matz <matz@suse.de>
18646 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18648 2012-04-05 Andreas Jaeger <aj@suse.de>
18651 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18654 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18656 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18657 which ROUND is no valid rounding mode.
18659 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18663 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18665 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18667 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18668 an exception using FPU order intentionally.
18670 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18672 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18673 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18674 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18675 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18677 2012-04-05 Simon Josefsson <simon@josefsson.org>
18680 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18681 EINVAL when BUFLEN is too smal.
18683 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18686 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18687 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18689 2012-04-03 Andreas Jaeger <aj@suse.de>
18692 * manual/setjmp.texi (System V contexts): Fix sentence.
18695 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18696 New macro for this case.
18697 [!__GNUC__] (__bswap_64): New inline function for this case.
18698 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18699 * bits/byteswap.h: Likewise.
18700 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18701 ull, guard with __GLIBC_HAVE_LONG_LONG.
18703 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18704 __GLIBC_HAVE_LONG_LONG.
18706 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18707 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18709 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18712 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18713 inptr and inend, rather than using last_ch.
18715 2012-04-02 David S. Miller <davem@davemloft.net>
18717 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18718 * stdio-common/printf-parse.h (read_int): Change return type to
18719 'int', return -1 on INT_MAX overflow.
18720 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18721 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18722 overflows INT_MAX. Check for overflow of in-format-string precision
18723 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18724 SIZE_MAX not INT_MAX for integer overflow test.
18725 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18726 skip the construct in the format string but do not record anything.
18727 * stdio-common/bug22.c: Adjust to test both width/prevision
18728 INT_MAX overflow as well as total length INT_MAX overflow. Check
18729 explicitly for proper errno values.
18731 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18733 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18735 * string/test-strcmp.c [! WIDE]: Likewise.
18736 * time/tst-mktime2.c: Likewise for INT_MAX.
18737 * string/test-string.h: #include <sys/param.h> for MIN.
18739 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18740 * sysdeps/i386/init-first.c (init): Likewise.
18741 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18742 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18743 * sysdeps/sh/init-first.c (init): Likewise.
18745 2012-04-01 Ulrich Drepper <drepper@gmail.com>
18747 * po/ru.po: Update from translation team.
18748 * po/vi.po: Likewise.
18750 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18752 * resolv/nss_dns/dns-host.c: Merge copyright years.
18754 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18757 Optimize memcpy with prefetch if
18758 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18759 src, dst pointers have unequal 16 byte alignments.
18761 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18764 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18765 from a CNAME entry and return the minimum ttl for the query.
18766 (gaih_getanswer_slice): Likewise.
18768 2012-03-30 Jeff Law <law@redhat.com>
18770 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18772 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18773 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18775 * resolv/nss_dns/dns-host.c: Update copyright year.
18777 2012-03-30 Ulrich Drepper <drepper@gmail.com>
18779 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
18780 requests to save a system call. Fix check that all bytes are sent.
18782 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18783 comments for sendmmsg.
18785 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18788 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18789 with only 1 character between 0x0041 and 0x01b0.
18790 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18791 * wcsmbs/tst-mbsnrtowcs.c: New file.
18793 2012-03-29 David S. Miller <davem@davemloft.net>
18795 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18796 small copies by hand.
18798 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18801 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18802 _nss_compat_initgroups_dyn): Fall back to malloc/free
18803 for large group memberships.
18805 2012-03-28 David S. Miller <davem@davemloft.net>
18807 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18808 that branches into memcpy.
18809 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18811 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18812 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18815 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18816 implementation too.
18817 * sysdeps/sparc/mempcpy.S: New file.
18819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18820 the IFUNC routine in the libc case.
18821 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18823 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18824 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18825 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18826 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18827 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18828 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18829 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18830 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18832 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18833 loop to 256 bytes instead of 64 bytes and fix test signedness.
18835 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18836 * sysdeps/sparc/sparc32/Makefile: rather than here...
18837 * sysdeps/sparc/sparc64/Makefile: and here.
18839 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18841 * malloc/mallocbug.c: Avoid warnings about unused variables.
18843 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18846 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18847 in the right place. Discard and retry query if response is
18848 larger than input buffer size.
18850 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18855 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18856 x for large integer exponent.
18857 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18858 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18859 sign of result as needed afterwards.
18860 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18861 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18862 result for underflowing pow the same as for overflow.
18863 (__kernel_standard_l): Handle powl overflow and underflow here
18864 rather than calling __kernel_standard.
18865 * math/libm-test.inc (pow_test): Add more tests.
18880 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18881 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18882 (__kernel_standard_l): New function.
18883 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18885 * math/w_acosl.c (__acosl): Likewise.
18886 * math/w_asinl.c (__asinl): Likewise.
18887 * math/w_atan2l.c (__atan2l): Likewise.
18888 * math/w_atanhl.c (__atanhl): Likewise.
18889 * math/w_coshl.c (__coshl): Likewise.
18890 * math/w_exp10l.c (__exp10l): Likewise.
18891 * math/w_exp2l.c (__exp2l): Likewise.
18892 * math/w_fmodl.c (__fmodl): Likewise.
18893 * math/w_hypotl.c (__hypotl): Likewise.
18894 * math/w_j0l.c (__j0l, __y0l): Likewise.
18895 * math/w_j1l.c (__j1l, __y1l): Likewise.
18896 * math/w_jnl.c (__jnl, __ynl): Likewise.
18897 * math/w_lgammal.c (__lgammal): Likewise.
18898 * math/w_log10l.c (__log10l): Likewise.
18899 * math/w_log2l.c (__log2l): Likewise.
18900 * math/w_logl.c (__logl): Likewise.
18901 * math/w_powl.c (__powl): Likewise.
18902 * math/w_remainderl.c (__remainderl): Likewise.
18903 * math/w_scalbl.c (sysv_scalbl): Likewise.
18904 * math/w_sinhl.c (__sinhl): Likewise.
18905 * math/w_sqrtl.c (__sqrtl): Likewise.
18906 * math/w_tgammal.c (__tgammal): Likewise.
18907 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18908 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18909 * math/libm-test.inc (acos_test): Add more tests.
18910 (acosh_test): Likewise.
18911 (asin_test): Likewise.
18912 (atanh_test): Likewise.
18913 (exp_test): Likewise.
18914 (exp10_test): Likewise.
18915 (exp2_test): Likewise.
18916 (expm1_test): Likewise.
18917 (lgamma_test): Likewise.
18918 (log_test): Likewise.
18919 (log10_test): Likewise.
18920 (log1p_test): Likewise.
18921 (log2_test): Likewise.
18922 (pow_test): Do not allow some spurious overflow exceptions.
18923 (sqrt_test): Add more tests.
18924 (tgamma_test): Likewise.
18925 (y0_test): Likewise.
18926 (y1_test): Likewise.
18927 (yn_test): Likewise.
18929 2012-03-27 Anton Blanchard <anton@samba.org>
18931 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18933 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18935 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18937 2012-03-27 David S. Miller <davem@davemloft.net>
18939 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18941 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18942 have-as-vis3 check.
18944 2012-03-27 Andreas Jaeger <aj@suse.de>
18946 * sysdeps/x86_64/elf/configure.in: Moved to ...
18947 * sysdeps/x86_64/configure.in: ... here.
18948 * sysdeps/x86_64/elf/start.S: Moved to ...
18949 * sysdeps/x86_64/start.S: ... here.
18950 * sysdeps/x86_64/elf/configure: Delete.
18952 * sysdeps/x86_64/configure.in: Merge contents from
18953 sysdeps/i386/configure.in (without i686 check).
18955 * sysdeps/i386/elf/Versions: Merge into ...
18956 * sysdeps/i386/Versions: ... this.
18957 * sysdeps/i386/elf/Versions: Delete file.
18958 * sysdeps/i386/elf/start.S: Moved to ...
18959 * sysdeps/i386/start.S: ...here.
18960 * sysdeps/i386/elf/configure.in: Merge into...
18961 * sysdeps/i386/configure.in: ...here.
18962 * sysdeps/i386/elf/configure.in: Delete file.
18963 * sysdeps/i386/elf/configure: Delete file.
18965 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18966 * debug/backtracesyms.c: ... here.
18967 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18968 * debug/backtracesymsfd.c: ... here.
18969 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18970 * sysdeps/generic/ifunc-sel.h: ... here.
18972 * sysdeps/unix/i386/start.c: Delete file.
18973 * sysdeps/unix/sparc/start.c: Delete file.
18974 * sysdeps/unix/start.c: Delete file.
18976 * sysdeps/sh/elf/configure.in: Moved to ...
18977 * sysdeps/sh/configure.in: ... here.
18978 * sysdeps/sh/elf/start.S: Moved to ...
18979 * sysdeps/sh/start.S: ... here.
18980 * sysdeps/sh/elf/configure: Delete file.
18982 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18983 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18984 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18985 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18986 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18987 * sysdeps/powerpc/powerpc64/start.S: here.
18988 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18989 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18990 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18991 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18992 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18994 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18995 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18996 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18997 * sysdeps/powerpc/powerpc32/start.S: ... here.
18998 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18999 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19000 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19002 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19003 * sysdeps/powerpc/ifunc-sel.h: ... here.
19004 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19005 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19007 * sysdeps/sparc/elf/configure.in: Moved to ...
19008 * sysdeps/sparc/configure.in: ... here.
19009 * sysdeps/sparc/elf/configure: Delete file.
19010 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19011 * sysdeps/sparc/sparc32/start.S: ... here.
19012 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19013 * sysdeps/sparc/sparc64/start.S: ... here.
19014 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19015 * sysdeps/sparc/sparc32/Makefile: ... this.
19016 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19017 * sysdeps/sparc/sparc64/Makefile: ... this.
19019 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19020 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19021 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19022 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19023 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19024 * sysdeps/s390/s390-32/setjmp.S: ... here.
19025 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19026 * sysdeps/s390/s390-32/configure.in: ... here.
19027 * sysdeps/s390/s390-32/elf/configure: Delete file.
19028 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19029 * sysdeps/s390/s390-32/start.S: ... here.
19031 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19032 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19033 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19034 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19035 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19036 * sysdeps/s390/s390-64/setjmp.S: ... here.
19037 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19038 * sysdeps/s390/s390-64/configure.in: ... here
19039 * sysdeps/s390/s390-64/elf/configure: Delete file.
19040 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19041 * sysdeps/s390/s390-64/start.S: ... here.
19042 * sysdeps/s390/s390-64/elf/configure: Delete.
19044 * configure.in: Remove support for elf directories in sysdeps.
19046 * configure: Regenerated.
19047 * sysdeps/i386/configure: Regenerated.
19048 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19049 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19050 * sysdeps/s390/s390-32/configure: Regenerated.
19051 * sysdeps/s390/s390-64/configure: Regenerated.
19052 * sysdeps/sh/configure: Regenerated.
19053 * sysdeps/sparc/configure: Regenerated.
19054 * sysdeps/x86_64/configure: Regenerated.
19056 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19060 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19061 denormal result into account.
19063 2012-03-25 Roland McGrath <roland@hack.frob.com>
19065 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19066 Reported by Allan McRae <allan@archlinux.org>.
19068 2012-03-23 Jeff Law <law@redhat.com>
19070 * nss/getnssent.c (__nss_getent): Fix typo.
19072 2012-03-23 David S. Miller <davem@davemloft.net>
19074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19076 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19078 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19079 to pad to uint64_t for each field.
19080 (dl_tls_index): Replace unsigned long with uint64_t.
19082 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19083 Paul Pluzhnikov <ppluzhnikov@google.com>
19086 * grp/Makefile (otherlibs): Don't set it.
19087 * inet/Makefile (otherlibs): Likewise.
19088 * login/Makefile (otherlibs): Likewise.
19089 * nscd/Makefile (otherlibs): Likewise.
19090 * posix/Makefile (otherlibs): Likewise.
19091 * pwd/Makefile (otherlibs): Likewise.
19092 * rt/Makefile (otherlibs): Likewise.
19093 * sunrpc/Makefile (otherlibs): Likewise.
19094 * nss/Makefile (otherlibs): Likewise.
19095 Add libnss_files to routines and static-only-routines.
19096 ($(objpfx)getent): Remove rule.
19097 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19098 static-only-routines.
19100 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19103 * math/s_cexp.c: Include <float.h>.
19104 (__cexp): Handle exp result overflowing not necessarily
19105 overflowing both real and imaginary parts of result.
19106 * math/s_cexpf.c: Likewise.
19107 * math/s_cexpl.c: Likewise.
19108 * math/libm-test.inc (cexp_test): Add more tests.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19114 * include/link.h (ELFW): New macro.
19115 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19116 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19118 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19120 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19123 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19125 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19127 (struct La_x32_retval): Likewise.
19129 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19131 * sysdeps/x86_64/preconfigure.in: New file.
19132 * sysdeps/x86_64/preconfigure: New generated file.
19134 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19137 * math/e_exp2l.c: Include <float.h>.
19138 (__ieee754_exp2l): Handle overflow and underflow cases
19139 separately. Only pass fractional part of argument to
19141 * math/libm-test.inc (exp2_test): Add more tests.
19143 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19144 negating x to take absolute value.
19145 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19147 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19148 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19150 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19151 computing low part if x was negated.
19152 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19154 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19156 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19157 la_x32_gnu_pltexit.
19158 (pltexit): Cast int_retval to ptrdiff_t.
19159 * elf/tst-auditmod3b.c: Likewise.
19160 * elf/tst-auditmod4b.c: Likewise.
19161 * elf/tst-auditmod5b.c: Likewise.
19162 * elf/tst-auditmod6b.c: Likewise.
19163 * elf/tst-auditmod6c.c: Likewise.
19164 * elf/tst-auditmod7b.c: Likewise.
19166 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19167 and x32_gnu_pltexit.
19169 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19170 __ELF_NATIVE_CLASS.
19171 (La_x32_regs): New macro.
19172 (La_x32_retval): Likewise.
19173 (la_x32_gnu_pltenter): New function prototype.
19174 (la_x32_gnu_pltexit): Likewise.
19176 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19183 * configure.in (libc_cv_cc_nofma): Check for option to disable
19184 generation of FMA instructions.
19185 * configure: Regenerate.
19186 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19187 * sysdeps/ieee754/dbl-64/Makefile: New file.
19188 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19189 Remove brandred-fma4.
19190 (CFLAGS-brandred-fma4.c): Remove.
19191 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19192 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19194 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19197 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19199 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19200 LLONG_MAX != LONG_MAX.
19201 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19202 (_fitoa_word): Likewise.
19203 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19204 LLONG_MAX != LONG_MAX.
19205 * stdio-common/_itowa.h: Include <_itoa.h>.
19206 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19207 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19208 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19209 only if not defined.
19210 (_ITOA_WORD_TYPE): Likewise.
19211 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19212 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19214 2012-03-21 David S. Miller <davem@davemloft.net>
19216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19218 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19220 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19221 of x86_64 when setting libc_cv_slibdir, libdir and
19223 * sysdeps/unix/sysv/linux/configure: Regenerated.
19225 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19227 * manual/lang.texi (Old Varargs): Remove section.
19228 (How Variadic): Update menu.
19229 (va_start): Do not mention varargs.h.
19231 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19232 Joseph Myers <joseph@codesourcery.com>
19234 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19236 * configure: Regenerated.
19238 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19240 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19241 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19244 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19247 * Makefile (files-for-dist): Remove NOTES.
19248 (NOTES): Remove rule.
19249 * README: Don't refer to NOTES.
19250 * manual/creature.texi: Don't include macros.texi.
19251 * manual/intro.texi (creature.texi): Remove comment referring to
19254 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19255 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19256 * configure: Regenerated.
19257 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19258 LIBC_TRY_CC_OPTION.
19259 (libc_cv_as_i686): Likewise.
19260 (libc_cv_cc_avx): Likewise.
19261 (libc_cv_cc_sse2avx): Likewise.
19262 (libc_cv_cc_fma4): Likewise.
19263 (libc_cv_cc_novzeroupper): Likewise.
19264 * sysdeps/i386/configure: Regenerated.
19267 * sysdeps/i386/fpu/s_cexp.S: Remove.
19268 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19269 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19270 * math/libm-test.inc (cexp_test): Add more tests.
19271 * sysdeps/i386/fpu/libm-test-ulps: Update.
19272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19274 2012-03-21 Allan McRae <allan@archlinux.org>
19276 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19278 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19281 * math/w_exp2.c: Do not include <float.h>.
19282 (o_threshold, u_threshold): Remove.
19283 (__exp2): Calculate result before checking finiteness and calling
19285 * math/w_exp2f.c: Likewise.
19286 * math/w_exp2l.c: Likewise.
19287 * math/libm-test.inc (exp2_test): Require overflow exception for
19291 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19292 range of signed 64-bit integers before using fistpll. Remove
19293 checks for whether integers fit in mantissa bits.
19294 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19295 the range of signed 32-bit integers before using fistpl. Remove
19296 checks for whether integers fit in mantissa bits.
19297 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19298 (__ieee754_powl): Test for y outside the range of signed 64-bit
19299 integers before using fistpll. Reduce 64-bit values to 63-bit
19301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19302 divide-by-zero is raised for zero to large negative powers.
19303 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19304 (__ieee754_powl): Test for y outside the range of signed 64-bit
19305 integers before using fistpll. Reduce 64-bit values to 63-bit
19307 * math/libm-test.inc (pow_test): Add more tests.
19309 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19311 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19312 <stdio-common/_itoa.h>.
19313 * debug/segfault.c: Likewise.
19314 * elf/dl-cache.c: Likewise.
19315 * elf/dl-minimal.c: Likewise.
19316 * elf/dl-misc.c: Likewise.
19317 * elf/dl-sysdep.c: Likewise.
19318 * elf/dl-version.c: Likewise.
19319 * elf/rtld.c: Likewise.
19320 * hurd/hurdsock.c: Likewise.
19321 * hurd/lookup-retry.c: Likewise.
19322 * malloc/malloc.c: Likewise.
19323 * malloc/mtrace.c: Likewise.
19324 * nscd/nscd_getgr_r.c: Likewise.
19325 * nscd/nscd_getpw_r.c: Likewise.
19326 * nscd/nscd_getserv_r.c: Likewise.
19327 * posix/getopt_init.c: Likewise.
19328 * posix/wordexp.c: Likewise.
19329 * stdio-common/_itoa.c: Likewise.
19330 * stdio-common/printf_fphex.c: Likewise.
19331 * stdio-common/vfprintf.c: Likewise.
19332 * string/_strerror.c: Likewise.
19333 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19334 * sysdeps/i386/i686/hp-timing.h: Likewise.
19335 * sysdeps/mach/_strerror.c: Likewise.
19336 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19337 * sysdeps/mach/hurd/sethostid.c: Likewise.
19338 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19339 * sysdeps/mach/xpg-strerror.c: Likewise.
19340 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19341 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19342 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19343 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19344 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19345 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19346 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19347 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19348 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19349 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19350 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19351 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19352 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19353 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19354 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19355 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19356 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19357 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19358 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19359 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19360 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19362 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19364 * stdio-common/_itoa.h: Moved to ...
19365 * sysdeps/generic/_itoa.h: Here.
19367 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19369 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19370 instead of "_itoa.h" and "_itowa.h".
19371 * stdio-common/vfprintf.: Likewise.
19373 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19375 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19377 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19378 (__signbit): Likwise.
19379 (llrintf): Likwise.
19382 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19384 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19387 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19389 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19390 OVERFLOW_EXCEPTION_OK.
19391 * math/libm-test.inc ("Philosophy"): Update comment about
19393 (OVERFLOW_EXCEPTION): Define.
19394 (OVERFLOW_EXCEPTION_OK): Likewise.
19395 (INVALID_EXCEPTION_OK): Renumber.
19396 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19397 (IGNORE_ZERO_INF_SIGN): Likewise.
19398 (test_exceptions): Handle FE_OVERFLOW.
19399 (exp10_test): Expect overflow exceptions.
19400 (exp2_test): Likewise.
19401 (expm1_test): Likewise.
19402 (nextafter_test): Likewise.
19403 (pow_test): Likewise.
19404 (scalbn_test): Likewise.
19405 (scalbln_test): Likewise.
19407 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19409 * sysdeps/x86_64/bits/atomic.h
19410 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19412 (atomic_exchange_acq): Likewise.
19413 (__arch_exchange_and_add_body): Likewise.
19414 (__arch_add_body): Likewise.
19415 (atomic_add_negative): Likewise.
19416 (atomic_add_zero): Likewise.
19418 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19420 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19421 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19423 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19425 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19426 Check __x86_64__ instead of __WORDSIZE.
19428 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19430 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19432 2012-03-19 David S. Miller <davem@davemloft.net>
19434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19436 * sysdeps/sparc/fpu/fenv_private.h: New file.
19437 * sysdeps/sparc/fpu/math_private.h: Use it.
19438 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19440 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19441 (libc_feholdexcept_setroundl): Remove.
19442 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19444 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19445 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19447 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19449 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19450 int64_t instead of long int.
19451 (INSERT_WORDS64): Likwise.
19453 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19455 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19456 _Unwind_GetCFA return to _Unwind_Ptr first.
19458 2012-03-19 Joseph Myers <joseph@codesourcery.com>
19461 * math/s_clog.c: Include <float.h>.
19462 (__clog): Scale large or subnormal inputs.
19463 * math/s_clogf.c: Likewise.
19464 * math/s_clogl.c: Likewise.
19465 * math/s_clog10.c: Include <float.h>.
19466 (M_LOG10_2): Define.
19467 (__clog10): Scale large or subnormal inputs.
19468 * math/s_clog10f.c: Likewise.
19469 * math/s_clog10l.c: Likewise.
19470 * math/libm-test.inc (clog_test): Add more tests.
19471 (clog10_test): Likewise.
19472 * sysdeps/i386/fpu/libm-test-ulps: Update.
19473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19476 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19478 * math/libm-test.inc (atan2_test): Add another test.
19480 * Makerules (common-objdir-compile): Remove.
19481 * sysdeps/unix/Makefile (config-generated): Do not add
19482 $(unix-generated) to variable.
19483 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19484 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19486 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19488 [generic bits/local_lim.h] (before-compile): Do not append to
19490 [generic bits/local_lim.h] (common-generated): Likewise.
19491 [generic sys/param.h] (before-compile): Do not append to variable.
19492 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19493 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19494 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19495 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19497 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19498 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19499 [generic sys/param.h] ($(addprefix
19500 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19501 [generic sys/param.h] (common-generated): Do not append to
19503 [generic sys/param.h] (sysdep_headers): Likewise.
19504 [generic bits/errno.h] (before-compile): Do not append to
19506 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19508 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19509 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19510 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19511 [generic bits/errno.h] (common-generated): Do not append to
19513 [generic bits/ioctls.h] (before-compile): Do not append to
19515 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19517 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19518 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19519 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19521 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19522 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19523 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19524 [generic bits/ioctls.h] (common-generated): Do not append to
19526 [generic sys/syscall.h] (syscall.h): Remove variable.
19527 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19529 [generic sys/syscall.h] (before-compile): Do not append to
19531 [generic sys/syscall.h] (common-generated): Likewise.
19532 * sysdeps/unix/errnos-tmpl.c: Remove file.
19533 * sysdeps/unix/errnos.awk: Likewise.
19534 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19535 * sysdeps/unix/ioctls.awk: Likewise.
19536 * sysdeps/unix/mk-local_lim.c: Likewise.
19537 * sysdeps/unix/snarf-ioctls: Likewise.
19539 2012-03-19 Richard Henderson <rth@twiddle.net>
19541 * sysdeps/i386/fpu/fenv_private.h: New file.
19542 * sysdeps/i386/fpu/math_private.h: Use it.
19543 (math_opt_barrier, math_force_eval): Remove.
19544 (libc_feholdexcept_setround_53bit): Remove.
19545 (libc_feupdateenv_53bit): Remove.
19546 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19547 (math_opt_barrier, math_force_eval): Remove.
19548 (libc_feholdexcept): Remove.
19549 (libc_feholdexcept_setround): Remove.
19550 (libc_fetestexcept, libc_fesetenv): Remove.
19551 (libc_feupdateenv_test): Remove.
19552 (libc_feupdateenv, libc_feholdsetround): Remove.
19553 (libc_feresetround): Remove.
19555 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19556 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19558 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19559 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19560 (libc_feupdateenv_testl): New.
19561 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19562 (libc_feupdateenv_testf): New.
19563 (libc_feupdateenv): Use libc_feupdateenv_test.
19564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19565 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19567 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19568 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19569 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19570 (libc_feresetround_noex): New.
19571 (libc_feresetround_noexf): New.
19572 (libc_feresetround_noexl): New.
19573 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19574 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19575 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19576 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19581 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19582 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19583 SET_RESTORE_ROUND_NOEX.
19584 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19585 SET_RESTORE_ROUND_NOEXF.
19586 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19587 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19588 (libc_feholdsetroundf): New.
19589 (libc_feresetround, libc_feresetroundf): New.
19591 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19592 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19593 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19595 * sysdeps/generic/math_private.h: Include <fenv.h>.
19596 (default_libc_feholdexcept): New.
19597 (default_libc_feholdexcept_setround): New.
19598 (default_libc_fesetenv, default_libc_feupdateenv): New.
19599 (libc_feholdexcept): Only define if undefined.
19600 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19601 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19602 (libc_feholdexcept_setroundl): Likewise.
19603 (libc_feholdexcept_setround_53bit): Likewise.
19604 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19605 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19606 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19607 (libc_feupdateenv_53bit): Likewise.
19608 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19609 (libc_feholdexcept): Convert from macro to inline function.
19610 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19611 (libc_fesetenv, libc_feupdateenv): Likewise.
19613 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19614 not previously defined.
19615 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19616 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19617 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19618 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19619 * sysdeps/ieee754/flt-32/math_private.h: New file.
19620 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19621 math_private.h below SET_FLOAT_WORD.
19622 (__isnan, __isinf_ns, __finite): Remove.
19623 (__isnanf, __isinf_nsf, __finitef): Remove.
19625 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19629 2012-03-17 David S. Miller <davem@davemloft.net>
19632 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19635 2012-03-16 David S. Miller <davem@davemloft.net>
19637 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19641 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19643 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19644 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19645 sysdep_routines when subdir is sysvipc.
19646 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19647 __getshmlba helper.
19649 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19651 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19653 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19656 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19658 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19659 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19660 (__lround): Renamed to ...
19661 (__llround): This. Replace long int with long long int.
19662 Define lround functions as aliases of llround functions.
19663 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19665 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19667 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19668 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19669 adresses to uintptr_t. Replace "long int" and "unsigned long
19670 int" with "greg_t" on va_arg.
19672 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19674 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19675 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19677 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19678 Move e_machine check before EI_CLASS check. Handle x32
19679 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19680 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19681 SKIP_EM_IA_64 and include
19682 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19684 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19685 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19686 (add_system_dir): New macro.
19688 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19689 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19691 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19702 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19704 * math/w_j0f.c (j0f): Likewise.
19706 * math/w_j0l.c (__j0l): Likewise.
19708 * math/w_j1.c (j1): Likewise.
19710 * math/w_j1f.c (j1f): Likewise.
19712 * math/w_j1l.c (__j1l): Likewise.
19714 * math/w_jn.c (jn): Likewise.
19716 * math/w_jnf.c (jnf): Likewise.
19718 * math/w_jnl.c (__jnl): Likewise.
19720 * math/libm-test.inc (j0_test): Add more tests.
19721 (j1_test): Likewise.
19722 (jn_test): Likewise. Add trailing semicolon to existing test.
19723 (y0_test): Likewise.
19724 (y1_test): Likewise.
19725 * sysdeps/i386/fpu/libm-test-ulps: Update.
19726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19730 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19731 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19732 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19733 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19734 (__tanl): Set errno for infinite argument.
19735 * sysdeps/i386/fpu/mptan.c: Remove.
19736 * sysdeps/i386/fpu/s_tan.S: Likewise.
19737 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19738 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19739 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19740 * math/libm-test.inc (tan_test): Add more tests and enable more
19741 tests for double and long double.
19742 * sysdeps/i386/fpu/libm-test-ulps: Update.
19743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19745 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19747 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19748 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19750 2012-03-16 Roland McGrath <roland@hack.frob.com>
19752 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19753 * configure.in: Use it for both main tree and add-ons.
19754 * configure: Regenerated.
19756 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19758 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19760 2012-03-16 Joseph Myers <joseph@codesourcery.com>
19762 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19766 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19767 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19769 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19770 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19772 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19773 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19774 != 0 for prec == 2.
19775 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19776 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19777 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19778 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19779 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19780 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19781 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19782 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19783 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19784 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19785 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19786 * math/libm-test.inc (cos_test): Add more tests and enable more
19787 tests for long double.
19788 (sin_test): Likewise.
19789 (sincos_test): Likewise.
19790 * sysdeps/i386/fpu/libm-test-ulps: Update.
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793 2012-03-16 David S. Miller <davem@davemloft.net>
19795 * sysdeps/sparc/fpu/math_private.h: New file.
19797 2012-03-15 David S. Miller <davem@davemloft.net>
19799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
19802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19813 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19814 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19816 * sysdeps/sparc/sparc-ifunc.h: New file.
19817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
19833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19859 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19862 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19864 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19868 2012-03-15 Andreas Jaeger <aj@suse.de>
19871 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19872 ieee754/flt-32 implementation for sin, cos and sincos.
19873 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19874 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19875 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19876 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19877 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19878 ieee754/flt-32 implementation for tan.
19880 * math/libm-test.inc (cos_test): Enable some large input tests for
19882 (sin_test): Likewise.
19883 (sincos_test): Likewise.
19884 (tan_test): Add tests for large input.
19886 * sysdeps/i386/fpu/libm-test-ulps: Update.
19888 2012-03-15 Andreas Jaeger <aj@suse.de>
19891 * math/libm-test.inc (cos_test): Add more test cases.
19892 (sin_test): Likewise.
19893 (sincos_test): Likewise.
19895 2012-03-15 Andreas Jaeger <aj@suse.de>
19898 * math/libm-test.inc (cos_test): Add a test case for large input
19900 (sin_test): Likewise.
19901 (sincos_test): Likewise.
19903 2012-03-15 Andreas Jaeger <aj@suse.de>,
19904 Joseph Myers <joseph@codesourcery.com>
19907 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19908 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19909 * sysdeps/i386/fpu/branred.c: Likewise.
19910 * sysdeps/i386/fpu/dosincos.c: Likewise.
19911 * sysdeps/i386/fpu/mpa.c: Likewise.
19912 * sysdeps/i386/fpu/s_cos.S: Likewise.
19913 * sysdeps/i386/fpu/s_sin.S: Likewise.
19914 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19915 * sysdeps/i386/fpu/sincos32.c: Likewise.
19917 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19919 (libc_feupdateenv_53bit): Define.
19920 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19922 (libc_feupdateenv_53bit): Define.
19924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19925 53 bit (without extend i386 double precision).
19927 * math/libm-test.inc (sincos_test): Add tests for large input.
19931 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19933 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19937 2012-03-15 David S. Miller <davem@davemloft.net>
19939 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19942 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19967 fmin/fmax sysdep routines.
19968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19970 2012-03-14 David S. Miller <davem@davemloft.net>
19972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19994 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19995 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19998 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19999 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20044 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20049 * sysdeps/sparc/configure.in: New file.
20050 * sysdeps/sparc/configure: Generate.
20051 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20052 * configure: Regenerate.
20053 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20054 * config.make.in (have-as-vis3): New.
20055 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20056 available use -Av9d instead of -Av9a.
20057 * sysdeps/sparc/sparc64/Makefile: Likewise.
20058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20067 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20069 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20070 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20071 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20073 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20074 fzeros/fnegs to load 0x80000000 into a float register instead of
20076 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20078 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20082 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20083 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20084 ($(inst_includedir)/bits/syscall.h): Remove rule.
20085 ($(objpfx)bits/syscall.d): Include instead of
20086 $(objpfx)syscall-list.d.
20087 (generated): Change syscall-list.h and syscall-list.d to
20088 bits/syscall.h and bits/syscall.d.
20090 2012-03-14 Roland McGrath <roland@hack.frob.com>
20093 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20095 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20098 * math/s_csqrt.c: Include <float.h>.
20099 (__csqrt): Scale large or subnormal inputs.
20100 * math/s_csqrtf.c: Likewise.
20101 * math/s_csqrtl.c: Likewise.
20102 * math/libm-test.inc (csqrt_test): Add more tests.
20103 * sysdeps/i386/fpu/libm-test-ulps: Update.
20104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20107 * math/libm-test.inc (hypot_test): Add more tests.
20109 2012-03-13 David S. Miller <davem@davemloft.net>
20112 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20113 double-precision for the calculation instead of scaling.
20115 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20117 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20118 manipulate bits before adding and subtracting TWO52[sx].
20119 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20120 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20122 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20124 2012-03-13 David S. Miller <davem@davemloft.net>
20126 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20127 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20129 rtld-global-offsets.h
20130 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20132 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20135 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20137 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20138 'err' in the ifdef scope in which it is actually used.
20140 * nss/nss_db/db-init.c: Include string.h
20142 2012-03-12 David S. Miller <davem@davemloft.net>
20144 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20145 masking out of the most significant byte of random value used.
20146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20147 Fix coding style in previous change.
20149 * sysdeps/unix/sysv/linux/kernel-features.h
20150 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20151 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20153 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20156 2012-03-11 David S. Miller <davem@davemloft.net>
20158 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20159 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20160 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20161 for 'resultvar' otherwise things get truncated on 64-bit.
20163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20164 Fix masking out of the most significant byte of random value used.
20166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20168 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20172 2012-03-09 David S. Miller <davem@davemloft.net>
20174 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20175 variables with appropriate CPP guards.
20176 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20177 frame pointer, not the stack pointer. Correct layout comments. Fix test
20178 on resulting framesize and the management of the outregs buffer for pltexit.
20179 Preserve floating point return values across _dl_call_pltexit call.
20180 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20181 framesize and the management of the outregs buffer for pltexit.
20182 Preserve floating point return values across _dl_call_pltexit
20184 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20185 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20186 (print_exit): Fix format string for return register value.
20188 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20190 * sunrpc/Makefile (others): Add rpcgen.
20191 ($(objpfx)rpcgen): Remove special build rule and dependency on
20193 * sunrpc/rpcgen.c: New file.
20195 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20198 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20199 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20200 * sysdeps/i386/crti.S: Likewise.
20201 * sysdeps/i386/crtn.S: Likewise.
20202 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20203 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20204 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20205 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20206 * sysdeps/sh/crti.S: Likewise.
20207 * sysdeps/sh/crtn.S: Likewise.
20208 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20211 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20213 * locale/programs/locfile-kw.gperf: Likewise.
20214 * locale/programs/charmap-kw.h: Regenerated.
20215 * locale/programs/locfile-kw.h: Likewise.
20218 * intl/plural.y: Replace FSF snail mail address with URL.
20219 * intl/plural.c: Regenerated.
20221 2012-03-09 Richard Henderson <rth@twiddle.net>
20223 * include/math_private.h: Remove file.
20224 * math/math_private.h: Move file ...
20225 * sysdeps/generic/math_private.h: ... here.
20227 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20228 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20229 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20231 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20232 and <math_private.h>.
20233 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20234 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20235 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20236 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20237 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20239 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20242 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20284 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20285 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20311 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20312 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20313 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20314 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20320 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20321 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20322 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20323 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20324 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20325 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20326 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20327 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20328 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20329 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20330 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20331 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20332 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20333 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20334 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20335 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20336 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20338 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20339 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20340 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20341 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20343 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20344 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20345 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20346 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20347 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20348 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20352 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20354 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20355 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20356 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20357 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20358 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20359 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20360 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20363 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20364 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20365 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20366 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20367 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20368 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20369 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20371 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20372 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20374 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20375 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20376 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20377 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20378 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20379 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20380 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20381 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20382 * sysdeps/ieee754/k_standard.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20468 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20474 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20475 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20476 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20487 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20496 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20497 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20498 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20499 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20501 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20503 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20505 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20506 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20508 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20511 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20513 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20514 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20515 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20516 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20519 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20520 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20521 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20522 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20523 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20524 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20525 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20526 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20527 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20528 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20529 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20530 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20531 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20532 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20533 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20534 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20537 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20538 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20541 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20542 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20543 * sysdeps/ieee754/s_lib_version.c: Likewise.
20544 * sysdeps/ieee754/s_matherr.c: Likewise.
20545 * sysdeps/ieee754/s_signgam.c: Likewise.
20546 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20547 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20548 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20549 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20550 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20551 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20552 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20553 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20554 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20555 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20556 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20557 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20558 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20559 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20560 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20561 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20562 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20563 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20564 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20568 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20570 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20571 * sunrpc/rpc_main.c: Likewise.
20572 * sunrpc/rpc_svcout.c: Likewise.
20574 2012-03-09 David S. Miller <davem@davemloft.net>
20576 * include/math_private.h: New file.
20578 2012-03-09 Joseph Myers <joseph@codesourcery.com>
20580 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20581 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20582 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20583 from <bits/socket_type.h>.
20584 (enum __socket_type): Don't define here.
20585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20587 bits/socket_type.h.
20590 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20591 checking __USE_GNU.
20593 * Makerules ($(inst_includedir)/%.h): New rule.
20594 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20595 (install-others): Remove variable setting.
20596 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20598 2012-03-08 Richard Henderson <rth@twiddle.net>
20600 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20601 from macro to inline function; merge with the
20602 !__LIBC_INTERNAL_MATH_INLINES version.
20603 (__ieee754_sqrtf): Likewise.
20605 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20606 to inline function.
20607 (__rintf, __floor, __floorf): Likewise.
20609 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20610 macro to inline function.
20611 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20613 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20614 not <math/math_private.h>.
20616 2012-03-08 David S. Miller <davem@davemloft.net>
20618 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20620 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20622 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20624 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20626 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20627 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20629 2012-03-08 Ulrich Drepper <drepper@gmail.com>
20631 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20632 be defined individually, they must be defined as a block. Define
20633 S for printing a string instead of hidint the different by using a
20634 macro for adding the 'l'.
20635 * stdio-common/tst-fphex-wide.c: Adjust.
20637 2012-03-07 Marek Polacek <polacek@redhat.com>
20639 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20641 2012-03-08 Marek Polacek <polacek@redhat.com>
20644 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20645 * stdio-common/tst-fphex.c: Define a few macros to make the
20646 test reusable. Use them.
20647 * stdio-common/tst-fphex-wide.c: New file.
20649 2012-03-08 Joseph Myers <joseph@codesourcery.com>
20652 * manual/macros.texi (gnusystems): New macro.
20653 (nongnusystems): Likewise.
20654 (gnulinuxhurdsystems): Likewise.
20655 (gnuhurdsystems): Likewise..
20656 (gnulinuxsystems): Likewise.
20657 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20658 variants of the GNU system, not "GNU system".
20659 * manual/conf.texi: Likewise.
20660 * manual/errno.texi: Likewise. Update example of errno macro
20662 * manual/filesys.texi: Likewise.
20663 (getumask): Document as specific to GNU/Hurd.
20664 * manual/install.texi: Likewise. Reword some references to
20666 * manual/intro.texi: Likewise.
20667 * manual/io.texi: Likewise.
20668 (File Name Portability): Detail which constraints are inapplicable
20669 to all GNU systems and which are only inapplicable to GNU/Hurd.
20670 * manual/job.texi: Likewise.
20671 * manual/llio.texi: Likewise.
20672 (O_NOCTTY): Document as present on GNU/Linux.
20673 * manual/maint.texi: Likewise.
20674 * manual/memory.texi: Likewise.
20675 * manual/pattern.texi: Likewise.
20676 * manual/pipe.texi: Likewise.
20677 * manual/process.texi: Likewise.
20678 * manual/resource.texi: Likewise.
20679 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20681 * manual/setjmp.texi: Likewise.
20682 * manual/signal.texi: Likewise.
20683 * manual/startup.texi: Likewise.
20684 * manual/stdio.texi: Likewise.
20685 * manual/terminal.texi: Likewise.
20686 (ONLCR): Document as POSIX.
20687 (OXTABS): Document availability on GNU/Linux as XTABS.
20688 (ONOEOT): Document availability separately from other bits.
20689 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20690 * manual/time.texi: Likewise.
20691 * manual/users.texi: Likewise.
20692 * INSTALL: Regenerated.
20693 * sysdeps/gnu/errlist.c: Regenerated.
20695 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20696 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20697 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20699 * configure: Regenerated.
20701 2012-03-07 Joseph Myers <joseph@codesourcery.com>
20703 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20704 default includes instead of AC_HEADER_CHECK.
20705 * sysdeps/i386/configure: Regenerated.
20708 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20709 * math/s_cacoshf.c (__cacoshf): Likewise.
20710 * math/s_cacoshl.c (__cacoshl): Likewise.
20711 * math/s_casinh.c (__casinh): Set signs of result from argument.
20712 * math/s_casinhf.c (__casinhf): Likewise.
20713 * math/s_casinhl.c (__casinhl): Likewise.
20714 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20715 (casinh_test): Add more tests.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20719 2012-03-07 Ulrich Drepper <drepper@gmail.com>
20721 * po/zh_TW.po: Update from translation team.
20723 * login/Makefile (distribute): Remove variable.
20724 * catgets/Makefile: Likewise.
20725 * mach/Makefile: Likewise.
20726 * malloc/Makefile: Likewise.
20727 * misc/Makefile: Likewise.
20728 * iconv/Makefile: Likewise.
20729 * nscd/Makefile: Likewise.
20730 * hurd/Makefile: Likewise.
20731 * manual/Makefile: Likewise.
20732 * locale/Makefile: Likewise.
20733 * intl/Makefile: Likewise.
20734 * conform/Makefile: Likewise.
20735 * nss/Makefile: Likewise.
20736 * time/Makefile: Likewise.
20737 * soft-fp/Makefile: Likewise.
20738 * dirent/Makefile: Likewise.
20739 * gmon/Makefile: Likewise.
20740 * po/Makefile: Likewise.
20741 * rt/Makefile: Likewise.
20742 * socket/Makefile: Likewise.
20743 * math/Makefile: Likewise.
20744 * signal/Makefile: Likewise.
20745 * debug/Makefile: Likewise.
20746 * elf/Makefile: Likewise.
20747 * timezone/Makefile: Likewise.
20748 * stdlib/Makefile: Likewise.
20749 * iconvdata/Makefile: Likewise.
20750 * sunrpc/Makefile: Likewise.
20751 * io/Makefile: Likewise.
20752 * argp/Makefile: Likewise.
20753 * inet/Makefile: Likewise.
20754 * hesiod/Makefile: Likewise.
20755 * grp/Makefile: Likewise.
20756 * csu/Makefile: Likewise.
20757 * wctype/Makefile: Likewise.
20758 * crypt/Makefile: Likewise.
20759 * libio/Makefile: Likewise.
20760 * string/Makefile: Likewise.
20761 * nis/Makefile: Likewise.
20762 * resolv/Makefile: Likewise.
20763 * stdio-common/Makefile: Likewise.
20764 * wcsmbs/Makefile: Likewise.
20765 * dlfcn/Makefile: Likewise.
20766 * posix/Makefile: Likewise.
20769 * timezone/Makefile: Don't install timezone files, just the programs
20772 2012-03-06 Ulrich Drepper <drepper@gmail.com>
20774 * nss/databases.def: Add missing gshadow entry.
20776 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20778 2012-03-06 Marek Polacek <polacek@redhat.com>
20781 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20782 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20783 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20784 * stdio-common/tst-long-dbl-fphex.c: New file.
20786 2012-03-06 David S. Miller <davem@davemloft.net>
20788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20789 (set_obp_int): New function.
20790 (get_obp_int): New function.
20791 (__get_clockfreq_via_dev_openprom): Likewise.
20792 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20793 Avoid unused variable warnings on 'val' and use builtin_expect.
20794 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20796 (INLINE_CLONE_SYSCALL): Likewise.
20798 2012-03-05 David S. Miller <davem@davemloft.net>
20800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20802 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20807 only for |x| >= 40.
20808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20810 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
20812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20813 Replace gettimeofday with __vdso_gettimeofday.
20815 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20816 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20817 __vdso_clock_gettime and __vdso_getcpu.
20819 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20820 time with __vdso_time.
20822 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20824 * manual/lang.texi (size_t): Note types to which size_t may be
20825 equivalent with the GNU C Library, but do not describe when
20826 differences between them are significant.
20828 2012-03-05 Andreas Jaeger <aj@suse.de>
20830 * sysdeps/i386/fpu/libm-test-ulps: Update.
20832 2012-03-05 Joseph Myers <joseph@codesourcery.com>
20835 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20836 (__ieee754_pow): Save and restore rounding mode and use
20837 round-to-nearest for main computations.
20838 * math/libm-test.inc (pow_test_tonearest): New function.
20839 (pow_test_towardzero): Likewise.
20840 (pow_test_downward): Likewise.
20841 (pow_test_upward): Likewise.
20842 (main): Call the new functions.
20843 * sysdeps/i386/fpu/libm-test-ulps: Update.
20844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20847 * math/libm-test.inc (cosh_test_tonearest): New function.
20848 (cosh_test_towardzero): Likewise.
20849 (cosh_test_downward): Likewise.
20850 (cosh_test_upward): Likewise.
20851 (sinh_test_tonearest): Likewise.
20852 (sinh_test_towardzero): Likewise.
20853 (sinh_test_downward): Likewise.
20854 (sinh_test_upward): Likewise.
20855 (main): Call the new functions.
20856 * sysdeps/i386/fpu/libm-test-ulps: Update.
20857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20859 2012-03-05 Tom de Vries <tom@codesourcery.com>
20861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20862 default stack guard is set in last bytes.
20863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20865 2012-03-05 Kees Cook <keescook@chromium.org>
20867 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20870 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20871 possibly allocate from heap instead of stack.
20872 * stdio-common/bug-vfprintf-nargs.c: New file.
20873 * stdio-common/Makefile (tests): Add nargs overflow test.
20875 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20879 2012-03-03 Marek Polacek <polacek@redhat.com>
20881 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20882 * math/math_private.h: Likewise.
20883 * stdlib/tst-strtod.c: Likewise.
20884 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20885 * sysdeps/x86_64/bits/atomic.h: Likewise.
20887 2012-03-02 David S. Miller <davem@davemloft.net>
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20893 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20894 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20895 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20896 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20898 2012-03-02 Roland McGrath <roland@hack.frob.com>
20901 * manual/examples/README: New file, says the example source files
20902 can be used under GPL>=2.
20903 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20904 line containing just "*/".
20905 * manual/examples/add.c: Add copyright header (GPL>=2).
20906 * manual/examples/argp-ex1.c: Likewise.
20907 * manual/examples/argp-ex2.c: Likewise.
20908 * manual/examples/argp-ex3.c: Likewise.
20909 * manual/examples/argp-ex4.c: Likewise.
20910 * manual/examples/atexit.c: Likewise.
20911 * manual/examples/db.c: Likewise.
20912 * manual/examples/dir.c: Likewise.
20913 * manual/examples/dir2.c: Likewise.
20914 * manual/examples/execinfo.c: Likewise.
20915 * manual/examples/filecli.c: Likewise.
20916 * manual/examples/filesrv.c: Likewise.
20917 * manual/examples/fmtmsgexpl.c: Likewise.
20918 * manual/examples/genpass.c: Likewise.
20919 * manual/examples/inetcli.c: Likewise.
20920 * manual/examples/inetsrv.c: Likewise.
20921 * manual/examples/isockad.c: Likewise.
20922 * manual/examples/longopt.c: Likewise.
20923 * manual/examples/memopen.c: Likewise.
20924 * manual/examples/memstrm.c: Likewise.
20925 * manual/examples/mkfsock.c: Likewise.
20926 * manual/examples/mkisock.c: Likewise.
20927 * manual/examples/mygetpass.c: Likewise.
20928 * manual/examples/pipe.c: Likewise.
20929 * manual/examples/popen.c: Likewise.
20930 * manual/examples/rprintf.c: Likewise.
20931 * manual/examples/search.c: Likewise.
20932 * manual/examples/select.c: Likewise.
20933 * manual/examples/setjmp.c: Likewise.
20934 * manual/examples/sigh1.c: Likewise.
20935 * manual/examples/sigusr.c: Likewise.
20936 * manual/examples/stpcpy.c: Likewise.
20937 * manual/examples/strdupa.c: Likewise.
20938 * manual/examples/strftim.c: Likewise.
20939 * manual/examples/strncat.c: Likewise.
20940 * manual/examples/subopt.c: Likewise.
20941 * manual/examples/swapcontext.c: Likewise.
20942 * manual/examples/termios.c: Likewise.
20943 * manual/examples/testopt.c: Likewise.
20944 * manual/examples/testpass.c: Likewise.
20945 * manual/examples/timeval_subtract.c: Likewise.
20948 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20950 * manual/timeval_subtract.c.texi: ... here, new file.
20952 2012-03-02 David S. Miller <davem@davemloft.net>
20954 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20956 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20959 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20960 (__sin): Save and restore rounding mode and use round-to-nearest
20961 for all computations.
20962 (__cos): Save and restore rounding mode and use round-to-nearest
20963 for all computations.
20964 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20966 (tan): Save and restore rounding mode and use round-to-nearest for
20968 * math/libm-test.inc (cos_test_tonearest): New function.
20969 (cos_test_towardzero): Likewise.
20970 (cos_test_downward): Likewise.
20971 (cos_test_upward): Likewise.
20972 (sin_test_tonearest): Likewise.
20973 (sin_test_towardzero): Likewise.
20974 (sin_test_downward): Likewise.
20975 (sin_test_upward): Likewise.
20976 (tan_test_tonearest): Likewise.
20977 (tan_test_towardzero): Likewise.
20978 (tan_test_downward): Likewise.
20979 (tan_test_upward): Likewise.
20980 (main): Call the new functions.
20981 * sysdeps/i386/fpu/libm-test-ulps: Update.
20982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20985 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20986 small n, then large n, before computing and testing k+n.
20987 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20992 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20993 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20998 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20999 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21000 * math/libm-test.inc (scalbn_test): Add more tests.
21001 (scalbln_test): Likewise.
21003 * manual/filesys.texi (mode_t): Describe constraints on size and
21004 signedness, not exact equivalence to a particular type.
21006 (ino64_t): Likewise.
21008 (nlink_t): Likewise.
21009 (blkcnt_t): Likewise.
21010 (blkcnt64_t): Likewise.
21011 * manual/llio.texi (off_t): Likewise.
21014 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21015 (__ieee754_exp): Save and restore rounding mode and use
21016 round-to-nearest for all computations.
21017 * math/libm-test.inc (exp_test_tonearest): New function.
21018 (exp_test_towardzero): Likewise.
21019 (exp_test_downward): Likewise.
21020 (exp_test_upward): Likewise.
21021 (main): Call the new functions.
21022 * sysdeps/i386/fpu/libm-test-ulps: Update.
21023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21025 2012-03-01 Chris Demetriou <cgd@google.com>
21027 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21028 have predictable order.
21030 2012-03-01 David S. Miller <davem@davemloft.net>
21032 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21034 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21035 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21036 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21037 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21039 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21040 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21041 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21043 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21044 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21045 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21046 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21047 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21052 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21053 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21055 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21056 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21057 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21058 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21059 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21062 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21063 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21068 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21069 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21071 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21072 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21073 * sysdeps/sparc/elf/configure: Regenerated.
21075 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21077 * configure.in (AS, LD): Require binutils 2.20 or later.
21078 * configure: Regenerated.
21079 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21080 as required minimum version.
21081 * INSTALL: Regenerated.
21085 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21086 before squaring exponent.
21087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21088 bottom long double and 27 bits of top long double before squaring
21090 * math/libm-test.inc (erfc_test): Add more tests.
21091 * sysdeps/i386/fpu/libm-test-ulps: Update.
21092 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21095 2012-03-01 Kai Tietz <ktietz@redhat.com>
21097 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21098 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21099 containing bit-fields.
21100 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21101 * soft-fp/single.h (_FP_UNION_S): Likewise.
21102 * soft-fp/double.h (_FP_UNION_D): Likewise.
21104 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21107 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21108 not include ../strcmp.S.
21109 [USE_AS_STRNCASECMP_L]: Likewise.
21110 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21111 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21112 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21113 (__strncasecmp_l_ia32): Define as alias to
21114 __strncasecmp_l_nonascii.
21117 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21118 * sysdeps/i386/fpu/libm-test-ulps: Update.
21119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21121 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21124 2012-02-29 Jeff Law <law@redhat.com>
21126 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21127 out of bounds read.
21129 2012-02-29 Marek Polacek <polacek@redhat.com>
21132 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21133 * elf/Makefile: Add rules to run tst-unused-dep.out.
21135 2012-02-28 David S. Miller <davem@davemloft.net>
21137 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21138 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21141 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21142 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21144 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21146 * math/libm-test.inc (llround_test): Move one test from
21147 lround_test. Use TEST_f_L in moved test.
21148 (lround_test): Move misplaced test to llround_test. Add testcase
21151 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21153 * sysdeps/x86_64/fpu/e_expf.S: New file.
21154 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21156 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21159 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21160 of remain_len that may cause incomplete multi-byte character and
21162 * posix/bug-regex33.c: New file.
21163 * posix/Makefile (tests): Add bug-regex33.
21165 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21167 * manual/macros.texi: New file.
21168 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21169 * manual/libc.texinfo: Include macros.texi.
21170 * manual/creatute.texi: Likewise.
21171 * manual/install.texi: Likewise.
21172 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21173 @glibcadj{} in references to the GNU C Library.
21174 * manual/charset.texi: Likewise.
21175 * manual/conf.texi: Likewise.
21176 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21177 when not using those macros.
21178 * manual/creature.texi: Likewise.
21179 * manual/crypt.texi: Likewise.
21180 * manual/errno.texi: Likewise.
21181 * manual/filesys.texi: Likewise.
21182 * manual/header.texi: Likewise.
21183 * manual/install.texi: Likewise.
21184 * manual/intro.texi: Likewise.
21185 * manual/io.texi: Likewise.
21186 * manual/job.texi: Likewise.
21187 * manual/lang.texi: Likewise.
21188 * manual/libc.texiinfo: Likewise.
21189 * manual/llio.texi: Likewise.
21190 * manual/locale.texi: Likewise.
21191 * manual/maint.texi: Likewise.
21192 * manual/math.texi: Likewise.
21193 * manual/memory.texi: Likewise.
21194 * manual/message.texi: Likewise.
21195 * manual/nss.texi: Likewise.
21196 * manual/pattern.texi: Likewise.
21197 * manual/process.texi: Likewise.
21198 * manual/resource.texi: Likewise.
21199 * manual/search.texi: Likewise.
21200 * manual/setjmp.texi: Likewise.
21201 * manual/signal.texi: Likewise.
21202 * manual/socket.texi: Likewise.
21203 * manual/startup.texi: Likewise.
21204 * manual/stdio.texi: Likewise.
21205 * manual/string.texi: Likewise.
21206 * manual/sysinfo.texi: Likewise.
21207 * manual/syslog.texi: Likewise.
21208 * manual/terminal.texi: Likewise.
21209 * manual/time.texi: Likewise.
21210 * manual/users.texi: Likewise.
21211 * INSTALL: Regenerated.
21212 * NOTES: Regenerated.
21213 * sysdeps/gnu/errlist.c: Regenerated.
21215 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21217 * include/dirent.h: Include <dirstream.h> before
21220 2012-02-28 David S. Miller <davem@davemloft.net>
21222 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21223 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21224 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21225 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21227 2012-02-27 David S. Miller <davem@davemloft.net>
21229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21231 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21232 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21235 frame pointer instead of stack pointer relative arg slot.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21240 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21243 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21245 2012-02-27 David S. Miller <davem@davemloft.net>
21247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21251 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21252 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21253 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21254 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21256 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21258 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21259 later. Allow versions 5-9.
21260 * configure: Regenerated.
21261 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21262 required minimum version and 4.6 as recommended version. Do not
21263 mention bugs in GCC 2.7 and 2.8.
21264 * INSTALL: Regenerated.
21266 2012-02-27 David S. Miller <davem@davemloft.net>
21268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21272 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21273 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21274 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21275 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21278 manipulate bits before adding and subtracting TWO112[sx].
21279 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21281 2012-02-27 Roland McGrath <roland@hack.frob.com>
21284 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21285 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21286 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21287 being in POSIX, because they are in 1003.1-2008.
21289 * rt/tst-aio.c: Include <fcntl.h>.
21290 * rt/tst-aio7.c: Likewise.
21291 * rt/tst-aio64.c: Likewise.
21293 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21295 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21297 * manual/install.texi (--with-headers): Describe headers as
21298 interface headers, not private headers.
21299 (Specific advice for GNU/Linux systems): Describe use of headers
21300 from "make headers_install", not private headers from older
21302 * INSTALL: Regenerated.
21303 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21305 * sysdeps/unix/sysv/linux/configure: Regenerated.
21307 * manual/llio.texi (fclean): Remove documentation.
21309 * manual/Makefile (libc-texi-generated): New variable. Include
21311 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21312 $(libc-texi-generated), not duplicated list of files.
21313 (version.texi, stamp-version): New rules.
21314 (realclean): Remove $(libc-texi-generated), not individual files
21315 from that list. Do not remove dir-add.texinfo.
21316 * manual/libc.texinfo: Comment out uses of edition numbers and
21317 references to printed manual. Remove last-updated dates.
21318 (EDITION): Comment out.
21320 (VERSION, UPDATED): Remove.
21321 (version.texi): Include.
21323 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21325 * sysdeps/posix/spawni.c: Include <signal.h>.
21326 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21327 * sysdeps/pthread/aio_fsync.c: Likewise.
21329 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21331 * conform/Makefile (tests): Run only when not cross-compiling and
21332 when fast-check is not defined.
21334 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21335 * conform/data/limits.h-data: Fixes for POSIX2008.
21336 * conform/run-conformtest.sh: Run all tests.
21337 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21339 * include/bits/dlfcn.h: Likewise.
21340 * include/langinfo.h: Likewise.
21341 * include/monetary.h: Likewise.
21342 * include/sys/poll.h: Likewise.
21344 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21346 * posix/spawn.h: Define __need_sigset_t.
21347 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21348 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21349 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21350 to get sigevent_t only.
21351 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21352 only for __USE_GNU.
21353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21354 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21355 process_vm_writev only for __USE_GNU.
21356 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21358 * conform/Makefile: For now ignore errors from run-conformtest.
21359 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21360 POSIX to avoid namespace pollution. Don't prepend headers.
21361 * conform/data/aio.h-data: Fixes for POSIX testing.
21362 * conform/data/fcntl.h-data: Likewise.
21363 * conform/data/glob.h-data: Likewise.
21364 * conform/data/grp.h-data: Likewise.
21365 * conform/data/pthread.h-data: Likewise.
21366 * conform/data/pwd.h-data: Likewise.
21367 * conform/data/signal.h-data: Likewise.
21368 * conform/data/spawn.h-data: Likewise.
21369 * conform/data/stdio.h-data: Likewise.
21370 * conform/data/stdlib.h-data: Likewise.
21371 * conform/data/stropts.h-data: Likewise.
21372 * conform/data/sys/mman.h-data: Likewise.
21373 * conform/data/sys/stat.h-data: Likewise.
21374 * conform/data/sys/types.h-data: Likewise.
21375 * conform/data/sys/wait.h-data: Likewise.
21376 * conform/data/time.h-data: Likewise.
21377 * conform/data/unistd.h-data: Likewise.
21378 * conform/data/utime.h-data: Likewise.
21380 * io/sys/stat.h: fchmod was always in POSIX.
21381 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21382 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21383 * rt/aio.h: Define __need_timespec before including <time.h>.
21384 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21385 struct. Add forward declaration of pthread_attr_t and use it in
21387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21389 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21390 always remove CLK_TCK definition.
21392 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21394 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21396 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21398 * conform/run-conformtest.sh: New file.
21399 * conform/Makefile: Run run-conformtest for tests.
21400 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21403 * conform/data/uchar.h-data: New file.
21404 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21405 * conform/data/arpa/inet.h-data: Likewise.
21406 * conform/data/assert.h-data: Likewise.
21407 * conform/data/complex.h-data: Likewise.
21408 * conform/data/cpio.h-data: Likewise.
21409 * conform/data/ctype.h-data: Likewise.
21410 * conform/data/dirent.h-data: Likewise.
21411 * conform/data/dlfcn.h-data: Likewise.
21412 * conform/data/errno.h-data: Likewise.
21413 * conform/data/fcntl.h-data: Likewise.
21414 * conform/data/float.h-data: Likewise.
21415 * conform/data/fmtmsg.h-data: Likewise.
21416 * conform/data/fnmatch.h-data: Likewise.
21417 * conform/data/ftw.h-data: Likewise.
21418 * conform/data/glob.h-data: Likewise.
21419 * conform/data/grp.h-data: Likewise.
21420 * conform/data/iconv.h-data: Likewise.
21421 * conform/data/inttypes.h-data: Likewise.
21422 * conform/data/langinfo.h-data: Likewise.
21423 * conform/data/libgen.h-data: Likewise.
21424 * conform/data/limits.h-data: Likewise.
21425 * conform/data/locale.h-data: Likewise.
21426 * conform/data/math.h-data: Likewise.
21427 * conform/data/monetary.h-data: Likewise.
21428 * conform/data/mqueue.h-data: Likewise.
21429 * conform/data/ndbm.h-data: Likewise.
21430 * conform/data/net/if.h-data: Likewise.
21431 * conform/data/netdb.h-data: Likewise.
21432 * conform/data/netinet/in.h-data: Likewise.
21433 * conform/data/nl_types.h-data: Likewise.
21434 * conform/data/poll.h-data: Likewise.
21435 * conform/data/pthread.h-data: Likewise.
21436 * conform/data/pwd.h-data: Likewise.
21437 * conform/data/regex.h-data: Likewise.
21438 * conform/data/sched.h-data: Likewise.
21439 * conform/data/search.h-data: Likewise.
21440 * conform/data/semaphore.h-data: Likewise.
21441 * conform/data/setjmp.h-data: Likewise.
21442 * conform/data/signal.h-data: Likewise.
21443 * conform/data/spawn.h-data: Likewise.
21444 * conform/data/stdarg.h-data: Likewise.
21445 * conform/data/stdio.h-data: Likewise.
21446 * conform/data/stdlib.h-data: Likewise.
21447 * conform/data/string.h-data: Likewise.
21448 * conform/data/strings.h-data: Likewise.
21449 * conform/data/stropts.h-data: Likewise.
21450 * conform/data/sys/ipc.h-data: Likewise.
21451 * conform/data/sys/mman.h-data: Likewise.
21452 * conform/data/sys/msg.h-data: Likewise.
21453 * conform/data/sys/resource.h-data: Likewise.
21454 * conform/data/sys/select.h-data: Likewise.
21455 * conform/data/sys/sem.h-data: Likewise.
21456 * conform/data/sys/shm.h-data: Likewise.
21457 * conform/data/sys/socket.h-data: Likewise.
21458 * conform/data/sys/stat.h-data: Likewise.
21459 * conform/data/sys/statvfs.h-data: Likewise.
21460 * conform/data/sys/time.h-data: Likewise.
21461 * conform/data/sys/timeb.h-data: Likewise.
21462 * conform/data/sys/times.h-data: Likewise.
21463 * conform/data/sys/types.h-data: Likewise.
21464 * conform/data/sys/uio.h-data: Likewise.
21465 * conform/data/sys/un.h-data: Likewise.
21466 * conform/data/sys/utsname.h-data: Likewise.
21467 * conform/data/sys/wait.h-data: Likewise.
21468 * conform/data/syslog.h-data: Likewise.
21469 * conform/data/tar.h-data: Likewise.
21470 * conform/data/termios.h-data: Likewise.
21471 * conform/data/utime.h-data: Likewise.
21472 * conform/data/utmpx.h-data: Likewise.
21473 * conform/data/varargs.h-data: Likewise.
21474 * conform/data/wchar.h-data: Likewise.
21475 * conform/data/wctype.h-data: Likewise.
21476 * conform/data/wordexp.h-data: Likewise.
21478 * include/stropts.h: New file.
21479 * include/uchar.h: New file.
21480 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21481 * include/assert.h: Likewise.
21482 * include/ctype.h: Likewise.
21483 * include/dirent.h: Likewise.
21484 * include/dlfcn.h: Likewise.
21485 * include/fcntl.h: Likewise.
21486 * include/fnmatch.h: Likewise.
21487 * include/glob.h: Likewise.
21488 * include/grp.h: Likewise.
21489 * include/libio.h: Likewise.
21490 * include/locale.h: Likewise.
21491 * include/math.h: Likewise.
21492 * include/net/if.h: Likewise.
21493 * include/netdb.h: Likewise.
21494 * include/netinet/in.h: Likewise.
21495 * include/pthread.h: Likewise.
21496 * include/pwd.h: Likewise.
21497 * include/regex.h: Likewise.
21498 * include/sched.h: Likewise.
21499 * include/search.h: Likewise.
21500 * include/setjmp.h: Likewise.
21501 * include/signal.h: Likewise.
21502 * include/stdio.h: Likewise.
21503 * include/stdlib.h: Likewise.
21504 * include/string.h: Likewise.
21505 * include/sys/cdefs.h: Likewise.
21506 * include/sys/mman.h: Likewise.
21507 * include/sys/msg.h: Likewise.
21508 * include/sys/resource.h: Likewise.
21509 * include/sys/select.h: Likewise.
21510 * include/sys/socket.h: Likewise.
21511 * include/sys/stat.h: Likewise.
21512 * include/sys/statvfs.h: Likewise.
21513 * include/sys/time.h: Likewise.
21514 * include/sys/times.h: Likewise.
21515 * include/sys/uio.h: Likewise.
21516 * include/sys/utsname.h: Likewise.
21517 * include/sys/wait.h: Likewise.
21518 * include/termios.h: Likewise.
21519 * include/time.h: Likewise.
21520 * include/ulimit.h: Likewise.
21521 * include/unistd.h: Likewise.
21522 * include/utime.h: Likewise.
21523 * include/wchar.h: Likewise.
21524 * include/wctype.h: Likewise.
21525 * include/wordexp.h: Likewise.
21527 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21529 * time/time.h: TIME_UTC must be a macro.
21530 Make timespec_get available for ISO C11 only as well.
21532 2012-02-24 Ulrich Drepper <drepper@gmail.com>
21534 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21535 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21537 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21539 * configure.in: Use -o not -a in test for unsupported multi-arch.
21541 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21543 * manual/texinfo.tex: Update to version 2012-01-19.16.
21545 2012-02-24 Joseph Myers <joseph@codesourcery.com>
21547 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21549 2012-02-24 Roland McGrath <roland@hack.frob.com>
21552 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21553 * manual/fdl-1.3.texi: New file.
21554 * manual/fdl-1.1.texi: File removed.
21557 * manual/libc.texinfo (FDL_VERSION): New @set.
21558 Use it for mention of FDL in cover text.
21559 (Documentation License): Use it in @include file name.
21561 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21562 Roland McGrath <roland@hack.frob.com>
21565 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21566 not LONG_LONG_MAX and LONG_LONG_MIN.
21567 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21568 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21570 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21572 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21576 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21577 manipulate bits before adding and subtracting TWO23[sx].
21578 * math/libm-test.inc (nearbyint_test): Add more tests.
21580 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21583 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21584 bits before adding and subtracting TWO23[sx].
21585 * math/libm-test.inc (rint_test): Add more tests.
21586 (rint_test_tonearest): Likewise.
21587 (rint_test_towardzero): Likewise.
21588 (rint_test_downward): Likewise.
21589 (rint_test_upward: Likewise.
21591 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21594 * include/stdc-predef.h: New file. Extracted from features.h.
21595 * include/features.h: Include stdc-predef.h.
21596 * Makefile (headers): Add stdc-predef.h.
21597 * CONFORMANCE (Compiler limitations): Update.
21599 2012-02-22 Joseph Myers <joseph@codesourcery.com>
21601 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21603 2012-02-21 David S. Miller <davem@davemloft.net>
21605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21608 2012-02-20 David S. Miller <davem@davemloft.net>
21610 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21611 using a normal save/restore sequence, rather than allocating a
21612 dummy stack frame just to store a frame pointer and restore.
21613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21615 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21617 * manual/install.texi: Fix stray word in line-wrapped comment.
21619 2012-02-20 David S. Miller <davem@davemloft.net>
21621 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21622 both binutils and gcc support GOTDATA.
21624 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21625 "rd %pc" in the PIC register setup sequences.
21627 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21628 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21629 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21630 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21631 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21633 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21636 (SYSCALL_ERROR_HANDLER): Likewise.
21637 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21638 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21640 (SYSCALL_ERROR_HANDLER): Likewise.
21642 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21643 (HAVE_GCC_GOTDATA): New.
21644 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21645 relocation support in both binutils and gcc.
21646 * sysdeps/sparc/elf/configure: Regenerate.
21648 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21649 * sysdeps/sparc/sparc32/elf/configure: Delete.
21650 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21651 * sysdeps/sparc/sparc64/elf/configure: Delete.
21652 * sysdeps/sparc/elf/configure.in: New file.
21653 * sysdeps/sparc/elf/configure: Generate.
21655 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21656 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21657 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21658 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21659 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21661 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21663 * manual/install.texi: Do not mention specific glibc version
21665 * manual/libc.texinfo (VERSION, UPDATED): Update.
21666 (@copying): Use @copyright{} and range of years.
21668 2012-02-21 Joseph Myers <joseph@codesourcery.com>
21671 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21672 [crti.S not in sysdirs] (generated): Do not append.
21673 [crti.S not in sysdirs] (omit-deps): Likewise.
21674 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21675 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21676 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21677 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21678 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21680 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21681 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21682 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21683 * csu/defs.awk: Remove file.
21684 * sysdeps/generic/initfini.c: Likewise.
21685 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21687 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21690 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21692 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21693 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21694 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21697 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21699 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21700 (__EPOLL_PACKED): Define to empty if not defined by
21702 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21706 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21708 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21709 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21710 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21711 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21713 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21717 2012-02-20 Joseph Myers <joseph@codesourcery.com>
21719 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21726 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21728 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21729 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21731 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21733 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21734 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21736 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21738 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21741 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21743 * math/w_acos.c: Use non-signaling floating-point comparisons.
21744 * math/w_acosf.c: Likewise.
21745 * math/w_acosh.c: Likewise.
21746 * math/w_acoshf.c: Likewise.
21747 * math/w_acoshl.c: Likewise.
21748 * math/w_acosl.c: Likewise.
21749 * math/w_asin.c: Likewise.
21750 * math/w_asinf.c: Likewise.
21751 * math/w_asinl.c: Likewise.
21752 * math/w_atanh.c: Likewise.
21753 * math/w_atanhf.c: Likewise.
21754 * math/w_atanhl.c: Likewise.
21755 * math/w_exp2.c: Likewise.
21756 * math/w_exp2f.c: Likewise.
21757 * math/w_exp2l.c: Likewise.
21758 * math/w_j0.c: Likewise.
21759 * math/w_j0f.c: Likewise.
21760 * math/w_j0l.c: Likewise.
21761 * math/w_j1.c: Likewise.
21762 * math/w_j1f.c: Likewise.
21763 * math/w_j1l.c: Likewise.
21764 * math/w_jn.c: Likewise.
21765 * math/w_jnf.c: Likewise.
21766 * math/w_log.c: Likewise.
21767 * math/w_log10.c: Likewise.
21768 * math/w_log10f.c: Likewise.
21769 * math/w_log10l.c: Likewise.
21770 * math/w_log2.c: Likewise.
21771 * math/w_log2f.c: Likewise.
21772 * math/w_log2l.c: Likewise.
21773 * math/w_logf.c: Likewise.
21774 * math/w_logl.c: Likewise.
21775 * math/w_sqrt.c: Likewise.
21776 * math/w_sqrtf.c: Likewise.
21777 * math/w_sqrtl.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21780 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21781 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21784 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21787 * manual/string.texi (strnlen): Use correct parameter name in
21788 equivalent expression.
21790 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21793 * manual/users.texi (seteuid): Consistently use neweuid for
21796 2012-02-19 Joseph Myers <joseph@codesourcery.com>
21799 * manual/nss.texi (Services in the NSS configuration): Correct
21800 list of services in example configuration file.
21802 2012-02-19 Nick Bowler <nbowler@draconx.ca>
21805 * manual/arith.texi: Remove statements about negative zero
21806 behaving identically to zero.
21808 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21811 * manual/install.texi: Do not document upgrading from libc5.
21813 2012-02-18 Joseph Myers <joseph@codesourcery.com>
21816 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21818 2012-02-18 David S. Miller <davem@davemloft.net>
21820 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21821 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21822 %o7 across the call.
21823 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21826 SETUP_PIC_REG_LEAF.
21827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21828 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21829 * sysdeps/sparc/crtn.S: Likewise.
21831 2012-02-17 Ulrich Drepper <drepper@gmail.com>
21833 * aout/Makefile: Remove.
21835 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21838 * manual/examples/argp-ex1.c (main): Format definition in GNU
21840 * manual/examples/argp-ex2.c (main): Likewise.
21841 * manual/examples/argp-ex3.c (main): Likewise.
21842 * manual/examples/argp-ex4.c (main): Likewise.
21843 * manual/examples/longopt.c (main): Use new-style prototype
21845 * manual/examples/strncat.c (main): Specify return type and use
21846 (void) for arguments.
21847 * manual/examples/subopt.c (main): Use char **argv argument.
21849 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21852 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21855 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21858 * manual/string.texi (strchr): Change when strchrnul is
21861 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21864 * manual/locale.texi (setlocale): Document LOCPATH.
21866 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21869 * manual/process.texi (execle): Move @dots{} before last argument.
21871 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21874 * manual/charset.texi (Generic Charset Conversion): Fix typo
21875 (LC_TYPE -> LC_CTYPE).
21877 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21880 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21881 (scalbnf): Likewise.
21882 (scalbnl): Likewise.
21883 (scalbln): Likewise.
21884 (scalblnf): Likewise.
21885 (scalblnl): Likewise.
21886 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21887 (vwarnx): Likewise.
21890 * manual/filesys.texi (telldir): Use braces around return type.
21891 * manual/llio.texi (mmap): Add space after comma.
21892 (mmap64): Likewise.
21893 * manual/math.texi (jn): Use @var{} on parameter names.
21899 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21901 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21903 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21904 (sched_get_priority_max): Likewise.
21905 * manual/signal.texi (sigvec): Add space after comma.
21906 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21908 (if_indextoname): Likewise.
21909 (if_freenameindex): Likewise.
21910 (sendto): Use ',' instead of '.' in prototype.
21911 * manual/startup.texi (syscall): Use @dots{} instead of literal
21913 * manual/stdio.texi (__fpending): Separate initial words of
21914 paragraph from @deftypefun line.
21915 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21917 (vsyslog): Use @var{} on parameter names.
21918 * manual/terminal.texi (stty): Use @var{} on parameter names.
21919 * manual/users.texi (getutmp): Use @var{} on parameter names.
21920 (getutmpx): Likewise.
21922 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21925 * manual/stdio.texi (fopen): Fix typos in description of
21928 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21931 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21932 get clock_id definition.
21934 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21937 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21938 (madvise): Cast every argument to void on its own.
21940 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21943 * manual/startup.texi (Exit Status): Fix typo.
21945 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21948 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21949 * manual/examples/argp-ex2.c: Likewise.
21950 * manual/examples/argp-ex3.c: Likewise.
21952 2012-02-16 Richard Henderson <rth@redhat.com>
21954 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21955 * sysdeps/s390/s390-32/initfini.c: Remove.
21956 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21957 * sysdeps/s390/s390-64/initfini.c: Remove.
21959 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21961 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21962 compiler output for sysdeps/generic/initfini.c.
21963 * sysdeps/sh/elf/initfini.c: Remove file.
21965 2012-02-16 David S. Miller <davem@davemloft.net>
21968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21970 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21971 * sysdeps/sparc/crti.S: New file.
21972 * sysdeps/sparc/crtn.S: New file.
21973 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21974 * sysdeps/sparc/sparc64/Makefile: Likewise.
21976 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21979 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21981 2012-02-15 Roland McGrath <roland@hack.frob.com>
21984 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21986 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21987 (write, read, close): Likewise.
21988 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21990 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21992 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21993 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21994 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21995 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21997 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22001 2012-02-14 Marek Polacek <polacek@redhat.com>
22003 * sysdeps/x86_64/crti.S: New file.
22004 * sysdeps/x86_64/crtn.S: New file.
22005 * sysdeps/x86_64/elf/initfini.c: Remove file.
22007 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22009 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22010 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22011 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22012 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22014 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22018 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22020 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22021 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22022 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22023 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22025 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22029 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22031 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22032 __feraiseexcept instead of feraiseexcept.
22034 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22035 nanosleep invocations.
22036 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22037 strings, and add error checking for a nanosleep invocations.
22039 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22041 Replace FSF snail mail address with URLs, as per GNU coding standards.
22042 Most of the snail mail addresses were wrong anyway, and omitting
22043 them makes the source code easier to maintain. Almost all of the
22044 changes are to license notices and to locale LC_IDENTIFICATION
22045 addresses, except for this one:
22046 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22047 not its snail mail address.
22049 2012-02-09 Richard Henderson <rth@twiddle.net>
22051 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22052 of kernel-features.h.
22054 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22056 2012-02-08 Marek Polacek <polacek@redhat.com>
22058 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22059 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22060 * sysdeps/gnu/_G_config.h: Likewise.
22061 * sysdeps/generic/_G_config.h: Likewise.
22063 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22065 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069 * sysdeps/powerpc/powerpc32/crti.S: New file.
22070 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22071 * sysdeps/powerpc/powerpc64/crti.S: New file.
22072 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22074 * Makeconfig (have-initfini): Don't set.
22075 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22076 * configure.in (nopic_initfini): Don't substitute.
22077 * config.h.in (HAVE_INITFINI): Don't #undef.
22078 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22079 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22081 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22083 Support crti.S and crtn.S provided directly by architectures.
22084 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22085 [crti.S in sysdirs] (omit-deps): Likewise.
22086 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22087 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22088 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22089 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22090 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22091 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22092 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22093 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22094 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22095 compiler output for sysdeps/generic/initfini.c.
22096 * sysdeps/i386/elf/Makefile: Remove file.
22097 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22099 2012-02-07 Marek Polacek <polacek@redhat.com>
22101 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22102 * sysdeps/gnu/_G_config.h: Likewise.
22103 * sysdeps/mach/hurd/_G_config.h: Likewise.
22105 2012-02-07 Marek Polacek <polacek@redhat.com>
22107 * math/Makefile (tests): Add tst-CMPLX2.
22108 * math/tst-CMPLX2.c: New file.
22110 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22112 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22114 * math/libm-test.inc (jn_test): Add missing L suffix.
22116 2012-02-06 Marek Polacek <polacek@redhat.com>
22118 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22119 * sysdeps/i386/fpu/e_powf.S: Likewise.
22120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22121 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22122 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22123 * sysdeps/i386/fpu/e_pow.S: Likewise.
22124 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22125 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22126 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22127 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22128 * sysdeps/i386/fpu/e_log2.S: Likewise.
22129 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22130 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22131 * sysdeps/i386/fpu/e_powl.S: Likewise.
22132 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22133 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22134 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22135 * sysdeps/i386/fpu/e_logl.S: Likewise.
22136 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22137 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22138 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22139 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22140 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22141 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22142 * sysdeps/i386/fpu/e_log.S: Likewise.
22143 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22144 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22145 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22146 * sysdeps/i386/fpu/e_logf.S: Likewise.
22147 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22148 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22149 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22150 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22151 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22152 * sysdeps/i386/fpu/e_log10.S: Likewise.
22153 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22155 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22156 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22158 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22159 * sysdeps/i386/asm-syntax.h: Likewise.
22160 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22161 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22162 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22163 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22164 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22165 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22166 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22167 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22168 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22169 * sysdeps/powerpc/sysdep.h: Likewise.
22170 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22171 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22173 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22176 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22178 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22180 * sysdeps/i386/sysdep.h: Include <features.h>.
22181 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22184 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22186 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22188 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22191 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22193 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22194 (SETUP_PIC_REG): Use GET_PC_THUNK.
22195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22198 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22200 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22201 for non-PIC compilation.
22202 (SETUP_PIC_REG): Add .p2align directive.
22203 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22204 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22205 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22206 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22207 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22208 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22209 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22218 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22219 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22220 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22221 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22222 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22225 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22226 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22227 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22229 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22230 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22231 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22232 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22233 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22234 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22235 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22236 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22237 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22238 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22239 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22240 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22241 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22242 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22243 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22245 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22247 * math/tst-CMPLX.c: Include <stdio.h>.
22249 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22251 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22253 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22254 * sysdeps/sparc/bits/mathdef.h: Likewise.
22256 2012-01-31 Marek Polacek <polacek@redhat.com>
22258 * libio/libio.h: Don't define _PARAMS.
22259 * locale/programs/config.h: Don't define PARAMS.
22260 * stdlib/strtol_l.c: Likewise.
22261 (__strtol_l): Remove PARAMS from the prototype.
22263 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22265 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22266 names. Just use the correct names. Remove unnecessary wrapper
22268 * malloc/arena.c: Likewise.
22269 * malloc/hooks.c: Likewise.
22271 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22272 ARENA_TEST says not to. Simplify test for creation of a new arena.
22273 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22275 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22277 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22279 (update_get_addr): New function.
22280 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22281 GET_ADDR_MODULE parameter.
22283 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22285 * crypt/cert.c: Remove __STDC__ conditionals.
22286 * crypt/crypt-entry.c: Likewise.
22287 * crypt/crypt_util.c: Likewise.
22288 * libio/filedoalloc.c: Likewise.
22289 * libio/fileops.c: Likewise.
22290 * libio/genops.c: Likewise.
22291 * libio/iofclose.c: Likewise.
22292 * libio/iofdopen.c: Likewise.
22293 * libio/iofopen.c: Likewise.
22294 * libio/iofopen64.c: Likewise.
22295 * libio/iogetdelim.c: Likewise.
22296 * libio/iopopen.c: Likewise.
22297 * libio/obprintf.c: Likewise.
22298 * libio/oldfileops.c: Likewise.
22299 * libio/oldiofclose.c: Likewise.
22300 * libio/oldiofdopen.c: Likewise.
22301 * libio/oldiofopen.c: Likewise.
22302 * libio/oldiopopen.c: Likewise.
22303 * libio/wfiledoalloc.c: Likewise.
22304 * libio/wgenops.c: Likewise.
22305 * locale/programs/xmalloc.c: Likewise.
22306 * misc/syslog.c: Likewise.
22307 * stdio-common/xbug.c: Likewise.
22308 * string/memchr.c: Likewise.
22309 * string/memcmp.c: Likewise.
22310 * string/memrchr.c: Likewise.
22311 * string/rawmemchr.c: Likewise.
22312 * sysdeps/posix/getcwd.c: Likewise.
22313 * time/strftime_l.c: Likewise.
22315 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22317 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22318 * config.make.in (config-cflags-sse2avx): Define.
22319 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22322 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22324 * scripts/config.guess: Update from upstream config git repository.
22325 * scripts/config.sub: Likewise.
22327 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22329 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22331 (R_TILEPRO_*, R_TILEGX_*): New macros.
22333 * scripts/firstversions.awk: Fix bug in version range handling.
22335 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22337 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22339 * include/sys/epoll.h: New file.
22340 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22343 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22345 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22346 Avoid unnecessary __WORDSIZE == 64 test.
22347 (fmaxf): Use VEX format if possible.
22352 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22353 * math/math_private.h: Remove libc_fegetround* and
22355 * sysdeps/i386/configure.in: Check for -msse2avx.
22356 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22357 also if SSE2AVX is defined.
22358 Remove libc_fegetround* and libc_fesetround*.
22359 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22360 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22369 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22371 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22373 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22375 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22377 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22380 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22382 * Makeconfig (libm): Define.
22383 * elf/Makefile: Add rules to build and run tst-relsort1.
22384 * elf/tst-relsort1.c: New file.
22385 * elf/tst-relsort1mod1.c: New file.
22386 * elf/tst-relsort1mod2.c: New file.
22388 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22390 * math/s_ldexp.c: Remove __STDC__ conditionals.
22391 * math/s_ldexpf.c: Likewise.
22392 * math/s_ldexpl.c: Likewise.
22393 * math/s_nextafter.c: Likewise.
22394 * math/s_nexttowardf.c: Likewise.
22395 * math/s_significand.c: Likewise.
22396 * math/s_significandf.c: Likewise.
22397 * math/s_significandl.c: Likewise.
22398 * math/w_jnl.c: Likewise.
22399 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22400 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22401 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22402 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22403 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22418 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22419 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22420 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22427 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22428 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22429 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22430 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22431 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22432 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22433 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22434 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22435 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22436 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22437 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22438 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22439 * sysdeps/ieee754/k_standard.c: Likewise.
22440 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22444 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22459 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22501 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22502 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22504 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22506 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22507 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22510 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22515 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22516 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22517 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22519 * sysdeps/ieee754/s_matherr.c: Likewise.
22520 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22521 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22522 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22525 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22527 * crypt/md5.h: Remove __STDC__ conditionals.
22528 * libio/libioP.h: Likewise.
22529 * locale/programs/config.h: Likewise.
22530 * sysdeps/generic/sysdep.h: Likewise.
22531 * sysdeps/i386/asm-syntax.h: Likewise.
22532 * sysdeps/s390/asm-syntax.h: Likewise.
22533 * sysdeps/unix/sysdep.h: Likewise.
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22537 2012-01-26 Joseph Myers <joseph@codesourcery.com>
22539 * libio/libio.h: Remove __STDC__ conditionals.
22540 * malloc/obstack.h: Likewise.
22541 * math/complex.h: Likewise.
22542 * math/math.h: Likewise.
22543 * sysdeps/generic/_G_config.h: Likewise.
22544 * sysdeps/gnu/_G_config.h: Likewise.
22545 * sysdeps/mach/hurd/_G_config.h: Likewise.
22546 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22547 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22548 * sysdeps/sparc/bits/mathdef.h: Likewise.
22550 2012-01-26 Ulrich Drepper <drepper@gmail.com>
22553 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
22554 Clean up HAS_* macros.
22555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
22556 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22558 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22560 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22561 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22562 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22563 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22564 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22566 2012-01-25 Joseph Myers <joseph@codesourcery.com>
22568 * elf/tst-unique3.cc (gets): Remove declaration.
22569 * elf/tst-unique3lib.cc (gets): Likewise.
22570 * elf/tst-unique3lib2.cc (gets): Likewise.
22571 * elf/tst-unique4.cc (gets): Likewise.
22573 2012-01-24 Ulrich Drepper <drepper@gmail.com>
22575 * include/stdio.h: Add C++ protection. Add gets declarations and
22577 * debug/tst-chk1.c: Don't declare gets here.
22578 * stdio-common/tst-gets.c: Likewise.
22580 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22582 * posix/glob: Remove directory.
22584 2012-01-24 Joseph Myers <joseph@codesourcery.com>
22586 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22588 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22590 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22591 of the non-standard EPFNOSUPPORT.
22593 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22595 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22596 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22597 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22599 2012-01-21 Ulrich Drepper <drepper@gmail.com>
22601 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22603 2012-01-20 Ulrich Drepper <drepper@gmail.com>
22605 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22607 * nscd/grpcache.c (cache_addgr): Likewise.
22608 * nscd/hstcache.c (cache_addhst): Likewise.
22609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22610 * nscd/pwdcache.c (cache_addpw): Likewise.
22611 * nscd/servicescache.c (cache_addserv): Likewise.
22613 2012-01-16 Ulrich Drepper <drepper@gmail.com>
22615 * malloc/malloc.c: Various cleanups.
22616 * malloc/hooks.c: Likewise.
22618 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22619 * stdlib/bug-fmtmsg1.c: New file.
22621 * stdlib/fmtmsg.c (init): Add missing unlock.
22622 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22624 2012-01-12 Marek Polacek <polacek@redhat.com>
22626 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22629 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22631 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22632 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22633 macro to ensure uniqueness of label name.
22634 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22635 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22637 2012-01-11 Ulrich Drepper <drepper@gmail.com>
22639 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22641 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22642 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22646 2012-01-10 Ulrich Drepper <drepper@gmail.com>
22648 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22650 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22651 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22654 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22656 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
22657 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
22661 * math/bits/math-finite.h: Add ldexp support.
22663 2012-01-10 Marek Polacek <polacek@redhat.com>
22665 * locale/programs/localedef.h (show_archive_content): Add noreturn
22668 2012-01-09 Ulrich Drepper <drepper@gmail.com>
22670 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22672 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22674 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22676 * io/Makefile (headers): Add bits/poll2.h.
22678 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22681 typo #include statement.
22683 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22685 * include/sys/cdefs.h: Define __attribute_alloc_size.
22686 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22687 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22688 * elf/pldd.c: Likewise.
22689 * iconv/iconv_charmap.c: Likewise.
22690 * iconv/iconvconfig.c: Likewise.
22691 * iconv/strtab.c: Likewise.
22692 * locale/programs/locale.c: Likewise.
22693 * locale/programs/localedef.h: Likewise.
22694 * locale/programs/simple-hash.c: Likewise.
22695 * nscd/nscd.h: Likewise.
22696 * nss/makedb.c: Likewise.
22697 * sysdeps/generic/ldconfig.h: Likewise.
22698 * locale/programs/localedef.c: Remove xmalloc prototype.
22699 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22701 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22703 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22706 2012-01-08 Ulrich Drepper <drepper@gmail.com>
22708 * math/Makefile (tests): Add tst-CMPLX.
22709 * math/tst-CMPLX.c: New file.
22711 * math/complex.h (CMPLXL): Fix typo.
22713 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22714 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22716 * debug/tst-chk1.c: Add poll and ppoll tests.
22717 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22718 * include/sys/poll.h: Add hidden proto for ppoll.
22719 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22720 * sysdeps/mach/hurd/ppoll.c: Likewise.
22721 * io/ppoll.c: Likewise.
22722 * debug/poll_chk.c: New file.
22723 * debug/ppoll_chk.c: New file.
22724 * include/bits/poll2.h: New file.
22725 * io/bits/poll2.h: New file.
22728 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22730 * configure.in: static is always set to yes. Remove.
22731 * config.make.in: Don't set build-static.
22732 * Makeconfig: Remove use of build-static.
22733 * dlfcn/Makefile: Likewise.
22734 * elf/Makefile: Likewise.
22735 * math/Makefile: Likewise.
22736 * misc/Makefile: Likewise.
22737 * nptl/Makefile: Likewise.
22738 * sysdeps/mach/hurd/Makefile: Likewise.
22740 * configure.in: PWD_P is not used anymore.
22741 * config.make.in: Remove PWD_P entry.
22743 * configure.in: Remove last remnants of RANLIB.
22744 No need to check for signed size_t anymore.
22745 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22747 Remove __builtin_expect test because we require at least gcc 3.4.
22748 * aclocal.m4: Likewise.
22750 * wcsmbs/mbrtoc16.c: Implement using towc function.
22751 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22752 * wcsmbs/wcsmbsload.c: Likewise.
22753 * iconv/gconv_simple.c: Likewise.
22754 * iconv/gconv_int.h: Likewise.
22755 * iconv/gconv_builtin.h: Likewise.
22756 * iconv/iconv_prog.c: Remove CHAR16 handling.
22758 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22760 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22762 * configure.in: Remove --with-elf and --enable-bounded options.
22763 Dont set base_machine for ia64. More non-ELF conditions removed.
22764 Remove testing and setting of leading underscore information.
22765 * config.make.in (build-bounded): Set to no.
22766 * config.h.in: Remove NO_UNDERSCORES entry.
22767 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22769 * csu/start.c: Remove !NO_UNDERSCORE code.
22770 * locale/localeinfo.h: Likewise.
22771 * sysdeps/generic/machine-gmon.h: Likewise.
22772 * sysdeps/generic/sysdep.h: Likewise.
22773 * sysdeps/i386/sysdep.h: Likewise.
22774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22775 * sysdeps/mach/sysdep.h: Likewise.
22776 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22778 * sysdeps/sh/sysdep.h: Likewise.
22779 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22780 * sysdeps/unix/i386/sysdep.S: Likewise.
22781 * sysdeps/unix/sparc/start.c: Likewise.
22782 * sysdeps/unix/sparc/sysdep.S: Likewise.
22783 * sysdeps/unix/sparc/sysdep.h: Likewise.
22784 * sysdeps/unix/start.c: Likewise.
22785 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22786 * sysdeps/x86_64/sysdep.h: Likewise.
22788 2012-01-07 Ulrich Drepper <drepper@gmail.com>
22791 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22793 * argp/argp-fmtstream.h: Use const instead __const.
22794 * argp/argp.h: Likewise.
22795 * assert/assert.h: Likewise.
22796 * bits/fenv.h: Likewise.
22797 * bits/sched.h: Likewise.
22798 * bits/sigset.h: Likewise.
22799 * bits/sigthread.h: Likewise.
22800 * catgets/nl_types.h: Likewise.
22801 * conform/data/pthread.h-data: Likewise.
22802 * crypt/crypt-private.h: Likewise.
22803 * crypt/crypt.h: Likewise.
22804 * crypt/crypt_util.c: Likewise.
22805 * ctype/ctype.h: Likewise.
22806 * debug/execinfo.h: Likewise.
22807 * debug/mbsnrtowcs_chk.c: Likewise.
22808 * debug/mbsrtowcs_chk.c: Likewise.
22809 * debug/wcsnrtombs_chk.c: Likewise.
22810 * debug/wcsrtombs_chk.c: Likewise.
22811 * debug/wcstombs_chk.c: Likewise.
22812 * dirent/dirent.h: Likewise.
22813 * dlfcn/dlfcn.h: Likewise.
22814 * elf/neededtest4.c: Likewise.
22815 * grp/grp.h: Likewise.
22816 * gshadow/gshadow.h: Likewise.
22817 * iconv/gconv.h: Likewise.
22818 * iconv/gconv_int.h: Likewise.
22819 * iconv/gconv_simple.c: Likewise.
22820 * iconv/iconv.h: Likewise.
22821 * iconv/loop.c: Likewise.
22822 * iconv/skeleton.c: Likewise.
22823 * include/aio.h: Likewise.
22824 * include/aliases.h: Likewise.
22825 * include/argz.h: Likewise.
22826 * include/arpa/inet.h: Likewise.
22827 * include/assert.h: Likewise.
22828 * include/dirent.h: Likewise.
22829 * include/dlfcn.h: Likewise.
22830 * include/execinfo.h: Likewise.
22831 * include/fcntl.h: Likewise.
22832 * include/fenv.h: Likewise.
22833 * include/glob.h: Likewise.
22834 * include/grp.h: Likewise.
22835 * include/libintl.h: Likewise.
22836 * include/mntent.h: Likewise.
22837 * include/netdb.h: Likewise.
22838 * include/pwd.h: Likewise.
22839 * include/rpc/netdb.h: Likewise.
22840 * include/sched.h: Likewise.
22841 * include/search.h: Likewise.
22842 * include/shadow.h: Likewise.
22843 * include/signal.h: Likewise.
22844 * include/stdio.h: Likewise.
22845 * include/stdlib.h: Likewise.
22846 * include/string.h: Likewise.
22847 * include/sys/socket.h: Likewise.
22848 * include/sys/stat.h: Likewise.
22849 * include/sys/statfs.h: Likewise.
22850 * include/sys/statvfs.h: Likewise.
22851 * include/sys/syslog.h: Likewise.
22852 * include/sys/time.h: Likewise.
22853 * include/sys/uio.h: Likewise.
22854 * include/time.h: Likewise.
22855 * include/unistd.h: Likewise.
22856 * include/utmp.h: Likewise.
22857 * include/wchar.h: Likewise.
22858 * include/wctype.h: Likewise.
22859 * inet/aliases.h: Likewise.
22860 * inet/arpa/inet.h: Likewise.
22861 * inet/netinet/ether.h: Likewise.
22862 * inet/netinet/in.h: Likewise.
22863 * intl/libintl.h: Likewise.
22864 * io/bits/fcntl2.h: Likewise.
22865 * io/fcntl.h: Likewise.
22866 * io/ftw.h: Likewise.
22867 * io/sys/poll.h: Likewise.
22868 * io/sys/stat.h: Likewise.
22869 * io/sys/statfs.h: Likewise.
22870 * io/sys/statvfs.h: Likewise.
22871 * io/utime.h: Likewise.
22872 * libio/bits/stdio.h: Likewise.
22873 * libio/bits/stdio2.h: Likewise.
22874 * libio/libio.h: Likewise.
22875 * libio/libioP.h: Likewise.
22876 * libio/stdio.h: Likewise.
22877 * locale/lc-ctype.c: Likewise.
22878 * locale/locale.h: Likewise.
22879 * login/utmp.h: Likewise.
22880 * malloc/arena.c: Likewise.
22881 * malloc/malloc.c: Likewise.
22882 * malloc/malloc.h: Likewise.
22883 * malloc/mcheck.c: Likewise.
22884 * malloc/mtrace.c: Likewise.
22885 * math/bits/mathcalls.h: Likewise.
22886 * math/fenv.h: Likewise.
22887 * math/math_private.h: Likewise.
22888 * misc/bits/error.h: Likewise.
22889 * misc/bits/syslog.h: Likewise.
22890 * misc/err.h: Likewise.
22891 * misc/error.h: Likewise.
22892 * misc/fstab.h: Likewise.
22893 * misc/mntent.h: Likewise.
22894 * misc/regexp.h: Likewise.
22895 * misc/search.h: Likewise.
22896 * misc/sgtty.h: Likewise.
22897 * misc/sys/mman.h: Likewise.
22898 * misc/sys/syslog.h: Likewise.
22899 * misc/sys/uio.h: Likewise.
22900 * misc/sys/xattr.h: Likewise.
22901 * misc/ttyent.h: Likewise.
22902 * nis/rpcsvc/ypclnt.h: Likewise.
22903 * nss/nss.h: Likewise.
22904 * posix/bits/unistd.h: Likewise.
22905 * posix/fnmatch.h: Likewise.
22906 * posix/glob.h: Likewise.
22907 * posix/sched.h: Likewise.
22908 * posix/spawn.h: Likewise.
22909 * posix/sys/wait.h: Likewise.
22910 * posix/unistd.h: Likewise.
22911 * posix/wordexp.h: Likewise.
22912 * pwd/pwd.h: Likewise.
22913 * resolv/netdb.h: Likewise.
22914 * resource/sys/resource.h: Likewise.
22915 * rt/aio.h: Likewise.
22916 * rt/bits/mqueue2.h: Likewise.
22917 * rt/mqueue.h: Likewise.
22918 * shadow/shadow.h: Likewise.
22919 * signal/signal.h: Likewise.
22920 * socket/send.c: Likewise.
22921 * socket/sendto.c: Likewise.
22922 * socket/sys/socket.h: Likewise.
22923 * stdio-common/printf.h: Likewise.
22924 * stdlib/bits/stdlib.h: Likewise.
22925 * stdlib/fmtmsg.h: Likewise.
22926 * stdlib/monetary.h: Likewise.
22927 * stdlib/stdlib.h: Likewise.
22928 * stdlib/ucontext.h: Likewise.
22929 * streams/stropts.h: Likewise.
22930 * string/argz.h: Likewise.
22931 * string/bits/string2.h: Likewise.
22932 * string/string.h: Likewise.
22933 * string/strings.h: Likewise.
22934 * sunrpc/rpc/auth.h: Likewise.
22935 * sunrpc/rpc/auth_des.h: Likewise.
22936 * sunrpc/rpc/clnt.h: Likewise.
22937 * sunrpc/rpc/netdb.h: Likewise.
22938 * sunrpc/rpc/pmap_clnt.h: Likewise.
22939 * sunrpc/rpc/xdr.h: Likewise.
22940 * sysdeps/generic/inttypes.h: Likewise.
22941 * sysdeps/generic/net/if.h: Likewise.
22942 * sysdeps/generic/sys/swap.h: Likewise.
22943 * sysdeps/gnu/net/if.h: Likewise.
22944 * sysdeps/gnu/utmpx.h: Likewise.
22945 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22946 * sysdeps/i386/i486/bits/string.h: Likewise.
22947 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22948 * sysdeps/s390/bits/string.h: Likewise.
22949 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22950 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22951 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22952 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22953 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22954 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22955 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22956 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22957 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22958 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22959 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22960 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22961 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22962 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22963 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22964 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22965 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22966 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22967 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22969 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22970 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22971 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22972 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22973 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22974 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22975 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22976 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22977 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22979 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22980 * sysvipc/sys/ipc.h: Likewise.
22981 * sysvipc/sys/msg.h: Likewise.
22982 * sysvipc/sys/sem.h: Likewise.
22983 * sysvipc/sys/shm.h: Likewise.
22984 * termios/termios.h: Likewise.
22985 * time/sys/time.h: Likewise.
22986 * time/time.h: Likewise.
22987 * wcsmbs/bits/wchar2.h: Likewise.
22988 * wcsmbs/uchar.h: Likewise.
22989 * wcsmbs/wchar.h: Likewise.
22990 * wctype/wctype.h: Likewise.
22993 * Makeconfig: Remove all but ELF support including AIX support.
22994 * Makerules: Likewise.
22995 * config.h.in: Likewise.
22996 * config.make.in: Likewise.
22997 * configure: Likewise.
22998 * configure.in: Likewise.
22999 * csu/Makefile: Likewise.
23000 * csu/version.c: Likewise.
23001 * debug/Makefile: Likewise.
23002 * dlfcn/Makefile: Likewise.
23003 * elf/Makefile: Likewise.
23004 * extra-lib.mk: Likewise.
23005 * iconv/Makefile: Likewise.
23006 * include/libc-symbols.h: Likewise.
23007 * include/shlib-compat.h: Likewise.
23008 * resolv/Makefile: Likewise.
23009 * resolv/res_libc.c: Likewise.
23010 * rt/Makefile: Likewise.
23011 * sysdeps/i386/asm-syntax.h: Likewise.
23012 * sysdeps/i386/sysdep.h: Likewise.
23013 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23014 * sysdeps/mach/sysdep.h: Likewise.
23015 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23016 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23017 * sysdeps/s390/asm-syntax.h: Likewise.
23018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23020 * sysdeps/sh/sysdep.h: Likewise.
23021 * sysdeps/unix/sparc/sysdep.h: Likewise.
23022 * sysdeps/wordsize-32/divdi3.c: Likewise.
23023 * sysdeps/x86_64/sysdep.h: Likewise.
23025 * argp/Versions: Remove _argp_unlock_xxx.
23028 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23029 * abilist/libBrokenLocale.abilist: Likewise.
23030 * abilist/libanl.abilist: Likewise.
23031 * abilist/libc.abilist: Likewise.
23032 * abilist/libcrypt.abilist: Likewise.
23033 * abilist/libdl.abilist: Likewise.
23034 * abilist/libm.abilist: Likewise.
23035 * abilist/libnsl.abilist: Likewise.
23036 * abilist/libpthread.abilist: Likewise.
23037 * abilist/libresolv.abilist: Likewise.
23038 * abilist/librt.abilist: Likewise.
23039 * abilist/libthread_db.abilist: Likewise.
23040 * abilist/libutil.abilist: Likewise.
23041 * abilist/libnss_db.abilist: New file.
23043 * scripts/abilist.awk: Add support for indirect functions.
23045 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23047 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23049 * shlib-versions: Remove entries for ports architectures.
23051 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23053 * elf/stackguard-macros.h: Remove support for IA-64.
23054 * elf/tst-auditmod1.c: Likewise.
23055 * sysdeps/generic/ldsodefs.h: Likewise.
23057 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23058 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23062 * configure.in: Remove --enable-omitfp support.
23064 * config.make.in: Likewise.
23065 * Makeconfig: Likewise.
23066 * manual/install.texi: Likewise.
23068 In case anyone cares, the IA-64 architecture could move to ports.
23069 * sysdeps/ia64/*: Removed.
23070 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23071 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23074 * configure.in: Remove entries for unsupported architectures.
23077 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23078 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23080 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23081 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23082 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23083 fall back to using wcrtomb.
23084 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23085 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23087 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23088 * wcsmbs/tst-c16c32-1.c: New file.
23090 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23093 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23095 * elf/tst-unique3.cc: Add explicit declaration of gets.
23096 * elf/tst-unique3lib.cc: Likewise.
23097 * elf/tst-unique3lib2.cc: Likewise.
23098 * elf/tst-unique4.cc: Likewise.
23100 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23102 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23105 * assert/assert.h (static_assert): Don't define for C++.
23106 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23107 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23109 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23111 * iconv/loop.c (single loop): Fix assertion in storing of
23114 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23116 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23118 * posix/getconf.c: Update copyright year.
23119 * nss/getent.c: Likewise.
23120 * nss/makedb.c: Likewise.
23121 * iconv/iconvconfig.c: Likewise.
23122 * iconv/iconv_prog.c: Likewise.
23123 * elf/ldconfig.c: Likewise.
23124 * elf/pldd.c: Likewise.
23125 * elf/sotruss.ksh: Likewise.
23126 * catgets/gencat.c: Likewise.
23127 * csu/version.c: Likewise.
23128 * elf/ldd.bash.in: Likewise.
23129 * elf/sprof.c (print_version): Likewise.
23130 * locale/programs/locale.c: Likewise.
23131 * locale/programs/localedef.c: Likewise.
23132 * login/programs/pt_chown.c: Likewise.
23133 * nscd/nscd.c (print_version): Likewise.
23134 * debug/xtrace.sh: Likewise.
23135 * malloc/memusage.sh: Likewise.
23136 * malloc/mtrace.pl: Likewise.
23137 * debug/catchsegv.sh: Likewise.
23139 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23141 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23144 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23147 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23148 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23150 * iconv/gconv_int.h: Likewise.
23151 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23152 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23153 from libc for GLIBC_2.16.
23154 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23155 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23156 * wcsmbs/uchar.h: Really define mbstate_t.
23157 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23158 * wcsmbs/c16rtomb.c: New file.
23159 * wcsmbs/mbrtoc16.c: New file.
23160 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23161 for C/POSIX locale.
23162 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23163 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23165 * wcsmbs/wchar.h: Add missing __restrict.
23167 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23170 * time/Makefile (routines): Add timespec_get.
23171 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23172 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23173 timespec for ISO C11.
23174 * time/timespec_get.c: New file.
23175 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23176 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23179 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23180 * stdlib/stdlib.h: Declare aligned_alloc.
23181 * Versions.def: Add GLIBC_2.16 for libc.
23182 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23185 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23188 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23192 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23195 * assert/assert.h (static_assert): Define.
23197 * version.h: Update for 2.16 development version.
23200 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23203 * version.h (RELEASE): Bump for 2.15 release.
23204 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23206 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23207 Patch by Marek Polacek <mpolacek@redhat.com>.
23209 * bits/byteswap.h: Protect long long constants with __extension__.
23210 * sysdeps/i386/bits/byteswap.h: Likewise.
23211 * sysdeps/ia64/bits/byteswap.h: Likewise.
23212 * sysdeps/s390/bits/byteswap.h: Likewise.
23213 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23215 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23218 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23219 destination buffer.
23220 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23222 2011-12-23 Marek Polacek <polacek@redhat.com>
23224 * elf/dl-addr.c (determine_info): Add inline keyword.
23225 * elf/tst-auditmod4b.c (check_avx): Likewise.
23226 * elf/tst-auditmod6b.c (check_avx): Likewise.
23227 * elf/tst-auditmod6c.c (check_avx): Likewise.
23228 * elf/tst-auditmod7b.c (check_avx): Likewise.
23230 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23232 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23235 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23238 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23239 processing for last bytes.
23241 2011-08-06 Bruno Haible <bruno@clisp.org>
23244 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23245 U+0385, not to U+1FEE.
23248 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23249 entry for U+00A5 U+0301.
23251 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23254 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23255 buffer for the output is too small.
23257 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23261 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23262 SSE flags if possible.
23264 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23268 processing for last bytes.
23270 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23272 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23273 (syscall-list-default-options, syscall-list-default-condition)
23274 (syscall-list-includes): Define.
23275 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23276 list of ABIs and options and #if conditions for each ABI. Do not
23277 handle common syscalls between ABIs specially.
23278 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23280 (syscall-list-variants, syscall-list-32bit-options)
23281 (syscall-list-32bit-condition, syscall-list-64bit-options)
23282 (syscall-list-64bit-condition): Define.
23283 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23284 (syscall-list-variants, syscall-list-32bit-options)
23285 (syscall-list-32bit-condition, syscall-list-64bit-options)
23286 (syscall-list-64bit-condition): Define.
23287 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23289 (syscall-list-variants, syscall-list-32bit-options)
23290 (syscall-list-32bit-condition, syscall-list-64bit-options)
23291 (syscall-list-64bit-condition): Define.
23292 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23294 (syscall-list-variants, syscall-list-32bit-options)
23295 (syscall-list-32bit-condition, syscall-list-64bit-options)
23296 (syscall-list-64bit-condition): Define.
23298 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23300 * locale/iso-639.def: Add brx entry.
23303 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23304 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23306 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23307 __feraiseexcept_renamed.
23309 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23312 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23313 EPOLLET with unsigned values.
23314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23317 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23318 to large cancellation.
23319 * math/s_cacoshf.c: Likewise.
23320 * math/s_cacoshl.c: Likewise.
23322 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23326 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23327 * math/s_cacoshf.c: Likewise.
23328 * math/s_cacoshl.c: Likewise.
23330 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23333 * iconv/gconv.h: Define __GCONV_SWAP.
23334 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23335 * iconvdata/utf-16.c: Likewise.
23336 * iconvdata/utf-32.c: Likewise.
23338 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23342 numerator after shifting it by one limb.
23344 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23346 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23347 under [__USE_EXTERN_INLINES].
23349 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23352 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23354 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23356 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23357 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23359 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23360 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23361 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23362 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23363 for strncasecmp/strncasecmp_l compilation.
23364 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23365 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23367 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23370 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23373 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23376 * time/tzfile.c (__tzfile_read): Check values from file header.
23378 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23380 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23381 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23382 * powerpc/powerpc32/dl-start.S: Likewise.
23383 * powerpc/powerpc32/elf/start.S: Likewise.
23384 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23385 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23386 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23387 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23388 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23389 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23390 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23391 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23392 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23393 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23394 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23395 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23396 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23397 * powerpc/powerpc32/memset.S: Likewise.
23398 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23399 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23400 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23401 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23402 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23403 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23404 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23405 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23406 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23407 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23408 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23409 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23410 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23412 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23414 * math/libm-test.inc: Added more nearbyint tests.
23415 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23420 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23422 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23425 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23427 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23428 Add wcscpy-ssse3 wcscpy-c.
23429 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23430 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23431 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23432 * sysdeps/x86_64/wcschr.S: New file.
23433 * sysdeps/x86_64/wcsrchr.S: New file.
23434 * string/test-strcmp.c: Remove checking of wcscmp function for
23436 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23437 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23438 wcsrchr-sse2 wcsrchr-c.
23439 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23440 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23441 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23442 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23443 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23444 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23445 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23446 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23447 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23448 * wcsmbc/wcschr.c (WCSCHR): New macro.
23450 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23452 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23453 * wcsmbs/test-wcsrchr.c: New file.
23454 * string/test-strrchr.c: Add wcsrchr support.
23456 * wcsmbs/test-wcscpy.c: New file.
23457 * string/test-strcpy.c: Add wcscpy support.
23460 2011-12-10 Ulrich Drepper <drepper@gmail.com>
23462 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23465 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23468 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23470 2011-12-04 Ulrich Drepper <drepper@gmail.com>
23472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
23473 Minor optimizations.
23475 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23476 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23477 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23479 2011-12-03 Ulrich Drepper <drepper@gmail.com>
23481 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23482 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23483 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23484 for gcc to avoid warnings.
23485 * inet/Makefile (tests): Add tst-checks.
23486 * inet/tst-checks.c: New file.
23488 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23491 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23494 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23495 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23497 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23499 2011-12-02 Ulrich Drepper <drepper@gmail.com>
23501 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23504 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23506 2011-11-29 Joseph Myers <joseph@codesourcery.com>
23508 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23509 conditional on GCC version.
23510 (__arch_compare_and_exchange_val_8_acq)
23511 (__arch_compare_and_exchange_val_16_acq)
23512 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23513 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23514 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23516 2011-12-02 Joseph Myers <joseph@codesourcery.com>
23518 * sysdeps/sh/backtrace.c: New file.
23520 2011-12-02 Andreas Schwab <schwab@redhat.com>
23522 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23525 2011-12-01 Andreas Schwab <schwab@redhat.com>
23527 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23528 falling back to utime.
23530 2011-11-30 Andreas Schwab <schwab@redhat.com>
23532 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23533 expectations for float.
23535 2011-11-29 Andreas Schwab <schwab@redhat.com>
23537 * locale/weight.h (findidx): Add parameter len.
23538 * locale/weightwc.h (findidx): Likewise.
23539 * posix/fnmatch_loop.c (FCT): Adjust caller.
23540 * posix/regcomp.c (build_equiv_class): Likewise.
23541 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23542 * posix/regexec.c (check_node_accept_bytes): Likewise.
23543 * string/strcoll_l.c (STRCOLL): Likewise.
23544 * string/strxfrm_l.c (STRXFRM): Likewise.
23546 2011-11-17 Ulrich Drepper <drepper@gmail.com>
23548 * Makefile.in: Remove CVSOPT handling.
23549 * configure.in: Remove use of AC_REVISION.
23550 * iconvdata/Makefile (distribute): No need to filter out CVS.
23551 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23554 2011-11-16 Andreas Schwab <schwab@redhat.com>
23556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23557 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23558 [USE_AS_STRNCASECMP_L]: Likewise.
23559 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23560 NO_TLS_DIRECT_SEG_REFS.
23561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23562 Fix argument offsets for non-PIC.
23563 [USE_AS_STRNCASECMP_L]: Likewise.
23564 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23565 NO_TLS_DIRECT_SEG_REFS.
23567 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23569 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
23571 * locale/loadlocale.c (_nl_load_locale): Likewise.
23573 2011-11-15 Andreas Schwab <schwab@redhat.com>
23575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23576 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23577 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23578 (SYSCALL_GETTIME): Set errno on error.
23580 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23581 count references to noai6ai_cached.
23583 2011-11-15 Ulrich Drepper <drepper@gmail.com>
23585 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23587 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23588 FD_CLOEXEC for /proc/self/maps.
23590 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23591 FD_CLOEXEC for /proc/meminfo.
23593 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23596 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23597 FD_CLOEXEC for given file.
23599 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23601 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23602 FD_CLOEXEC for /etc/hosts.
23603 (_gethtent): Likewise.
23605 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23607 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23608 cancellation and set FD_CLOEXEC for /etc/netgroup.
23610 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23611 reading /etc/publickey.
23613 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23614 allow cancellation when reading /etc/group.
23616 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23618 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23620 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23621 when using data file.
23623 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23625 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23626 (write_nis_obj): Use "c" and "e" in fopen.
23628 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23630 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23632 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23634 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23636 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23639 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23641 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23643 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23645 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23646 file parsing and set FD_CLOEXEC.
23648 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23650 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23652 2011-11-14 Andreas Schwab <schwab@redhat.com>
23654 * malloc/arena.c (arena_get2): Don't call reused_arena when
23655 _int_new_arena failed.
23657 2011-11-14 Ulrich Drepper <drepper@gmail.com>
23659 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23660 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23662 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23663 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23665 to compile strcasecmp and strncasecmp.
23666 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23667 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23671 2011-11-13 Ulrich Drepper <drepper@gmail.com>
23673 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23674 locale-defines.sym to gen-as-const-headers.
23675 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23676 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23677 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23678 to compile strcasecmp and strncasecmp.
23679 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23680 strcasecmp_l and strncasecmp_l.
23681 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23682 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23683 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23684 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23685 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23686 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23687 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23688 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23689 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23690 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23691 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23693 2011-11-12 Ulrich Drepper <drepper@gmail.com>
23695 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23696 result of SYSDEP_GETTIME_CPU to retval.
23697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23698 parameter list to macro. Remove trailing semicolon. Adjust users.
23700 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23703 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23705 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23707 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23708 from unused variable.
23710 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23712 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23715 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23718 * sunrpc/rpc_prot.c (rejected): Fix case value.
23720 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23721 unsigned long long int to avoid warnings in shift.
23723 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23725 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23728 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23729 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23730 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23732 * nis/nis_table.c (nis_list): Use variable of correct type for
23733 result of __follow_path call.
23735 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23737 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23738 of math functions ceil, trunc, floor, round, and sqrt, when
23739 avaliable on the platform.
23740 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23742 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23743 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23744 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23746 2011-10-30 Marek Polacek <mpolacek@redhat.com>
23748 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23749 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23751 2011-11-11 Roland McGrath <roland@hack.frob.com>
23753 * include/unistd.h: Fix __readlink return type.
23754 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23756 2011-11-11 Ulrich Drepper <drepper@gmail.com>
23758 * stdlib/ucontext.h: Undo last change for makecontext.
23760 2011-11-11 Andreas Schwab <schwab@redhat.com>
23762 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23764 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23765 * setjmp/setjmp.h: Mark functions as non-leaf.
23766 * setjmp/bits/setjmp2.h: Likewise.
23767 * stdlib/ucontext.h: Likewise.
23769 2011-11-10 Andreas Schwab <schwab@redhat.com>
23771 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23772 (reused_arena): Don't check arena limit.
23773 (arena_get2): Atomically check arena limit.
23775 2011-11-08 Ulrich Drepper <drepper@gmail.com>
23777 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23778 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23783 2011-11-07 Andreas Schwab <schwab@redhat.com>
23785 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23786 handler when locking.
23788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23789 Fix size of allocated buffer.
23791 2011-11-04 Andreas Schwab <schwab@redhat.com>
23794 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23795 declarations for long double functions.
23796 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23798 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23800 2011-11-03 Andreas Schwab <schwab@redhat.com>
23802 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23805 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23808 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23810 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23812 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23814 * include/alloca.h (stackinfo_alloca_round): Define.
23815 (extend_alloca): Use it.
23816 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23817 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23820 * scripts/check-local-headers.sh: Ignore libaudit.h.
23822 * nscd/Makefile (extra-objs): Make recursively expanded.
23824 2011-11-01 Ulrich Drepper <drepper@gmail.com>
23826 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23827 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23829 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23830 * posix/tst-rfc3484-2.c: Likewise.
23831 * posix/tst-rfc3484-3.c: Likewise.
23833 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23835 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23837 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23838 process_vm_writev from libc using GLIBC_2.15 version.
23840 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23842 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23844 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23847 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23850 * nss/getent.c (initgroups_keys): Show error message in case no group
23853 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23854 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23855 __bump_nl_timestamp.
23856 * nscd/connections (nscd_init): When host database is served open
23857 netlink socket and request notification about configuration changes.
23858 (main_loop_poll): Track netlink file descriptor and bump timestamp
23859 in case data becomes available.
23860 (main_loop_epoll): Likewise.
23861 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23862 (database_pers_head): Add extra_data fileds.
23863 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23864 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23865 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23868 in6ai data, call __free_in6ai.
23869 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23870 Add -DHAVE_NETLINK.
23871 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23872 interface information. Reuse previous data if netlink timestamp
23874 (__bump_nl_timestamp): New function.
23875 (__free_in6ai): New function.
23877 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23880 close_not_cancel_no_status here.
23881 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23883 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23886 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23889 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23890 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23891 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23893 2011-07-03 Andreas Jaeger <aj@suse.de>
23896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23897 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23898 * math/libm-test.inc (sin_test): Add test case.
23900 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23903 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23904 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23906 * elf/chroot_canon.c (chroot_canon): Cleanups.
23908 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23911 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23912 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23914 * string/test-strchr.c: Make usable for strchrnul testing.
23915 * string/test-strchrnul.c: New file.
23916 * string/Makefile (strop-tests): Add strchrnul.
23918 * po/it.po: Update from translation team.
23919 * po/es.po: Likewise.
23921 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23923 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23924 the three constants needed as parameters. Drop the others.
23925 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23926 __m128i_strloadu_tolower.
23927 Create and initialize variable zero and use it in all the places
23928 where _mm_setzero_si128 was used.
23930 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23931 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23932 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23933 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23935 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23936 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23937 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23938 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23939 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23940 __mpranred, __mptan.
23941 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23942 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23943 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23944 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23945 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23946 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23948 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23949 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23951 2011-10-28 Andreas Schwab <schwab@redhat.com>
23953 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23954 redefine if SHARED.
23955 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23958 wide char related routines to wcsmbs subdir.
23960 2011-10-27 Andreas Schwab <schwab@redhat.com>
23963 * misc/sys/cdefs.h (__THROWNL): Define.
23964 * posix/unistd.h: Use __THREADNL instead of __THREAD
23965 for memory synchronization functions.
23967 2011-10-26 Roland McGrath <roland@hack.frob.com>
23970 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23972 * manual/stdio.texi (Obstack Streams): Node removed.
23974 2011-10-26 Andreas Schwab <schwab@redhat.com>
23976 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23978 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23980 * math/math_private.h (math_force_eval): Allow non-addressable
23982 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23984 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23986 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23987 file is not needed.
23989 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23992 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23996 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23998 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23999 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24000 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24001 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24002 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24003 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24004 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24005 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24006 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24007 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24008 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24009 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24011 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24012 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24013 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24014 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24015 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24016 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24018 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24019 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24022 place. Use VEX encoding when compiling for AVX.
24024 2011-10-25 Andreas Schwab <schwab@redhat.com>
24026 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24027 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24029 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24031 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24033 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24034 useless if() expression.
24035 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24042 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24043 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24045 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24046 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24047 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24048 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24049 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24050 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24051 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24053 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24055 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24057 2011-10-25 Andreas Schwab <schwab@redhat.com>
24059 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24061 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24063 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24065 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24066 .text section. Avoid duplicate constants.
24067 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24077 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24079 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24082 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24084 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24091 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24092 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24093 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24094 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24096 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24097 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24098 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24099 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24100 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24101 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24102 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24103 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24104 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24105 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24106 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24107 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24108 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24109 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24110 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24111 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24113 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24115 * sysdeps/x86_64/dla.h: Move to ...
24116 * sysdeps/x86_64/fpu/dla.h: ...here.
24117 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24118 situations. Use __builtin_fma only for gcc 4.6 and up.
24120 * config.make.in: Add have-mfma4 entry.
24121 * configure.in: Substitute libc_cv_cc_fma4.
24122 * math/Makefile (dbl-only-routines): Add sincostab.
24123 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24124 Use __sincostab not sincos.
24125 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24132 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24133 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24134 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24135 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24137 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24138 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24140 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24141 define aliases when function name is a macro.
24142 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24143 sysdeps/ieee754/dbl-64/sincos.tbl.
24144 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24145 fma4-enabled routines.
24146 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24147 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24148 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24149 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24151 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24153 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24155 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24156 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24157 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24158 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24159 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24160 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24161 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24162 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24163 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24164 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24165 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24166 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24167 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24169 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24170 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24173 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24174 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24175 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24177 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24188 2011-10-24 Andreas Schwab <schwab@redhat.com>
24190 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24192 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24196 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24200 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24201 Remove unused variable magic_bits.
24202 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24204 * string/strnlen.c: Define and use STRNLEN macro.
24205 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24206 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24208 * wcsmbs/wcslen.c: Define and use WCSLEN.
24209 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24210 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24211 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24212 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24213 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24214 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24217 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24220 strnlen-sse2-no-bsf.
24221 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24222 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24223 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24224 Add strnlen support.
24225 (USE_AS_STRNLEN): New macro.
24226 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24227 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24228 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24229 * sysdeps/x86_64/wcslen.S: New file.
24231 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24234 XMM-moves are used for copying on small sizes.
24236 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24238 * wcsmbs/Makefile (strop-tests): Add wcschr.
24239 * wcsmbs/test-wcschr.c: New file.
24240 * string/test-strchr.c: Update.
24241 Add wcschr support.
24244 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24246 * wcsmbs/Makefile (strop-tests): Add wcslen.
24247 * wcsmbs/test-wcslen.c: New file.
24248 * string/test-strlen.c: Update.
24249 Add wcslen support.
24252 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24254 * po/it.po: Update from translation team.
24256 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24258 * sysdeps/x86_64/wcscmp.S: Update.
24259 Fix wrong comparison semantics.
24260 wcscmp shall use signed comparison not unsigned.
24261 Don't use substraction to avoid overflow bug.
24262 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24263 * wcsmbc/wcscmp.c: Likewise.
24264 * string/test-strcmp.c: Likewise.
24265 Add new tests to check cases with negative values.
24267 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24269 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24270 * sysdeps/x86_64/dla.h: ...here. New file.
24271 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24281 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24284 __ynl_finite aliases.
24286 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24290 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24292 [DLA_FMA] (EMULV): Use DLA_FMA.
24293 [DLA_FMA] (MUL12): Use EMULV.
24294 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24295 that are not needed.
24296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24302 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24304 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24306 * math/s_nan.c: Undef __nan.
24307 * math/s_nanf.c: Undef __nanf.
24308 * math/s_nanl.c: Undef __nanl.
24309 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24312 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24314 * math/s_catan.c: Add branch predictions.
24315 * math/s_catanf.c: Likewise.
24316 * math/s_catanh.c: Likewise.
24317 * math/s_catanhf.c: Likewise.
24318 * math/s_catanhl.c: Likewise.
24319 * math/s_catanl.c: Likewise.
24320 * math/s_cexp.c: Likewise.
24321 * math/s_cexpf.c: Likewise.
24322 * math/s_cexpl.c: Likewise.
24323 * math/s_clog.c: Likewise.
24324 * math/s_clog10.c: Likewise.
24325 * math/s_clog10f.c: Likewise.
24326 * math/s_clog10l.c: Likewise.
24327 * math/s_clogf.c: Likewise.
24328 * math/s_clogl.c: Likewise.
24329 * math/s_csqrt.c: Likewise.
24330 * math/s_csqrtf.c: Likewise.
24331 * math/s_csqrtl.c: Likewise.
24332 * math/s_ctanf.c: Likewise.
24333 * math/s_ctanh.c: Likewise.
24334 * math/s_ctanhf.c: Likewise.
24335 * math/s_ctanhl.c: Likewise.
24336 * math/s_ctanl.c: Likewise.
24338 * math/math_private.h: Define __nan, __nanf, __nanl.
24339 * math/s_cacosh.c: Include <math_private.h>.
24340 * math/s_cacoshl.c: Likewise.
24341 * math/s_casinh.c: Likewise.
24342 * math/s_casinhf.c: Likewise.
24343 * math/s_casinhl.c: Likewise.
24344 * math/s_ccos.c: Rely entire on ccosh.
24345 * math/s_ccosf.c: Rely entire on ccoshf.
24346 * math/s_ccosl.c: Rely entirely on ccoshl.
24347 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24348 Remove tests for FE_INVALID.
24349 * math/s_ccoshf.c: Likewise.
24350 * math/s_ccoshl.c: Likewise.
24351 * math/s_csin.c: Likewise.
24352 * math/s_csinf.c: Likewise.
24353 * math/s_csinh.c Likewise.
24354 * math/s_csinhf.c: Likewise.
24355 * math/s_csinhl.c: Likewise.
24356 * math/s_csinl.c: Likewise.
24357 * math/s_ctan.c: Likewise.
24358 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24359 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24360 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24362 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24365 compilation problems.
24367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24370 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24372 * sysdeps/i386/configure.in: Test for -mfma4 option.
24373 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24374 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24375 COMMON_CPUID_INDEX_80000001.
24376 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24377 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24378 use it if FMA3 is not supported.
24379 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24381 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24382 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24384 2011-10-20 Andreas Schwab <schwab@redhat.com>
24387 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24388 it would create a cycle with a link time dependency.
24390 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24392 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24394 * string/Makefile (strop-tests): Add rawmemchr.
24395 * string/test-rawmemchr.c: New file.
24397 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24398 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24399 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24400 when compiling str{,n}casecmp and when AVX is available. Hook up
24401 new optimized code in initializers.
24403 2011-10-19 Andreas Schwab <schwab@redhat.com>
24405 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24406 __feraiseexcept instead of feraiseexcept.
24408 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24410 * math/math_private.h: Define defaults for libc_fetestexcept and
24412 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24413 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24414 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24416 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24417 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24418 libc_fetestexcept and libc_feupdateenv.
24420 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24421 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24422 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24423 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24424 libc_feholdexcept_setround.
24426 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24427 Add s_nearbyint-c and s_nearbyintf-c.
24428 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24429 nearbyintf inlines.
24430 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24431 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24432 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24433 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24435 * math/math_private.h: Define defaults for libc_fegetround,
24436 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24437 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24438 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24440 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24441 standard functions.
24442 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24443 Remove comments and hacks for old compiler versions.
24444 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24445 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24446 libc_feholdexceptl.
24448 2011-10-18 Andreas Schwab <schwab@redhat.com>
24450 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24451 (__feraiseexcept_renamed): Add __NTH.
24452 (feraiseexcept): Add __NTH. Rename local variables to fix
24453 namespace violations.
24455 2011-10-17 Ulrich Drepper <drepper@gmail.com>
24457 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24459 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24461 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24462 recently added interfaces.
24463 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24465 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24466 about macro parameter expansion.
24468 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24469 __NO_MATH_INLINES is defined. Cleanups.
24471 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24472 and __floorf is target has SSE4.1.
24473 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24474 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24475 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24476 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24478 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24480 (floorf): Likewise.
24482 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24484 2011-10-17 Andreas Schwab <schwab@redhat.com>
24486 * misc/sys/cdefs.h: Fix last change.
24488 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24491 2011-10-16 Ulrich Drepper <drepper@gmail.com>
24493 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24495 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24497 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24498 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24501 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24502 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24503 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24504 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24505 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24506 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24507 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24508 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24509 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24510 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24511 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24512 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24513 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24514 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24515 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24516 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24518 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24519 ceil, ceilf, floor, floorf.
24521 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24522 Perform IRELATIVE relocations last.
24524 * elf/do-rel.h: Add another parameter nrelative, replacing the
24525 local variable with the same name. Change name of the function
24526 to end in Rel or Rela (uppercase).
24527 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24528 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24529 elf_dynamic_do_##reloc function.
24531 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24533 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24534 is sufficient, at least on modern CPUs.
24536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24538 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24541 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24543 * math/bits/math-finite.h: Add entries for exp.
24544 * math/e_expl.c: Add __*_finite alias.
24545 * sysdeps/i386/fpu/e_exp.S: Likewise.
24546 * sysdeps/i386/fpu/e_expf.S: Likewise.
24547 * sysdeps/i386/fpu/e_expl.c: Likewise.
24548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24549 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24552 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24553 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24554 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24556 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24557 is sufficient, at least on modern CPUs.
24559 * ctype/ctype-info.c (__ctype_init): Define.
24560 * include/ctype.h (__ctype_init): Declare.
24561 (__ctype_b_loc): The variable is always initialized.
24562 (__ctype_toupper_loc): Likewise.
24563 (__ctype_tolower_loc): Likewise.
24564 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24565 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24567 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24569 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24571 * configure.in: Also look in $cxxmachine/include for C++ system
24574 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24576 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24577 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24578 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24579 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24581 (USE_AS_WMEMCMP): New macro.
24583 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24584 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24585 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24586 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24588 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24589 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24590 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24591 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24592 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24593 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24594 (USE_AS_WMEMCMP): New macro.
24595 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24596 * sysdeps/string/test-memcmp.c: Update.
24597 Fix simple_wmemcmp.
24599 * wcsmbs/wmemcmp.c: Update.
24600 (WMEMCMP): New macro.
24603 2011-10-12 Andreas Jaeger <aj@suse.de>
24606 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24608 2011-10-15 Ulrich Drepper <drepper@gmail.com>
24610 * libio/iofwide.c (do_length): Avoid warning.
24612 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24614 2011-10-14 Ulrich Drepper <drepper@gmail.com>
24616 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24618 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24619 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24620 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24621 * sysdeps/i386/i686/fpu/e_log.S: New file.
24622 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24623 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24625 * ctype/ctype.h: Add support for inlined isXXX functions when
24626 compiling C++ code.
24628 2011-10-14 Andreas Schwab <schwab@redhat.com>
24630 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24632 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24634 2011-10-13 Roland McGrath <roland@hack.frob.com>
24637 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24639 2011-10-13 Andreas Schwab <schwab@redhat.com>
24641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24642 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24645 * sysdeps/x86_64/memrchr.S: Check for zero size.
24647 * string/stratcliff.c: Add memrchr tests.
24649 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24652 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24653 rawmemchr-sse2 rawmemchr-sse2-bsf.
24654 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24655 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24656 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24657 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24658 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24659 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24660 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24661 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24662 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24663 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24664 * string/memrchr.c (MEMRCHR): New macro.
24666 2011-10-12 Ulrich Drepper <drepper@gmail.com>
24668 Add integration with gcc's -ffinite-math-only and optimize wrapper
24670 * Versions.def: Define GLIBC_2.15 version for libm.
24671 * math/Makefile (headers): Add bits/math-finite.h.
24672 * math/bits/math-finite.h: New file.
24673 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24674 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24675 * math/e_acoshl.c: Add __*_finite alias.
24676 * math/e_acosl.c: Likewise.
24677 * math/e_asinl.c: Likewise.
24678 * math/e_atan2l.c: Likewise.
24679 * math/e_atanhl.c: Likewise.
24680 * math/e_coshl.c: Likewise.
24681 * math/e_exp10.c: Likewise.
24682 * math/e_exp10f.c: Likewise.
24683 * math/e_exp10l.c: Likewise.
24684 * math/e_exp2l.c: Likewise.
24685 * math/e_fmodl.c: Likewise.
24686 * math/e_gammal_r.c: Likewise.
24687 * math/e_hypotl.c: Likewise.
24688 * math/e_j0l.c: Likewise.
24689 * math/e_j1l.c: Likewise.
24690 * math/e_jnl.c: Likewise.
24691 * math/e_lgammal_r.c: Likewise.
24692 * math/e_log10l.c: Likewise.
24693 * math/e_log2l.c: Likewise.
24694 * math/e_logl.c: Likewise.
24695 * math/e_powl.c: Likewise.
24696 * math/e_sinhl.c: Likewise.
24697 * math/e_sqrtl.c: Likewise.
24698 * math/e_scalb.c: Completely rewritten and optimized.
24699 * math/e_scalbf.c: Likewise.
24700 * math/e_scalbl.c: Likewise.
24701 * math/w_acos.c: Likewise.
24702 * math/w_acosf.c: Likewise.
24703 * math/w_acosl.c: Likewise.
24704 * math/w_acosh.c: Likewise.
24705 * math/w_acoshf.c: Likewise.
24706 * math/w_acoshl.c: Likewise.
24707 * math/w_asin.c: Likewise.
24708 * math/w_asinf.c: Likewise.
24709 * math/w_asinl.c: Likewise.
24710 * math/w_atan2.c: Likewise.
24711 * math/w_atan2f.c: Likewise.
24712 * math/w_atan2l.c: Likewise.
24713 * math/w_atanh.c: Likewise.
24714 * math/w_atanhf.c: Likewise.
24715 * math/w_atanhl.c: Likewise.
24716 * math/w_exp10.c: Likewise.
24717 * math/w_exp10f.c: Likewise.
24718 * math/w_exp10l.c: Likewise.
24719 * math/w_fmod.c: Likewise.
24720 * math/w_fmodf.c: Likewise.
24721 * math/w_fmodl.c: Likewise.
24722 * math/w_j0.c: Likewise.
24723 * math/w_j0f.c: Likewise.
24724 * math/w_j0l.c: Likewise.
24725 * math/w_j1.c: Likewise.
24726 * math/w_j1f.c: Likewise.
24727 * math/w_j1l.c: Likewise.
24728 * math/w_jn.c: Likewise.
24729 * math/w_jnf.c: Likewise.
24730 * math/w_log.c: Likewise.
24731 * math/w_logf.c: Likewise.
24732 * math/w_logl.c: Likewise.
24733 * math/w_log10.c: Likewise.
24734 * math/w_log10f.c: Likewise.
24735 * math/w_log10l.c: Likewise.
24736 * math/w_log2.c: Likewise.
24737 * math/w_log2f.c: Likewise.
24738 * math/w_log2l.c: Likewise.
24739 * math/w_pow.c: Likewise.
24740 * math/w_powf.c: Likewise.
24741 * math/w_powl.c: Likewise.
24742 * math/w_remainder.c: Likewise.
24743 * math/w_remainderf.c: Likewise.
24744 * math/w_remainderl.c: Likewise.
24745 * math/w_scalb.c: Likewise.
24746 * math/w_scalbf.c: Likewise.
24747 * math/w_scalbl.c: Likewise.
24748 * math/w_sqrt.c: Likewise.
24749 * math/w_sqrtf.c: Likewise.
24750 * math/w_sqrtl.c: Likewise.
24751 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24752 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24754 * math/math_private.h: Declare __kernel_standard_f.
24755 * math/w_cosh.c: Remove cruft and optimize a bit.
24756 * math/w_coshf.c: Likewise.
24757 * math/w_coshl.c: Likewise.
24758 * math/w_exp2.c: Likewise.
24759 * math/w_exp2f.c: Likewise.
24760 * math/w_exp2l.c: Likewise.
24761 * math/w_hypot.c: Likewise.
24762 * math/w_hypotf.c: Likewise.
24763 * math/w_hypotl.c: Likewise.
24764 * math/w_lgamma.c: Likewise.
24765 * math/w_lgamma_r.c: Likewise.
24766 * math/w_lgammaf.c: Likewise.
24767 * math/w_lgammaf_r.c: Likewise.
24768 * math/w_lgammal.c: Likewise.
24769 * math/w_lgammal_r.c: Likewise.
24770 * math/w_sinh.c: Likewise.
24771 * math/w_sinhf.c: Likewise.
24772 * math/w_sinhl.c: Likewise.
24773 * math/w_tgamma.c: Likewise.
24774 * math/w_tgammaf.c: Likewise.
24775 * math/w_tgammal.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24778 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24779 Minor optimizations. Pretty printing. Remove cruft.
24780 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24781 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24782 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24784 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24785 * sysdeps/i386/fpu/e_asin.S: Likewise.
24786 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24787 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24788 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24789 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24790 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24791 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24792 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24793 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24794 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24795 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24796 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24797 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24798 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24799 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24800 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24801 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24802 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24803 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24804 * sysdeps/i386/fpu/e_log.S: Likewise.
24805 * sysdeps/i386/fpu/e_log10.S: Likewise.
24806 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24807 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24808 * sysdeps/i386/fpu/e_log2.S: Likewise.
24809 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24811 * sysdeps/i386/fpu/e_logf.S: Likewise.
24812 * sysdeps/i386/fpu/e_logl.S: Likewise.
24813 * sysdeps/i386/fpu/e_pow.S: Likewise.
24814 * sysdeps/i386/fpu/e_powf.S: Likewise.
24815 * sysdeps/i386/fpu/e_powl.S: Likewise.
24816 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24817 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24818 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24820 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24821 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24822 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24823 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24824 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24828 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24829 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24830 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24831 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24832 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24835 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24838 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24846 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24847 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24848 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24849 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24850 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24851 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24852 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24853 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24854 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24855 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24856 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24857 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24858 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24859 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24860 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24861 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24862 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24863 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24864 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24865 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24866 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24875 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24884 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24904 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24905 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24908 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24910 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24911 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24913 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24916 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24918 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24919 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24920 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24921 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24922 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24923 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24924 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24925 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24926 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24927 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24928 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24932 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24933 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24935 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24936 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24937 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24938 (__isnanf): Likewise.
24939 (__isinf_ns): Likewise.
24940 (__isinf_nsf): Likewise.
24941 (__finite): Likewise.
24942 (__finitef): Likewise.
24943 (__ieee754_sqrt): Define as macro.
24944 (__ieee754_sqrtf): Define as macro.
24945 (__ieee754_sqrtl): Define as macro.
24946 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24948 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24949 __FINITE_MATH_ONLY__ consistent.
24950 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24952 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24954 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24957 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24959 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24961 * po/ja.po: Update from translation team.
24963 2011-10-08 Roland McGrath <roland@hack.frob.com>
24965 * locale/programs/locarchive.c (prepare_address_space): New function.
24966 (create_archive, enlarge_archive, open_archive): Use it.
24968 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24969 inside [SHARED], where it is used.
24971 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24973 * nss/getent.c (netgroup_keys): Remove unused variable.
24974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24976 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24978 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24979 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24981 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24982 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24983 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24984 * math/Makefile (libm-calls): Add s_isinf_ns.
24985 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24986 * math/multc3.c: Likewise.
24987 * math/s_casin.c: Likewise.
24988 * math/s_casinf.c: Likewise.
24989 * math/s_casinl.c: Likewise.
24990 * math/s_ccos.c: Likewise.
24991 * math/s_ccosf.c: Likewise.
24992 * math/s_ccosl.c: Likewise.
24993 * math/s_ctan.c: Likewise.
24994 * math/s_ctanf.c: Likewise.
24995 * math/s_ctanh.c: Likewise.
24996 * math/s_ctanhf.c: Likewise.
24997 * math/s_ctanhl.c: Likewise.
24998 * math/s_ctanl.c: Likewise.
24999 * math/w_fmod.c: Likewise.
25000 * math/w_fmodf.c: Likewise.
25001 * math/w_fmodl.c: Likewise.
25002 * math/w_remainder.c: Likewise.
25003 * math/w_remainderf.c: Likewise.
25004 * math/w_remainderl.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25006 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25009 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25010 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25011 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25012 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25014 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25016 * stdio-common/printf_fphex.c: Likewise.
25017 * stdio-common/printf_size.c: Likewise.
25019 * math/e_exp10.c: Include math_private.h using <...> not "...".
25020 * math/e_exp10f.c: Likewise.
25021 * math/e_exp10l.c: Likewise.
25022 * math/e_exp2l.c: Likewise.
25023 * math/e_j0l.c: Likewise.
25024 * math/e_j1l.c: Likewise.
25025 * math/e_jnl.c: Likewise.
25026 * math/e_lgammal_r.c: Likewise.
25027 * math/e_rem_pio2l.c: Likewise.
25028 * math/e_scalb.c: Likewise.
25029 * math/e_scalbf.c: Likewise.
25030 * math/e_scalbl.c: Likewise.
25031 * math/k_cosl.c: Likewise.
25032 * math/k_sinl.c: Likewise.
25033 * math/k_tanl.c: Likewise.
25034 * math/s_cacoshf.c: Likewise.
25035 * math/s_catan.c: Likewise.
25036 * math/s_catanf.c: Likewise.
25037 * math/s_catanh.c: Likewise.
25038 * math/s_catanhf.c: Likewise.
25039 * math/s_catanhl.c: Likewise.
25040 * math/s_catanl.c: Likewise.
25041 * math/s_ccosh.c: Likewise.
25042 * math/s_ccoshf.c: Likewise.
25043 * math/s_ccoshl.c: Likewise.
25044 * math/s_cexp.c: Likewise.
25045 * math/s_cexpf.c: Likewise.
25046 * math/s_cexpl.c: Likewise.
25047 * math/s_clog.c: Likewise.
25048 * math/s_clog10.c: Likewise.
25049 * math/s_clog10f.c: Likewise.
25050 * math/s_clog10l.c: Likewise.
25051 * math/s_clogf.c: Likewise.
25052 * math/s_clogl.c: Likewise.
25053 * math/s_csin.c: Likewise.
25054 * math/s_csinf.c: Likewise.
25055 * math/s_csinh.c: Likewise.
25056 * math/s_csinhf.c: Likewise.
25057 * math/s_csinhl.c: Likewise.
25058 * math/s_csinl.c: Likewise.
25059 * math/s_csqrt.c: Likewise.
25060 * math/s_csqrtf.c: Likewise.
25061 * math/s_csqrtl.c: Likewise.
25062 * math/s_ctan.c: Likewise.
25063 * math/s_ctanf.c: Likewise.
25064 * math/s_ctanh.c: Likewise.
25065 * math/s_ctanhf.c: Likewise.
25066 * math/s_ctanhl.c: Likewise.
25067 * math/s_ctanl.c: Likewise.
25068 * math/s_ldexp.c: Likewise.
25069 * math/s_ldexpf.c: Likewise.
25070 * math/s_ldexpl.c: Likewise.
25071 * math/s_significand.c: Likewise.
25072 * math/s_significandf.c: Likewise.
25073 * math/s_significandl.c: Likewise.
25074 * math/w_acos.c: Likewise.
25075 * math/w_acosf.c: Likewise.
25076 * math/w_acosh.c: Likewise.
25077 * math/w_acoshf.c: Likewise.
25078 * math/w_acoshl.c: Likewise.
25079 * math/w_acosl.c: Likewise.
25080 * math/w_asin.c: Likewise.
25081 * math/w_asinf.c: Likewise.
25082 * math/w_asinl.c: Likewise.
25083 * math/w_atan2.c: Likewise.
25084 * math/w_atan2f.c: Likewise.
25085 * math/w_atan2l.c: Likewise.
25086 * math/w_atanh.c: Likewise.
25087 * math/w_atanhf.c: Likewise.
25088 * math/w_atanhl.c: Likewise.
25089 * math/w_cosh.c: Likewise.
25090 * math/w_coshf.c: Likewise.
25091 * math/w_coshl.c: Likewise.
25092 * math/w_dremf.c: Likewise.
25093 * math/w_exp10.c: Likewise.
25094 * math/w_exp10f.c: Likewise.
25095 * math/w_exp10l.c: Likewise.
25096 * math/w_exp2.c: Likewise.
25097 * math/w_exp2f.c: Likewise.
25098 * math/w_fmod.c: Likewise.
25099 * math/w_fmodf.c: Likewise.
25100 * math/w_fmodl.c: Likewise.
25101 * math/w_hypot.c: Likewise.
25102 * math/w_hypotf.c: Likewise.
25103 * math/w_hypotl.c: Likewise.
25104 * math/w_j0.c: Likewise.
25105 * math/w_j0f.c: Likewise.
25106 * math/w_j0l.c: Likewise.
25107 * math/w_j1.c: Likewise.
25108 * math/w_j1f.c: Likewise.
25109 * math/w_j1l.c: Likewise.
25110 * math/w_jn.c: Likewise.
25111 * math/w_jnf.c: Likewise.
25112 * math/w_jnl.c: Likewise.
25113 * math/w_lgamma.c: Likewise.
25114 * math/w_lgamma_r.c: Likewise.
25115 * math/w_lgammaf.c: Likewise.
25116 * math/w_lgammaf_r.c: Likewise.
25117 * math/w_lgammal.c: Likewise.
25118 * math/w_lgammal_r.c: Likewise.
25119 * math/w_log.c: Likewise.
25120 * math/w_log10.c: Likewise.
25121 * math/w_log10f.c: Likewise.
25122 * math/w_log10l.c: Likewise.
25123 * math/w_log2.c: Likewise.
25124 * math/w_log2f.c: Likewise.
25125 * math/w_log2l.c: Likewise.
25126 * math/w_logf.c: Likewise.
25127 * math/w_logl.c: Likewise.
25128 * math/w_pow.c: Likewise.
25129 * math/w_powf.c: Likewise.
25130 * math/w_powl.c: Likewise.
25131 * math/w_remainder.c: Likewise.
25132 * math/w_remainderf.c: Likewise.
25133 * math/w_remainderl.c: Likewise.
25134 * math/w_scalb.c: Likewise.
25135 * math/w_scalbf.c: Likewise.
25136 * math/w_scalbl.c: Likewise.
25137 * math/w_sinh.c: Likewise.
25138 * math/w_sinhf.c: Likewise.
25139 * math/w_sinhl.c: Likewise.
25140 * math/w_sqrt.c: Likewise.
25141 * math/w_sqrtf.c: Likewise.
25142 * math/w_sqrtl.c: Likewise.
25143 * math/w_tgamma.c: Likewise.
25144 * math/w_tgammaf.c: Likewise.
25145 * math/w_tgammal.c: Likewise.
25147 * po/ja.po: Update from translation team.
25149 2011-09-29 Andreas Jaeger <aj@suse.de>
25152 * sunrpc/netname.c (netname2host): Fix logic.
25156 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25158 * math/w_remainder.c (__remainder): Likewise.
25159 * math/w_remainderf.c (__remainderf): Likewise.
25160 * math/libm-test.inc (remainder_test): Add test cases.
25162 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25164 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25167 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25169 * string/test-memcmp.c: Avoid unncessary #defines.
25170 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25172 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25174 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25175 Use new sse2 version for core i3 - i7 as it's faster
25176 than sse42 version.
25177 (bit_Prefer_PMINUB_for_stringop): New.
25178 * sysdeps/x86_64/rawmemchr.S: Update.
25179 Replace with faster SSE2 version.
25180 * sysdeps/x86_64/memrchr.S: New file.
25181 * sysdeps/x86_64/memchr.S: Update.
25182 Replace with faster SSE2 version.
25184 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25186 * elf/dl-load.c (lose): Add cast to avoid warning.
25188 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25190 * po/ca.po: Update from translation team.
25192 * inet/getnetgrent_r.c: Hook up nscd.
25193 * nscd/Makefile (routines): Add nscd_netgroup.
25194 (nscd-modules): Add netgroupcache.
25195 (CFLAGS-netgroupcache.c): Define.
25196 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25197 (cache_search): Add const to second parameter.
25198 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25200 (dbs): Add netgrdb entry.
25201 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25202 (verify_persistent_db): Handle netgrdb.
25203 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25204 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25206 (netgroup_response_header): Define.
25207 (innetgroup_response_header): Define.
25208 (datahead): Add netgroup_response_header and innetgroup_response_header
25210 * nscd/nscd.conf: Add entries for netgroup cache.
25211 * nscd/nscd.h (dbtype): Add netgrdb.
25212 (_PATH_NSCD_NETGROUP_DB): Define.
25213 (netgroup_iov_disabled): Declare.
25214 (xmalloc, xcalloc, xrealloc): Move declarations here.
25215 (cache_search): Adjust prototype.
25216 Add netgroup-related prototypes.
25217 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25218 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25219 (__nscd_innetgr): Declare.
25220 * nscd/selinux.c (perms): Use access_vector_t as element type and
25221 add netgroup-related initializers.
25222 * nscd/netgroupcache.c: New file.
25223 * nscd/nscd_netgroup.c: New file.
25224 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25225 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25226 For four parameters use innetgr.
25227 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25228 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25229 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25230 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25232 * nscd/connections.c (register_traced_file): Don't register file
25233 for disabled databases.
25235 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25237 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25239 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25240 from tree and freeing node.
25242 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25244 * nss/nsswitch.c (__nss_database_lookup): Handle
25245 nss_parse_service_list out of memory case.
25247 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25249 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25250 out of memory case.
25252 2011-10-04 Andreas Schwab <schwab@redhat.com>
25254 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25255 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25257 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25258 elf_machine_rela, elf_machine_lazy_rel.
25259 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25260 (ELF_DYNAMIC_DO_REL): Likewise.
25261 (ELF_DYNAMIC_DO_RELA): Likewise.
25262 (ELF_DYNAMIC_RELOCATE): Likewise.
25263 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25264 to ELF_DYNAMIC_DO_REL.
25265 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25266 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25267 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25270 skip_ifunc, don't call ifunc function if non-zero.
25271 (elf_machine_rela): Likewise.
25272 (elf_machine_lazy_rel): Likewise.
25273 (elf_machine_lazy_rela): Likewise.
25274 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25275 (elf_machine_lazy_rel): Likewise.
25276 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25278 (elf_machine_lazy_rel): Likewise.
25279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25281 (elf_machine_lazy_rel): Likewise.
25282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25283 (elf_machine_lazy_rel): Likewise.
25284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25285 (elf_machine_lazy_rel): Likewise.
25286 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25287 (elf_machine_lazy_rel): Likewise.
25288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25289 (elf_machine_lazy_rel): Likewise.
25290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25291 (elf_machine_lazy_rel): Likewise.
25292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25293 (elf_machine_lazy_rel): Likewise.
25295 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25297 * nss/nss_files/files-init.c (_nss_files_init): Use static
25298 initialization for all the *_traced_file variables.
25300 2011-09-28 Andreas Schwab <schwab@redhat.com>
25302 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25304 2011-09-27 Roland McGrath <roland@hack.frob.com>
25307 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25309 2011-09-27 Andreas Schwab <schwab@redhat.com>
25311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25312 Reread the line before reparsing it.
25314 2011-09-26 Andreas Schwab <schwab@redhat.com>
25316 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25318 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25319 Maxim Kuvyrkov <maxim@codesourcery.com>
25320 Joseph Myers <joseph@codesourcery.com>
25322 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25323 if needed for __stack_chk_guard.
25325 2011-09-19 Roland McGrath <roland@hack.frob.com>
25327 * sysdeps/posix/spawni.c (script_execute): Always define it.
25328 It will be optimized away if unused.
25329 (maybe_script_execute): New function.
25330 (__spawni): Call it.
25332 * Makerules: Don't include tls.make.
25333 (config-tls): Always set to thread.
25334 * tls.make.c: File removed.
25336 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25338 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25339 * config.make.in (CPPFLAGS-config): New substituted variable.
25341 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25343 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25346 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25347 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25349 2011-09-15 Roland McGrath <roland@hack.frob.com>
25351 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25352 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25353 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25354 (CALL_FAIL): Likewise.
25355 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25356 (CALL_FAIL): Macro removed.
25357 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25359 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25361 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25362 for __FINITE_MATH_ONLY__ == 1.
25364 2011-09-15 Andreas Schwab <schwab@redhat.com>
25366 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25367 __ieee754_sqrt instead of sqrt.
25368 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25369 __ieee754_sqrtf instead of sqrtf.
25370 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25371 __floorf instead of floorf.
25372 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25373 __floorf, __truncf instead of floorf, truncf.
25375 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25377 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25379 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25380 __extern_always_inline.
25381 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25384 2011-09-14 Andreas Schwab <schwab@redhat.com>
25386 * elf/rtld.c (dl_main): Also relocate in dependency order when
25387 doing symbol dependency testing.
25389 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25392 Always define `refsym'.
25394 2011-09-13 Andreas Schwab <schwab@redhat.com>
25396 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25397 (__FD_ELT): Renamed from __FDELT.
25398 * misc/bits/select2.h (__FD_ELT): Likewise.
25399 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25400 __FD_MASK instead of __FDELT, __FDMASK.
25401 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25403 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25406 * elf/Makefile (gen-ldd): Fix pattern.
25408 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25409 (init_tls): Likewise.
25411 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25413 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25415 2011-09-12 Andreas Schwab <schwab@redhat.com>
25417 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25418 `struct cmsghdr *' instead of `void *'.
25419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25422 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25424 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25426 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25427 ldd_rewrite_script.
25429 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25431 * configure.in: Remove --with-tls option.
25432 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25433 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25434 out in case it is missing.
25435 * sysdeps/ia64/elf/configure.in: Likewise.
25436 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25437 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25438 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25439 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25440 * sysdeps/sh/elf/configure.in: Likewise.
25441 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25442 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25443 * sysdeps/x86_64/elf/configure.in: Likewise.
25444 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25445 * sysdeps/mach/hurd/tls.h: Likewise.
25448 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25451 * configure.in: Fix use of AC_INIT.
25453 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25455 2011-09-10 Ulrich Drepper <drepper@gmail.com>
25457 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25459 * malloc/hooks.c: Likewise.
25462 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25463 variables statically.
25464 (narenas): Initialize.
25465 (list_lock): Initialize.
25466 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25467 initializtion of main_arena and list_lock. Small cleanups.
25468 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25469 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25470 Add initializers to main_arena and mp_.
25471 (malloc_state): Remove pagesize member. Change all users to use
25474 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25475 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25476 is always initialized.
25478 * malloc/malloc.c: Removed unused configurations and dead code.
25479 * malloc/arena.c: Likewise.
25480 * malloc/hooks.c: Likewise.
25481 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
25483 * include/tls.h: Removed. USE___THREAD must always be defined.
25484 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25485 * elf/dl-libc.c: Likewise.
25486 * elf/dl-tsd.c: Likewise.
25487 * include/errno.h: Likewise.
25488 * include/netdb.h: Likewise.
25489 * include/resolv.h: Likewise.
25490 * inet/herrno-loc.c: Likewise.
25491 * inet/herrno.c: Likewise.
25492 * malloc/arena.c: Likewise.
25493 * malloc/hooks.c: Likewise.
25494 * malloc/malloc.c: Likewise.
25495 * resolv/res-state.c: Likewise.
25496 * resolv/res_libc.c: Likewise.
25497 * sysdeps/i386/dl-machine.h: Likewise.
25498 * sysdeps/ia64/dl-machine.h: Likewise.
25499 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25500 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25501 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25502 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25503 * sysdeps/sh/dl-machine.h: Likewise.
25504 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25505 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25506 * sysdeps/unix/i386/sysdep.S: Likewise.
25507 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25508 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25513 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25517 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25518 * sysdeps/x86_64/dl-machine.h: Likewise.
25519 * tls.make.c: Likewise.
25521 * configure.in: Remove --with-__thread option. Make tests for
25522 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25523 tls_model attribute fail if no support is available. Remove
25525 * Makeconfig: Adjust for dropped configure option. All features are
25527 * Makerules: Likewise.
25528 * Versions.def: Likewise.
25529 * argp/argp-fmtstream.c: Likewise.
25530 * argp/argp-fmtstream.h: Likewise.
25531 * argp/argp-help.c: Likewise.
25532 * assert/assert.c: Likewise.
25533 * config.h.in: Likewise.
25534 * config.make.in: Likewise.
25535 * configure: Likewise.
25536 * configure.in: Likewise.
25537 * csu/Versions: Likewise.
25538 * csu/init.c: Likewise.
25539 * elf/tst-audit2.c: Likewise.
25540 * elf/tst-tls10.c: Likewise.
25541 * elf/tst-tls10.h: Likewise.
25542 * elf/tst-tls11.c: Likewise.
25543 * elf/tst-tls12.c: Likewise.
25544 * elf/tst-tls14.c: Likewise.
25545 * elf/tst-tlsmod11.c: Likewise.
25546 * elf/tst-tlsmod12.c: Likewise.
25547 * elf/tst-tlsmod13.c: Likewise.
25548 * elf/tst-tlsmod13a.c: Likewise.
25549 * elf/tst-tlsmod14a.c: Likewise.
25550 * elf/tst-tlsmod15b.c: Likewise.
25551 * elf/tst-tlsmod16a.c: Likewise.
25552 * elf/tst-tlsmod16b.c: Likewise.
25553 * elf/tst-tlsmod7.c: Likewise.
25554 * elf/tst-tlsmod8.c: Likewise.
25555 * elf/tst-tlsmod9.c: Likewise.
25556 * gmon/gmon.c: Likewise.
25557 * grp/fgetgrent_r.c: Likewise.
25558 * grp/putgrent.c: Likewise.
25559 * hurd/fopenport.c: Likewise.
25560 * include/libc-symbols.h: Likewise.
25561 * include/tls.h: Likewise.
25562 * intl/gettextP.h: Likewise.
25563 * intl/loadinfo.h: Likewise.
25564 * locale/global-locale.c: Likewise.
25565 * locale/localeinfo.h: Likewise.
25566 * mach/devstream.c: Likewise.
25567 * malloc/arena.c: Likewise.
25568 * malloc/set-freeres.c: Likewise.
25569 * misc/err.c: Likewise.
25570 * misc/getttyent.c: Likewise.
25571 * misc/mntent_r.c: Likewise.
25572 * posix/getopt.c: Likewise.
25573 * posix/wordexp.c: Likewise.
25574 * pwd/fgetpwent_r.c: Likewise.
25575 * resolv/Versions: Likewise.
25576 * resolv/res_hconf.c: Likewise.
25577 * shadow/fgetspent_r.c: Likewise.
25578 * shadow/putspent.c: Likewise.
25579 * stdio-common/printf_fphex.c: Likewise.
25580 * stdio-common/tmpfile.c: Likewise.
25581 * stdlib/abort.c: Likewise.
25582 * stdlib/fmtmsg.c: Likewise.
25583 * sunrpc/auth_unix.c: Likewise.
25584 * sunrpc/clnt_perr.c: Likewise.
25585 * sunrpc/clnt_tcp.c: Likewise.
25586 * sunrpc/clnt_udp.c: Likewise.
25587 * sunrpc/clnt_unix.c: Likewise.
25588 * sunrpc/openchild.c: Likewise.
25589 * sunrpc/svc_simple.c: Likewise.
25590 * sunrpc/svc_tcp.c: Likewise.
25591 * sunrpc/svc_udp.c: Likewise.
25592 * sunrpc/svc_unix.c: Likewise.
25593 * sunrpc/xdr.c: Likewise.
25594 * sunrpc/xdr_array.c: Likewise.
25595 * sunrpc/xdr_rec.c: Likewise.
25596 * sunrpc/xdr_ref.c: Likewise.
25597 * sunrpc/xdr_stdio.c: Likewise.
25599 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25601 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25603 2011-07-03 Andreas Jaeger <aj@suse.de>
25605 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25606 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25607 regenerate with gen-libm-tests.pl.
25609 2010-05-12 Petr Baudis <pasky@suse.cz>
25612 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25613 around j0() zero points by switching to j1().
25614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25619 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25621 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25623 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
25625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25626 Patch in part by Pavel Roskin <proski@gnu.org>.
25629 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25631 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25632 Free memory block if necessary.
25635 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25636 be NULL. Don't lock in this case.
25638 2011-09-09 Roland McGrath <roland@hack.frob.com>
25640 * elf/elf.h (ELFOSABI_GNU): New macro.
25641 (ELFOSABI_LINUX): Define to that.
25643 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25645 * string/strncat.c (strncat): Undef the symbol in case it has been
25646 defined in bits/string.h.
25648 2011-09-09 Ulrich Drepper <drepper@gmail.com>
25650 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25652 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
25655 2011-08-17 Andreas Jaeger <aj@suse.de>
25657 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25659 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25660 Ian Lance Taylor <iant@google.com>
25662 * math/libm-test.inc (lround_test): New testcase.
25663 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25665 2011-09-08 Ulrich Drepper <drepper@gmail.com>
25667 * Makefile: Remove support for automatic cvs check-ins.
25668 * Makerules: Likewise.
25669 * config.make.in: Likewise.
25670 * configure.in: Likewise.
25671 * intl/Makefile: Likewise.
25672 * locale/Makefile: Likewise.
25673 * po/Makefile: Likewise.
25674 * posix/Makefile: Likewise.
25675 * sysdeps/gnu/Makefile: Likewise.
25676 * sysdeps/mach/hurd/Makefile: Likewise.
25677 * sysdeps/sparc/sparc32/Makefile: Likewise.
25680 * posix/Makefile (bug-regex32-ENV): Define.
25681 Patch by John Stanley <jpsinthemix@verizon.net>.
25683 * misc/Makefile (headers): Add bits/select2.h.
25684 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25685 * misc/bits/select2.h: New file.
25686 * include/bits/select2.h: New file.
25687 * debug/Makefile (routines): Add fdelt_chk.
25688 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25689 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25691 * debug/fdelt_chk.c: New file.
25693 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25694 * wcsmbs/test-wmemcmp.c: Likewise.
25695 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
25696 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
25698 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25700 * string/Makefile (strop-tests): Add memcmp.
25701 * string/test-wmemcmp.c: New file.
25702 * string/test-memcmp.c: Add wmemcmp support.
25704 2011-09-08 Roland McGrath <roland@hack.frob.com>
25707 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25710 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25711 garbage value in a __mach_port_mod_refs call in the cases of the
25712 task-self and thread-self ports.
25714 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25716 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25718 2011-09-08 Andreas Schwab <schwab@redhat.com>
25720 * elf/dl-load.c (lose): Check for non-null L.
25722 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25724 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25726 * elf/dl-libc.c (dlerror_run): Pass back error code from
25730 * elf/dl-load.c (lose): Free l_origin if it is valid.
25732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25734 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25736 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25737 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25738 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25739 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25741 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25743 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25744 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25745 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25746 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25747 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25748 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25749 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25750 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25751 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25752 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25754 2011-08-15 Alan Modra <amodra@gmail.com>
25757 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25758 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25759 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25760 ppc_mcount to static-only-routines.
25761 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25763 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25764 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25766 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25768 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25769 for finite and infinity parameters.
25771 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25773 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25774 and add nop instructions for throughput optimization.
25775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25777 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25779 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25780 aligned copy for power7 with vector-scalar instructions.
25781 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25783 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25788 2011-09-07 Andreas Schwab <schwab@redhat.com>
25791 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25794 2011-09-07 Ulrich Drepper <drepper@gmail.com>
25796 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25797 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25798 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25799 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25802 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25805 Forgot to demangle the pointer.
25807 * sysdeps/i386/sysdep.h: Define atom_text_section.
25808 * sysdeps/x86_64/sysdep.h: Likewise.
25809 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25810 section with atom_text_section.
25811 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25813 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25815 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25817 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25818 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25819 already be defined. Change to take two parameters and don't assign
25820 result to variable. Adjust all users.
25821 Define INTERNAL_GETTIME if not already defined.
25822 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25825 HAVE_CLOCK_GETTIME_VSYSCALL.
25826 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25829 gettimeofday vsyscall, just use time.
25831 2011-09-06 Andreas Schwab <schwab@redhat.com>
25833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25836 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25838 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25840 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25842 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25843 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25844 syscall if possible.
25846 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25848 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25849 e_ident. Don't pass to find_mapsXX.
25850 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25852 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25855 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25856 * sysdeps/x86_64/multiarch/strchr.S: Update.
25857 Check bit_slow_BSF bit.
25858 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25859 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25862 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25865 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25867 (tryshell): Define.
25868 (__spawni): Change last parameter to be flag. Test
25869 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25870 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25871 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25872 * posix/spawni.c: Likewise.
25873 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25874 * posix/spawnp.c: Likewise. Change normal version to use
25875 SPAWN_XFLAGS_USE_PATH.
25876 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25877 SPAWN_XFLAGS_TRY_SHELL.
25880 * posix/glob.h: Remove gcc 1.x support.
25883 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25885 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25888 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25890 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25891 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25892 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25894 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25895 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25897 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25899 * sysdeps/x86_64/wcscmp.S: New file.
25901 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25902 wcscmp-c wcscmp-sse2
25903 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25904 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25906 * wcsmbs/wcscmp.c: Allow renaming.
25908 2011-09-05 David S. Miller <davem@davemloft.net>
25910 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25911 stack slot, rather than the struct return pointer slot.
25912 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25913 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25915 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25917 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25919 * po/ja.po: Update from translation team.
25922 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25923 kernel in 64-bit binaries.
25925 2011-09-01 David S. Miller <davem@davemloft.net>
25927 * elf/elf.h (HWCAP_SPARC_*): Move to..
25928 * sysdeps/sparc/sysdep.h: this new file and add new values.
25929 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25930 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25931 _DL_HWCAP_COUNT to 24.
25932 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25934 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25935 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25936 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25938 instead of magic constants.
25939 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25941 2011-08-31 David S. Miller <davem@davemloft.net>
25943 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25945 Reimplement to do errno handling inline.
25946 (SYSCALL_ERROR_HANDLER): New macro.
25947 (__SYSCALL_STRING): Do not do errno handling in asm.
25948 (__CLONE_SYSCALL_STRING): Delete.
25949 (__INTERNAL_SYSCALL_STRING): Delete.
25950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25951 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25952 (PSEUDO): Reimplement to do errno handling inline.
25953 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25954 (SYSCALL_ERROR_HANDLER): New macro.
25955 (__SYSCALL_STRING): Do not do errno handling in asm.
25956 (__CLONE_SYSCALL_STRING): Delete.
25957 (__INTERNAL_SYSCALL_STRING): Delete.
25958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25959 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25961 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25962 (inline_syscall*): Add 'err' argument.
25963 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25964 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25965 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25966 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25968 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25969 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25971 2011-08-30 Andreas Schwab <schwab@redhat.com>
25973 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25975 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25977 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25980 2011-08-24 David S. Miller <davem@davemloft.net>
25982 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25984 2011-08-24 Andreas Schwab <schwab@redhat.com>
25986 * elf/Makefile: Add rules to build and run unload8 test.
25987 * elf/unload8.c: New file.
25988 * elf/unload8mod1.c: New file.
25989 * elf/unload8mod1x.c: New file.
25990 * elf/unload8mod2.c: New file.
25991 * elf/unload8mod3.c: New file.
25993 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25996 2011-08-23 David S. Miller <davem@davemloft.net>
25998 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25999 subtract stack bias.
26000 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26001 %sp not %fp in calculations.
26002 (_JMPBUF_UNWINDS_ADJ): Likewise.
26004 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26005 (aio_suspend): Call it to force an exception region around the
26006 AIO_MISC_WAIT() invocation.
26008 2011-08-23 Andreas Schwab <schwab@redhat.com>
26010 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26013 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26015 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26017 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26018 and <dl-machine.h>.
26019 (Elf64_FuncDesc): Remove.
26021 2011-08-22 David S. Miller <davem@davemloft.net>
26023 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26024 sigaltstack check, add missing cfi directives.
26025 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26026 missing cfi directives, and sigaltstack handling.
26028 2011-08-16 Andreas Schwab <schwab@redhat.com>
26031 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26032 object is seen twice.
26033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26035 * elf/Makefile (distribute): Add tst-initorder2.c.
26036 (tests): Add tst-initorder2.
26037 (modules-names): Add tst-initorder2a tst-initorder2b
26038 tst-initorder2c tst-initorder2d. Add rules to build them.
26039 ($(objpfx)tst-initorder2.out): New rule.
26040 * elf/tst-initorder2.c: New file.
26041 * elf/tst-initorder2.exp: New file.
26043 2011-08-22 Andreas Schwab <schwab@redhat.com>
26045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26047 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26048 dependencies back to end of function.
26050 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26051 $(elfobjdir)/ld.so.
26053 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26056 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26058 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26059 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26060 of __vdso_gettimeofday.
26061 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26062 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26064 (_libc_vdso_platform_setup): Remove initialization of
26065 __vdso_gettimeofday and __vdso_time.
26067 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26069 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26070 and fgetc_unlocked.
26071 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26074 * elf/dl-open.c (add_to_global): Report additions to the global scope
26075 for LD_DEBUG=scopes.
26076 (dl_open_worker): Also print scope of newly loaded dependencies.
26077 (_dl_show_scope): Indicate if there is no scope.
26080 * stdio-common/Makefile (tests): Add bug24.
26081 * stdio-common/bug24.c: New file.
26083 2011-08-19 Andreas Jaeger <aj@suse.de>
26086 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26087 non-existant file when using close-on-exec mode.
26089 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26092 the very first instruction.
26094 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26095 the CFI state in the end.
26096 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26097 inclusion of dl-trampoline.h.
26098 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26100 2011-08-19 Andreas Schwab <schwab@redhat.com>
26102 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26103 expectations for long double.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26106 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26108 2011-08-14 David S. Miller <davem@davemloft.net>
26110 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26111 artificual limit depends upon the system page size.
26113 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26115 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26116 * resolv/Makefile: Define CFLAGS-libresolv.
26118 2011-08-17 Andreas Schwab <schwab@redhat.com>
26120 * nss/makedb.c (compute_tables): Make variables used in nested
26123 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26125 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26126 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26127 if buffer was too small.
26129 * elf/pldd.c (main): Attach to all threads in the process.
26130 Rewrite /proc handling to use *at functions.
26132 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26134 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26135 specifies first scope to show.
26136 (dl_open_worker): Update callers. Move printing scope of new
26137 object to before the relocation.
26138 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26139 * sysdeps/generic/ldsodefs.h: Update declaration.
26141 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26142 string for the scope number.
26144 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26146 * nscd/servicescache.c (cache_addserv): Make sure written is always
26149 2011-08-14 Roland McGrath <roland@hack.frob.com>
26151 * sysdeps/i386/i486/bits/atomic.h
26152 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26153 statement expression, so as to suppress "set but not used" warning.
26154 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26156 * string/strncat.c (STRNCAT): Use prototype definition.
26158 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26159 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26161 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26162 (localedef-modules): Add localedef.
26163 (locale-modules): Add locale.
26165 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26166 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26167 to avoid a warning.
26169 2011-08-14 David S. Miller <davem@davemloft.net>
26171 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26172 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26174 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26176 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26177 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26178 * elf/rtld.c (dl_main): Set l_name of vDSO.
26179 Call _dl_show_scope when DL_DEBUG_SCOPES.
26180 (process_dl_debug): Recognize scopes flag and also set it for all.
26181 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26182 Declare _dl_show_scope.
26184 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26185 (do_dlopen): Pass caller_dlopen to dl_open.
26186 (__libc_dlopen_mode): Initialize caller_dlopen.
26188 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26189 of libc. Make tolower call locale-independent. Optimize a bit by
26190 using isdigit instead of isalnum.
26191 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26193 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26195 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26196 was a dependency or dynamically loaded.
26198 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26200 * intl/l10nflist.c: Allow architecture-specific pop function.
26201 * sysdeps/x86_64/l10nflist.c: New file.
26203 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26206 2011-08-10 Andreas Schwab <schwab@redhat.com>
26208 * include/dirent.h: Add libc_hidden_proto for scandirat and
26209 scandirat64. Don't declare __scandirat64.
26210 * dirent/scandirat.c: Add libc_hidden_def.
26211 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26212 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26214 2011-08-10 David S. Miller <davem@davemloft.net>
26216 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26218 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26220 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26222 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26224 * Versions.def [libc]: Add GLIBC_2.15.
26225 * dirent/Makefile (routines): Add scandirat and scandirat64.
26226 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26228 * dirent/dirent.h: Declare scandirat and scandirat64.
26229 * dirent/scandirat.c: New file.
26230 * dirent/scandirat64.c: New file.
26231 * sysdeps/wordsize-64/scandirat.c: New file.
26232 * sysdeps/wordsize-64/scandirat64.c: New file.
26233 * dirent/opendir.c: Define opendirat.
26234 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26236 * dirent/scandir64.c: Adjust for scandir.c change.
26237 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26238 __scandirat64, and __scandir_cancel_handler.
26239 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26240 additional parameter and use openat instead of open (outside of ld.so).
26241 Add new __opendir as wrapper around __opendirat.
26242 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26243 here without requiring old scandirat implementation.
26245 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26247 * dirent/scandir.c (cancel_handler): Renamed to
26248 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26249 defined. Adjust users.
26250 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26253 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26255 * string/test-string.h (IMPL): Use __STRING to expand name and then
26258 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26261 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26263 * string/Makefile: Update.
26264 (strop-tests): Append strncat.
26265 * string/test-wcscmp.c: New file.
26266 New comprehensive test for wcscmp.
26267 * string/test-strcmp.c: Update.
26268 (WIDE): New define.
26270 2011-07-22 Andreas Schwab <schwab@redhat.com>
26272 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26275 2011-07-26 Andreas Schwab <schwab@redhat.com>
26277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26278 encoding to ACE if AI_IDN.
26280 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26283 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26285 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26288 Fix overflow bug in strncat.
26289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26291 * string/test-strncat.c: Update.
26292 Add new tests for checking overflow bugs.
26294 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26297 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26298 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26299 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26300 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26301 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26302 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26303 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26304 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26306 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26307 (USE_AS_STRCAT): Define.
26308 Add strcat and strncat support.
26309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26311 2011-07-25 Andreas Schwab <schwab@redhat.com>
26313 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26314 __n bigger than INT_MAX+1.
26315 (__strncmp_g): Likewise.
26317 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26319 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26320 * libio/stido.h: Likewise.
26322 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26327 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26330 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26334 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26339 (_dl_x86_64_save_sse): Likewise.
26341 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26345 (_dl_x86_64_save_sse): Likewise.
26347 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26349 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26351 2011-07-21 Andreas Schwab <schwab@redhat.com>
26353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26355 (_dl_x86_64_save_sse): Use correct AVX check.
26357 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26360 bug in strncpy/strncat.
26361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26363 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26365 * string/tester.c (test_strcat): Add tests for different alignments
26366 of source and destination.
26367 (test_strncat): Likewise.
26369 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26372 * posix/glob.c (glob): Check passed in values before using them in
26373 expressions to avoid some overflows.
26374 (glob_in_dir): Likewise.
26377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26378 check for AVX enablement so that we don't crash with old kernels and
26380 * elf/tst-audit4.c: Add same checks here.
26381 * elf/tst-audit6.c: Likewise.
26383 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26385 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26387 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26389 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26391 * po/cs.po: Update from translation team.
26392 * po/bg.po: Likewise.
26394 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26396 * misc/sys/cdefs.h: Add support for const attribute.
26397 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26398 to gnu_dev_{major,minor,makedev} functions.
26400 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26402 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26404 2011-07-20 Andreas Schwab <schwab@redhat.com>
26406 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26409 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26412 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26413 register in order to avoid conflicts with the soft frame pointer
26414 being held in r11 when necessary.
26415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26416 (INTERNAL_VSYSCALL_NCS): Likewise.
26418 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26420 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26421 * elf/dl-fini.c (_dl_fini): Adjust caller.
26422 * elf/dl-close.c (_dl_close_worker): Likewise.
26423 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26425 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26427 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26428 "aux_cache->nlibs < 0".
26430 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26431 in the reload-count case.
26433 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26436 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26437 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26438 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26439 * sysdeps/x86_64/multiarch/strcat.S: New file.
26440 * sysdeps/x86_64/multiarch/strncat.S: New file.
26441 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26442 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26443 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26444 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26446 (USE_AS_STRCAT): Define.
26447 Add strcat and strncat support.
26448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26450 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26451 * string/strncat.c: Update.
26452 (USE_AS_STRNCAT): Define.
26453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26454 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26456 * sysdeps/x86_64/multiarch/init-arch.h
26457 (bit_Prefer_PMINUB_for_stringop): New.
26458 (index_Prefer_PMINUB_for_stringop): Likewise.
26459 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26460 bit_Prefer_PMINUB_for_stringop.
26462 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26464 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26466 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26467 of casting of buffer.
26468 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26469 buffer32 and buffer64.
26470 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26471 writes instead of casting of buffer.
26472 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26474 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26477 2011-07-19 Andreas Schwab <schwab@redhat.com>
26479 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26481 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26483 * nscd/nscd.c (termination_handler): Don't do anything for a database
26484 if it has not yet been initialized.
26486 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26488 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26490 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26492 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26494 2011-07-18 Ulrich Drepper <drepper@gmail.com>
26496 * po/nl.po: Update from translation team.
26497 * po/sv.po: Likewise.
26499 2011-07-16 Roland McGrath <roland@hack.frob.com>
26501 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26502 now disallowed by GCC.
26504 * configure.in (use-default-link): Default to yes if a test -shared
26505 link meets our qualifications.
26506 * configure: Regenerated.
26508 * config.make.in (output-format): New variable.
26509 * configure.in: Check for ld --print-output-format support.
26510 * configure: Regenerated.
26511 * Makerules ($(common-objpfx)format.lds)
26512 [$(output-format) != unknown]: Just use $(output-format),
26513 instead of the linker-script munging.
26515 2011-07-14 Roland McGrath <roland@hack.frob.com>
26517 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26518 of $(common-objpfx)shlib.lds.
26519 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26521 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26522 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26524 * configure.in (-z relro check): Adjust test code to add a large
26525 writable data section after it.
26526 * configure: Regenerated.
26528 2011-07-11 Roland McGrath <roland@hack.frob.com>
26530 * configure.in (-z relro check): Fix test code to make the variable
26532 * configure: Regenerated.
26534 2011-07-11 Ulrich Drepper <drepper@gmail.com>
26536 * nscd/nscd.h (struct traced_file): Define.
26537 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26538 elements. Add traced_files.
26539 (inotify_fd): Declare.
26540 (register_traced_file): Declare.
26541 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26542 (inotify_fd): Export.
26543 (resolv_conf_descr): Remove.
26544 (nscd_init): Move inotify descriptor creation to main.
26545 Don't register files for notification here.
26546 (register_traced_file): New function.
26547 (invalidate_cache): Don't use reset_res to determine whether to call
26548 res_init, go through the list of registered files.
26549 (main_loop_poll): The inotify descriptors are now stored in the
26550 structures for the traced files.
26551 (main_loop_epoll): Likewise
26552 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26553 to __nss_disable_nscd.
26554 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26555 for a database anymore. Check the records for all the registered
26557 * nss/Makefile (libnss_files-routines): Add files-init.
26558 (libnss_db-routines): Add db-init.
26559 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26560 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26561 * nss/nss_db/db-init.c: New file.
26562 * nss/nss_files/files-init.c: New file.
26563 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26564 __nss_lookup_function.
26565 (__nss_lookup_function): Call nss_load_library.
26566 (nss_load_all_libraries): New function.
26567 (__nss_disable_nscd): Take parameter with callback function for files
26568 to register. Set is_nscd. Load all the DSOs for the NSS modules
26569 used for the cached services.
26570 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26571 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26572 options for features to all the files in nscd.
26574 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26576 2011-07-10 Roland McGrath <roland@hack.frob.com>
26578 * csu/elf-init.c (__libc_csu_init): Comment typo.
26580 2011-07-09 Ulrich Drepper <drepper@gmail.com>
26582 * po/pl.po: Update from translation team.
26583 * po/ja.po: Likewise.
26584 * po/ru.po: Likewise.
26585 * po/ko.po: Likewise.
26586 * po/fr.po: Likewise.
26588 2011-07-09 Roland McGrath <roland@hack.frob.com>
26590 * configure.in (.ctors/.dtors header and trailer check):
26591 Use an empirical test on a built program.
26592 * configure: Regenerated.
26594 * configure.in (-z relro check): Use an empirical test on a built DSO.
26595 Detect, but do not require, on ia64.
26596 * configure: Regenerated.
26598 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26599 Update tests that use readelf to use $READELF instead.
26600 * configure: Regenerated.
26602 2011-07-08 Ulrich Drepper <drepper@gmail.com>
26604 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26605 if the result is not used.
26607 2011-07-05 Andreas Jaeger <aj@suse.de>
26610 * stdlib/tst-strtod.c: Add testcase.
26612 2011-07-07 Ulrich Drepper <drepper@gmail.com>
26614 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
26615 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
26616 The latter has a higher limit. Take additional parameter to pass to
26618 (__pathconf): Pass file to __statfs_link_max.
26619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26621 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26625 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26626 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26629 (__statfs_filesize_max): Likewise.
26630 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26632 2011-07-05 Andreas Jaeger <aj@suse.de>
26634 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26636 2011-07-06 Marek Polacek <mpolacek@redhat.com>
26638 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26640 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26643 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26645 * Makefile (strop-tests): Add strncat.
26646 * string/test-strncat.c: New file.
26648 2011-06-30 Marek Polacek <mpolacek@redhat.com>
26650 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26652 2011-06-21 Andreas Jaeger <aj@suse.de>
26654 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26655 Copy rule from iconvdata/Makefile.
26657 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26660 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26661 but no long options are defined, just return 'W'.
26663 2011-06-22 Marek Polacek <mpolacek@redhat.com>
26666 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26668 2011-07-06 Ulrich Drepper <drepper@gmail.com>
26670 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26672 (innetgr): Likewise.
26674 2011-07-05 Roland McGrath <roland@hack.frob.com>
26676 * config.make.in (install_root): Default to $(DESTDIR).
26678 2011-07-05 Ulrich Drepper <drepper@gmail.com>
26680 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26682 2011-07-02 Roland McGrath <roland@hack.frob.com>
26684 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26686 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26687 containing directory rather than embedding absolute directory names.
26689 * scripts/check-local-headers.sh: Rewritten using awk.
26690 Match by word, not by line. Print error messages for matches.
26691 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26693 * Makerules [shlib-lds-flags empty]:
26694 ($(common-objpfx)libc_pic.opts): New target.
26695 ($(common-objpfx)libc_pic.os.clean): New target.
26696 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26698 * config.make.in (OBJCOPY): New variable.
26699 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26700 * configure: Regenerated.
26702 * config.make.in (use-default-link): New variable.
26703 * configure.in (use_default_link): Grok --with-default-link to set it.
26704 * configure: Regenerated.
26705 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26706 (shlib-lds, shlib-lds-flags): Define to empty.
26708 * Makerules (shlib-lds): New variable.
26709 (shlib-lds-flags): New variable.
26710 (build-shlib, build-moduile, build-module-asneeded): Use it.
26711 ($(common-objpfx)libc.so): Use $(shlib-lds).
26712 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26713 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26715 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26716 DT_FLAGS/DT_FLAGS_1 with zero flags.
26718 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26719 linker script munging.
26721 2011-07-02 Ulrich Drepper <drepper@gmail.com>
26723 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26725 * crypt/sha512.c (sha512_process_block): Perform total addition using
26726 128-bit if possible.
26727 (__sha512_finish_ctx): Likewise.
26728 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26730 * crypt/sha256.c (SWAP64): Define.
26731 (sha256_process_block): Perform total addition using 64-bit if
26733 (__sha256_finish_ctx): Likewise.
26735 2011-07-01 Ulrich Drepper <drepper@gmail.com>
26737 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26739 * nscd/hstcache.c (cache_addhst): Likewise.
26740 * nscd/grpcache.c (cache_addgr): Likewise.
26741 * nscd/aicache.c (addhstaiX): Likewise
26742 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26744 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
26746 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26748 * nscd/hstcache.c (cache_addhst): Likewise.
26749 * nscd/grpcache.c (cache_addgr): Likewise.
26750 * nscd/aicache.c (addhstaiX): Likewise
26752 2011-07-01 Andreas Schwab <schwab@redhat.com>
26754 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26755 domain only when needed.
26757 2011-06-30 Andreas Schwab <schwab@redhat.com>
26759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26760 is always restored.
26762 2011-06-29 Ulrich Drepper <drepper@gmail.com>
26764 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26765 are re-adding the entry.
26766 * nscd/servicescache.c (cache_addserv): Likewise.
26768 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26770 * sysdeps/generic/dl-irel.h: fix protection against multiple
26772 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26774 2011-06-28 Ulrich Drepper <drepper@gmail.com>
26777 * malloc/memusage.sh: Fix quoting in message.
26778 * debug/xtrace.sh: Likewise.
26780 * configure.in: Remove support for --experimental-malloc option, make
26782 * config.make.in: Likewise.
26783 * malloc/Makefile: Likewise.
26785 2011-06-27 Andreas Schwab <schwab@redhat.com>
26787 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26788 two-byte characters.
26790 2011-06-27 Roland McGrath <roland@hack.frob.com>
26792 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26793 AC_CACHE_CHECK invocation.
26794 * configure: Regenerated.
26796 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26798 2011-06-27 Ulrich Drepper <drepper@gmail.com>
26801 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26802 bit from old_res_options.
26804 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26806 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26807 value type for setfct.
26809 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26812 __gettimeofday instead of gettimeofday.
26814 2011-06-26 Ulrich Drepper <drepper@gmail.com>
26816 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26818 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26825 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26828 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26829 strcpy-sse2-unaligned strncpy-sse2-unaligned
26830 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26831 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26832 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26833 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26834 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26837 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26838 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26839 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26840 (STRCPY): Support SSE2 and SSSE3 versions.
26842 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26846 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26847 kernels which artificially limit size of requests.
26849 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26852 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26853 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26854 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26855 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26856 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26857 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26858 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26859 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26860 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26861 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26862 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26863 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26864 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26865 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26867 Enable unaligned load optimization for Intel Core i3, i5 and i7
26869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26871 (index_Fast_Unaligned_Load): Define.
26872 (HAS_FAST_UNALIGNED_LOAD): Define.
26874 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26876 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26878 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26882 until it is clear that the information is realy needed.
26883 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26885 2011-06-22 Andreas Schwab <schwab@redhat.com>
26887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26889 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26892 /sys/devices/system/cpu/online if it is usable.
26894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26895 reading the information from the /proc filesystem to once a second.
26897 2011-06-21 Andreas Jaeger <aj@suse.de>
26899 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26900 NULL after inclusion of kernel headers.
26902 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26904 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26905 calls to internal_setent.
26908 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26909 addresses using gethostbyname4_r ignore IPv4 addresses.
26911 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26912 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26914 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26916 2011-06-20 David S. Miller <davem@davemloft.net>
26918 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26920 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26922 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26923 (elf_irel): Use it.
26924 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26925 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26926 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26927 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26928 * sysdeps/x86_64/dl-irel.h: Likewise.
26930 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26931 * elf/dl-sym.c: Likewise.
26933 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26935 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26936 need to dereference resplen2.
26938 2011-06-14 Andreas Schwab <schwab@redhat.com>
26940 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26942 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26944 * Makeconfig: Define vardbdir and inst_vardbdir.
26945 * nss/Makefile: Add rules to install db-Makefile.
26947 * nss/nss_db/db-XXX.c: Cleanup.
26949 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26950 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26952 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26953 * nss/makedb.c: Implement -g option to specify that value strings
26954 are generated and should not be added to table iterated over for
26956 * nss/nss_db/db-initgroups.c: New file.
26958 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26961 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26962 (internal_getgrouplist): Adjust to name change.
26963 Update use_initgroups_entry if this is not the first call.
26964 * nss/databases.def: Add initgroups entry.
26966 * nss/makedb.c (compute_tables): Check result of multiple hash table
26967 sizes to minimize maximum chain length.
26969 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26971 * Versions.def: Add entry for libnss_db.
26972 * shlib-versions: Likewise.
26973 * nss/Makefile: Add rules to build libnss_db.
26974 * nss/Versions: Add libnss_db information. Organize libnss_files
26976 * nss/db-Makefile: Add gshadow support. Change rules for the new
26977 makedb progra. Some minor improvements to generate smaller files.
26978 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26980 * nss/makedb.c: ...here.
26981 Improve database format to be smaller and require less memory at
26983 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26985 * nss/nss_db/db-netgrp.c: Likewise.
26986 * nss/nss_db/db-open.c: Likewise.
26987 * nss/nss_files/flies-XXX.x: Adjust comments.
26988 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26989 * nss/nss_files/files-grp.c: Likewise.
26990 * nss/nss_files/files-hosts.c: Likewise.
26991 * nss/nss_files/files-network.c: Likewise.
26992 * nss/nss_files/files-proto.c: Likewise.
26993 * nss/nss_files/files-pwd.c: Likewise.
26994 * nss/nss_files/files-rpc.c: Likewise.
26995 * nss/nss_files/files-service.c: Likewise.
26996 * nss/nss_files/files-sgrp.c: Likewise.
26997 * nss/nss_files/files-spwd.c: Likewise.
26998 * nss/nss_db/db-alias.c: Removed.
26999 * nss/nss_db/dummy-db.h: Removed.
27001 2011-06-02 Ulrich Drepper <drepper@gmail.com>
27003 * nss/makedb.c: Rewritten to not use database library.
27004 * nss/Makefile: Update to build new makedb program.
27006 2011-06-14 Andreas Jaeger <aj@suse.de>
27008 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27009 memset declaration.
27011 2011-06-10 Andreas Schwab <schwab@redhat.com>
27013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27016 2011-06-10 Roland McGrath <roland@hack.frob.com>
27018 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27019 * elf/Makefile ($(objpfx)ld.so): Likewise.
27021 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27022 Don't list ld.so twice in dependencies.
27024 * posix/bug-regex31.c: Include <stdlib.h>.
27026 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27028 * nis/nss_compat/compat-spwd.c
27029 (getspent_next_nss_netgr): Remove unused variable.
27030 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27032 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27033 nonmembers" output to use the right array.
27035 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27037 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27039 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27040 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27041 * catgets/gencat.c (read_input_file): Likewise.
27042 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27044 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27045 variable definition inside #if's controlling its use.
27047 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27049 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27051 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27053 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27056 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27058 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27059 * configure: Regenerated.
27061 * Makerules: Revert last change.
27062 * elf/Makefile: Likewise.
27064 2011-06-09 Roland McGrath <roland@hack.frob.com>
27066 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27067 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27068 (reloc-link): Likewise.
27070 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27072 * elf/Makefile: Add rules to build pldd.
27073 * elf/pldd.c: New file.
27074 * elf/pldd-xx.c: New file.
27076 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27078 * version.h: Update for 2.15 development version.
27080 2011-06-07 David S. Miller <davem@davemloft.net>
27082 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27085 elf_machine_lazy_rel): Likewise.
27086 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27087 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27088 elf_machine_lazy_rel): Likewise.
27089 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27090 dl_hwcap via passed in argument.
27091 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27094 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27096 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27098 2011-06-06 Roland McGrath <roland@hack.frob.com>
27101 * manual/fdl-1.1.texi: New file, verbatim from:
27102 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27103 * manual/lgpl-2.1.texi: New file, verbatim from:
27104 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27105 * manual/Makefile (licenses): New variable, list those new file names.
27107 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27109 * manual/fdl.texi: File removed.
27110 * manual/lesser.texi: File removed.
27111 * manual/libc.texinfo (Copying, Documentation License):
27112 Use new @include file names, put @appendix directive before @include.
27114 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27117 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27118 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27119 (mq_open): Add __NTH.
27121 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27124 Assume Intel Core i3/i5/i7 processor if AVX is available.
27126 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27131 2011-05-31 Andreas Schwab <schwab@redhat.com>
27133 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27134 memory. Use alloca_account. Fix memory leak when retrying.
27136 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27138 * version.h (RELEASE): Bump for 2.14 release.
27139 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27141 * config.make.in (RANLIB): Remove entry.
27143 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27145 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27146 (libc.pot): Work around missing support for .ksh extension in xgettext.
27149 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27150 if both request failed.
27151 (send_dg): In case of server errors clear resplen or *resplen2.
27154 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27155 when there are multiple maps.
27156 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27157 (_dl_fini): Remove test here.
27159 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27161 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27164 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27165 bit from old_res_options.
27166 (gaih_inet): Likewise.
27169 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27172 * resolv/res_init.c (res_setoptions): Make the code more compact.
27175 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27179 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27181 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27184 * malloc/malloc.h: Declare malloc hook variables as volatile.
27186 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27190 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27191 raise in the comment.
27192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27196 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27199 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27200 grow the buffers more if it already has to be sufficient.
27201 (build_wcs_upper_buffer): Likewise.
27202 * posix/regexec.c (check_matching): Likewise.
27203 (clean_state_log_if_needed): Likewise.
27204 (extend_buffers): Don't enlarge buffers beyond size of the input
27206 Patches mostly by Emil Wojak <emil@wojak.eu>.
27207 * posix/bug-regex32.c: New file.
27208 * posix/Makefile (tests): Add bug-regex32.
27210 * locale/findlocale.c (_nl_find_locale): Return right away if
27211 _nl_explode_name failed.
27212 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27214 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27216 * debug/xtrace.sh: Unify messages.
27217 * malloc/memusage.sh: Likewise.
27220 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27221 time symbol from vDSO. Substitute with vsyscall if not available.
27222 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27225 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27226 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27227 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27228 Add sendmmsg and internal_sendmmsg.
27229 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27230 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27231 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27233 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27234 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27237 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27240 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27241 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27243 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27247 * iconvdata/Makefile (tests): Add bug-iconv9.
27248 * iconvdata/bug-iconv9.c: New file.
27250 2011-05-27 Andreas Schwab <schwab@redhat.com>
27253 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27255 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27258 (struct user_regs_struct): Change intcs field back to cs.
27260 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27262 * po/ja.po: Update from translation team.
27264 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27267 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27268 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27270 2011-05-20 Andreas Schwab <schwab@redhat.com>
27272 * stdlib/longlong.h: Update from GCC.
27274 2011-05-23 Andreas Schwab <schwab@redhat.com>
27276 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27278 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27279 Add parameter name.
27280 (__sysconf): Pass it down.
27282 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27285 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27287 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27288 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27289 add in in __libc_use_alloca calls. Adjust callers.
27290 (glob): Use malloc in some situations.
27292 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27293 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27296 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27298 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27299 and CLOCK_BOOTTIME_ALARM.
27302 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27305 * string/_strerror.c (__strerror_r): Print negative errors as signed
27309 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27310 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27311 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27313 * configure.in: Fix typo in redirection and correct removal of test
27314 files in two cases.
27317 * locale/setlocale.c (new_composite_name): Fix test to check for
27318 identical name of all categories.
27321 * libio/filedoalloc.c (local_isatty): New function.
27322 (_IO_file_doallocate): Use local_isatty.
27323 * stdio-common/perror.c (perror): In case a new stream is used
27324 forward the stream error.
27325 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27328 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27333 * include/alloca.h (extend_alloca_account): Define.
27336 * posix/regex.h: Fix comments with documentation of user-accessible
27337 fields after compilation and describe correct free'ing of pattern
27338 after re_compile_pattern.
27339 Patch by Reuben Thomas <rrt@sc3d.org>.
27341 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27343 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27344 and -mno-altivec to prevent the compiler from using Altivec and/or
27345 VSX instructions when the corresponding registers are not available.
27347 2011-05-19 Andreas Schwab <schwab@redhat.com>
27349 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27351 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27353 * libio/freopen.c (freopen): Use __dup2, not dup2.
27354 * libio/freopen64.c (freopen64): Likewise.
27356 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27359 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27360 * math/Makefile (tests): Add test-powl.
27361 (CFLAGS-test-powl.c): Define.
27362 * math/test-powl.c: New file.
27364 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27366 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27368 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27371 * iconvdata/gb18030.c: Update to GB18020-2005.
27373 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27375 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27376 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27377 Patch by Aharon Robbins <arnold@skeeve.com>.
27380 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27384 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27385 through underflows.
27388 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27389 point to strings before performing equality test for error_one_per_line
27393 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27396 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27397 (struct user_fpregs_struct): Avoid __uint*_t types.
27400 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27401 symbol info. Use it instead of calling _dl_addr locally.
27402 (lock_and_info): New function.
27403 (tr_freehook): Call lock_and_info and pass symbol info as additional
27404 parameter to tr_where.
27405 (tr_mallochook): Likewise.
27406 (tr_reallochook): Likewise.
27407 (tr_memalignhook): Likewise.
27409 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27410 used and couldn't be at all thread-safe.
27412 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27414 * libio/freopen.c (freopen): Don't close old file descriptor
27415 before the new one is opened. Instead dup the new file descriptor
27416 to the old one after the new stream is created.
27417 * libio/freopen64.c (freopen64): Likewise.
27418 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27419 * libio/fileops.c (_IO_new_file_close_it): Handle new
27420 _IO_FLAGS2_NOCLOSE flag.
27421 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27422 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27423 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27424 _IO_FLAGS2_NOCLOSE flag.
27425 * include/unistd.h: Add hidden_proto for dup3.
27426 Define __have_dup3.
27427 * io/dup3.c: Define hidden symbol.
27428 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27431 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27432 when an incomplete long option is used.
27433 * posix/tst-getopt_long1.c: New file.
27434 * posix/Makefile (tests): Add tst-getopt_long1.
27437 * scripts/config.guess: Update from autoconf-2.68.
27438 * scripts/config.sub: Likewise.
27441 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27443 (has_cpuclock): ...this. New function.
27444 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27445 macro here based on has_cpuclock code.
27448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27449 First byte (not low byte) is now always NUL.
27450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27453 Use non-cancelable interfaces.
27456 * locale/iso-639.def: Add entry for Sorani.
27459 * include/stdlib.h: Move include protection to the right place.
27460 Define abort_msg_s. Declare __abort_msg with it.
27461 * stdlib/abort.c (__abort_msg): Adjust type.
27462 * assert/assert.c (__assert_fail_base): New function. Majority
27463 of code from __assert_fail. Allocate memory for __abort_msg with
27465 (__assert_fail): Now call __assert_fail_base.
27466 * assert/assert-perr.c: Remove bulk of implementation. Use
27467 __assert_fail_base.
27468 * include/assert.hL Declare __assert_fail_base.
27469 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27471 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27473 2011-05-14 Ulrich Drepper <drepper@gmail.com>
27477 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27478 until all modules are registered in the DTV.
27479 * elf/Makefile: Add rules to build and run tst-tls19.
27480 * elf/tst-tls19.c: New file.
27481 * elf/tst-tls19mod1.c: New file.
27482 * elf/tst-tls19mod2.c: New file.
27483 * elf/tst-tls19mod3.c: New file.
27484 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27487 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27491 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27492 two-byte sequence errors.
27493 * iconvdata/Makefile (tests): Add bug-iconv8.
27494 * iconvdata/bug-iconv8.c: New file.
27497 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27500 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27503 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27504 (dummy_getcfa): New function.
27505 (init): Get _Unwind_GetCFA address, use dummy if not found.
27506 (backtrace_helper): In recursion check, also check whether CFA changes.
27507 (__backtrace): Completely initialize arg.
27509 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
27510 storing incomplete byte sequence in state object. Avoid testing for
27511 guaranteed too small input if we know there is enough data available.
27513 2011-05-11 Andreas Schwab <schwab@redhat.com>
27515 * Makeconfig (+link-pie): Indent.
27516 * Rules (binaries-pie): Define if $(have-fpie) and
27518 (binaries-shared): Also filter out $(binaries-pie).
27519 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27520 * nscd/Makefile (others-pie): Add nscd.
27521 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27522 ($(objpfx)nscd): Remove command override.
27523 * login/Makefile (others-pie): Add pt_chown.
27524 ($(objpfx)pt_chown): Remove command override.
27525 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27526 remove command overrides.
27528 2011-05-13 Ulrich Drepper <drepper@gmail.com>
27530 * libio/tst_putwc.c: Fix error messages.
27533 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27534 currently writing and seek to current position when not.
27535 * libio/Makefile (tests): Add bug-fclose1.
27536 * libio/bug-fclose1.c: New file.
27538 2011-05-12 Ulrich Drepper <drepper@gmail.com>
27541 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27542 don't set DF_1_NODELETE here.
27543 (do_lookup_x): When entering new entry test for copy relocation
27544 and if necessary set DF_1_NODELETE flag.
27545 * elf/tst-unique4.cc: New file.
27546 * elf/tst-unique4.h: New file.
27547 * elf/tst-unique4lib.cc: New file.
27548 * elf/Makefile: Add rules to build and run tst-unique4.
27549 Patch by Piotr Bury <pbury@goahead.com>.
27551 2011-05-11 Ulrich Drepper <drepper@gmail.com>
27554 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27557 * misc/mntent_r.c (addmntent): Flush the stream after the output
27560 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27561 (is_trusted_path_normalize): Skip initial colon. Append slash
27562 to empty buffer. Duplicate is_trusted_path code but allow
27563 constructed patch to be prefix.
27564 (is_dst): Allow $ORIGIN followed by /.
27565 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27566 Correct testing of result of is_trusted_path_normalize
27567 (decompose_rpath): Fix warning.
27569 2011-05-10 Ulrich Drepper <drepper@gmail.com>
27572 * grp/initgroups.c (internal_getgrouplist): When we found the service
27573 list through the initgroups entry in nsswitch.conf do not always
27574 continue on a successful lookup. Don't always use the
27575 __nss_group_database value if it is set.
27576 * nss/nsswitch.conf (initgroups): Change action for successful db
27577 lookup to continue for compatibility.
27579 2011-05-09 Ulrich Drepper <drepper@gmail.com>
27582 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27584 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27586 * iconvdata/tst-tables.sh: Likewise.
27587 * iconvdata/cp770.c: New file.
27588 * iconvdata/cp771.c: New file.
27589 * iconvdata/cp772.c: New file.
27590 * iconvdata/cp773.c: New file.
27591 * iconvdata/cp774.c: New file.
27592 * iconvdata/testdata/CP770: New file.
27593 * iconvdata/testdata/CP770..UTF8: New file.
27594 * iconvdata/testdata/CP771: New file.
27595 * iconvdata/testdata/CP771..UTF8: New file.
27596 * iconvdata/testdata/CP772: New file.
27597 * iconvdata/testdata/CP772..UTF8: New file.
27598 * iconvdata/testdata/CP773: New file.
27599 * iconvdata/testdata/CP773..UTF8: New file.
27600 * iconvdata/testdata/CP774: New file.
27601 * iconvdata/testdata/CP774..UTF8: New file.
27603 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27605 * iconvdata/gen-8bit-gap.sh: Likewise.
27606 * iconvdata/gen-8bit.sh: Likewise.
27608 * locale/iso-639.def: Add ary entry.
27611 * locale/C-translit.h.in: Add U20A1 transliteration.
27614 * locale/iso-639.def: Add wae entry.
27615 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27618 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27622 * locale/C-translit.h.in: Add entry for U20B9.
27623 Patch by pravin.d.s@gmail.com.
27625 2011-05-08 Ulrich Drepper <drepper@gmail.com>
27628 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27629 ENAMETOOLONG use generic getcwd.
27630 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27631 in rtld. Use *stat64.
27632 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
27633 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
27634 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
27635 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27636 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27637 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27638 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27639 __fstatat64 macros.
27640 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27641 * dirent/rewinddir.c: Add libc_hidden_def.
27642 * sysdeps/mach/hurd/rewinddir.c: Likewise.
27643 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
27645 * include/dirent.h (__alloc_dir): Add flags parameter.
27646 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27647 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27649 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27650 from fdopendir if O_CLOEXEC is already set.
27652 2011-03-15 Alan Modra <amodra@gmail.com>
27654 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27655 l_tls_firstbyte_offset non-zero. Save padding offset in
27656 l_tls_firstbyte_offset for later use.
27657 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27658 freeing static tls block.
27660 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27662 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27663 where #ifdef was intended. The intent is to prevent ARG_MAX from
27664 being defined by the kernel headers.
27666 2011-05-07 Ulrich Drepper <drepper@gmail.com>
27669 * resolv/resolv.h: Define RES_NOTLDQUERY.
27670 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27671 no-tld-query and set RES_NOTLDQUERY.
27672 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27673 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27674 modern BIND to search name as TLD unless forbidden.
27676 2011-05-07 Petr Baudis <pasky@suse.cz>
27677 Ulrich Drepper <drepper@gmail.com>
27680 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27681 (is_trusted_path): ...to here.
27682 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
27683 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
27684 using is_trusted_path_normalize() in setuid scripts.
27686 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27688 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27689 __BEGIN/__END_DECLS.
27691 2011-05-06 Ulrich Drepper <drepper@gmail.com>
27693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27694 NSS_STATUS_NOTFOUND if no record was found.
27696 2011-05-05 Andreas Schwab <schwab@redhat.com>
27698 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27699 (headers-not-in-tirpc): Remove rpc/netdb.h
27700 * resolv/netdb.h: Revert last change.
27702 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27704 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27705 circular dependency between libgcc.a and libc.a.
27707 2011-05-05 Andreas Schwab <schwab@redhat.com>
27709 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27710 * nis/Makefile: Don't install rpcsvc/*.
27711 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27712 instead of <rpc/types.h>.
27713 (MAXHOSTNAMELEN): Define.
27715 2011-05-03 Andreas Schwab <schwab@redhat.com>
27717 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27719 2011-04-28 Maciej Babinski <mbabinski@google.com>
27722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27723 gethostbyname4_r when IPv6 results are possible.
27725 2011-05-02 Ulrich Drepper <drepper@gmail.com>
27728 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27729 _PC_PIPE_BUF handling.
27731 2011-04-30 Bruno Haible <bruno@clisp.org>
27734 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27735 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27737 * inet/getnameinfo.c (getnameinfo): Likewise.
27739 2011-04-29 Ulrich Drepper <drepper@gmail.com>
27741 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27742 to groups setting in database lookup.
27743 * nss/nsswitch.conf: Add initgroups entry.
27745 2011-04-22 Ulrich Drepper <drepper@gmail.com>
27748 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27750 Patch by Eric Blake <eblake@redhat.com>.
27752 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27754 * sunrpc/Makefile (need-export-routines): Add svc_run.
27755 (routines): Remove svc_run.
27756 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27757 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27758 * sunrpc/svc_run.c (svc_run): Likewise.
27759 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27761 2011-04-21 Ulrich Drepper <drepper@gmail.com>
27763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27764 problem in reallocation in last patch.
27766 2011-04-20 Ulrich Drepper <drepper@gmail.com>
27768 * sunrpc/Makefile: Move inclusion of Rules.
27770 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27772 * nss/nss_files/files-initgroups.c: New file.
27773 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27774 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27775 _nss_files_initgroups_dyn.
27777 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27779 * elf/elf.h (R_ARM_IRELATIVE): Define.
27781 2011-04-19 Ulrich Drepper <drepper@gmail.com>
27783 * po/ru.po: Update from translation team.
27785 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27787 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27790 2011-02-06 Mike Frysinger <vapier@gentoo.org>
27793 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27794 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27795 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27796 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27797 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27799 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27801 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27803 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27804 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27805 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27807 2011-04-17 Ulrich Drepper <drepper@gmail.com>
27810 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27812 * stdlib/bug-getcontext.c: New file.
27813 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27815 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27817 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27818 instructions into .machine "z9-109".
27819 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27820 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27822 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27824 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27825 between environment variables and auxiliary vector.
27827 2011-04-16 Ulrich Drepper <drepper@gmail.com>
27829 * Makefile: Add rules to build linkobj/libc.so.
27830 * include/libc-symbols.h: Define libc_hidden_nolink.
27831 * include/rpc/auth.h: Mark functions which are to be hidden.
27832 * include/rpc/auth_des.h: Likewise.
27833 * include/rpc/auth_unix.h: Likewise.
27834 * include/rpc/clnt.h: Likewise.
27835 * include/rpc/des_crypt.h: Likewise.
27836 * include/rpc/key_prot.h: Likewise.
27837 * include/rpc/pmap_clnt.h: Likewise.
27838 * include/rpc/pmap_prot.h: Likewise.
27839 * include/rpc/pmap_rmt.h: Likewise.
27840 * include/rpc/rpc_msg.h: Likewise.
27841 * include/rpc/svc.h: Likewise.
27842 * include/rpc/svc_auth.h: Likewise.
27843 * include/rpc/xdr.h: Likewise.
27844 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27845 * nss/Makefile: Likewise.
27846 * sunrpc/Makefile: Don't install headers. Build library with normal
27847 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27848 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27849 for the compat linking library. Remove use of INTDEF/INTUSE.
27850 * sunrpc/auth_none.c: Likewise.
27851 * sunrpc/auth_unix.c: Likewise.
27852 * sunrpc/authdes_prot.c: Likewise.
27853 * sunrpc/authuxprot.c: Likewise.
27854 * sunrpc/clnt_gen.c: Likewise.
27855 * sunrpc/clnt_perr.c: Likewise.
27856 * sunrpc/clnt_raw.c: Likewise.
27857 * sunrpc/clnt_simp.c: Likewise.
27858 * sunrpc/clnt_tcp.c: Likewise.
27859 * sunrpc/clnt_udp.c: Likewise.
27860 * sunrpc/clnt_unix.c: Likewise.
27861 * sunrpc/des_crypt.c: Likewise.
27862 * sunrpc/des_soft.c: Likewise.
27863 * sunrpc/get_myaddr.c: Likewise.
27864 * sunrpc/key_call.c: Likewise.
27865 * sunrpc/key_prot.c: Likewise.
27866 * sunrpc/netname.c: Likewise.
27867 * sunrpc/pm_getmaps.c: Likewise.
27868 * sunrpc/pm_getport.c: Likewise.
27869 * sunrpc/pmap_clnt.c: Likewise.
27870 * sunrpc/pmap_prot.c: Likewise.
27871 * sunrpc/pmap_prot2.c: Likewise.
27872 * sunrpc/pmap_rmt.c: Likewise.
27873 * sunrpc/publickey.c: Likewise.
27874 * sunrpc/rpc_cmsg.c: Likewise.
27875 * sunrpc/rpc_common.c: Likewise.
27876 * sunrpc/rpc_dtable.c: Likewise.
27877 * sunrpc/rpc_prot.c: Likewise.
27878 * sunrpc/rpc_thread.c: Likewise.
27879 * sunrpc/rtime.c: Likewise.
27880 * sunrpc/svc.c: Likewise.
27881 * sunrpc/svc_auth.c: Likewise.
27882 * sunrpc/svc_authux.c: Likewise.
27883 * sunrpc/svc_raw.c: Likewise.
27884 * sunrpc/svc_run.c: Likewise.
27885 * sunrpc/svc_simple.c: Likewise.
27886 * sunrpc/svc_tcp.c: Likewise.
27887 * sunrpc/svc_udp.c: Likewise.
27888 * sunrpc/svc_unix.c: Likewise.
27889 * sunrpc/svcauth_des.c: Likewise.
27890 * sunrpc/xcrypt.c: Likewise.
27891 * sunrpc/xdr.c: Likewise.
27892 * sunrpc/xdr_array.c: Likewise.
27893 * sunrpc/xdr_float.c: Likewise.
27894 * sunrpc/xdr_intXX_t.c: Likewise.
27895 * sunrpc/xdr_mem.c: Likewise.
27896 * sunrpc/xdr_rec.c: Likewise.
27897 * sunrpc/xdr_ref.c: Likewise.
27898 * sunrpc/xdr_sizeof.c: Likewise.
27899 * sunrpc/xdr_stdio.c: Likewise.
27901 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27904 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27905 * sysdeps/ia64/dl-tls.h: Likewise.
27906 * sysdeps/powerpc/dl-tls.h: Likewise.
27907 * sysdeps/s390/dl-tls.h: Likewise.
27908 * sysdeps/sh/dl-tls.h: Likewise.
27909 * sysdeps/sparc/dl-tls.h: Likewise.
27910 * sysdeps/x86_64/dl-tls.h: Likewise.
27911 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27913 2011-03-14 Andreas Schwab <schwab@redhat.com>
27915 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27916 rpath element also skip the following colon.
27917 (expand_dynamic_string_token): Add is_path parameter and pass
27918 down to DL_DST_REQUIRED and _dl_dst_substitute.
27919 (decompose_rpath): Call expand_dynamic_string_token with
27920 non-zero is_path. Ignore empty rpaths.
27921 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27924 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27929 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27932 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27933 Patch by Filipe David Manana <fdmanana@apache.org>.
27935 2011-04-07 Andreas Schwab <schwab@redhat.com>
27937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27938 Maintain aligned stack.
27939 (CHECK_RSP): Remove unused macro.
27941 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27943 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27946 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27948 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27950 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27952 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27955 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27956 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27957 * sysdeps/x86_64/memmove.c: New file.
27958 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27959 (memcpy): Renamed to ...
27960 (__new_memcpy): This.
27961 (memcpy): Provide GLIBC_2_14 memcpy.
27962 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27963 (memcpy): Provide GLIBC_2_2_5 memcpy.
27965 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27968 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27970 2011-03-30 Andreas Schwab <schwab@redhat.com>
27972 * misc/syncfs.c: New file.
27973 * misc/Makefile (routines): Add syncfs.
27974 * posix/unistd.h: Declare syncfs.
27975 * sysdeps/unix/syscalls.list: Add syncfs.
27977 2011-04-01 Andreas Schwab <schwab@redhat.com>
27979 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27986 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27989 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27993 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27999 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28000 sync_file_range.c with -fexceptions.
28001 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28002 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28003 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28004 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28005 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28006 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28008 sync_file_range as cancellation point
28009 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28010 now a wrapper around __call_sync_file_range with cancellation handling.
28011 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28012 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28013 function name to __call_sync_file_range.
28014 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28015 Add call_sync_file_range.
28017 2011-04-01 Andreas Schwab <schwab@redhat.com>
28019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28022 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28024 * iconv/iconv.h: Fix typo in comment.
28025 * io/fcntl.h: Likewise.
28026 * libio/stdio.h: Likewise.
28027 * posix/spawn.h: Likewise.
28028 * posix/unistd.h: Likewise.
28029 * stdlib/stdlib.h: Likewise.
28030 * time/time.h: Likewise.
28031 * wcsmbs/wchar.h: Likewise.
28033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28034 open_by_handle): Add.
28035 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28036 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28037 Augment a few comments.
28038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28043 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28046 * io/fcntl.h (AT_EMPTY_PATH): Define.
28048 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28050 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28051 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28052 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28054 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28055 * Versions.def: Add GLIBC_2.14.
28056 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28059 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28061 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28063 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28065 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28068 * string/test-strncmp.c (do_page_test): New function.
28069 (check2): Likewise.
28070 (test_main): Call check2.
28071 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28073 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28077 Handle cache information in CPU leaf 4.
28078 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28080 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28083 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28084 character representation.
28085 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28087 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28089 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28090 END(__isnan) to END(__isnanf) to match function entry point/label
28091 EALIGN(__isnanf,...).
28093 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28095 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28097 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28100 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28101 copy from the symbol referenced in the relocation to initialize the
28103 Patch by Piotr Bury <pbury@goahead.com>.
28104 * elf/Makefile: Add rules to build and tst-unique3.
28105 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28106 * elf/tst-unique3.cc: New file.
28107 * elf/tst-unique3.h: New file.
28108 * elf/tst-unique3lib.cc: New file.
28109 * elf/tst-unique3lib2.cc: New file.
28111 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28113 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28115 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28116 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28119 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28121 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28122 to-be-loaded object along a path to loader is ld.so.
28124 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28125 Ulrich Drepper <drepper@gmail.com>
28127 * sysdeps/x86_64/memset.S: After aligning destination, code
28128 branches to different locations depending on the value of
28129 misalignment, when multiarch is enabled. Fix this.
28131 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28133 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28134 Set _x86_64_preferred_memory_instruction for AMD processsors.
28135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28136 Set bit_Prefer_SSE_for_memop for AMD processors.
28138 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28140 * libio/fmemopen.c (fmemopen): Optimize a bit.
28142 2011-03-03 Andreas Schwab <schwab@redhat.com>
28144 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28146 2011-03-03 Roland McGrath <roland@redhat.com>
28148 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28150 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28152 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28153 __bzero_ultra1 instead of __memset_ultra1.
28155 2011-02-23 Andreas Schwab <schwab@redhat.com>
28156 Ulrich Drepper <drepper@gmail.com>
28159 * include/link.h (struct link_map): Add l_orig_initfini.
28160 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28161 returning unsuccessfully.
28162 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28163 close of a file loaded at startup, restore the original l_initfini
28165 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28166 list, store the pointer.
28167 * elf/Makefile ($(objpfx)noload-mem): New rule.
28168 (noload-ENV): Define.
28169 (tests): Add $(objpfx)noload-mem.
28170 * elf/noload.c: Include <memcheck.h>.
28171 (main): Call mtrace. Close all opened handles.
28173 2011-02-17 Andreas Schwab <schwab@redhat.com>
28176 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28177 dependencies are missing.
28179 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28181 Fix __if_freereq crash: Unlike the generic version which uses free,
28183 * sysdeps/mach/hurd/ifreq.h: New file.
28185 2011-01-27 Petr Baudis <pasky@suse.cz>
28186 Ulrich Drepper <drepper@gmail.com>
28189 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28190 to extend_alloca().
28191 * stdio-common/bug23.c: New file.
28192 * stdio-common/Makefile (tests): Add bug23.
28194 2010-09-28 Andreas Schwab <schwab@redhat.com>
28195 Ulrich Drepper <drepper@gmail.com>
28198 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28199 before performing relro protection. At old place add assertion
28200 to make sure nothing changed.
28202 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28203 Glauber de Oliveira Costa <glommer@gmail.com>
28205 * elf/elf.h: Add new ARM TLS relocs.
28207 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28210 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28212 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28214 * sysdeps/wordsize-64/tst-writev.c: New file.
28216 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28218 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28219 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28220 insns in _dl_start to prevent a TOC reference before relocs are
28223 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28226 * Makeconfig: Remove RANLIB definition.
28227 * Makerules: Don't use RANLIB.
28228 * aclocal.m4: Remove ranlib test.
28229 * configure.in: No need to check for ranlib.
28230 * elf/rtld-Rules: Don't use RANLIB.
28232 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28234 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28236 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28237 inclusion protection macro.
28239 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28240 SIGRTMIN and SIGRTMAX and print information in that case only when
28241 SIGRTMIN is defined.
28243 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28245 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28246 arginfo fn returning -1.
28248 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28249 and thousands string is zero terminated.
28251 2011-02-03 Andreas Schwab <schwab@redhat.com>
28253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28254 sysdeps/unix/sysv/linux/bits/socket.h.
28256 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28258 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28259 (__CPU_COUNT): Remove old macros.
28260 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28261 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28262 (__CPU_ALLOC, __CPU_FREE): Add macros.
28263 (__sched_cpualloc, __sched_cpufree): Add declarations.
28265 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28267 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28268 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28269 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28270 (readdhstai): Return value of addhstaiX call.
28271 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28272 (addgrbyX): Return value returned by cache_addgr.
28273 (readdgrbyname): Return value returned by addgrbyX.
28274 (readdgrbygid): Likewise.
28275 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28276 (addpwbyX): Return value returned by cache_addpw.
28277 (readdpwbyname): Return value returned by addhstbyX.
28278 (readdpwbyuid): Likewise.
28279 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28280 (addservbyX): Return value returned by cache_addserv.
28281 (readdservbyname): Return value returned by addservbyX:
28282 (readdservbyport): Likewise.
28283 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28284 (addhstbyX): Return value returned by cache_addhst.
28285 (readdhstbyname): Return value returned by addhstbyX.
28286 (readdhstbyaddr): Likewise.
28287 (readdhstbynamev6): Likewise.
28288 (readdhstbyaddrv6): Likewise.
28289 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28290 (readdinitgroups): Return value returned by addinitgroupsX.
28291 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28292 (prune_cache): Keep track of timeout value of re-added entries.
28293 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28294 * nscd/nscd.h: Adjust prototypes of readd* functions.
28296 2011-02-04 Roland McGrath <roland@redhat.com>
28298 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28299 (nis_stats): Likewise.
28300 * nis/nis_modify.c (nis_modify): Likewise.
28301 * nis/nis_remove.c (nis_remove): Likewise.
28302 * nis/nis_add.c (nis_add): Likewise.
28304 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28306 * posix/fnmatch_loop.c: Add some consts.
28308 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28310 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28313 * config.make.in (config-cflags-novzeroupper): Define.
28314 * configure.in: Substitute libc_cv_cc_novzeroupper.
28315 * elf/Makefile (AVX-CFLAGS): Define.
28316 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28317 (CFLAGS-tst-auditmod4a.c): Likewise.
28318 (CFLAGS-tst-auditmod4b.c): Likewise.
28319 (CFLAGS-tst-auditmod6b.c): Likewise.
28320 (CFLAGS-tst-auditmod6c.c): Likewise.
28321 (CFLAGS-tst-auditmod7b.c): Likewise.
28322 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28324 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28326 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28327 function to the callback.
28328 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28330 2011-02-02 Andreas Schwab <schwab@redhat.com>
28332 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28335 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28338 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28340 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28342 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28345 * elf/Makefile: Add rules to build and run new test.
28346 * elf/tst-initorder.c: New file.
28347 * elf/tst-initorder.exp: New file.
28348 * elf/tst-initordera1.c: New file.
28349 * elf/tst-initordera2.c: New file.
28350 * elf/tst-initordera3.c: New file.
28351 * elf/tst-initordera4.c: New file.
28352 * elf/tst-initorderb1.c: New file.
28353 * elf/tst-initorderb2.c: New file.
28354 * elf/tst-order-a1.c: New file.
28355 * elf/tst-order-a2.c: New file.
28356 * elf/tst-order-a3.c: New file.
28357 * elf/tst-order-a4.c: New file.
28358 * elf/tst-order-b1.c: New file.
28359 * elf/tst-order-b2.c: New file.
28360 * elf/tst-order-main.c: New file.
28361 New test case by George Gensure <werkt0@gmail.com>.
28363 2010-10-01 Andreas Schwab <schwab@redhat.com>
28365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28366 decoding ACE if AI_CANONIDN.
28368 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28370 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28372 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28374 * version.h (RELEASE): Bump for 2.13 release.
28375 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28377 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28381 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28384 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28385 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28388 * posix/getconf.c: Update copyright year.
28389 * catgets/gencat.c: Likewise.
28390 * csu/version.c: Likewise.
28391 * debug/catchsegv.sh: Likewise.
28392 * debug/xtrace.sh: Likewise.
28393 * elf/ldconfig.c: Likewise.
28394 * elf/ldd.bash.in: Likewise.
28395 * elf/sprof.c (print_version): Likewise.
28396 * iconv/iconv_prog.c: Likewise.
28397 * iconv/iconvconfig.c: Likewise.
28398 * locale/programs/locale.c: Likewise.
28399 * locale/programs/localedef.c: Likewise.
28400 * malloc/memusage.sh: Likewise.
28401 * malloc/mtrace.pl: Likewise.
28402 * nscd/nscd.c (print_version): Likewise.
28403 * nss/getent.c: Likewise.
28405 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28406 PF_CAIF, and PF_ALG.
28407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28409 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28411 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28412 (modules-names): Use them.
28413 (ifunc-test-modules, ifunc-pie-tests): Define.
28414 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28415 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28416 (test-extras): Likewise.
28417 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28418 $(compile-command.c).
28419 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28420 (all-built-dso): Define.
28421 (check-textrel.out, check-execstack.out): Depend on it.
28423 * configure.in: Don't override --enable-multi-arch.
28425 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28428 * nscd/hstcache.c (tryagain): Define.
28429 (cache_addhst): Return tryagain not notfound for temporary errors.
28430 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28433 2011-01-14 Ulrich Drepper <drepper@gmail.com>
28436 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28437 to make the syscall.
28438 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28441 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28442 and fall back to matching as normal character if the string ends before
28443 the matching ']' is found. This is what POSIX requires.
28444 * posix/testfnm.c: Adjust test result.
28445 * posix/globtest.sh: Adjust test result. Add new test.
28446 * posix/tst-fnmatch.input: Likewise.
28447 * posix/tst-fnmatch2.c: Add new test.
28449 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28451 * elf/Makefile (check-execstack): Revert last change. Depend on
28453 (check-execstack.h): New target.
28454 (generated): Add check-execstack.h.
28455 * elf/check-execstack.c: Include "check-execstack.h".
28456 (main): Revert last change.
28457 (handle_file): Return zero if GNU_STACK is absent and
28458 DEFAULT_STACK_PERMS doesn't include PF_X.
28460 2011-01-13 Ulrich Drepper <drepper@gmail.com>
28462 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28463 in child fails because the descriptor is already closed.
28464 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28465 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28466 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
28469 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28473 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28474 temporary buffer used to handle multi lookups locally.
28475 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
28477 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28479 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28482 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28484 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28485 alignment for SSE2.
28487 2011-01-12 Ulrich Drepper <drepper@gmail.com>
28490 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28491 characters. When rounding increased number of integer digits recompute
28493 * stdio-common/tst-grouping.c: New file.
28494 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28496 2011-01-09 Ulrich Drepper <drepper@gmail.com>
28498 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28499 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28501 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28503 * bits/select.h: Likewise.
28505 2011-01-08 Ulrich Drepper <drepper@gmail.com>
28507 * po/ja.po: Update from translation team.
28509 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
28512 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28513 implementation just like for lxstat, fxstatat, et al.
28515 2010-12-27 Jim Meyering <meyering@redhat.com>
28518 * posix/regexec.c (build_trtable): Return failure indication upon
28519 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28521 2010-12-25 Ulrich Drepper <drepper@gmail.com>
28524 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28525 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28526 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28527 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28530 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28533 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28534 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28536 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28538 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28539 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28540 script has SORT_BY_INIT_PRIORITY.
28541 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28542 NO_CTORS_DTORS_SECTIONS is defined.
28543 * elf/soinit.c: Likewise.
28544 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28545 NO_CTORS_DTORS_SECTIONS is defined.
28546 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28547 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28548 * sysdeps/sh/init-first.c: Likewise.
28549 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28551 2010-12-24 Ulrich Drepper <drepper@gmail.com>
28553 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28554 always use the slow path.
28556 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28558 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28559 similar rule which adds the sysdep directories to the header search in
28560 order to pick up the correct platform stackinfo.h.
28561 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28562 perform test if it is, otherwise return successfully without testing.
28563 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28564 DEFAULT_STACK_PERMS define in stackinfo.h.
28565 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28566 defined in stackinfo.h.
28567 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28568 DEFAULT_STACK_PERMS defined in stackinfo.h.
28569 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28570 * sysdeps/ia64/stackinfo.h: Likewise.
28571 * sysdeps/s390/stackinfo.h: Likewise.
28572 * sysdeps/sh/stackinfo.h: Likewise.
28573 * sysdeps/sparc/stackinfo.h: Likewise.
28574 * sysdeps/x86_64/stackinfo.h: Likewise.
28575 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28576 PF_X for powerpc64. Retain PF_X for powerpc32.
28578 2010-12-19 Ulrich Drepper <drepper@gmail.com>
28580 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28582 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28583 GETDENTS_64BIT_ALIGNED.
28585 2010-12-14 Ulrich Drepper <dreper@gmail.com>
28587 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28589 2010-12-10 Andreas Schwab <schwab@redhat.com>
28591 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28594 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28595 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28597 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28598 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28600 2010-12-09 Ulrich Drepper <drepper@gmail.com>
28603 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28606 2010-12-09 Jakub Jelinek <jakub@redhat.com>
28608 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28610 2010-12-03 Ulrich Drepper <drepper@gmail.com>
28612 * po/it.po: Update from translation team.
28614 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28619 2010-11-30 Ulrich Drepper <drepper@gmail.com>
28621 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28623 2010-11-24 Andreas Schwab <schwab@redhat.com>
28625 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28627 (gaih_getanswer_slice): Likewise.
28629 2010-10-20 Jakub Jelinek <jakub@redhat.com>
28631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28633 2010-05-31 Petr Baudis <pasky@suse.cz>
28636 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28637 silently even in the chroot mode.
28639 2010-11-22 Ulrich Drepper <drepper@gmail.com>
28641 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28642 last patch a bit. Pretty printing
28644 2010-05-31 Petr Baudis <pasky@suse.cz>
28647 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28648 initialization of skip_initgroups_dyn.
28650 2010-11-19 Ulrich Drepper <drepper@gmail.com>
28652 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28653 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28655 2010-11-16 Ulrich Drepper <drepper@gmail.com>
28657 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28659 2010-11-11 Andreas Schwab <schwab@redhat.com>
28661 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28662 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28663 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28664 ($(objpfx)tst-fnmatch-mem): New rule.
28665 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28666 * posix/tst-fnmatch.c (main): Call mtrace.
28668 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28671 Support Intel processor model 6 and model 0x2c.
28673 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
28675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28678 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28681 * string/test-strncasecmp.c (check_result): New function.
28682 (do_one_test): Use it.
28683 (check1): New function.
28684 (test_main): Use it.
28685 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28686 Support strcasecmp and strncasecmp.
28688 2010-11-08 Ulrich Drepper <drepper@gmail.com>
28691 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28692 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28694 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28696 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28700 * sysdeps/x86_64/multiarch/bzero.S: New file.
28701 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28702 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28703 * sysdeps/x86_64/multiarch/memset.S: New file.
28704 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28706 Set bit_Prefer_SSE_for_memop for Intel processors.
28707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28709 (index_Prefer_SSE_for_memop): Define.
28710 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28712 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
28714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28715 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28717 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28721 (__x86_64_raw_data_cache_size_half): Likewise.
28722 (__x86_64_raw_shared_cache_size): Likewise.
28723 (__x86_64_raw_shared_cache_size_half): Likewise.
28725 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28726 (__x86_64_raw_data_cache_size_half): Likewise.
28727 (__x86_64_raw_shared_cache_size): Likewise.
28728 (__x86_64_raw_shared_cache_size_half): Likewise.
28729 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28730 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28731 and __x86_64_raw_shared_cache_size_half. Round
28732 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28733 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28734 to multiple of 256 bytes.
28736 2010-11-03 Ulrich Drepper <drepper@gmail.com>
28739 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28740 of inacessible symlinks. Verify result of symlink before returning it.
28741 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28742 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28744 2010-10-28 Erich Ritz <erichritz@gmail.com>
28746 * math/math.h (isinf): Fix typo in comment.
28748 2010-11-01 Ulrich Drepper <drepper@gmail.com>
28750 * po/da.po: Update from translation team.
28752 2010-10-26 Ulrich Drepper <drepper@gmail.com>
28754 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28755 is added to the list.
28757 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28758 Ulrich Drepper <drepper@gmail.com>
28760 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28761 the global list here. Move code to...
28762 (_dl_add_to_namespace_list): ...here. New function.
28763 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28764 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28765 * elf/dl-load.c (lose): Don't remove the element from the list.
28766 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28767 (_dl_map_object): Likewise.
28769 2010-10-25 Ulrich Drepper <drepper@gmail.com>
28772 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28773 into all bytes of SSE register.
28774 Patch by Richard Li <richardpku@gmail.com>.
28776 2010-10-24 Ulrich Drepper <drepper@gmail.com>
28779 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28782 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28784 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28785 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28786 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28787 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28792 2010-10-22 Andreas Schwab <schwab@redhat.com>
28794 * include/dlfcn.h (__RTLD_SECURE): Define.
28795 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28796 mode & __RTLD_SECURE instead.
28797 (open_path): Rename preloaded parameter to secure.
28798 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28799 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28800 * elf/dl-deps.c (openaux): Likewise.
28801 * elf/rtld.c (struct map_args): Remove is_preloaded.
28802 (map_doit): Don't use it.
28803 (dl_main): Likewise.
28804 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28805 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28807 2010-09-09 Andreas Schwab <schwab@redhat.com>
28809 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28810 (sysd-rules-targets): Remove duplicates.
28811 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28812 rtld-%.$o dependency.
28814 2010-10-18 Andreas Schwab <schwab@redhat.com>
28816 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28817 _dl_map_object do it.
28819 2010-10-19 Ulrich Drepper <drepper@gmail.com>
28821 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28822 fast fma builtins, define the macros in the C99 standard.
28823 (FP_FAST_FMAF): Likewise.
28824 (FP_FAST_FMAL): Likewise.
28825 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28827 * bits/mathdef.h: Update copyright year.
28828 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28830 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28832 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28833 builtins, define the macros in the C99 standard.
28834 (FP_FAST_FMAF): Likewise.
28835 (FP_FAST_FMAL): Likewise.
28836 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28838 (FP_FAST_FMAF): Likewise.
28840 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28843 * math/libm-test.inc (fma_test): Some new testcases.
28844 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28846 y and infinite z. Do multiplication by C already in long double.
28847 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28849 y and infinite z. Do bitwise or of inexact bit into u.d.
28850 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28851 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28852 * sysdeps/i386/fpu/s_fma.S: Removed.
28853 * sysdeps/i386/fpu/s_fmal.S: Removed.
28855 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28858 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28860 computation is not scheduled after fetestexcept. Fix value
28861 of minimum denormal long double.
28863 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28866 * math/libm-test.inc (fma_test): Add some more tests.
28867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28870 2010-10-15 Andreas Schwab <schwab@redhat.com>
28872 * scripts/data/localplt-s390-linux-gnu.data: New file.
28873 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28875 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28878 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28879 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28881 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28883 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28885 if one of x and y is very large and the other is subnormal.
28886 * sysdeps/s390/fpu/s_fmaf.c: New file.
28887 * sysdeps/s390/fpu/s_fma.c: New file.
28888 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28889 * sysdeps/powerpc/fpu/s_fma.S: New file.
28890 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28891 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28892 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28894 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28897 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28900 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28901 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28902 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28903 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28904 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28907 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28910 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28911 * posix/bug-regex31.input: Add test case.
28913 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28915 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28916 * posix/bug-regex31.input: New file.
28919 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28920 (parse_sub_exp): Fix last change, use postorder.
28922 * posix/bug-regex31.c: New file.
28923 * posix/Makefile: Add rules to build and run bug-regex31.
28925 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28928 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28931 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28932 to have entries in sys_siglist.
28935 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28938 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28941 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28942 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28943 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28944 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28945 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28946 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28947 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28948 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28949 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28950 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28951 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28952 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28953 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28954 * math/ftestexcept.c (fetestexcept): Likewise.
28955 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28956 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28957 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28958 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28959 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28960 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28963 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28966 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28969 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28971 * string/bug-strstr1.c: New file.
28972 * string/Makefile: Add rules to build and run bug-strstr1.
28974 2010-10-05 Eric Blake <eblake@redhat.com>
28977 * string/str-two-way.h (two_way_long_needle): Always clear memory
28978 when skipping input due to the shift table.
28980 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28983 * malloc/mcheck.c: Handle large requests.
28986 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28987 for strncmp and strncasecmp.
28988 * string/stratcliff.c: Add tests for strcmp and strncmp.
28989 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28991 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28993 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28996 2010-09-30 Andreas Jaeger <aj@suse.de>
28998 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28999 (CGROUP_SUPER_MAGIC): Define.
29000 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29001 Handle btrfs and cgroup file systems.
29002 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29005 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
29007 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29008 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29010 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29013 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29014 trying to locate the ELF header.
29016 2010-09-27 Andreas Schwab <schwab@redhat.com>
29019 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29020 Mask out sign-bit copies when constructing f_fsid.
29022 2010-09-24 Petr Baudis <pasky@suse.cz>
29024 * debug/stack_chk_fail_local.c: Add missing licence exception.
29025 * debug/warning-nop.c: Likewise.
29027 2010-09-15 Joseph Myers <joseph@codesourcery.com>
29029 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29030 implementing getdents64 using getdents syscall, set d_type if
29031 __ASSUME_GETDENTS32_D_TYPE.
29033 2010-09-16 Andreas Schwab <schwab@redhat.com>
29035 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29036 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29038 2010-09-21 Ulrich Drepper <drepper@redhat.com>
29041 * posix/unistd.h: Undo change of feature selection for ftruncate from
29044 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29046 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29049 2010-09-20 Andreas Schwab <schwab@redhat.com>
29051 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29053 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29055 2010-09-14 Andreas Schwab <schwab@redhat.com>
29057 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29058 variables after CHECK_SP call.
29059 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29061 2010-09-13 Andreas Schwab <schwab@redhat.com>
29062 Ulrich Drepper <drepper@redhat.com>
29064 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29065 re-relocationg ld.so.
29066 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29067 _dl_init_paths call.
29068 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29071 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29073 * resolv/res_init.c (__res_vinit): Count the default server we added.
29075 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29076 Ulrich Drepper <drepper@redhat.com>
29079 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29080 (____longjmp_chk): Use %ebx for saving value across system call.
29083 2010-09-06 Andreas Schwab <schwab@redhat.com>
29085 * manual/Makefile: Don't mix pattern rules with normal rules.
29087 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29089 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29091 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29092 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29093 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29094 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29098 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29101 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29102 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29104 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29106 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29107 * sysdeps/x86_64/addmul_1.S: Likewise.
29108 * sysdeps/x86_64/lshift.S: Likewise.
29109 * sysdeps/x86_64/mul_1.S: Likewise.
29110 * sysdeps/x86_64/rshift.S: Likewise.
29111 * sysdeps/x86_64/sub_n.S: Likewise.
29112 * sysdeps/x86_64/submul_1.S: Likewise.
29114 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29116 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29117 Define __sched_param instead of SCHED_* and sched_param when
29118 <bits/sched.h> is included with __need_schedparam defined.
29119 * bits/sched.h [__need_schedparam]
29120 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29121 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29122 (__defined_schedparam): Define to 1.
29123 (__sched_param): New structure, identical to sched_param.
29124 (__need_schedparam): Undefine.
29126 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29129 (epoll_create1): Declare.
29131 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29133 2010-08-31 Andreas Schwab <schwab@redhat.com>
29136 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29137 shifting retval into place.
29139 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29141 * nis/rpcsvc/nis.h: Update copyright notice.
29142 * nis/rpcsvc/nis.x: Likewise.
29143 * nis/rpcsvc/nis_callback.h: Likewise.
29144 * nis/rpcsvc/nis_callback.x: Likewise.
29145 * nis/rpcsvc/nis_object.x: Likewise.
29146 * nis/rpcsvc/nis_tags.h: Likewise.
29147 * nis/rpcsvc/yp.h: Likewise.
29148 * nis/rpcsvc/yp.x: Likewise.
29149 * nis/rpcsvc/ypupd.h: Likewise.
29150 * nis/yp_xdr.c: Likewise.
29151 * nis/ypupdate_xdr.c: Likewise.
29153 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29154 mainly the body of pmap_getport. Add parameters to specify timeouts.
29155 (pmap_getport): Use __libc_rpc_getport.
29156 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29157 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29158 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29160 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29165 2010-08-27 Roland McGrath <roland@redhat.com>
29167 * sysdeps/i386/i686/multiarch/Makefile
29168 (CFLAGS-varshift.c): New variable.
29170 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29172 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29173 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29177 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29179 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29181 * sysdeps/x86_64/strlen.S: Unroll the loop.
29182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29183 strlen-sse2 strlen-sse2-bsf.
29184 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29185 __strlen_no_bsf if bit_Slow_BSF is set.
29186 (__strlen_sse42): Removed.
29187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29188 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29190 2010-08-25 Roland McGrath <roland@redhat.com>
29192 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29193 * sysdeps/x86_64/multiarch/varshift.c: New file.
29194 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29195 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29196 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29197 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29199 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29202 strlen-sse2 strlen-sse2-bsf.
29203 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29204 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29205 (__strlen_sse2): Removed.
29206 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29209 bit_Slow_BSF for Atom.
29210 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29211 (index_Slow_BSF): Define.
29212 (HAS_SLOW_BSF): Define.
29214 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29217 * resolv/res_init.c (__res_vinit): When no server address at all
29218 is given default to loopback.
29220 2010-08-24 Roland McGrath <roland@redhat.com>
29222 * configure.in: Remove config-name.h generation.
29223 * configure: Regenerated.
29224 * config-name.in: File removed.
29225 * scripts/config-uname.sh: New file.
29226 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29227 ($(objdir)config-name.h): New target.
29229 * sunrpc/rpc_parse.h: Avoid nested comment.
29231 2010-08-24 Richard Henderson <rth@redhat.com>
29232 Ulrich Drepper <drepper@redhat.com>
29233 H.J. Lu <hongjiu.lu@intel.com>
29235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29237 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29238 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29239 _mm_alignr_epi8 with _mm_loadu_si128.
29240 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29241 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29242 (__m128i_shift_right): Removed.
29243 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29244 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29245 * sysdeps/x86_64/multiarch/varshift.h: New file.
29246 * sysdeps/x86_64/multiarch/varshift.S: New file.
29248 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29250 * configure.in: Move assembler checks to before sysdep dir checking.
29252 2010-08-20 Petr Baudis <pasky@suse.cz>
29254 * LICENSES: Sync the sunrpc license.
29256 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29258 * sunrpc/auth_des.c: Update copyright notice once again.
29259 * sunrpc/auth_none.c: Likewise.
29260 * sunrpc/auth_unix.c: Likewise.
29261 * sunrpc/authdes_prot.c: Likewise.
29262 * sunrpc/authuxprot.c: Likewise.
29263 * sunrpc/bindrsvprt.c: Likewise.
29264 * sunrpc/clnt_gen.c: Likewise.
29265 * sunrpc/clnt_perr.c: Likewise.
29266 * sunrpc/clnt_raw.c: Likewise.
29267 * sunrpc/clnt_simp.c: Likewise.
29268 * sunrpc/clnt_tcp.c: Likewise.
29269 * sunrpc/clnt_udp.c: Likewise.
29270 * sunrpc/clnt_unix.c: Likewise.
29271 * sunrpc/des_crypt.c: Likewise.
29272 * sunrpc/des_soft.c: Likewise.
29273 * sunrpc/get_myaddr.c: Likewise.
29274 * sunrpc/getrpcport.c: Likewise.
29275 * sunrpc/key_call.c: Likewise.
29276 * sunrpc/key_prot.c: Likewise.
29277 * sunrpc/openchild.c: Likewise.
29278 * sunrpc/pm_getmaps.c: Likewise.
29279 * sunrpc/pm_getport.c: Likewise.
29280 * sunrpc/pmap_clnt.c: Likewise.
29281 * sunrpc/pmap_prot.c: Likewise.
29282 * sunrpc/pmap_prot2.c: Likewise.
29283 * sunrpc/pmap_rmt.c: Likewise.
29284 * sunrpc/rpc/auth.h: Likewise.
29285 * sunrpc/rpc/auth_unix.h: Likewise.
29286 * sunrpc/rpc/clnt.h: Likewise.
29287 * sunrpc/rpc/des_crypt.h: Likewise.
29288 * sunrpc/rpc/key_prot.h: Likewise.
29289 * sunrpc/rpc/netdb.h: Likewise.
29290 * sunrpc/rpc/pmap_clnt.h: Likewise.
29291 * sunrpc/rpc/pmap_prot.h: Likewise.
29292 * sunrpc/rpc/pmap_rmt.h: Likewise.
29293 * sunrpc/rpc/rpc.h: Likewise.
29294 * sunrpc/rpc/rpc_des.h: Likewise.
29295 * sunrpc/rpc/rpc_msg.h: Likewise.
29296 * sunrpc/rpc/svc.h: Likewise.
29297 * sunrpc/rpc/svc_auth.h: Likewise.
29298 * sunrpc/rpc/types.h: Likewise.
29299 * sunrpc/rpc/xdr.h: Likewise.
29300 * sunrpc/rpc_clntout.c: Likewise.
29301 * sunrpc/rpc_cmsg.c: Likewise.
29302 * sunrpc/rpc_common.c: Likewise.
29303 * sunrpc/rpc_cout.c: Likewise.
29304 * sunrpc/rpc_dtable.c: Likewise.
29305 * sunrpc/rpc_hout.c: Likewise.
29306 * sunrpc/rpc_main.c: Likewise.
29307 * sunrpc/rpc_parse.c: Likewise.
29308 * sunrpc/rpc_parse.h: Likewise.
29309 * sunrpc/rpc_prot.c: Likewise.
29310 * sunrpc/rpc_sample.c: Likewise.
29311 * sunrpc/rpc_scan.c: Likewise.
29312 * sunrpc/rpc_scan.h: Likewise.
29313 * sunrpc/rpc_svcout.c: Likewise.
29314 * sunrpc/rpc_tblout.c: Likewise.
29315 * sunrpc/rpc_util.c: Likewise.
29316 * sunrpc/rpc_util.h: Likewise.
29317 * sunrpc/rpcinfo.c: Likewise.
29318 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29319 * sunrpc/rpcsvc/key_prot.x: Likewise.
29320 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29321 * sunrpc/rpcsvc/mount.x: Likewise.
29322 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29323 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29324 * sunrpc/rpcsvc/rex.x: Likewise.
29325 * sunrpc/rpcsvc/rstat.x: Likewise.
29326 * sunrpc/rpcsvc/rusers.x: Likewise.
29327 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29328 * sunrpc/rpcsvc/spray.x: Likewise.
29329 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29330 * sunrpc/rtime.c: Likewise.
29331 * sunrpc/svc.c: Likewise.
29332 * sunrpc/svc_auth.c: Likewise.
29333 * sunrpc/svc_authux.c: Likewise.
29334 * sunrpc/svc_raw.c: Likewise.
29335 * sunrpc/svc_run.c: Likewise.
29336 * sunrpc/svc_simple.c: Likewise.
29337 * sunrpc/svc_tcp.c: Likewise.
29338 * sunrpc/svc_udp.c: Likewise.
29339 * sunrpc/svc_unix.c: Likewise.
29340 * sunrpc/svcauth_des.c: Likewise.
29341 * sunrpc/xcrypt.c: Likewise.
29342 * sunrpc/xdr.c: Likewise.
29343 * sunrpc/xdr_array.c: Likewise.
29344 * sunrpc/xdr_float.c: Likewise.
29345 * sunrpc/xdr_mem.c: Likewise.
29346 * sunrpc/xdr_rec.c: Likewise.
29347 * sunrpc/xdr_ref.c: Likewise.
29348 * sunrpc/xdr_sizeof.c: Likewise.
29349 * sunrpc/xdr_stdio.c: Likewise.
29351 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29354 2010-08-19 Andreas Schwab <schwab@redhat.com>
29356 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29358 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29360 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29361 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29362 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29363 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29364 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29365 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29366 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29367 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29368 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29369 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29370 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29371 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29372 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29373 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29375 2010-07-26 Anton Blanchard <anton@samba.org>
29377 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29378 * malloc/arena.c (heap_trim): Likewise.
29380 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29382 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29385 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29387 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29389 * sysdeps/i386/elf/Makefile: New file.
29391 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29393 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29394 from fanotify_init.
29395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29398 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29400 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29402 * sysdeps/multiarch/strcmp.S: Likewise.
29404 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29406 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29407 strncase_l-nonascii.
29408 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29409 Add strncase_l-ssse3.
29410 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29411 * sysdeps/x86_64/strcmp.S: Likewise.
29412 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29413 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29414 * sysdeps/x86_64/strncase.S: New file.
29415 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29416 * sysdeps/x86_64/strncase_l.S: New file.
29417 * string/Makefile (strop-tests): Add strncasecmp.
29418 * string/test-strncasecmp.c: New file.
29420 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29423 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29424 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29426 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29428 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29430 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29432 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29433 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29436 2010-05-01 Alan Modra <amodra@gmail.com>
29438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29439 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29440 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29441 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29442 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29443 tidying. Don't tail-call __sigjmp_save for static lib.
29444 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29446 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29447 (CALL_MCOUNT): Add eh info, and nop after bl.
29448 (TAIL_CALL_SYSCALL_ERROR): New macro.
29449 (PSEUDO_RET): Use it.
29450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29451 Correct save location of integer regs and cr.
29452 (_dl_profile_resolve): Correct cr save location. Delete nops
29453 after bl when SHARED. Reduce cfi size a little by better
29454 placement of cfi directives.
29455 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29456 make a stack frame. Instead use parm save area as a temp.
29457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29458 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29460 Don't make a stack frame for parent, use parm save area.
29461 Increase child stack frame to 112 bytes. Don't save unused reg,
29462 and adjust reg usage. Set up cfi on error recovery and
29463 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29465 (__makecontext): Add dummy nop after jump to exit.
29466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29467 Use correct parm save area and cr save, reduce stack frame.
29468 Correct cfi for possible PSEUDO_RET frame setup.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29470 Branch to local label emitted by PSEUDO_RET rather than
29473 2010-08-12 Andreas Schwab <schwab@redhat.com>
29476 * locale/programs/locale.c (print_assignment): New function.
29477 (show_locale_vars): Use it.
29479 2010-08-11 Ulrich Drepper <drepper@redhat.com>
29481 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29483 (struct statfs64): Likewise.
29484 (_STATFS_F_FLAGS): Define.
29485 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29487 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29488 (ST_VALID): Define locally.
29489 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29490 __statvfs_getflags, use the provided value.
29491 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29492 __ASSUME_STATFS_F_FLAGS.
29494 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29496 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29497 Add sys/fanotify.h.
29498 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29499 fanotify_mask for GLIBC_2.13.
29500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29501 fanotify_init and fanotify_mark.
29502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29503 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29505 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29507 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29508 prlimit64 for GLIBC_2.13.
29509 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29515 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29516 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29519 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29522 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29523 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29525 * nss/Makefile: Add rules to build and run tst-nss-test1.
29526 * shlib-versions: Add entry for libnss_test1.
29527 * nss/nss_test1.c: New file.
29528 * nss/tst-nss-test1.c: New file.
29530 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29531 (__nss_configure_lookup): Set appropriate entry in
29532 __nss_configure_lookup to true.
29533 * nss/nsswitch.h: Define enum with indeces of databases in
29534 databases and __nss_database_custom arrays. Declare
29535 __nss_database_custom.
29536 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29537 to avoid using nscd when custom rules are installed.
29538 * nss/getXXbyYY_r.c: Likewise.
29539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29541 * nss/nss_files/files-parse.c: Whitespace fixes.
29543 2010-08-09 Ulrich Drepper <drepper@redhat.com>
29546 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29547 * posix/fnmatch_loop.c: Likewise.
29549 2010-07-17 Andi Kleen <ak@linux.intel.com>
29551 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29552 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29553 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29554 * Versions.def [GLIBC_2.13]: Add.
29556 2010-08-06 Ulrich Drepper <drepper@redhat.com>
29558 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29559 Also fail if tpwd after pwuid call is NULL.
29561 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29563 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29564 when converting to ms.
29566 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29568 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29569 EOPNOTSUPP errors with ENOTTY.
29570 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29571 EOPNOTSUPP errors with ENOTTY.
29573 2010-07-31 Ulrich Drepper <drepper@redhat.com>
29575 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29576 Add strcasecmp_l-ssse3.
29577 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29579 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29580 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29581 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29583 2010-07-30 Ulrich Drepper <drepper@redhat.com>
29585 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29587 * string/Makefile (strop-tests): Add strcasecmp.
29588 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29589 strcasecmp_l-nonascii.
29590 (gen-as-const-headers): Add locale-defines.sym.
29591 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29592 * sysdeps/x86_64/strcasecmp.S: New file.
29593 * sysdeps/x86_64/strcasecmp_l.S: New file.
29594 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29595 * sysdeps/x86_64/locale-defines.sym: New file.
29596 * string/test-strcasecmp.c: New file.
29598 * string/test-strcasestr.c: Test both ends of the range of characters.
29599 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29601 2010-07-29 Roland McGrath <roland@redhat.com>
29604 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29606 2010-07-27 Ulrich Drepper <drepper@redhat.com>
29608 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29611 2010-07-27 Andreas Schwab <schwab@redhat.com>
29613 * manual/memory.texi (Malloc Tunable Parameters): Document
29616 2010-07-26 Roland McGrath <roland@redhat.com>
29619 * configure.in (-fgnu89-inline check): Set and substitute
29620 gnu89_inline, not libc_cv_gnu89_inline.
29621 * configure: Regenerated.
29622 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29624 2010-07-26 Ulrich Drepper <drepper@redhat.com>
29626 * string/test-strnlen.c: New file.
29627 * string/Makefile (strop-tests): Add strnlen.
29628 * string/tester.c (test_strnlen): Add a few more test cases.
29629 * string/tst-strlen.c: Better error reporting.
29631 * sysdeps/x86_64/strnlen.S: New file.
29633 2010-07-24 Ulrich Drepper <drepper@redhat.com>
29635 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29636 lower-latency instructions.
29638 2010-07-23 Ulrich Drepper <drepper@redhat.com>
29640 * string/test-strcasestr.c: New file.
29641 * string/test-strstr.c: New file.
29642 * string/Makefile (strop-tests): Add strstr and strcasestr.
29643 * string/str-two-way.h: Don't undefine MAX.
29644 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29646 2010-07-21 Andreas Schwab <schwab@redhat.com>
29648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29649 strcasestr-nonascii.
29650 (CFLAGS-strcasestr-nonascii.c): Define.
29651 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29653 Remove unused attribute.
29655 2010-07-20 Roland McGrath <roland@redhat.com>
29657 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29658 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29659 ld.so.cache was broken. With it, there is no way to disable dsocaps
29660 like LD_HWCAP_MASK can disable hwcaps.
29662 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29664 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29666 2010-07-16 Ulrich Drepper <drepper@redhat.com>
29668 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29669 call in strcasestr.
29670 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29671 __strcasestr_sse42_nonascii.
29672 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29673 strcasestr-nonascii.c.
29674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29676 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
29678 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29679 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29680 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29681 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29683 2010-07-09 Ulrich Drepper <drepper@redhat.com>
29685 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29688 2010-07-06 Andreas Schwab <schwab@redhat.com>
29691 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29694 2010-07-06 Ulrich Drepper <drepper@redhat.com>
29696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29697 _PC_PIPE_BUF using F_GETPIPE_SZ.
29699 2010-07-05 Roland McGrath <roland@redhat.com>
29701 * manual/arith.texi (Rounding Functions): Fix rint description
29702 implicit in round description.
29704 2010-07-02 Ulrich Drepper <drepper@redhat.com>
29706 * elf/Makefile: Fix linking for a few tests to make recent linker
29709 2010-06-30 Andreas Schwab <schwab@redhat.com>
29711 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29712 $(common-objpfx)libc_nonshared.a.
29714 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
29716 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29717 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29718 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29719 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29720 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29721 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29722 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29723 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29738 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29739 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29740 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29741 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29742 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29743 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29744 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29745 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29746 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29747 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29748 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29749 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29765 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29767 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29768 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29769 * string/memmove.c (memmove): Renamed to ...
29770 (MEMMOVE): ...this. Default to memmove.
29771 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29772 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29775 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29776 mempcpy-ssse3-back memmove-ssse3-back.
29777 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29778 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29780 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29781 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29782 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29783 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29784 * sysdeps/x86_64/multiarch/memmove.c: New file.
29785 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29786 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29787 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29788 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29789 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29792 (index_Fast_Copy_Backward): Define.
29793 (HAS_ARCH_FEATURE): Define.
29794 (HAS_FAST_REP_STRING): Define.
29795 (HAS_FAST_COPY_BACKWARD): Define.
29797 2010-06-21 Andreas Schwab <schwab@redhat.com>
29799 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29800 Restore proper fallback handling.
29802 2010-06-19 Ulrich Drepper <drepper@redhat.com>
29805 * posix/group_member.c (__group_member): Correct checking loop.
29807 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29808 OOM in getpwuid_r correctly. Return error number when the caller
29809 should return, otherwise -1.
29810 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29811 call returning > 0 value.
29812 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29814 2010-06-07 Andreas Schwab <schwab@redhat.com>
29816 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29817 libc_nonshared.a from targets in modules-names.
29819 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29821 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29824 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
29826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29827 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29828 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29829 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29831 2010-06-02 Andreas Schwab <schwab@redhat.com>
29833 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29835 2010-06-14 Ulrich Drepper <drepper@redhat.com>
29837 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29846 2010-06-14 Roland McGrath <roland@redhat.com>
29848 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29850 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29852 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29853 __REDIRECT followed by __THROW.
29854 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29855 * posix/getopt.h (getopt): Likewise.
29857 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29859 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29860 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29861 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29863 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29864 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29866 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29870 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29874 Properly check family and model.
29876 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29878 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29880 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29882 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29884 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29886 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29889 2010-05-19 Andreas Schwab <schwab@redhat.com>
29891 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29894 2010-05-21 Andreas Schwab <schwab@redhat.com>
29896 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29897 and internal_recvmmsg.
29898 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29899 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29900 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29901 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29903 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29904 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29905 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29907 2010-05-20 Andreas Schwab <schwab@redhat.com>
29909 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29911 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29913 POWER7 optimizations.
29914 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29915 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29917 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29919 * version.h: Update for 2.13 development version.
29921 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29923 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29924 exceptions. Return 0.
29926 2010-05-07 Roland McGrath <roland@redhat.com>
29928 * elf/ldconfig.c (main): Add a const.
29930 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29932 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29933 (args_options): Add no-idn option.
29934 (ahosts_keys_int): Add idn_flags to ai_flags.
29935 (parse_option): Handle 'i' option to clear idn_flags.
29937 * malloc/malloc.c (_int_free): Possible race in the most recently
29938 added check. Only act on the data if no current modification
29941 See ChangeLog.17 for earlier changes.