]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add benchmark inputs for math functions
[thirdparty/glibc.git] / ChangeLog
CommitLineData
051063c8
SP
12013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4 tanh, asinh, acosh, atanh.
5 * benchtests/acos-inputs: New file.
6 * benchtests/acosh-inputs: New file.
7 * benchtests/asin-inputs: New file.
8 * benchtests/asinh-inputs: New file.
9 * benchtests/atanh-inputs: New file.
10 * benchtests/cosh-inputs: New file.
11 * benchtests/log-inputs: New file.
12 * benchtests/sinh-inputs: New file.
13 * benchtests/tanh-inputs: New file.
14
47c22455
DL
152013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16
17 [BZ #15339]
18 * posix/tst-getaddrinfo4.c: New test.
19 * posix/Makefile (tests): Add it.
20
3d04f5db
SP
212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22
23 [BZ #15339]
24 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25 when no services were used.
26 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28
d5dd6189
AS
292013-05-21 Andreas Schwab <schwab@suse.de>
30
31 [BZ #15014]
32 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34 successful.
35 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36 redundant variable declarations and reallocation of buffer when
37 parsing as IPv6 address. Always set NSS status when called from
38 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
39 buffer too small. Correct computation of needed size.
40 * nss/Makefile (tests): Add test-digits-dots.
41 * nss/test-digits-dots.c: New test.
42
fef94eab
SP
432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44
45 * benchtests/Makefile: Remove instructions for adding
46 benchmark tests.
47 * benchtests/README: New file to explain how to execute and
48 enhance the benchmark tests.
49
e39adf43
AS
502013-05-21 Andreas Schwab <schwab@suse.de>
51
52 [BZ #15493]
53 * setjmp/Makefile (tests): Add tst-sigsetjmp.
54 * setjmp/tst-sigsetjmp.c: New test.
55
b2b671b6
OB
562013-05-20 Ondřej Bílka <neleai@seznam.cz>
57
58 * sysdeps/x86_64/memset.S (memset): New implementation.
59 (__bzero): Likewise.
60 (__memset_tail): New function.
61
2d48b41c
OB
622013-05-20 Ondřej Bílka <neleai@seznam.cz>
63
64 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66 __memcpy_sse2_unaligned ifunc selection.
67 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68 Add memcpy-sse2-unaligned.S.
69 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
70 Add: __memcpy_sse2_unaligned.
71
f16cc3eb
JM
722013-05-19 Joseph Myers <joseph@codesourcery.com>
73
3e694268
JM
74 [BZ #15490]
75 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
76 math_force_eval before restoring floating-point envrionment.
77 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
78 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
79 Likewise.
80 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
81 <math_private.h>.
82 (__nearbyintl): Use math_force_eval before restoring
83 floating-point environment.
84 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
85
db62a907
JM
86 * math/gen-libm-test.pl (special_functions): Remove.
87 (parse_args): Don't handle TEST_extra. Handle functions with no
88 return value.
89 * math/libm-test.inc (struct test_sincos_data): Replace with
90 struct test_fFF_11_data.
91 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
92 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
93 (sincos_test_data): Change element type to struct
94 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
95 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
96 RUN_TEST_LOOP_sincos.
97 * math/README.libm-test: Don't mention special handling of
98 individual functions.
99 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
100 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
101 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
102 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
103 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
105
f16cc3eb
JM
106 * math/gen-libm-test.pl (get_variable): Remove function.
107 (parse_args): Don't show pointer parameters to call in test
108 names. Use "extra output N" in test names for extra outputs
109 rather than naming variables.
110
3779b5b6
JM
1112013-05-18 Joseph Myers <joseph@codesourcery.com>
112
2ee094ff
JM
113 [BZ #15488]
114 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
115 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
116 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
117 double tests.
118 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
119 disable.
120 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
121 check_long_double.
122
3779b5b6
JM
123 * math/gen-libm-test.pl (@tests): Remove variable.
124 ($count): Likewise.
125 (new_test): Remove function.
126 (show_exceptions): New function.
127 (special_functions): Use show_exceptions instead of new_test.
128 (parse_args): Likewise.
129 (generate_testfile): Pass only function name in generated call to
130 print_max_error or print_complex_max_error.
131 (get_ulps): Do not handle complex tests specially.
132 (output_test): Rename to ...
133 (get_all_ulps_for_test): ... this. Return a string rather than
134 printing to a file. Require ulps to be present.
135 (output_ulps): Generate arrays rather than #defines.
136 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
137 (struct ulp_data): New type.
138 (BUILD_COMPLEX_ULP): Remove macro.
139 (compare_ulp_data): New function.
140 (find_ulps): Likewise.
141 (find_test_ulps): Likewise.
142 (find_function_ulps): Likewise.
143 (find_complex_function_ulps): Likewise.
144 (print_max_error): Determine allowed ulps using
145 find_function_ulps.
146 (print_complex_max_error): Determine allowed ulps using
147 find_complex_function_ulps.
148 (check_float_internal): Determine max ulps using find_test_ulps.
149 (check_float): Do not take max_ulp parameter. Update call to
150 check_float_internal.
151 (check_complex): Likewise.
152 (check_int): Do not take max_ulp parameter.
153 (check_long): Likewise.
154 (check_bool): Likewise.
155 (check_longlong): Likewise.
156 (struct test_f_f_data): Remove max_ulp field.
157 (struct test_ff_f_data): Likewise.
158 (struct test_ff_f_data_nexttoward): Likewise.
159 (struct test_fi_f_data): Likewise.
160 (struct test_fl_f_data): Likewise.
161 (struct test_if_f_data): Likewise.
162 (struct test_fff_f_data): Likewise.
163 (struct test_c_f_data): Likewise.
164 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
165 (struct test_fF_f1_data): Likewise.
166 (struct test_ffI_f1_data): Likewise.
167 (struct test_c_c_data): Remove max_ulp field.
168 (struct test_cc_c_data): Likewise.
169 (struct test_f_i_data): Likewise.
170 (struct test_ff_i_data): Likewise.
171 (struct test_f_l_data): Likewise.
172 (struct test_f_L_data): Likewise.
173 (struct test_sincos_data): Likewise.
174 (RUN_TEST_f_f): Do not handle ulps.
175 (RUN_TEST_LOOP_f_f): Likewise.
176 (RUN_TEST_2_f): Likewise.
177 (RUN_TEST_LOOP_2_f): Likewise.
178 (RUN_TEST_fff_f): Likewise.
179 (RUN_TEST_LOOP_fff_f): Likewise.
180 (RUN_TEST_c_f): Likewise.
181 (RUN_TEST_LOOP_c_f): Likewise.
182 (RUN_TEST_f_f1): Likewise.
183 (RUN_TEST_LOOP_f_f1): Likewise.
184 (RUN_TEST_fF_f1): Likewise.
185 (RUN_TEST_LOOP_fF_f1): Likewise.
186 (RUN_TEST_fI_f1): Likewise.
187 (RUN_TEST_LOOP_fI_f1): Likewise.
188 (RUN_TEST_ffI_f1): Likewise.
189 (RUN_TEST_LOOP_ffI_f1): Likewise.
190 (RUN_TEST_c_c): Likewise.
191 (RUN_TEST_LOOP_c_c): Likewise.
192 (RUN_TEST_cc_c): Likewise.
193 (RUN_TEST_LOOP_cc_c): Likewise.
194 (RUN_TEST_f_i): Likewise.
195 (RUN_TEST_LOOP_f_i): Likewise.
196 (RUN_TEST_f_i_tg): Likewise.
197 (RUN_TEST_LOOP_f_i_tg): Likewise.
198 (RUN_TEST_ff_i_tg): Likewise.
199 (RUN_TEST_LOOP_ff_i_tg): Likewise.
200 (RUN_TEST_f_b): Likewise.
201 (RUN_TEST_LOOP_f_b): Likewise.
202 (RUN_TEST_f_b_tg): Likewise.
203 (RUN_TEST_LOOP_f_b_tg): Likewise.
204 (RUN_TEST_f_l): Likewise.
205 (RUN_TEST_LOOP_f_l): Likewise.
206 (RUN_TEST_f_L): Likewise.
207 (RUN_TEST_LOOP_f_L): Likewise.
208 (RUN_TEST_sincos): Likewise.
209 (RUN_TEST_LOOP_sincos): Likewise.
210
8269107f
JM
2112013-05-17 Joseph Myers <joseph@codesourcery.com>
212
bb38759d
JM
213 [BZ #15480]
214 [BZ #15485]
215 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
216 main case of finite arguments, set rounding mode to FE_TONEAREST
217 and discard exceptions.
218 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
219 exceptions.
220 (remainder_tonearest_test_data): New variable.
221 (remainder_test_tonearest): New function.
222 (remainder_towardzero_test_data): New variable.
223 (remainder_test_towardzero): New function.
224 (remainder_downward_test_data): New variable.
225 (remainder_test_downward): New function.
226 (remainder_upward_test_data): New variable.
227 (remainder_test_upward): New function.
228 (main): Call the new test functions.
229
a00bdcf0
JM
230 * math/libm-test.inc (struct test_f_f1_data): Remove field
231 extra_init.
232 (struct test_fF_f1_data): Likewise.
233 (struct test_ffI_f1_data): Likewise.
234 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
235 based on value of EXTRA_EXPECTED.
236 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
237 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
238 EXTRA_VAR based on value of EXTRA_EXPECTED.
239 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
240 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
241 EXTRA_VAR based on value of EXTRA_EXPECTED.
242 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
243 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
244 EXTRA_VAR based on value of EXTRA_EXPECTED.
245 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
246 * math/gen-libm-test.pl (parse_args): Don't output initializers
247 for extra output values.
248
de407f79
JM
249 * math/libm-test.inc (check_int): Expect result to be exactly
250 equal to expected value and do not handle ulps.
251 (check_long): Likewise.
252 (check_longlong): Likewise.
253
8269107f
JM
254 * math/libm-test.inc (ceil_test_data): Test for "inexact"
255 exceptions.
256 (cimag_test_data): Likewise.
257 (conj_test_data): Likewise.
258 (copysign_test_data): Likewise.
259 (cproj_test_data): Likewise.
260 (creal_test_data): Likewise.
261 (fabs_test_data): Likewise.
262 (fdim_test_data): Likewise.
263 (finite_test_data): Likewise.
264 (floor_test_data): Likewise.
265 (fmax_test_data): Likewise.
266 (fmin_test_data): Likewise.
267 (fmod_test_data): Likewise.
268 (fpclassify_test_data): Likewise.
269 (frexp_test_data): Likewise.
270 (ilogb_test_data): Likewise.
271 (isfinite_test_data): Likewise.
272 (isgreater_test_data): Likewise.
273 (isgreaterequal_test_data): Likewise.
274 (isinf_test_data): Likewise.
275 (isless_test_data): Likewise.
276 (islessequal_test_data): Likewise.
277 (islessgreater_test_data): Likewise.
278 (isnan_test_data): Likewise.
279 (isnormal_test_data): Likewise.
280 (issignaling_test_data): Likewise.
281 (isunordered_test_data): Likewise.
282 (ldexp_test_data): Likewise.
283 (lrint_test_data): Likewise.
284 (lrint_test_data) [TEST_FLOAT]: Disable one test.
285 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
286 (lrint_tonearest_test_data): Test for "inexact" exceptions.
287 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
288 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
289 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
290 test input.
291 (lrint_towardzero_test_data): Test for "inexact" exceptions.
292 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
293 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
294 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
295 that test input.
296 (lrint_downward_test_data): Test for "inexact" exceptions.
297 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
298 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
299 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
300 test input.
301 (lrint_upward_test_data): Test for "inexact" exceptions.
302 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
303 test input.
304 (llrint_test_data): Test for "inexact" exceptions.
305 (llrint_test_data) [TEST_FLOAT]: Disable one test.
306 (llrint_tonearest_test_data): Test for "inexact" exceptions.
307 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
308 (llrint_towardzero_test_data): Test for "inexact" exceptions.
309 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
310 (llrint_downward_test_data): Test for "inexact" exceptions.
311 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
312 (llrint_upward_test_data): Test for "inexact" exceptions.
313 (logb_test_data): Likewise.
314 (logb_downward_test_data): Likewise.
315 (nextafter_test_data): Likewise.
316 (nexttoward_test_data): Likewise.
317 (remainder_test_data): Likewise.
318 (remquo_test_data): Likewise.
319 (scalbn_test_data): Likewise.
320 (scalbln_test_data): Likewise.
321 (signbit_test_data): Likewise.
322 (sqrt_test_data): Likewise.
323 (significand_test_data): Likewise.
324
48a18de1
SP
3252013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 [BZ #15424]
328 * benchtests/bench-modf.c (struct args): Mark arg0 as
329 volatile.
330 * scripts/bench.pl: Mark members of struct args as volatile.
331
13d3b41a
AZ
3322013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
333
68191c1d 334 [BZ # 15497]
13d3b41a
AZ
335 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
336 negative infinity on POWER6 or lower.
337 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
338
2848b105
MR
3392013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
340
341 [BZ #15442]
342 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
343 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
344 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
345 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
346 (_FP_SETQNAN): New macro.
347 (_FP_SETQNAN_SEMIRAW): Likewise.
348 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
349 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
350 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
351 (FP_EXTEND): Use _FP_FRAC_SNANP.
352 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
353 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
354 into account.
355 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
356 New macro.
357 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
358 Likewise.
359
323e5cb7
JM
3602013-05-16 Joseph Myers <joseph@codesourcery.com>
361
c58b274f
JM
362 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
363 with DIVIDE_BY_ZERO_EXCEPTION.
364 (gamma_test_data): Likewise.
365 (lgamma_test_data): Likewise.
366 (log_test_data): Likewise.
367 (log10_test_data): Likewise.
368 (log2_test_data): Likewise.
369 (tgamma_test_data): Likewise.
370
0ab34904
JM
371 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
372 (acos_test_tonearest): Likewise.
373 (acos_test_towardzero): Likewise.
374 (acos_test_downward): Likewise.
375 (acos_test_upward): Likewise.
376 (acosh_test): Likewise.
377 (asin_test): Likewise.
378 (asin_test_tonearest): Likewise.
379 (asin_test_towardzero): Likewise.
380 (asin_test_downward): Likewise.
381 (asin_test_upward): Likewise.
382 (asinh_test): Likewise.
383 (atan_test): Likewise.
384 (atanh_test): Likewise.
385 (atan2_test): Likewise.
386 (cabs_test): Likewise.
387 (cacos_test): Likewise.
388 (cacosh_test): Likewise.
389 (casin_test): Likewise.
390 (casinh_test): Likewise.
391 (catan_test): Likewise.
392 (catanh_test): Likewise.
393 (cbrt_test): Likewise.
394 (ccos_test): Likewise.
395 (ccosh_test): Likewise.
396 (cexp_test): Likewise.
397 (clog_test): Likewise.
398 (clog10_test): Likewise.
399 (cos_test): Likewise.
400 (cos_test_tonearest): Likewise.
401 (cos_test_towardzero): Likewise.
402 (cos_test_downward): Likewise.
403 (cos_test_upward): Likewise.
404 (cosh_test): Likewise.
405 (cosh_test_tonearest): Likewise.
406 (cosh_test_towardzero): Likewise.
407 (cosh_test_downward): Likewise.
408 (cosh_test_upward): Likewise.
409 (cpow_test): Likewise.
410 (csin_test): Likewise.
411 (csinh_test): Likewise.
412 (csqrt_test): Likewise.
413 (ctan_test): Likewise.
414 (ctan_test_tonearest): Likewise.
415 (ctan_test_towardzero): Likewise.
416 (ctan_test_downward): Likewise.
417 (ctan_test_upward): Likewise.
418 (ctanh_test): Likewise.
419 (ctanh_test_tonearest): Likewise.
420 (ctanh_test_towardzero): Likewise.
421 (ctanh_test_downward): Likewise.
422 (ctanh_test_upward): Likewise.
423 (erf_test): Likewise.
424 (erfc_test): Likewise.
425 (exp_test): Likewise.
426 (exp_test_tonearest): Likewise.
427 (exp_test_towardzero): Likewise.
428 (exp_test_downward): Likewise.
429 (exp_test_upward): Likewise.
430 (exp10_test): Likewise.
431 (exp2_test): Likewise.
432 (expm1_test): Likewise.
433 (fmod_test): Likewise.
434 (gamma_test): Likewise.
435 (hypot_test): Likewise.
436 (j0_test): Likewise.
437 (j1_test): Likewise.
438 (jn_test): Likewise.
439 (lgamma_test): Likewise.
440 (log_test): Likewise.
441 (log10_test): Likewise.
442 (log1p_test): Likewise.
443 (log2_test): Likewise.
444 (logb_test_downward): Likewise.
445 (pow_test): Likewise.
446 (pow_test_tonearest): Likewise.
447 (pow_test_towardzero): Likewise.
448 (pow_test_downward): Likewise.
449 (pow_test_upward): Likewise.
450 (remainder_test): Likewise.
451 (remquo_test): Likewise.
452 (sin_test): Likewise.
453 (sin_test_tonearest): Likewise.
454 (sin_test_towardzero): Likewise.
455 (sin_test_downward): Likewise.
456 (sin_test_upward): Likewise.
457 (sincos_test): Likewise.
458 (sinh_test): Likewise.
459 (sinh_test_tonearest): Likewise.
460 (sinh_test_towardzero): Likewise.
461 (sinh_test_downward): Likewise.
462 (sinh_test_upward): Likewise.
463 (sqrt_test): Likewise.
464 (tan_test): Likewise.
465 (tan_test_tonearest): Likewise.
466 (tan_test_towardzero): Likewise.
467 (tan_test_downward): Likewise.
468 (tan_test_upward): Likewise.
469 (tanh_test): Likewise.
470 (tgamma_test): Likewise.
471 (y0_test): Likewise.
472 (y1_test): Likewise.
473 (yn_test): Likewise.
474
323e5cb7
JM
475 * math/gen-libm-test.pl (adjust_arg): Remove function.
476 (special_function): Remove argument $in_func. Only handle
477 generating output for tables of tests, not inside functions.
478 (parse_args): Likewise.
479 (generate_testfile): Remove variable $in_func. Update call to
480 parse_args.
481 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
482 (MINUS_ZERO_INIT): Rename macro to minus_zero.
483 (PLUS_INFTY_INIT): Rename macro to plus_infty.
484 (MINUS_INFTY_INIT): Rename macro to minus_infty.
485 (QNAN_VALUE_INIT): Rename macro to qnan_value.
486 (MAX_VALUE_INIT): Rename macro to max_value.
487 (MIN_VALUE_INIT): Rename macro to min_value.
488 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
489 (plus_zero): Remove variable.
490 (minus_zero): Likewise.
491 (plus_infty): Likewise.
492 (minus_infty): Likewise.
493 (qnan_value): Likewise.
494 (max_value): Likewise.
495 (min_value): Likewise.
496 (min_subnorm_value): Likewise.
497
e054f494
RA
4982013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
499
500 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
501 uint64_t or uint32_t usage.
502 * crypt/sha256-block.c: Likewise.
503 * crypt/sha256-crypt.c: Likewise.
504 * crypt/sha256.c: Likewise.
505 * crypt/sha512-block.c: Likewise.
506 * crypt/sha512-crypt.c: Likewise.
507 * crypt/sha512.c: Likewise.
508 * debug/backtrace-tst.c: Likewise.
509 * debug/pcprofiledump.c: Likewise.
510 * elf/cache.c: Likewise.
511 * elf/dl-cache.c: Likewise.
512 * elf/dl-misc.c: Likewise.
513 * elf/dl-profile.c: Likewise.
514 * elf/dl-support.c: Likewise.
515 * elf/ldconfig.c: Likewise.
516 * elf/sprof.c: Likewise.
517 * iconv/dummy-repertoire.c: Likewise.
518 * iconv/iconv_charmap.c: Likewise.
519 * iconv/skeleton.c: Likewise.
520 * iconvdata/8bit-generic.c: Likewise.
521 * iconvdata/cp737.h: Likewise.
522 * iconvdata/cp775.h: Likewise.
523 * iconvdata/ibm1008.h: Likewise.
524 * iconvdata/ibm1025.h: Likewise.
525 * iconvdata/ibm1046.h: Likewise.
526 * iconvdata/ibm1097.h: Likewise.
527 * iconvdata/ibm1112.h: Likewise.
528 * iconvdata/ibm1122.h: Likewise.
529 * iconvdata/ibm1123.h: Likewise.
530 * iconvdata/ibm1124.h: Likewise.
531 * iconvdata/ibm1129.h: Likewise.
532 * iconvdata/ibm1130.h: Likewise.
533 * iconvdata/ibm1132.h: Likewise.
534 * iconvdata/ibm1133.h: Likewise.
535 * iconvdata/ibm1137.h: Likewise.
536 * iconvdata/ibm1140.h: Likewise.
537 * iconvdata/ibm1141.h: Likewise.
538 * iconvdata/ibm1142.h: Likewise.
539 * iconvdata/ibm1143.h: Likewise.
540 * iconvdata/ibm1144.h: Likewise.
541 * iconvdata/ibm1145.h: Likewise.
542 * iconvdata/ibm1146.h: Likewise.
543 * iconvdata/ibm1147.h: Likewise.
544 * iconvdata/ibm1148.h: Likewise.
545 * iconvdata/ibm1149.h: Likewise.
546 * iconvdata/ibm1153.h: Likewise.
547 * iconvdata/ibm1154.h: Likewise.
548 * iconvdata/ibm1155.h: Likewise.
549 * iconvdata/ibm1156.h: Likewise.
550 * iconvdata/ibm1157.h: Likewise.
551 * iconvdata/ibm1158.h: Likewise.
552 * iconvdata/ibm1160.h: Likewise.
553 * iconvdata/ibm1161.h: Likewise.
554 * iconvdata/ibm1162.h: Likewise.
555 * iconvdata/ibm1163.h: Likewise.
556 * iconvdata/ibm1164.h: Likewise.
557 * iconvdata/ibm1166.h: Likewise.
558 * iconvdata/ibm1167.h: Likewise.
559 * iconvdata/ibm12712.h: Likewise.
560 * iconvdata/ibm1390.h: Likewise.
561 * iconvdata/ibm1399.h: Likewise.
562 * iconvdata/ibm16804.h: Likewise.
563 * iconvdata/ibm4517.h: Likewise.
564 * iconvdata/ibm4899.h: Likewise.
565 * iconvdata/ibm4909.h: Likewise.
566 * iconvdata/ibm4971.h: Likewise.
567 * iconvdata/ibm5347.h: Likewise.
568 * iconvdata/ibm803.h: Likewise.
569 * iconvdata/ibm856.h: Likewise.
570 * iconvdata/ibm901.h: Likewise.
571 * iconvdata/ibm902.h: Likewise.
572 * iconvdata/ibm9030.h: Likewise.
573 * iconvdata/ibm9066.h: Likewise.
574 * iconvdata/ibm921.h: Likewise.
575 * iconvdata/ibm922.h: Likewise.
576 * iconvdata/ibm9448.h: Likewise.
577 * iconvdata/isiri-3342.h: Likewise.
578 * iconvdata/jis0201.h: Likewise.
579 * include/link.h: Likewise.
580 * include/netdb.h: Likewise.
581 * inet/check_native.c: Likewise.
582 * inet/check_pf.c: Likewise.
583 * inet/getipv4sourcefilter.c: Likewise.
584 * inet/getnameinfo.c: Likewise.
585 * inet/getsourcefilter.c: Likewise.
586 * inet/htonl.c: Likewise.
587 * inet/setipv4sourcefilter.c: Likewise.
588 * inet/setsourcefilter.c: Likewise.
589 * inet/test-inet6_opt.c: Likewise.
590 * inet/tst-network.c: Likewise.
591 * locale/C-collate.c: Likewise.
592 * locale/C-ctype.c: Likewise.
593 * locale/C-time.c: Likewise.
594 * locale/C-translit.h: Likewise.
595 * locale/loadarchive.c: Likewise.
596 * locale/programs/3level.h: Likewise.
597 * locale/programs/charmap.c: Likewise.
598 * locale/programs/charmap.h: Likewise.
599 * locale/programs/ld-address.c: Likewise.
600 * locale/programs/ld-collate.c: Likewise.
601 * locale/programs/ld-ctype.c: Likewise.
602 * locale/programs/ld-identification.c: Likewise.
603 * locale/programs/ld-measurement.c: Likewise.
604 * locale/programs/ld-messages.c: Likewise.
605 * locale/programs/ld-monetary.c: Likewise.
606 * locale/programs/ld-name.c: Likewise.
607 * locale/programs/ld-numeric.c: Likewise.
608 * locale/programs/ld-paper.c: Likewise.
609 * locale/programs/ld-telephone.c: Likewise.
610 * locale/programs/ld-time.c: Likewise.
611 * locale/programs/linereader.c: Likewise.
612 * locale/programs/locale.c: Likewise.
613 * locale/programs/locarchive.c: Likewise.
614 * locale/programs/locfile.h: Likewise.
615 * locale/programs/repertoire.c: Likewise.
616 * locale/programs/simple-hash.c: Likewise.
617 * locale/programs/simple-hash.h: Likewise.
618 * malloc/memusage.c: Likewise.
619 * malloc/memusagestat.c: Likewise.
620 * nis/nis_defaults.c: Likewise.
621 * nis/nis_hash.c: Likewise.
622 * nis/nis_print.c: Likewise.
623 * nis/nis_xdr.c: Likewise.
624 * nscd/connections.c: Likewise.
625 * nscd/hstcache.c: Likewise.
626 * nscd/nscd_gethst_r.c: Likewise.
627 * nscd/nscd_getserv_r.c: Likewise.
628 * nscd/nscd_helper.c: Likewise.
629 * nscd/servicescache.c: Likewise.
630 * nss/makedb.c: Likewise.
631 * nss/nss_db/db-XXX.c: Likewise.
632 * nss/nss_db/db-initgroups.c: Likewise.
633 * nss/nss_db/db-netgrp.c: Likewise.
634 * nss/nss_files/files-network.c: Likewise.
635 * nss/nss_files/files-parse.c: Likewise.
636 * posix/bug-regex5.c: Likewise.
637 * posix/fnmatch_loop.c: Likewise.
638 * posix/regcomp.c: Likewise.
639 * posix/regexec.c: Likewise.
640 * posix/tst-rfc3484-2.c: Likewise.
641 * posix/tst-rfc3484-3.c: Likewise.
642 * posix/tst-rfc3484.c: Likewise.
643 * resolv/nss_dns/dns-canon.c: Likewise.
644 * resolv/nss_dns/dns-network.c: Likewise.
645 * resolv/res_init.c: Likewise.
646 * resolv/res_mkquery.c: Likewise.
647 * resolv/tst-aton.c: Likewise.
648 * stdlib/cxa_atexit.c: Likewise.
649 * stdlib/cxa_finalize.c: Likewise.
650 * stdlib/gen-fpioconst.c: Likewise.
651 * stdlib/strtol_l.c: Likewise.
652 * string/tst-endian.c: Likewise.
653 * sunrpc/auth_des.c: Likewise.
654 * sunrpc/clnt_udp.c: Likewise.
655 * sunrpc/rtime.c: Likewise.
656 * sunrpc/svcauth_des.c: Likewise.
657 * sunrpc/xdr.c: Likewise.
658 * sunrpc/xdr_intXX_t.c: Likewise.
659 * sunrpc/xdr_rec.c: Likewise.
660 * sysdeps/generic/ldconfig.h: Likewise.
661 * sysdeps/generic/ldsodefs.h: Likewise.
662 * sysdeps/generic/memusage.h: Likewise.
663 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
664 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
665 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
667 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
669 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
670 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
671 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
673 * sysdeps/posix/getaddrinfo.c: Likewise.
674 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
675 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
676 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
677 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
678 * sysdeps/powerpc/test-gettimebase.c: Likewise.
679 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
680 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
681 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
682 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
683 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
684 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
685 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
686 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
687 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
688 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
689 * sysdeps/x86_64/dl-tls.h: Likewise.
690 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
691 * time/alt_digit.c: Likewise.
692 * time/era.c: Likewise.
693 * wcsmbs/tst-c16c32-1.c: Likewise.
694
8c75f674
JM
6952013-05-16 Joseph Myers <joseph@codesourcery.com>
696
697 * math/libm-test.inc (struct test_sincos_data): New type.
698 (RUN_TEST_LOOP_sincos): New macro.
699 (sincos_test_data): New variable.
700 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
701
e6e49e59
RH
7022013-05-16 Richard Henderson <rth@redhat.com>
703
704 * math/atest-exp2.c (LIMB64): New macro.
705 (CONSTSZ): New macro.
706 (mp_exp1, mp_exp_m1, mp_log2): New variables.
707 (hexdig): Move ...
708 (print_mpn_fp): ... to function scope.
709 (read_mpn_hex): Remove.
710 (get_log2): Remove.
711 (exp2_mpn): Use mp_log2.
712 (main): Use mp_exp1.
713
15c7c18d
JM
7142013-05-16 Joseph Myers <joseph@codesourcery.com>
715
105a07df
JM
716 * math/libm-test.inc: Remove comment about not testing "inexact"
717 exceptions.
718 (INEXACT_EXCEPTION): New macro.
719 (NO_INEXACT_EXCEPTION): Likewise.
720 (INVALID_EXCEPTION_OK): Update value.
721 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
722 (OVERFLOW_EXCEPTION_OK): Likewise.
723 (UNDERFLOW_EXCEPTION_OK): Likewise.
724 (IGNORE_ZERO_INF_SIGN): Likewise.
725 (ERRNO_UNCHANGED): Likewise.
726 (ERRNO_EDOM): Likewise.
727 (ERRNO_ERANGE): Likewise.
728 (test_exceptions): Handle testing "inexact" exceptions.
729 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
730 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
731 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
732 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
733 INEXACT_EXCEPTION.
734 (rint_towardzero_test_data): Likewise.
735 (rint_downward_test_data): Likewise.
736 (rint_upward_test_data): Likewise.
737
e9eee333
JM
738 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
739 with OVERFLOW_EXCEPTION.
740 (exp10_test_data): Likewise.
741 (exp2_test_data): Likewise.
742 (expm1_test_data): Likewise.
743 (lgamma_test_data): Likewise.
744 (pow_test_data): Likewise.
745 (tgamma_test_data): Likewise.
746 (yn_test_data): Remove duplicate test of overflow.
747
1c38ff73
JM
748 * math/libm-test.inc (struct test_cc_c_data): New type.
749 (RUN_TEST_LOOP_cc_c): New macro.
750 (cpow_test_data): New variable.
751 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
752
15c7c18d
JM
753 * math/libm-test.inc (struct test_f_L_data): New type.
754 (RUN_TEST_LOOP_f_L): New macro.
755 (llrint_test_data): New variable.
756 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
757 (llrint_tonearest_test_data): New variable.
758 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
759 (llrint_towardzero_test_data): New variable.
760 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
761 (llrint_downward_test_data): New variable.
762 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
763 (llrint_upward_test_data): New variable.
764 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
765 (llround_test_data): New variable.
766 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
767
f137ff13
PC
7682013-05-13 Peter Collingbourne <pcc@google.com>
769
770 * math/atest-exp2.c (get_log2): Remove const attribute.
771
3608cb24
JM
7722013-05-15 Joseph Myers <joseph@codesourcery.com>
773
774 * math/libm-test.inc (struct test_f_l_data): New type.
775 (RUN_TEST_LOOP_f_l): New macro.
776 (lrint_test_data): New variable.
777 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
778 (lrint_tonearest_test_data): New variable.
779 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
780 (lrint_towardzero_test_data): New variable.
781 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
782 (lrint_downward_test_data): New variable.
783 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
784 (lrint_upward_test_data): New variable.
785 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
786 (lround_test_data): New variable.
787 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
788
39b1f617
PC
7892013-05-15 Peter Collingbourne <pcc@google.com>
790
1deff3dc
PC
791 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
792 (EXTRACT_WORDS64) Use where appropriate.
793 (INSERT_WORDS64) Likewise.
794
791f3ba0
PC
795 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
796 constraints with x constraints.
797 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
798
39b1f617
PC
799 * malloc/obstack.c (_obstack_compat): Add initializer.
800
12fba011
EM
8012013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
802
803 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
804 si_trapno and add si_addr_lsb to _sifields.sigfault.
805 (si_trapno): Remove macro.
806 (si_addr_lsb): Define new macro.
807 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
808
d369f531
JM
8092013-05-15 Joseph Myers <joseph@codesourcery.com>
810
b861c6c4
JM
811 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
812 instead of TEST_f_l.
813 (llrint_test_tonearest): Likewise.
814 (llrint_test_towardzero): Likewise.
815 (llrint_test_downward): Likewise.
816 (llrint_test_upward): Likewise.
817 (llround_test): Likewise.
818
7abeee12
JM
819 * math/libm-test.inc (struct test_f_i_data): Add comment.
820 (RUN_TEST_LOOP_f_b): New macro.
821 (RUN_TEST_LOOP_f_b_tg): Likewise.
822 (finite_test_data): New variable.
823 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
824 (isfinite_test_data): New variable.
825 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
826 (isinf_test_data): New variable.
827 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
828 (isnan_test_data): New variable.
829 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
830 (isnormal_test_data): New variable.
831 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
832 (issignaling_test_data): New variable.
833 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
834 (signbit_test_data): New variable.
835 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
836
cbe8c4d3
JM
837 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
838 with INVALID_EXCEPTION.
839 (acosh_test_data): Likewise.
840 (asin_test_data): Likewise.
841 (atanh_test_data): Likewise.
842 (fmod_test_data): Likewise.
843 (log_test_data): Likewise.
844 (log10_test_data): Likewise.
845 (log2_test_data): Likewise.
846 (pow_test_data): Likewise.
847 (sqrt_test_data): Likewise.
848 (y0_test_data): Likewise.
849 (y1_test_data): Likewise.
850 (yn_test_data): Likewise.
851
5575c0e5
JM
852 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
853 function contents.
854
d369f531
JM
855 * math/libm-test.inc (struct test_ff_i_data): New type.
856 (RUN_TEST_LOOP_ff_i_tg): New macro.
857 (isgreater_test_data): New variable.
858 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
859 (isgreaterequal_test_data): New variable.
860 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
861 (isless_test_data): New variable.
862 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
863 (islessequal_test_data): New variable.
864 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
865 (islessgreater_test_data): New variable.
866 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
867 (isunordered_test_data): New variable.
868 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
869
781fd748
DM
8702013-05-14 David S. Miller <davem@davemloft.net>
871
872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
873
87aa21df
JM
8742013-05-14 Joseph Myers <joseph@codesourcery.com>
875
5e908270
JM
876 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
877
f71172e5
JM
878 * math/libm-test.inc (struct test_fF_f1_data): Change type of
879 extra_test to int.
880 (struct test_f_i_data): Change type of max_ulp to int.
881
8cfa635a
JM
882 * math/libm-test.inc (test_ffI_f1_data): New type.
883 (RUN_TEST_LOOP_ffI_f1): New macro.
884 (remquo_test_data): New variable.
885 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
886
2bcb36b2
JM
887 * setjmp/tst-setjmp-fp.c: New file.
888 * setjmp/Makefile (tests): Add tst-setjmp-fp.
889 (link-libm): New variable.
890 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
891
acbd839a
JM
892 * math/libm-test.inc (struct test_f_i_data): New type.
893 (RUN_TEST_LOOP_f_i): New macro.
894 (RUN_TEST_LOOP_f_i_tg): Likewise.
895 (fpclassify_test_data): New variable.
896 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
897 (ilogb_test_data): New variable.
898 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
899
e414d745
JM
900 * math/libm-test.inc (scalbln_test): Correct function name in END
901 call.
902
d9c2a0fd
JM
903 * math/libm-test.inc (struct test_f_f1_data): Add comment.
904 (RUN_TEST_LOOP_fI_f1): New macro.
905 (frexp_test_data): New variable.
906 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
907
9dc9095d
JM
908 * math/libm-test.inc (struct test_fF_f1_data): New type.
909 (RUN_TEST_LOOP_fF_f1): New macro.
910 (modf_test_data): New variable.
911 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
912
87aa21df
JM
913 * math/libm-test.inc (struct test_f_f1_data): New type.
914 (RUN_TEST_LOOP_f_f1): New macro.
915 (gamma_test_data): New variable.
916 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
917 (lgamma_test_data): New variable.
918 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
919
141af660
CD
9202013-05-13 Carlos O'Donell <carlos@redhat.com>
921
922 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
923 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
924 (main): Comment "tls" pseudo-hwcap.
925
6d33265c
JM
9262013-05-13 Joseph Myers <joseph@codesourcery.com>
927
68fc074c
JM
928 * math/libm-test.inc (struct test_fl_f_data): New type.
929 (RUN_TEST_LOOP_fl_f): New variable.
930 (scalbln_test_data): New variable.
931 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
932
243216e1
JM
933 * math/libm-test.inc (struct test_fi_f_data): New type.
934 (RUN_TEST_LOOP_fi_f): New macro.
935 (ldexp_test_data): New variable.
936 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
937 (scalbn_test_data): New variable.
938 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
939
6a1992e2
JM
940 * math/libm-test.inc (struct test_c_f_data): New type.
941 (RUN_TEST_LOOP_c_f): New macro.
942 (cabs_test_data): New variable.
943 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
944 (carg_test_data): New variable.
945 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
946 (cimag_test_data): New variable.
947 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
948 (creal_test_data): New variable.
949 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
950
0e400df5
JM
951 * math/libm-test.inc (struct test_if_f_data): New type.
952 (RUN_TEST_LOOP_if_f): New macro.
953 (jn_test_data): New variable.
954 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
955 (yn_test_data): New variable.
956 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
957
6d33265c
JM
958 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
959
f98ece5f
AZ
9602013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961
962 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
963 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
964
0f7d347b
SP
9652013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
966
43fe811b
SP
967 * benchtests/Makefile (CPPFLAGS-nonlib): Add
968 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
969 (bench-deps): Add bench-timing.h.
970 * benchtests-bench-skeleton.c: Include bench-timing.h.
971 (main): Use TIMING_* macros instead of clock_gettime.
972 * benchtests/bench-timing.h: New file.
973
0f7d347b
SP
974 [BZ #14582]
975 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
976 Renamed from _LIB_VERSION.
977 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
978
601a3a5f
JM
9792013-05-12 Joseph Myers <joseph@codesourcery.com>
980
4f184d30
JM
981 * math/libm-test.inc (struct test_fff_f_data): New type.
982 (RUN_TEST_LOOP_fff_f): New macro.
983 (fma_test_data): New variable.
984 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
985 (fma_towardzero_test_data): New variable.
986 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
987 (fma_downward_test_data): New variable.
988 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
989 (fma_upward_test_data): New variable.
990 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
991
08198877
JM
992 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
993 (struct test_c_c_data): New type.
994 (RUN_TEST_LOOP_c_c): New macro.
995 (cacos_test_data): New variable.
996 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
997 (cacosh_test_data): New variable.
998 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
999 (casin_test_data): New variable.
1000 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1001 (casinh_test_data): New variable.
1002 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1003 (catan_test_data): New variable.
1004 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1005 (catanh_test_data): New variable.
1006 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1007 (ccos_test_data): New variable.
1008 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1009 (ccosh_test_data): New variable.
1010 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1011 (cexp_test_data): New variable.
1012 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1013 (clog_test_data): New variable.
1014 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1015 (clog10_test_data): New variable.
1016 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1017 (conj_test_data): New variable.
1018 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1019 (cproj_test_data): New variable.
1020 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1021 (csin_test_data): New variable.
1022 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1023 (csinh_test_data): New variable.
1024 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1025 (csqrt_test_data): New variable.
1026 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1027 (ctan_test_data): New variable.
1028 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1029 (ctan_tonearest_test_data): New variable.
1030 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1031 (ctan_towardzero_test_data): New variable.
1032 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1033 (ctan_downward_test_data): New variable.
1034 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1035 (ctan_upward_test_data): New variable.
1036 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1037 (ctanh_test_data): New variable.
1038 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1039 (ctanh_tonearest_test_data): New variable.
1040 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1041 (ctanh_towardzero_test_data): New variable.
1042 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1043 (ctanh_downward_test_data): New variable.
1044 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1045 (ctanh_upward_test_data): New variable.
1046 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1047 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1048 of BUILD_COMPLEX.
1049
601a3a5f
JM
1050 * math/libm-test.inc (struct test_ff_f_data): New type.
1051 (struct test_ff_f_data_nexttoward): Likewise.
1052 (RUN_TEST_LOOP_2_f): New macro.
1053 (RUN_TEST_LOOP_ff_f): Likewise.
1054 (atan2_test_data): New variable.
1055 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1056 (copysign_test_data): New variable.
1057 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1058 (fdim_test_data): New variable.
1059 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1060 (fmax_test_data): New variable.
1061 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1062 (fmin_test_data): New variable.
1063 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1064 (fmod_test_data): New variable.
1065 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1066 (hypot_test_data): New variable.
1067 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1068 (nextafter_test_data): New variable.
1069 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1070 (nexttoward_test_data): New variable.
1071 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1072 (pow_test_data): New variable.
1073 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1074 (pow_tonearest_test_data): New variable.
1075 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1076 (pow_towardzero_test_data): New variable.
1077 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1078 (pow_downward_test_data): New variable.
1079 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1080 (pow_upward_test_data): New variable.
1081 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1082 (remainder_test_data): New variable.
1083 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1084 (scalb_test_data): New variable.
1085 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1086 * sysdeps/i386/fpu/libm-test-ulps: Update.
1087
74c57478
JM
10882013-05-11 Joseph Myers <joseph@codesourcery.com>
1089
8329e4da
JM
1090 * math/libm-test.inc (fma_test): Use max_value instead of local
1091 variable fltmax.
1092 (nextafter_test): Likewise.
1093
74c57478
JM
1094 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1095 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1096 (acos_downward_test_data): New variable.
1097 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1098 (acos_upward_test_data): New variable.
1099 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1100 (acosh_test_data): New variable.
1101 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1102 (asin_test_data): New variable.
1103 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1104 (asin_tonearest_test_data): New variable.
1105 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1106 (asin_towardzero_test_data): New variable.
1107 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1108 (asin_downward_test_data): New variable.
1109 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1110 (asin_upward_test_data): New variable.
1111 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1112 (asinh_test_data): New variable.
1113 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1114 (atan_test_data): New variable.
1115 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1116 (atanh_test_data): New variable.
1117 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1118 (cbrt_test_data): New variable.
1119 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1120 (ceil_test_data): New variable.
1121 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1122 (cos_test_data): New variable.
1123 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1124 (cos_tonearest_test_data): New variable.
1125 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1126 (cos_towardzero_test_data): New variable.
1127 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1128 (cos_downward_test_data): New variable.
1129 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1130 (cos_upward_test_data): New variable.
1131 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1132 (cosh_test_data): New variable.
1133 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1134 (cosh_tonearest_test_data): New variable.
1135 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1136 (cosh_towardzero_test_data): New variable.
1137 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1138 (cosh_downward_test_data): New variable.
1139 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1140 (cosh_upward_test_data): New variable.
1141 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1142 (erf_test_data): New variable.
1143 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1144 (erfc_test_data): New variable.
1145 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1146 (exp_test_data): New variable.
1147 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1148 (exp_tonearest_test_data): New variable.
1149 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1150 (exp_towardzero_test_data): New variable.
1151 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1152 (exp_downward_test_data): New variable.
1153 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1154 (exp_upward_test_data): New variable.
1155 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1156 (exp10_test_data): New variable.
1157 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1158 (exp2_test_data): New variable.
1159 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1160 (expm1_test_data): New variable.
1161 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1162 (fabs_test_data): New variable.
1163 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1164 (floor_test_data): New variable.
1165 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1166 (j0_test_data): New variable.
1167 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1168 (j1_test_data): New variable.
1169 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1170 (log_test_data): New variable.
1171 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1172 (log10_test_data): New variable.
1173 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1174 (log1p_test_data): New variable.
1175 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1176 (log2_test_data): New variable.
1177 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1178 (logb_test_data): New variable.
1179 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1180 (logb_downward_test_data): New variable.
1181 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1182 (nearbyint_test_data): New variable.
1183 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1184 (rint_test_data): New variable.
1185 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1186 (rint_tonearest_test_data): New variable.
1187 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1188 (rint_towardzero_test_data): New variable.
1189 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1190 (rint_downward_test_data): New variable.
1191 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1192 (rint_upward_test_data): New variable.
1193 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1194 (round_test_data): New variable.
1195 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1196 (sin_test_data): New variable.
1197 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1198 (sin_tonearest_test_data): New variable.
1199 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1200 (sin_towardzero_test_data): New variable.
1201 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1202 (sin_downward_test_data): New variable.
1203 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1204 (sin_upward_test_data): New variable.
1205 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1206 (sinh_test_data): New variable.
1207 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1208 (sinh_tonearest_test_data): New variable.
1209 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1210 (sinh_towardzero_test_data): New variable.
1211 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1212 (sinh_downward_test_data): New variable.
1213 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1214 (sinh_upward_test_data): New variable.
1215 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1216 (sqrt_test_data): New variable.
1217 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1218 (tan_test_data): New variable.
1219 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1220 (tan_tonearest_test_data): New variable.
1221 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1222 (tan_towardzero_test_data): New variable.
1223 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1224 (tan_downward_test_data): New variable.
1225 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1226 (tan_upward_test_data): New variable.
1227 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1228 (tanh_test_data): New variable.
1229 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1230 (tgamma_test_data): New variable.
1231 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1232 (trunc_test_data): New variable.
1233 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1234 (y0_test_data): New variable.
1235 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1236 (y1_test_data): New variable.
1237 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1238 (significand_test_data): New variable.
1239 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1240
7187d844
CG
12412013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1242
1243 [BZ #12387]
1244 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1245
f63fae73
PT
12462013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1247
1248 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1249
8a67a4b3
AJ
12502013-05-10 Andreas Jaeger <aj@suse.de>
1251
1252 [BZ #15448]
1253 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1254 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1255
51df539d
JM
12562013-05-10 Joseph Myers <joseph@codesourcery.com>
1257
1258 * math/gen-libm-test.pl (adjust_arg): New function.
1259 (special_functions): Handle generating output in both functions
1260 and arrays.
1261 (parse_args): Likewise.
1262 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1263 $in_func argument to parse_args.
1264 * math/libm-test.inc (struct test_f_f_data): New type.
1265 (IF_ROUND_INIT_): New macro.
1266 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1267 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1268 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1269 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1270 (ROUND_RESTORE_): Likewise.
1271 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1272 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1273 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1274 (ROUND_RESTORE_FE_UPWARD): Likewise.
1275 (RUN_TEST_LOOP_f_f): New macro.
1276 (acos_test_data): New variable.
1277 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1278 (acos_tonearest_test_data): New variable.
1279 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1280
5c637fe5
SP
12812013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1282
1283 * benchtests/bench-skeleton.c (startup): Fix coding style.
1284
ab2b9461
JM
12852013-05-10 Joseph Myers <joseph@codesourcery.com>
1286
1287 [BZ #6809]
1288 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1289 negative infinity argument.
1290 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1291 negative infinity argument.
1292 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1293 negative infinity argument.
1294 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1295 domain errors.
1296
4c0fe6fe
FW
12972013-05-10 Florian Weimer <fweimer@redhat.com>
1298
1299 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1300 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1301 * iconv/iconv_prog.c (main): Likewise.
1302 * locale/programs/charmap-dir.c (charmap_readdir)
1303 (fopen_uncompressed): Likewise.
1304 * locale/programs/locfile.c (siblings_uncached)
1305 (write_locale_data): Use lstat64 instead of lstat.
1306 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1307 stat.
1308
a3375d29
AJ
13092013-05-10 Andreas Jaeger <aj@suse.de>
1310
1311 [BZ #15395]
1312 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1313 localization.
1314 Include <locale.h>.
1315
36129722
CD
13162013-05-09 Carlos O'Donell <carlos@redhat.com>
1317
1318 * elf/dl-close.c (_dl_close_worker): Add comments.
1319
faa7f811
JM
13202013-05-09 Joseph Myers <joseph@codesourcery.com>
1321
ed41ffef
JM
1322 [BZ #15359]
1323 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1324 high part of pi/2.
1325 (__ieee754_rem_pio2l): Update comments.
1326
d0213cd0
JM
1327 [BZ #15429]
1328 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1329 high part of pi/2.
1330 (__ieee754_rem_pio2l): Update comments.
1331
0d3e777a
JM
1332 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1333 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1334
24f56066
JM
1335 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1336 M_PI_4l.
1337
faa7f811
JM
1338 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1339 (M_PI_34_LOG10El): Likewise.
1340 (M_PI2_LOG10El): Likewise.
1341 (M_PI4_LOG10El): Likewise.
1342 (M_PI_LOG10El): Likewise.
1343
e9a5e0fd
AZ
13442013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1345
1346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1347
d8cd06db
JM
13482013-05-08 Joseph Myers <joseph@codesourcery.com>
1349
a0d9f9d7
JM
1350 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1351 (MINUS_ZERO_INIT): Likewise.
1352 (PLUS_INFTY_INIT): Likewise.
1353 (MINUS_INFTY_INIT): Likewise.
1354 (QNAN_VALUE_INIT): Likewise.
1355 (MAX_VALUE_INIT): Likewise.
1356 (MIN_VALUE_INIT): Likewise.
1357 (MIN_SUBNORM_VALUE_INIT): Likewise.
1358 (plus_zero): Initialize with PLUS_ZERO_INIT.
1359 (minus_zero): Initialize with MINUS_ZERO_INIT.
1360 (plus_infty): Initialize with PLUS_INFTY_INIT.
1361 (minus_infty): Initialize with MINUS_INFTY_INIT.
1362 (qnan_value): Initialize with QNAN_VALUE_INIT.
1363 (max_value): Initialize with MAX_VALUE_INIT.
1364 (min_value): Initialize with MIN_VALUE_INIT.
1365 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1366
ae08db3b
JM
1367 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1368 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1369 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1370 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1371
f44bf14a
JM
1372 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1373 (RUN_TEST_2_f): Likewise.
1374 (RUN_TEST_ff_f): Likewise.
1375 (RUN_TEST_fi_f): Likewise.
1376 (RUN_TEST_fl_f): Likewise.
1377 (RUN_TEST_fff_f): Likewise.
1378 (RUN_TEST_c_f): Likewise.
1379 (RUN_TEST_f_f1): Likewise.
1380 (RUN_TEST_fF_f1): Likewise.
1381 (RUN_TEST_fI_f1): Likewise.
1382 (RUN_TEST_ffI_f1): Likewise.
1383 (RUN_TEST_c_c): Likewise.
1384 (RUN_TEST_cc_c): Likewise.
1385 (RUN_TEST_f_i): Likewise.
1386 (RUN_TEST_f_i_tg): Likewise.
1387 (RUN_TEST_ff_i_tg): Likewise.
1388 (RUN_TEST_f_b): Likewise.
1389 (RUN_TEST_f_b_tg): Likewise.
1390 (RUN_TEST_f_l): Likewise.
1391 (RUN_TEST_f_L): Likewise.
1392 (RUN_TEST_sincos): Likewise.
1393 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1394 whether to show exceptions. Do not include ");\n" in return
1395 value.
1396 (special_functions): Output call to RUN_TEST_sincos instead of
1397 check_float calls. Update calls to new_test.
1398 (parse_args): Output call to single RUN_TEST_* macro instead of
1399 check_* calls and other assignments. Update calls to new_test.
1400
d8cd06db
JM
1401 [BZ #2546]
1402 [BZ #2560]
1403 [BZ #5159]
1404 [BZ #15426]
1405 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1406 input to result for tgamma overflow.
1407 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1408 (gamma_coeff): New variable.
1409 (NCOEFF): New macro.
1410 (gamma_positive): New function.
1411 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1412 underflow here. Use gamma_positive instead of exp (lgamma) for
1413 other arguments.
1414 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1415 (gamma_coeff): New variable.
1416 (NCOEFF): New macro.
1417 (gammaf_positive): New function.
1418 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1419 underflow here. Use gamma_positive instead of exp (lgamma) for
1420 other arguments.
1421 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1422 (gamma_coeff): New variable.
1423 (NCOEFF): New macro.
1424 (gammal_positive): New function.
1425 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1426 underflow here. Use gamma_positive instead of exp (lgamma) for
1427 other arguments.
1428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1429 (gamma_coeff): New variable.
1430 (NCOEFF): New macro.
1431 (gammal_positive): New function.
1432 (__ieee754_gammal_r): Handle positive infinity, overflow and
1433 underflow here. Handle NaN the same as positive infinity. Remove
1434 check x < 0xffffffff for negative integers. Use gamma_positive
1435 instead of exp (lgamma) for other arguments.
1436 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1437 (gamma_coeff): New variable.
1438 (NCOEFF): New macro.
1439 (gammal_positive): New function.
1440 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1441 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1445 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1446 * sysdeps/generic/math_private.h (__gamma_productf): New
1447 prototype.
1448 (__gamma_product): Likewise.
1449 (__gamma_productl): Likewise.
1450 * math/Makefile (libm-calls): Add gamma_product.
1451 * math/libm-test.inc (tgamma_test): Add more tests.
1452 * sysdeps/i386/fpu/libm-test-ulps: Update.
1453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1454
bb7cf681
OB
14552013-05-08 Ondřej Bílka <neleai@seznam.cz>
1456
1457 * benchtests/bench-skeleton.c (main): Preheat CPU.
1458
ba853947
AJ
14592013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1460
1461 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1462
8347c74c
RM
14632013-05-07 Roland McGrath <roland@hack.frob.com>
1464
1465 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1466 and _dl_skip_args_internal.
1467
e8dd4791
CD
14682013-05-07 Carlos O'Donell <carlos@redhat.com>
1469
1470 * manual/message.texi (Message Translation): Talk about users.
1471 Message to key mapping impacts design.
1472
c7405830
RM
14732013-05-06 Roland McGrath <roland@hack.frob.com>
1474
a9173057
RM
1475 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1476
976e2f03
RM
1477 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1478
9723ffc5
RM
1479 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1480 * sysdeps/wordsize-64/glob64.c: ... here.
1481
962e6658
RM
1482 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1483 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1484 New macros.
1485
ee586a6d
RM
1486 * debug/getlogin_r_chk.c: Moved to ...
1487 * login/getlogin_r_chk.c: ... here.
1488 * debug/Makefile (routines): Move getlogin_r_chk to ...
1489 * login/Makefile (routines): ... here.
1490 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1491 * login/Versions (libc: GLIBC_2.4): ... here.
1492
355f9165
RM
1493 * io/poll.c (__poll): Renamed from poll.
1494 Add libc_hidden_def.
1495 (poll): Define as weak alias.
1496
bd9ffde6
RM
1497 * debug/ptsname_r_chk.c: Moved to ...
1498 * login/ptsname_r_chk.c: ... here.
1499 * debug/Makefile (routines): Move ptsname_r_chk to ...
1500 * login/Makefile (routines): ... here.
1501 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1502 * login/Versions (libc: GLIBC_2.4): ... here.
1503
8fb16a04
RM
1504 * posix/getlogin.c: Moved to ...
1505 * login/getlogin.c: ... here.
1506 * posix/getlogin_r.c: Moved to ...
1507 * login/getlogin_r.c: ... here.
1508 * posix/getlogin_r.c: Moved to ...
1509 * login/getlogin_r.c: ... here.
1510 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1511 * login/Makefile (routines): ... here.
1512 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1513 * login/Versions (libc: GLIBC_2.0): ... here.
1514
b99b892f
RM
1515 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1516 (setrlimit): Define as weak alias.
1517
c7405830
RM
1518 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1519 Call __ names for open, ftruncate, and close.
1520 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1521 (truncate): Define as weak alias.
1522
5bf96de5
JM
15232013-05-06 Joseph Myers <joseph@codesourcery.com>
1524
9ea3513c
JM
1525 * math/gen-libm-test.pl (parse_args): Initialize x before each
1526 test of frexp, modf and remquo.
1527
5bf96de5
JM
1528 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1529 test signgam value.
1530
16e616a7
AZ
15312013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 [BZ #15418]
1534 [BZ #15419]
1535 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1536 internal tests.
1537 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1538
d5e82754
RM
15392013-05-06 Roland McGrath <roland@hack.frob.com>
1540
1541 * elf/dl-writev.h: New file.
1542 * elf/dl-misc.c: Include it.
1543 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1544 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1545
a7548d41
JM
15462013-05-04 Joseph Myers <joseph@codesourcery.com>
1547
b7dab1e4
JM
1548 * math/libm-test.inc (noXFails): Remove variable.
1549 (noXPasses): Likewise.
1550 (BUILD_COMPLEX_INT): Remove macro.
1551 (print_screen): Remove xfail argument.
1552 (print_screen_max_error): Likewise.
1553 (update_stats): Likewise.
1554 (print_max_error): Likewise. Update calls to other affected
1555 functions.
1556 (print_complex_max_error): Likewise.
1557 (test_single_exception): Update calls to print_screen.
1558 (test_single_errno): Likewise.
1559 (check_float_internal): Remove xfail argument. Update calls to
1560 other affected functions.
1561 (check_float): Likewise.
1562 (check_complex): Likewise.
1563 (check_int): Likewise.
1564 (check_long): Likewise.
1565 (check_bool): Likewise.
1566 (check_longlong): Likewise.
1567 (main): Don't print noXFails and noXPasses.
1568 * math/gen-libm-test.pl (top level): Don't mention expected
1569 failure handling in comment.
1570 (new_test): Don't handle expected failures.
1571 (parse_args): Don't mention expected failure handling in comment.
1572 (generate_testfile): Don't handle expected failures.
1573 (parse_ulps): Likewise.
1574 (print_ulps_file): Likewise.
1575 (get_failure): Remove function.
1576 (output_test): Don't handle expected failures.
1577 * make/README.libm-test: Don't mention expected failure handling.
1578
a7548d41
JM
1579 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1580 (minus_zero): Likewise.
1581 (plus_infty): Likewise.
1582 (minus_infty): Likewise.
1583 (qnan_value): Likewise.
1584 (max_value): Likewise.
1585 (min_value): Likewise.
1586 (min_subnorm_value): Likewise.
1587 (initialize): Do not initialize those variables dynamically.
1588
60bfd54c
RM
15892013-05-03 Roland McGrath <roland@hack.frob.com>
1590
cc0e6ed8
RM
1591 * io/open.c (__open_2): Moved to ...
1592 * io/open_2.c: ... this new file.
1593 * io/open64.c (__open64_2): Moved to ...
1594 * io/open64_2.c: ... this new file.
1595 * io/openat.c (__openat_2): Moved to ...
1596 * io/openat_2.c: ... this new file.
1597 * io/openat64.c (__openat64_2): Moved to ...
1598 * io/openat64_2.c: ... this new file.
1599 * io/Makefile (routines): Add them.
1600 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1601 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1602 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1603 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1604 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1605 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1606 (__openat64): Add hidden_ver.
1607 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1608 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1609
60bfd54c
RM
1610 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1611 Separately conditionalize setting of GLRO(dl_sysinfo) so
1612 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1613 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1614
83e7640f
AZ
16152013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1616
1617 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1618 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1619 definition.
1620 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1621 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1622 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1623 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1624 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1625
d5dc2af3
JM
16262013-05-03 Joseph Myers <joseph@codesourcery.com>
1627
c31a5b1e
JM
1628 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1629 test signgam value.
1630
d5dc2af3
JM
1631 * math/libm-test.inc (hypot_test): Do not use
1632 IGNORE_ZERO_INF_SIGN.
1633
164fd39d
AJ
16342013-05-03 Andreas Jaeger <aj@suse.de>
1635
1636 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1637 Linux 3.9.
1638 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1639 (PF_MAX): Adjust for VSOCK change.
1640
8237f48c
AZ
16412013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1644
9df02941
CD
16452013-05-02 Carlos O'Donell <carlos@redhat.com>
1646
1647 [BZ #15264]
1648 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1649 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1650 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1651
d422395e
DM
16522013-05-02 David S. Miller <davem@davemloft.net>
1653
1654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1655
a07c5731
OB
16562013-05-01 Ondřej Bílka <neleai@seznam.cz>
1657
1658 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1659
1324e37f
RM
16602013-05-01 Roland McGrath <roland@hack.frob.com>
1661
1662 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1663
0695940b
RS
16642013-05-01 Richard Smith <richard@metafoo.co.uk>
1665
bb5f27ad 1666 [BZ #14952]
0695940b
RS
1667 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1668 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1669 Use __attribute__ ((__gnu_inline__)).
1670 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1671 Don't use __attribute__ ((__gnu_inline__)).
1672
10de07f5
JM
16732013-05-01 Joseph Myers <joseph@codesourcery.com>
1674
1675 [BZ #15423]
1676 * math/s_catan.c (__catan): Handle small real or imaginary part of
1677 input specially to avoid spurious underflow.
1678 * math/s_catanf.c (__catanf): Likewise.
1679 * math/s_catanh.c (__catanh): Likewise.
1680 * math/s_catanhf.c (__catanhf): Likewise.
1681 * math/s_catanhl.c (__catanhl): Likewise.
1682 * math/s_catanl.c (__catanl): Likewise.
1683 * math/libm-test.inc (catan_test): Add more tests.
1684 (catanh_test): Likewise.
1685 * sysdeps/i386/fpu/libm-test-ulps: Update.
1686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1687
cb4d5414
AZ
16882013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1691
caf84319
JM
16922013-04-30 Joseph Myers <joseph@codesourcery.com>
1693
1694 [BZ #15416]
1695 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1696 accurately for denominator in atan2.
1697 * math/s_catanf.c (__catanf): Likewise.
1698 * math/s_catanh.c (__catanh): Likewise.
1699 * math/s_catanhf.c (__catanhf): Likewise.
1700 * math/s_catanhl.c (__catanhl): Likewise.
1701 * math/s_catanl.c (__catanl): Likewise.
1702 * math/libm-test.inc (catan_test): Add more tests.
1703 (catanh_test): Likewise.
1704 * sysdeps/i386/fpu/libm-test-ulps: Update.
1705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1706
d569c6ee
SP
17072013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1708
6dbe713d
SP
1709 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1710
f0ee064b
SP
1711 * benchtests/Makefile (bench): Remove slow benchmarks.
1712 * benchtests/atan-inputs: Add slow benchmark inputs.
1713 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1714 (BENCH_FUNC): Accept variant offset.
1715 (VARIANT): Define.
1716 * benchtests/bench-skeleton.c (main): Run benchmark for each
1717 variant.
1718 * benchtests/cos-inputs: Add slow benchmark inputs.
1719 * benchtests/exp-inputs: Likewise.
1720 * benchtests/pow-inputs: Likewise.
1721 * benchtests/sin-inputs: Likewise.
1722 * benchtests/slowatan-inputs: Remove.
1723 * benchtests/slowatan.c: Remove.
1724 * benchtests/slowcos-inputs: Remove.
1725 * benchtests/slowcos.c: Remove.
1726 * benchtests/slowexp-inputs: Remove.
1727 * benchtests/slowexp.c: Remove.
1728 * benchtests/slowpow-inputs: Remove.
1729 * benchtests/slowpow.c: Remove.
1730 * benchtests/slowsin-inputs: Remove.
1731 * benchtests/slowsin.c: Remove.
1732 * benchtests/slowtan-inputs: Remove.
1733 * benchtests/slowtan.c: Remove.
1734 * benchtests/tan-inputs: Add slow benchmark inputs.
1735 * scripts/bench.pl: Parse comments and directives.
1736
d569c6ee
SP
1737 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1738 in CPPFLAGS.
1739 ($(objpfx)bench-%.c): Remove *-ITER.
1740 * benchtests/bench-modf.c: Remove definition of ITER.
1741 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1742 (main): Loop for DURATION seconds instead of fixed number of
1743 iterations.
1744 * scripts/bench.pl: Don't expect iterations in parameters.
1745
a6a242fe
RM
17462013-04-29 Roland McGrath <roland@hack.frob.com>
1747
1748 * io/fchdir.c (__fchdir): Renamed from fchdir.
1749 (fchdir): Define as weak alias.
1750
f2da7793
JM
17512013-04-29 Joseph Myers <joseph@codesourcery.com>
1752
1753 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1754 (ERRNO_EDOM): Likewise.
1755 (ERRNO_ERANGE): Likewise.
1756 (noErrnoTests): New variable.
1757 (init_max_error): Set errno to 0.
1758 (test_single_errno): New function.
1759 (test_errno): Likewise.
1760 (check_float_internal): Call test_errno. Set errno to 0.
1761 (check_complex): Refer to errno tests in comment.
1762 (check_int): Call test_errno. Set errno to 0.
1763 (check_long): Likewise.
1764 (check_bool): Likewise.
1765 (check_longlong): Likewise.
1766 (cos_test): Use ERRNO_* flags for errno tests instead of
1767 check_int.
1768 (expm1_test): Likewise.
1769 (fmod_test): Likewise.
1770 (ilogb_test): Likewise.
1771 (lgamma_test): Likewise.
1772 (pow_test): Likewise.
1773 (remainder_test): Likewise.
1774 (sin_test): Likewise.
1775 (tan_test): Likewise.
1776 (yn_test): Likewise.
1777 (initialize): Set errno to 0.
1778 (main): Print number of errno tests.
1779 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1780
b1a36ceb
AJ
17812013-04-29 Andreas Jaeger <aj@suse.de>
1782
c3ed8088
AJ
1783 [BZ #15084]
1784 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1785 and RES_USEVC.
1786
f1a24198
AJ
1787 [BZ #15085]
1788 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1789 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1790 unimplemented.
1791
9ce3b2cb
AJ
1792 [BZ #15380]
1793 * stdlib/random.c (__initstate): Return NULL if
1794 __initstate fails.
1795
f1a24198 1796 [BZ #15086]
b1a36ceb
AJ
1797 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1798 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1799 RES_SNGLKUPREOP.
1800
7e7b6f36
AZ
18012013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1804
4d14f449
JM
18052013-04-29 Joseph Myers <joseph@codesourcery.com>
1806
1807 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1808 of individual tests.
1809 (casin_test): Likewise.
1810 (casinh_test): Likewise.
1811
5b4217d7
JM
18122013-04-27 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #15409]
1815 * math/s_catan.c (__catan): Handle arguments with large real or
1816 imaginary part separately without squaring.
1817 * math/s_catanf.c (__catanf): Likewise.
1818 * math/s_catanh.c (__catanh): Likewise.
1819 * math/s_catanhf.c (__catanhf): Likewise.
1820 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1821 and redefine.
1822 (__catanhl): Handle arguments with large real or imaginary part
1823 separately without squaring.
1824 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1825 and redefine.
1826 (__catanl): Handle arguments with large real or imaginary part
1827 separately without squaring.
1828 * math/libm-test.inc (catan_test): Add more tests.
1829 (catanh_test): Likewise.
1830 * sysdeps/i386/fpu/libm-test-ulps: Update.
1831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1832
4220c3ef
AJ
18332013-04-27 Andreas Jaeger <aj@suse.de>
1834
1835 [BZ #15007]
1836 * stdlib/stdlib.h: Update guards for qecvt.
1837 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1838 <stdlib.h>.
1839
4721b2d1
AM
18402013-04-27 Allan McRae <allan@archlinux.org>
1841
1842 * sysdeps/i386/fpu/libm-test-ulps: Update.
1843
f0302940
JM
18442013-04-26 Joseph Myers <joseph@codesourcery.com>
1845
9457fd95
JM
1846 [BZ #15406]
1847 * math/s_catan.c: Include <float.h>.
1848 (__catan): Ensure underflow exception occurs for underflowed
1849 result.
1850 * math/s_catanf.c: Include <float.h>.
1851 (__catanf): Ensure underflow exception occurs for underflowed
1852 result.
1853 * math/s_catanh.c: Include <float.h>.
1854 (__catanh): Ensure underflow exception occurs for underflowed
1855 result.
1856 * math/s_catanhf.c: Include <float.h>.
1857 (__catanhf): Ensure underflow exception occurs for underflowed
1858 result.
1859 * math/s_catanhl.c: Include <float.h>.
1860 (__catanhl): Ensure underflow exception occurs for underflowed
1861 result.
1862 * math/s_catanl.c: Include <float.h>.
1863 (__catanl): Ensure underflow exception occurs for underflowed
1864 result.
1865 * math/libm-test.inc (catan_test): Add more tests.
1866 (catanh_test): Likewise.
1867
f0302940
JM
1868 [BZ #15405]
1869 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1870 underflowed result.
1871 * math/s_ccoshf.c (__ccoshf): Likewise.
1872 * math/s_ccoshl.c (__ccoshl): Likewise.
1873 * math/s_csin.c (__csin): Likewise.
1874 * math/s_csinf.c (__csinf): Likewise.
1875 * math/s_csinh.c (__csinh): Likewise.
1876 * math/s_csinhf.c (__csinhf): Likewise.
1877 * math/s_csinhl.c (__csinhl): Likewise.
1878 * math/s_csinl.c (__csinl): Likewise.
1879 * math/libm-test.inc (ccos_test): Add more tests.
1880 (ccosh_test): Likewise.
1881 (csin_test): Likewise.
1882 (csinh_test): Likewise.
1883
aa630f59
AZ
18842013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885
1886 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1887 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1888 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1889 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1890 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1891 powerpc/power5+/fpu folders.
1892 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1893
1894
1b835983
MT
18952013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1896
1897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1898
73709b26
JM
18992013-04-25 Joseph Myers <joseph@codesourcery.com>
1900
1901 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1902 additions to variable.
1903 [$(config-machine) = x86_64] (modules-names): Likewise.
1904 ($(objpfx)tst-audit3): Remove dependency.
1905 ($(objpfx)tst-audit3.out): Likewise.
1906 ($(objpfx)tst-audit4): Likewise.
1907 ($(objpfx)tst-audit4.out): Likewise.
1908 ($(objpfx)tst-audit5): Likewise.
1909 ($(objpfx)tst-audit5.out): Likewise.
1910 ($(objpfx)tst-audit6): Likewise.
1911 ($(objpfx)tst-audit6.out): Likewise.
1912 ($(objpfx)tst-audit7): Likewise.
1913 ($(objpfx)tst-audit7.out): Likewise.
1914 (tst-audit3-ENV): Remove variable.
1915 (tst-audit4-ENV): Likewise.
1916 (tst-audit5-ENV): Likewise.
1917 (tst-audit6-ENV): Likewise.
1918 (tst-audit7-ENV): Likewise.
1919 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1920 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1921 addition to variable.
1922 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1923 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1924 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1925 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1926 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1927 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1928 tst-audit3, tst-audit4 and tst-audit5.
1929 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1930 tst-audit6 and tst-audit7.
1931 [$(subdir) = elf] (modules-names): Add audit modules for those
1932 tests.
1933 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1934 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1935 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1936 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1937 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1938 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1939 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1940 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1941 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1942 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1943 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1944 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1945 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1946 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1947 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1948 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1949 Likewise.
1950 [$(subdir) = elf && $(config-cflags-avx) = yes]
1951 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1952 [$(subdir) = elf && $(config-cflags-avx) = yes]
1953 (CFLAGS-tst-auditmod4a.c): Likewise.
1954 [$(subdir) = elf && $(config-cflags-avx) = yes]
1955 (CFLAGS-tst-auditmod4b.c): Likewise.
1956 [$(subdir) = elf && $(config-cflags-avx) = yes]
1957 (CFLAGS-tst-auditmod6b.c): Likewise.
1958 [$(subdir) = elf && $(config-cflags-avx) = yes]
1959 (CFLAGS-tst-auditmod6c.c): Likewise.
1960 [$(subdir) = elf && $(config-cflags-avx) = yes]
1961 (CFLAGS-tst-auditmod7b.c): Likewise.
1962 * elf/tst-audit3.c: Move to ...
1963 * sysdeps/x86_64/tst-audit3.c: ... here.
1964 * elf/tst-audit4.c: Move to ...
1965 * sysdeps/x86_64/tst-audit4.c: ... here.
1966 * elf/tst-audit5.c: Move to ...
1967 * sysdeps/x86_64/tst-audit5.c: ... here.
1968 * elf/tst-audit6.c: Move to ...
1969 * sysdeps/x86_64/tst-audit6.c: ... here.
1970 * elf/tst-audit7.c: Move to ...
1971 * sysdeps/x86_64/tst-audit7.c: ... here.
1972 * elf/tst-auditmod3a.c: Move to ...
1973 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1974 * elf/tst-auditmod3b.c: Move to ...
1975 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1976 * elf/tst-auditmod4a.c: Move to ...
1977 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1978 * elf/tst-auditmod4b.c: Move to ...
1979 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1980 * elf/tst-auditmod5a.c: Move to ...
1981 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1982 * elf/tst-auditmod5b.c: Move to ...
1983 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1984 * elf/tst-auditmod6a.c: Move to ...
1985 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1986 * elf/tst-auditmod6b.c: Move to ...
1987 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1988 * elf/tst-auditmod6c.c: Move to ...
1989 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1990 * elf/tst-auditmod7a.c: Move to ...
1991 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1992 * elf/tst-auditmod7b.c: Move to ...
1993 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1994
1ef74943
PP
19952013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1996
1997 [BZ #15366]
1998 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1999 define unconditionally.
2000 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2001 define unconditionally.
2002 (INT8_C, INT16_C, etc.): Likewise.
2003
93fd48c5
MR
20042013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2005
ae9552cf
MR
2006 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2007 __ehdr_start with hidden visibility.
2008
93fd48c5
MR
2009 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2010
418601aa
CD
20112013-04-24 Carlos O'Donell <carlos@redhat.com>
2012
2013 * math/libm-test.inc (cos_test): Use accurate hex constants.
2014 (sincost_test): Likewise.
2015
2f38fbfe
JM
20162013-04-24 Joseph Myers <joseph@codesourcery.com>
2017
5e221800
JM
2018 * math/libm-test.inc (catan_test): Add more tests.
2019 (catanh_test): Likewise.
2020
77f143fd
JM
2021 * math/s_catanf.c (__catanf): Use suffixed floating-point
2022 constants.
2023 * math/s_catanhf.c (__catanhf): Likewise.
2024 * math/s_catanhl.c (__catanhl): Likewise.
2025 * math/s_catanl.c (__catanl): Likewise.
2026
2f38fbfe
JM
2027 [BZ #15394]
2028 * math/s_catan.c (__catan): Calculate imaginary part of result
2029 with log1p not log unless computing log of number close to 0.
2030 * math/s_catanf.c (__catanf): Likewise.
2031 * math/s_catanl.c (__catanl): Likewise.
2032 * math/s_catanh.c (__catanh): Calculate real part of result with
2033 log1p not log unless computing log of number close to 0.
2034 * math/s_catanhf.c (__catanhf): Likewise.
2035 * math/s_catanhl.c (__catanhl): Likewise.
2036 * math/libm-test.inc (catan_test): Add more tests.
2037 (catanh_test): Likewise.
2038 * sysdeps/i386/fpu/libm-test-ulps: Update.
2039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2040
45d69176
SP
20412013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2042
2043 * benchtests/Makefile: Mention files in which fast and slow
2044 paths of math functions are implemented.
2045
87f51853
RM
20462013-04-23 Roland McGrath <roland@hack.frob.com>
2047
2048 * sysdeps/posix/timespec_get.c: New file.
2049
3c026539
AZ
20502013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051
2052 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2053 POWER.
2054 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2055 for POWER.
2056 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2057 powerpc/power5/fpu folders.
2058 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2059 * benchtests/Makefile: Add modf testcase.
2060 * benchtests/bench-modf.c: New file: Benchmark test for mo
2061
ff491d14
SP
20622013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
2064 [BZ #14888]
2065 * time/Makefile (tests): Add tst-strptime-whitespace.
2066 * time/strptime_l.c (get_number): Use ISSPACE.
2067 (__strptime_internal): Likewise.
2068 * time/tst-strptime-whitespace.c: New test case.
2069
7ed3f4e8
AS
20702013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2071
2072 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2073 member.
2074 (_nss_files_init): Set it here.
2075
5c95f7b6
HC
20762013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2077
2078 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2079 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2080 unsigned.
2081
d34c9158
JBG
20822013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2083
2084 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2085
2169712d
SP
20862013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2087
2088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2089 size just once.
2090
29c5de99
DM
20912013-04-21 David S. Miller <davem@davemloft.net>
2092
2093 * po/ru.po: Update Russion translation from translation project.
2094
ccdad15d
AC
20952013-04-17 Adam Conrad <adconrad@0c3.net>
2096
2097 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2098 and setfsgid.
2099
0f122b8d
CD
21002013-04-17 Carlos O'Donell <carlos@redhat.com>
2101
5c5b07da 2102 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2103 * configure: Regenerate.
5c5b07da 2104 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2105 Add example to error message.
2106 * sysdeps/i386/configure: Regenerate.
2107
037714dd
SP
21082013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2109
2110 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2111 slowtan.
2112 * benchtests/cos-inputs: New file.
2113 * benchtests/slowcos-inputs: New file.
2114 * benchtests/slowcos.c: New file.
2115 * benchtests/slowtan-inputs: New file.
2116 * benchtests/slowtan.c: New file.
2117 * benchtests/tan-inputs: New file.
2118
e913141d
RM
21192013-04-16 Roland McGrath <roland@hack.frob.com>
2120
2121 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2122 considered kosher.
2123
a2964074
SP
21242013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2125
4856bcd2
SP
2126 * benchtests/Makefile: Include cppflags-iterator.mk to add
2127 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2128
a2964074
SP
2129 * Makefile.in (bench-clean): New target.
2130 * benchtests/Makefile (bench-clean): Likewise.
2131
9fbf9aca
DH
21322013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2133
2134 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2135
207d1e2a
TS
21362013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2137
2138 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2139
306dfba9
AS
21402013-04-15 Andreas Schwab <schwab@suse.de>
2141
2142 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2144 * nscd/pwdcache.c (cache_addpw): Likewise.
2145 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2146 more than recsize.
2147
206a6699
SP
21482013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2149
2150 * benchtests/Makefile (bench): Write all output to
2151 bench-out.tmp together.
2152
0582f6b3
AS
21532013-04-15 Andreas Schwab <schwab@suse.de>
2154
2155 * nscd/nscd.c (main): Don't fork again after closing files.
2156
acb4325f
SP
21572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2158
5cb26d0a
SP
2159 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2160
acb4325f
SP
2161 * benchtests/Rules (bench-deps): Collect dependencies into a
2162 single variable. Add Makefile to dependencies.
2163 ($(objpfx)bench-%.c): Depend on bench-deps.
2164
47792506
RM
21652013-04-12 Roland McGrath <roland@hack.frob.com>
2166 Xavier Roche <roche+kml2@exalead.com>
2167
2168 [BZ #15361]
2169 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2170 just that it's a file descriptor.
2171 * manual/llio.texi (Synchronizing AIO Operations): Update description
2172 for EBADF error from aio_fsync.
2173
8fc1bee5
SP
21742013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2175
2176 * Rules (bench): Move target definition...
2177 * benchtests/Makefile: ... here.
2178
aba5e333
CD
21792013-04-11 Carlos O'Donell <carlos@redhat.com>
2180
2181 * math/libm-test.inc (cos_test): Fix PI/2 test.
2182 (sincos_test): Likewise.
2183 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2184 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2185
273cdee8
AS
21862013-04-11 Andreas Schwab <schwab@suse.de>
2187
6ecec3b6
AS
2188 [BZ #13988]
2189 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2190 accept exponent character only when digits were seen.
2191 * stdio-common/Makefile (tests): Add bug26.
2192 * stdio-common/bug26.c: New file.
2193
273cdee8
AS
2194 [BZ #14293]
2195 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2196 non-freeable.
2197
8da491f5
SP
21982013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2199
01dc6df9
SP
2200 * Makeconfig (rtld-prefix): Define built linker prefix.
2201 * Rules (run-bench): Use it.
2202 * math/Makefile (run-regen-ulps): Likewise.
2203
8da491f5
SP
2204 * Rules (bench): Remove eval.
2205
abe7f530
SP
22062013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2207 Roland McGrath <roland@hack.frob.com>
2208 Ondrej Bilka <neleai@seznam.cz>
2209
2210 [BZ #15346]
2211 * time/getdate.c: Include ctype.h and alloca.h.
2212 (__getdate_r): Trim leading and trailing spaces of input.
2213 * time/tst-getdate.c (tests): Add tests with leading and
2214 trailing spaces.
2215
61c23e62
RM
22162013-04-08 Roland McGrath <roland@hack.frob.com>
2217
2218 [BZ #14280]
2219 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2220 when computing value.
2221
7208a313
CD
22222013-04-06 Carlos O'Donell <carlos@redhat.com>
2223
085b2d41
CD
2224 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2225 Use testrun.sh to run libm tests.
2226
7208a313
CD
2227 [BZ #15309]
2228 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2229
872c0acd
MM
22302013-04-06 Marko Myllynen <myllynen@redhat.com>
2231
2232 [BZ #15264]
2233 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2234
26510bdd
CD
22352013-04-06 Carlos O'Donell <carlos@redhat.com>
2236
2237 * Makefile.in (regen-ulps): New target.
2238 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2239 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2240 [ifneq (no,$(PERL)] (regen-ulps): New target.
2241 [ifeq (no,$(PERL)] (regen-ulps): New target.
2242 * math/libm-test.inc (ulps_file_name): Define.
2243 (output_dir): New variable.
2244 (options): Add "output-dir" option.
2245 (parse_opt): Handle 'o' case.
2246 (main): If output_dir is non-NULL use it as a prefix
2247 otherwise use "".
2248 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2249
a01f19c8
CD
22502013-04-06 Carlos O'Donell <carlos@redhat.com>
2251
2252 [BZ #10060, #10062]
2253 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2254 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2255 fail configure if __sync_val_compare_and_swap is not inlined.
2256 * sysdeps/i386/configure: Regenerate.
2257 * configure.in: Build for i686 when configured for i386.
2258 * configure: Regenerate.
2259 * README: Remove i386 reference.
2260
b7a329a5
CD
22612013-04-06 Carlos O'Donell <carlos@redhat.com>
2262
2263 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2265
bf0f50df
TS
22662013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2267
ee091edf
TS
2268 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2269 (lmsnanval): New variables.
2270 (F): Add conversion tests.
2271 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2272 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2273
a8b792d6
TS
2274 * stdio-common/tstdiomisc.c (F): Properly collect individual
2275 tests' results.
2276
a1cbf437
TS
2277 [BZ #14686, #15336]
2278 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2279 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2280 Instead, use input NaN values or generate a qNaN by arithmetic
2281 operation. Also fix bugs to comply with the standard.
2282 * math/libm-test.inc (remainder_test): Add more tests.
2283
8b43a0c9
TS
2284 [BZ #15335, #15342]
2285 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2287 input NaN values or generate a qNaN by arithmetic operation.
2288
d91da4ce
TS
2289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2290 unreachable code.
2291
bf0f50df
TS
2292 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2293 definitions.
2294
05e166c8
JM
22952013-04-03 Joseph Myers <joseph@codesourcery.com>
2296
2297 [BZ #14478]
2298 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2299 underflowed result.
2300 * math/s_cexpf.c (__cexpf): Likewise.
2301 * math/s_cexpl.c (__cexpl): Likewise.
2302 * math/libm-test.inc (cexp_test): Add more tests.
2303
1cef1b19
AS
23042013-04-03 Andreas Schwab <schwab@suse.de>
2305
2306 [BZ #15330]
2307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2308 order arrays from heap if bigger than alloca cutoff.
2309
74d87055
TS
23102013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2311
2312 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2313 (SNAN_TESTS_double): Refer to GCC PR56831.
2314 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2315 GCC PR56828.
2316
d755bba4
SP
23172013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2318
90d5d5bb
SP
2319 * Rules (bench): Move bench.out after the run is complete.
2320
73e0cd5d
SP
2321 * Rules (bench): Echo currently running benchmark.
2322
64aabd4b
SP
2323 * benchtests/Makefile (bench): Add atan and slowatan.
2324 * benchtests/atan-inputs: New file.
2325 * benchtests/slowatan-inputs: New file.
2326 * benchtests/slowatan.c: New file.
2327
c871eccd
SP
2328 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2330 its value.
2331
d755bba4
SP
2332 [BZ #15305]
2333 * sysdeps/unix/sysv/linux/kernel-features.h
2334 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2335 __ASSUME_XFS_RESTRICTED_CHOWN.
2336 * sysdeps/unix/sysv/linux/pathconf.c
2337 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2338 Save and restore errno.
2339
52ce4860
JM
23402013-04-02 Joseph Myers <joseph@codesourcery.com>
2341
2342 [BZ #15327]
2343 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2344 arguments using __kernel_casinh.
2345 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2346 arguments using __kernel_casinhf.
2347 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2348 arguments using __kernel_casinhl.
2349 * math/libm-test.inc (cacosh_test): Add more tests.
2350 * sysdeps/i386/fpu/libm-test-ulps: Update.
2351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2352
81f311c2
SP
23532013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2354
e7906a47
SP
2355 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2357
92e3664b
SP
2358 * bench/Makefile (bench): Add sin and slowsin.
2359 * benchtests/sin-inputs: New file.
2360 * benchtests/slowsin-inputs: New file.
2361 * benchtests/slowsin.c: New file.
2362
81f311c2
SP
2363 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2364 (bench): Add slowexp and slowpow.
2365 (exp-ITER): Increase iterations.
2366 (pow-ITER): Likewise.
2367 * benchtests/exp-inputs: Change input.
2368 * benchtests/pow-inputs: Likewise.
2369 * benchtests/slowexp-inputs: New file.
2370 * benchtests/slowexp.c: New file.
2371 * benchtests/slowpow-inputs: New file.
2372 * benchtests/slowpow.c: New file.
2373
ab0f1aa9
AZ
23742013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2375
2376 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2377 instructions.
2378 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2380 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2381 * benchtests/Makefile: Add rint benchtest.
2382 * benchtests/rint-inputs: Input for rint benchtest.
2383
57267616
TS
23842013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2385
2386 * Versions.def (libm): Add GLIBC_2.18.
2387 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2388 hidden libm prototypes.
2389 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2390 * math/Makefile (libm-calls): Add s_issignaling.
2391 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2392 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2393 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2394 declaration.
2395 * math/math.h [__USE_GNU] (issignaling): New macro.
2396 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2397 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2398 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2399 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2402 * manual/arith.texi (issignaling): New section.
2403 * manual/libm-err-tab.pl (@all_functions): Update comment.
2404 * math/gen-libm-test.pl (parse_args): Apply special handling for
2405 issignaling.
2406 * math/libm-test.inc (print_float, issignaling_test): New
2407 functions.
2408 (check_float_internal): Add issignaling checks.
2409 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2410 default definition.
2411 * sysdeps/powerpc/math-tests.h: New file.
2412 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2413 tests.
2414 * math/test-snan.c (TEST_FUNC): Likewise.
2415
6142896d
DM
24162013-03-30 David S. Miller <davem@davemloft.net>
2417
2418 * po/de.po: Update from translation team.
2419
ccc8cadf
JM
24202013-03-30 Joseph Myers <joseph@codesourcery.com>
2421
2422 [BZ #10357]
2423 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2424 imaginary part less than 1.0 and real part less than 0.5
2425 specially.
2426 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2427 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2428 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2429 (cacos_test): Add more tests.
2430 (casin_test): Likewise.
2431 (casinh_test): Likewise.
2432 * sysdeps/i386/fpu/libm-test-ulps: Update.
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2434
0f6a8d4b
SP
24352013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
0d1029de
SP
2437 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2438 ONE with its value.
2439
c2d94018
SP
2440 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2441 (__pow_mp): Replace ONE and MONE with their values.
2442 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2444 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2445 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2446 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2447 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2448
27ec37f1
SP
2449 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2450
a64d7e0e
SP
2451 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2452 (__pow_mp): Replace ZERO and MZERO with their values.
2453 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2454 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2455 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2457 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2458 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2459 (__sqr): Likewise.
2460
d26dd3eb
SP
2461 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2462
0f6a8d4b
SP
2463 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2464
e57b0c61
RM
24652013-03-28 Roland McGrath <roland@hack.frob.com>
2466
2467 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2468 Declare with __attribute__ ((weak)).
2469 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2470 Call __call_tls_dtors only if it's not NULL.
2471
356b3480
RM
24722013-03-28 Roland McGrath <roland@hack.frob.com>
2473
288f7d79
RM
2474 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2475 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2476 magic __ehdr_start linker symbol if it's defined.
2477 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2478 them up here if it was already done.
2479
dc0a0263
RM
2480 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2481 (_dl_aux_init): Use const in cast when setting it.
2482 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2483 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2484 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2485
3d3436ae
RM
2486 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2487 Declare them here.
2488 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2489 * csu/libc-tls.c: Nor here.
2490 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2491
356b3480
RM
2492 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2493 (__libc_message): Never call vsyslog.
2494
b0f1246a
AM
24952013-03-28 Alan Modra <amodra@gmail.com>
2496
2497 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2498 Define as empty.
2499 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2500 Likewise.
2501
fbbe2b9a
AZ
25022013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2503
2504 [BZ #15214]
2505 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2506 underflow.
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2508
1728ab37
SP
25092013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2510
7a86be6e
SP
2511 [BZ #15304]
2512 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2513 Don't add gid passed as argument.
2514
1728ab37
SP
2515 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2516
3a7182a1
JM
25172013-03-27 Joseph Myers <joseph@codesourcery.com>
2518
2519 [BZ #15307]
2520 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2521 imaginary part between 1.0 and 1.5 and real part less than 0.5
2522 specially.
2523 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2524 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2525 * math/libm-test.inc (cacos_test): Add more tests.
2526 (casin_test): Likewise.
2527 (casinh_test): Likewise.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530
6f2e90e7
SP
25312013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2532
5739f705
SP
2533 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2534 constants.
2535 (norm): Likewise.
2536 (denorm): Likewise.
2537 (__dbl_mp): Likewise.
2538 (add_magnitudes): Likewise.
2539 (sub_magnitudes): Likewise.
2540 (__add): Likewise.
2541 (__sub): Likewise.
2542 (__mul): Likewise.
2543 (__sqr): Likewise.
2544 (__inv): Likewise.
2545 (__dvd): Likewise.
2546
e375e83d
SP
2547 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2548 commented code.
2549 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2550 (__dubcos): Likewise.
2551 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2552 (__ieee754_acos): Likewise.
2553 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2554 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2555 (__exp1): Likewise.
2556 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2558 (log1): Likewise.
2559 (my_log2): Likewise.
2560 (checkint): Likewise.
2561 * sysdeps/ieee754/dbl-64/e_remainder.c
2562 (__ieee754_remainder): Likewise.
2563 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2565 (bsloww): Likewise.
2566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2567
6f2e90e7
SP
2568 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2569 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2570 MANTISSA_STORE_T to store computations on mantissa. Use
2571 macros for rounding and division.
2572 (denorm): Likewise.
2573 (__dbl_mp): Likewise.
2574 (add_magnitudes): Likewise.
2575 (sub_magnitudes): Likewise.
2576 (__mul): Likewise.
2577 (__sqr): Likewise.
2578 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2579 powers of two in terms of TWOPOW macro.
2580 (mp_no): Make type of mantissa as MANTISSA_T.
2581 [!RADIXI]: Define RADIXI.
2582 [!TWO52]: Define TWO52.
2583 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2584
fce14d4e
AZ
25852013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2586
2587 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2588 llroundl symbol when building for PPC32.
2589
9ad027fb
MW
25902013-03-24 Mark H Weaver <mhw@netris.org>
2591
2592 * manual/arith.texi (Normalization Functions): Fix prototypes for
2593 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2594
e42a38dd
AZ
25952013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
2597 [BZ #13889]
2598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2599 high value to check if expl overflow.
2600 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2601 to check for underflow and overflow.
2602 * math/libm-test.inc: Add exp test.
2603
2e0fb521
DL
26042013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2605
2606 [BZ #11120]
2607 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2608 with NOT_IN_libc.
2609
b5784d95
AZ
26102013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2611
2612 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2613 symbol.
2614
5aa4a1a1
TS
26152013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2616
bdef0be7
TS
2617 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2618 wrap blocks consisting of several statements.
2619
5aa4a1a1
TS
2620 * sysdeps/generic/math-tests.h: New file.
2621 * sysdeps/i386/fpu/math-tests.h: Likewise.
2622 * math/test-snan.c: Include it.
2623 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2624
98c48fe5
JM
26252013-03-21 Joseph Myers <joseph@codesourcery.com>
2626
2627 [BZ #15285]
2628 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2629 (__ieee754_j0l): Do not improve calculations using cos of twice
2630 input for inputs above LDBL_MAX / 2.0L.
2631 (__ieee754_y0l): Likewise.
2632 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2633 (__ieee754_j1l): Do not improve calculations using cos of twice
2634 input for inputs above LDBL_MAX / 2.0L.
2635 (__ieee754_y1l): Likewise.
2636 * math/libm-test.inc (j0_test): Add another test.
2637 (j1_test): Likewise.
2638 (y0_test): Likewise.
2639 (y1_test): Likewise.
2640 * sysdeps/i386/fpu/libm-test-ulps: Update.
2641
3775a8bc
SP
26422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2643
2644 * Rules ($(objpfx)bench-%.c): Include code from a C source
2645 file.
2646
0a1b2ae6
JM
26472013-03-21 Joseph Myers <joseph@codesourcery.com>
2648
2649 [BZ #15287]
2650 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2651 imaginary part 1.0 and real part less than 0.5 specially.
2652 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2653 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2654 * math/libm-test.inc (cacos_test): Add more tests.
2655 (casin_test): Likewise.
2656 (casinh_test): Likewise.
2657 * sysdeps/i386/fpu/libm-test-ulps: Update.
2658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2659
b33d4ce4
SP
26602013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2661
2662 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2663 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2664
bef0b507
JM
26652013-03-20 Joseph Myers <joseph@codesourcery.com>
2666
2667 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2668 * config.make.in (config-cflags-sse4): Remove variable.
2669 (config-cflags-avx): Likewise.
2670 (config-cflags-sse2avx): Likewise.
2671 (config-cflags-novzeroupper): Likewise.
2672 (config-asflags-i686): Likewise.
2673 (have-mfma4): Likewise.
2674 (have-as-vis3): Likewise.
2675 (MIG): Likewise.
2676 * configure.in (MIG): Do not AC_SUBST.
2677 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2678 (libc_cv_cc_sse4): Do not AC_SUBST.
2679 (libc_cv_cc_avx): Likewise.
2680 (libc_cv_cc_sse2avx): Likewise.
2681 (libc_cv_cc_novzeroupper): Likewise.
2682 (libc_cv_cc_fma4): Likewise.
2683 (libc_cv_as_i686): Likewise.
2684 (libc_cv_sparc_as_vis3): Likewise.
2685 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2686 LIBC_CONFIG_VAR.
2687 (config-asflags-i686): Likewise.
2688 (config-cflags-avx): Likewise.
2689 (config-cflags-sse2avx): Likewise.
2690 (have-mfma4): Likewise.
2691 (config-cflags-novzeroupper): Likewise.
2692 * sysdeps/mach/configure.in (MIG): Likewise.
2693 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2694 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2695 LIBC_CONFIG_VAR.
2696 (config-cflags-avx): Likewise.
2697 (config-cflags-sse2avx): Likewise.
2698 (have-mfma4): Likewise.
2699 (config-cflags-novzeroupper): Likewise.
2700 * configure: Regenerated.
2701 * sysdeps/i386/configure: Likewise.
2702 * sysdeps/mach/configure: Likewise.
2703 * sysdeps/sparc/configure: Likewise.
2704 * sysdeps/x86_64/configure: Likewise.
2705
912cc4b3
RM
27062013-03-20 Roland McGrath <roland@hack.frob.com>
2707
2708 [BZ #14812]
2709 * locale/programs/localedef.c (options): Put N_ translation marker
2710 on argument names, not just descriptions.
2711
04eed2b0
MS
27122013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2713
2714 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2715
a065ceff
OB
27162013-03-20 Ondřej Bílka <neleai@seznam.cz>
2717
9bb2a810 2718 [BZ #14176]
a065ceff
OB
2719 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2720
a600e5ce
RM
27212013-03-19 Roland McGrath <roland@hack.frob.com>
2722
2723 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2724 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2725 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2726 [!BEFORE_ABORT] (before_abort): New function.
2727 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2728 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2729 (writev_for_fatal): New function.
2730 (WRITEV_FOR_FATAL): New macro; call that.
2731 (backtrace_and_maps): New function.
2732 (BEFORE_ABORT): New macro; call that.
2733 (struct str_list): Type removed.
2734 (__libc_message, __libc_fatal): Functions removed.
2735 Include <sysdeps/posix/libc_fatal.c> instead.
2736
6b18bea6
JM
27372013-03-19 Joseph Myers <joseph@codesourcery.com>
2738
2739 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2740 constants.
2741 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2742 double constants.
2743
aaa8cb4b
AS
27442013-03-19 Andreas Schwab <schwab@suse.de>
2745
44673770
AS
2746 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2747 * sysdeps/gnu/configure: Regenerate.
2748
aaa8cb4b
AS
2749 * configure.in: Substitute libc_cv_rtlddir.
2750 * configure: Regenerate.
2751 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2752 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2753 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2754 * elf/Makefile (install-others, CFLAGS-interp.c)
2755 (ldso_install, common-ldd-rewrite): Likewise.
2756 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2757 $(inst_slibdir)/$(rtld-installed-name).
2758 * scripts/rellns-sh: Add -p option.
2759 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2760 for source.
2761
d3cfc668
SP
27622013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2763
2764 * manual/nptl.texi: Renamed to ...
2765 * manual/threads.texi: ... this.
2766 * manual/Makefile (chapters): Update.
2767
0e2b9cdd
RM
27682013-03-18 Roland McGrath <roland@hack.frob.com>
2769
2770 [BZ #14812]
2771 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2772 on argument names, not just descriptions.
0e2b9cdd
RM
2773 * malloc/memusagestat.c (options): Likewise.
2774 * nss/getent.c (options): Likewise.
63270c24
RM
2775
27762013-03-18 Benno Schulenberg <bensberg@justemail.net>
2777
2778 [BZ #14812]
2779 * iconv/iconv_prog.c (options): Put N_ translation marker
2780 on argument names, not just descriptions.
2781 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 2782
b2e1393c
OB
27832013-03-18 Ondrej Bilka <neleai@seznam.cz>
2784
2785 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2786 implementation which is faster on all x86_64 architectures.
2787 Tested on AMD, Intel Nehalem, SNB, IVB.
2788 * sysdeps/x86_64/strnlen.S: Likewise.
2789
2790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2791 Remove all multiarch strlen and strnlen versions.
2792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2793 Remove strlen and strnlen related parts.
2794
2795 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2796 Inline strlen part.
2797 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2798
2799 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2800 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2801 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2802 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2803 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2804 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2805
ec4ff04d
CD
28062013-03-17 Carlos O'Donell <carlos@redhat.com>
2807
2808 * manual/memory.texi (Malloc Tunable Parameters):
2809 Sort parameters alphabetically. Add comments for missing entries.
2810
cd18e90a
DM
28112013-03-17 David S. Miller <davem@davemloft.net>
2812
2813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2814
2a185d32
JM
28152013-03-16 Joseph Myers <joseph@codesourcery.com>
2816
d2f9799e
JM
2817 [BZ #15283]
2818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2819 for arguments at most half maximum finite value.
2820 * math/libm-test.inc (j0_test): Add more tests.
2821 (j1_test): Likewise.
2822 (y0_test): Likewise.
2823 (y1_test): Likewise.
2824 * sysdeps/i386/fpu/libm-test-ulps: Update.
2825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2826
2a185d32
JM
2827 [BZ #14155]
2828 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2829 1 / x and functions P and Q for arguments above 0x1p256L.
2830 (__ieee754_y0l): Likewise.
2831 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2832 (__ieee754_y1l): Likewise.
2833 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2834 (j1_test): Likewise.
2835 (y0_test): Likewise.
2836 (y1_test): Likewise.
2837
6cbec759
TS
28382013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2839
2840 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2841 variable.
2842
bc16e260
RM
28432013-03-15 Roland McGrath <roland@hack.frob.com>
2844
aefc9b8c
RM
2845 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2846 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2847 zero since it's initialized to EXEC_PAGESIZE.
2848
bc16e260
RM
2849 * sysdeps/unix/sysv/linux/ldsodefs.h
2850 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2851 * sysdeps/generic/ldsodefs.h: ... here.
2852
a57da955
TS
28532013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2854
af00a34d
TS
2855 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2856
495ded2c
TS
2857 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2858 math/test-snan.c.
2859 * math/test-snan.c: Renamed from
2860 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2861 * math/Makefile (tests): Add test-snan.
2862 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2863 test-powerpc-snan.
2864
777b0332
TS
2865 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2866 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2867 functions.
2868 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2869 __builtin_nan family of functions.
2870 * math/libm-test.inc (initialize): Initialize qnan_value with
2871 __builtin_nan family of functions.
2872 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2873 Remove variables.
2874 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2875 Remove functions.
2876 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2877 storage class. Initialize qNaN_var and sNaN_var with
2878 __builtin_nan and __builtin_nans families of functions,
2879 respectively.
2880
64d063b8
TS
2881 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2882 (sqrt_test): Remove duplicate test with qNaN input.
2883 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2884 (round_test, signbit_test, significand_test): Note missing +/-Inf
2885 as well as qNaN tests.
2886
67e971f1
TS
2887 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2888 qNaN_var. Fix a few strings, too.
2889 * math/libm-test.inc (nan_value): Rename to qnan_value.
2890 * math/gen-libm-test.pl (%beautify): Adjust to that.
2891 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2892 * math/test-misc.c (main): Likewise.
2893 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2894 to __qnan_bytes, and __qnan_union, respectively.
2895 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2896 Likewise.
2897 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2898 and lqnanval, respectively.
2899 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2900 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2901 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2902 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2903
64487e12
TS
2904 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2905 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2906 doubles.
2907
e015e27b
TS
2908 * math/test-misc.c (main): Fix copy'n'pastos.
2909 * misc/tst-efgcvt.c (special): Likewise.
2910
a57da955
TS
2911 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2912 Remove declarations.
2913
1e380345
SP
29142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2915
2916 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2917 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2918 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2919 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2920
ef26eece
AZ
29212013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922
2923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2924 macro to return vdso values correctly in IFUNC implementations.
2925 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2926 Optimization by using IFUNC.
2927
8cfdb7e0
SP
29282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2929 Richard Henderson <rth@redhat.com>
2930 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2931
2932 * Makefile.in (bench): New target.
2933 * NEWS: Mention the benchmark framework.
2934 * Rules (bench): Likewise.
2935 (binaries-bench): Generate binaries for functions to
2936 benchmark.
2937 * benchtests/Makefile: New makefile for benchmark tests.
2938 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2939 programs.
2940 * benchtests/exp-inputs: New input file for EXP function.
2941 * benchtests/pow-inputs: New input file for POW function.
2942 * scripts/bench.pl: New script to generate source files for
2943 benchmark programs.
2944
bcda9880
SP
29452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
d22ca8cd
SP
2947 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2948 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2949 computations on mantissa. Use macros for rounding and
2950 division.
2951 (denorm): Likewise.
2952 (__dbl_mp): Likewise.
2953 (add_magnitudes): Likewise.
2954 (sub_magnitudes): Likewise.
2955 (__mul): Likewise.
2956 (__sqr): Likewise.
2957 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2958 powers of two in terms of TWOPOW macro.
2959 (mp_no): Make type of mantissa as MANTISSA_T.
2960 [!RADIXI]: Define RADIXI.
2961 [!TWO52]: Define TWO52.
2962 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2963
bcda9880
SP
2964 * manual/nptl.texi (cindex): Modify threads to pthreads.
2965
06d5adfb
JM
29662013-03-15 Joseph Myers <joseph@codesourcery.com>
2967
2968 * sysdeps/x86_64/preconfigure: Regenerated.
2969
41c7328e
JM
29702013-03-14 Joseph Myers <joseph@codesourcery.com>
2971
2972 [BZ #14155]
2973 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2974 0x1p28 and above.
2975 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2976 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2977 0x1p28 and above.
2978 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2979 * math/libm-test.inc (j0_test): Do not allow one spurious
2980 underflow exception.
2981 (y1_test): Likewise.
2982
e25cfa60
SP
29832013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2984
0409959c
SP
2985 * manual/Makefile (chapters): Add nptl.
2986 * manual/debug.texi (Debugging Support): Add link to Threads
2987 chapter.
2988 * manual/nptl.texi: New file.
2989
e25cfa60
SP
2990 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2991
58a1335e
PB
29922013-03-14 Petr Baudis <pasky@ucw.cz>
2993
2994 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2995 for non-NULL pointer before the memory validity test. Pointed
2996 out by Holger Brunck <holger.brunck@keymile.com>.
2997
9dc7c64f
AS
29982013-03-13 Andreas Schwab <schwab@suse.de>
2999
3000 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3001 instead of .os.
3002
54206aa6
JM
30032013-03-13 Joseph Myers <joseph@codesourcery.com>
3004
3005 * timezone/zic.c: Update from tzcode 2013b.
3006
e98cdb38
CD
30072013-03-12 Carlos O'Donell <carlos@redhat.com>
3008
3009 * manual/install.texi (Configuring and compiling):
3010 Mention i686 and i586.
3011 * INSTALL: Regenerate.
3012
9967e003
RM
30132013-03-12 Roland McGrath <roland@hack.frob.com>
3014
3015 * sysdeps/init_array/elf-init.c: New file.
3016 * csu/elf-init.c
3017 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3018 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3019
3020 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3021 __gmon_start__ as global, but as static with a .preinit_array pointer.
3022 * sysdeps/init_array/gmon-start.c: New file. Use that.
3023 * sysdeps/init_array/crti.S: New file, empty except for comments.
3024 * sysdeps/init_array/crtn.S: Likewise.
3025
e6b5a293 30262013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3027
3028 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3029 definining bcopy.
80f844c9
OB
3030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3031 Remove Prefer_SSE_for_memop.
3032 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3033 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3034 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3036 memset-x86-64.
80f844c9 3037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3038 Remove bzero, memset ifunc support.
80f844c9
OB
3039 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3040 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3041 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3042 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3043
fb6b0fcb
AS
30442013-03-11 Andreas Schwab <schwab@suse.de>
3045
3046 [BZ #15234]
3047 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3048 by SHLIB_COMPAT.
3049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3050 (GLIBC_2.16): Remove pthread_atfork.
3051
3e6bd4b1
PP
30522013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3053
3054 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3055 (ptestcases.h): Likewise.
3056
222d7f00
RM
30572013-03-08 Roland McGrath <roland@hack.frob.com>
3058
3059 * Makeconfig ($(common-objpfx)config.status): Depend on
3060 sysdeps/*/preconfigure{,.in} too.
3061
1ba4f030
JM
30622013-03-08 Joseph Myers <joseph@codesourcery.com>
3063
a222d91a
JM
3064 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3065 (__free_hook): Use void * instead of __malloc_ptr_t.
3066 (__malloc_hook): Likewise.
3067 (__realloc_hook): Likewise.
3068 (__memalign_hook): Likewise.
3069 (__after_morecore_hook): Likewise.
3070 * malloc/arena.c (save_malloc_hook): Likewise.
3071 (save_free_hook): Likewise.
3072 * malloc/hooks.c (malloc_hook_ini): Likewise.
3073 (realloc_hook_ini): Likewise.
3074 (memalign_hook_ini): Likewise.
3075 * malloc/malloc.c (malloc_hook_ini): Likewise.
3076 (realloc_hook_ini): Likewise.
3077 (memalign_hook_ini): Likewise.
3078 (__free_hook): Likewise.
3079 (__malloc_hook): Likewise.
3080 (__realloc_hook): Likewise.
3081 (__memalign_hook): Likewise.
3082 (__libc_malloc): Likewise.
3083 (__libc_free): Likewise.
3084 (__libc_realloc): Likewise.
3085 (__libc_memalign): Likewise.
3086 (__libc_valloc): Likewise.
3087 (__libc_pvalloc): Likewise.
3088 (__libc_calloc): Likewise.
3089 (__posix_memalign): Likewise.
3090 * malloc/morecore.c (__sbrk): Likewise.
3091 (__default_morecore): Likewise.
3092
5cc45e10
JM
3093 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3094
dd54b864
JM
3095 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3096 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3097 __malloc_ptrdiff_t.
3098
1ba4f030
JM
3099 * malloc/malloc.h (__malloc_size_t): Remove macro.
3100 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3101 __malloc_size_t.
3102 (old_memalign_hook): Likewise.
3103 (old_realloc_hook): Likewise.
3104 (struct hdr): Likewise.
3105 (flood): Likewise.
3106 (mallochook): Likewise.
3107 (memalignhook): Likewise.
3108 (reallochook): Likewise.
3109 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3110 (tr_old_realloc_hook): Likewise.
3111 (tr_old_memalign_hook): Likewise.
3112 (tr_mallochook): Likewise.
3113 (tr_reallochook): Likewise.
3114 (tr_memalignhook): Likewise.
3115
edf66e57
AZ
31162013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117
3118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3119 default_ldbl_pack and using as default implementation.
3120 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3121 implementation.
3122 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3123 redundant definition.
3124 (ldbl_insert_mantissa): Likewise.
3125 (ldbl_canonicalize): Likewise.
3126 (ldbl_nearbyint): Likewise.
3127 (ldbl_pack): Rename to ldbl_pack_ppc.
3128 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3129 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3130 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3131
6d9145d8
SP
31322013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3133
3134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3135 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3136 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3137 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3139 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3140 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3141 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3142
4dd4e157
AJ
31432013-03-07 Andreas Jaeger <aj@suse.de>
3144
3145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3146 bits/mman-linux.h.
3147
adbb8027
SP
31482013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3149
ce544b5b
SP
3150 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3151 Include mpa.h and declare __MPEXP.
3152 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3153 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3154 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3156 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3157 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3158 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3159
4cc149fd
SP
3160 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3161 (__slowpow): Use long double EXPL and LOGL functions to
3162 compute POW.
3163 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3164 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3165 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3166 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3167 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3168 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3169
e6ebd4a7
SP
3170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3171 intermediate variable to calculate exponent.
3172 (__sqr): Likewise.
3173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3174 Likewise.
3175 (__sqr): Likewise.
3176
82a9811d
SP
3177 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3178 [!NO__SQR]: Define __sqr.
3179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3180 and NO__SQR. Remove all code except __mul and __sqr. Include
3181 sysdeps/ieee754/dbl-64/mpa.c.
3182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3183
adbb8027
SP
3184 [BZ #12723]
3185 * posix/Makefile (tests): Add tst-pathconf.
3186 * posix/tst-pathconf.c: New test case.
3187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3188 _PC_PIPE_BUF.
3189 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3190
39120df9
PF
31912013-03-06 Patsy Franklin <pfrankli@redhat.com>
3192
3193 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3194
67525cb8
AJ
31952013-03-06 Andreas Jaeger <aj@suse.de>
3196
664a9ce4
AJ
3197 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3198 definition via __MAP_ANONYMOUS.
3199
8e39047d
AJ
3200 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3201 it's not part of Linux headers.
3202
67525cb8
AJ
3203 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3204 (MAP_HUGE_MASK): Define.
3205
3206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3207 Define.
3208 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3210 Define.
3211 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3212 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3213 Define.
3214 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3215 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3216 Define.
3217 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3218
3219 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3220 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3221 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3222 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3223 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3225
3226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3227 Handle f2fs.
3228
3229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3230 Handle f2fs and efivarfs.
3231
3232 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3233 f2fs.
3234
3235 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3236 (EFIVARFS_MAGIC): Add.
3237 (F2FS_LINK_MAX): Add.
3238
e1b42695
PP
32392013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3240
3241 * stdio-common/vfprintf.c: Replace __builtin_expect with
3242 __glibc_unlikely.
3243
2d67d91a
JM
32442013-03-06 Joseph Myers <joseph@codesourcery.com>
3245
3246 [BZ #13550]
3247 * sysdeps/generic/bp-sym.h: Remove file.
3248 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3249 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3250 <bp-sym.h> and <bp-asm.h>.
3251 (__longjmp): Don't use BP_SYM.
3252 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3253 and <bp-asm.h>.
3254 (memcpy): Don't use BP_SYM.
3255 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3256 <bp-sym.h> and <bp-asm.h>.
3257 (memcpy): Don't use BP_SYM.
3258 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3259 <bp-asm.h>.
3260 (memcpy): Don't use BP_SYM.
3261 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3262 <bp-asm.h>.
3263 (memset): Don't use BP_SYM.
3264 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3265 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3266 (__bzero): Don't use BP_SYM.
3267 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3268 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3269 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3270 <bp-sym.h> and <bp-asm.h>.
3271 (memcmp): Don't use BP_SYM. Remove comment about bounded
3272 pointers.
3273 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3274 <bp-sym.h> and <bp-asm.h>.
3275 (memcpy): Don't use BP_SYM.
3276 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3277 <bp-sym.h> and <bp-asm.h>.
3278 (memset): Don't use BP_SYM.
3279 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3280 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3281 (__bzero): Don't use BP_SYM.
3282 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3283 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3285 <bp-sym.h> and <bp-asm.h>.
3286 (strncmp): Don't use BP_SYM. Remove comment about bounded
3287 pointers.
3288 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3289 <bp-sym.h> and <bp-asm.h>.
3290 (memcpy): Don't use BP_SYM.
3291 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3292 <bp-sym.h> and <bp-asm.h>.
3293 (memset): Don't use BP_SYM.
3294 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3295 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3296 (__bzero): Don't use BP_SYM.
3297 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3298 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3299 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3300 <bp-sym.h> and <bp-asm.h>.
3301 (__memchr): Don't use BP_SYM.
3302 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3303 <bp-sym.h> and <bp-asm.h>.
3304 (memcmp): Don't use BP_SYM. Remove comment about bounded
3305 pointers.
3306 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3307 <bp-sym.h> and <bp-asm.h>.
3308 (memcpy): Don't use BP_SYM.
3309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3310 <bp-sym.h> and <bp-asm.h>.
3311 (__mempcpy): Don't use BP_SYM.
3312 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3313 <bp-sym.h> and <bp-asm.h>.
3314 (__memrchr): Don't use BP_SYM.
3315 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3316 <bp-sym.h> and <bp-asm.h>.
3317 (memset): Don't use BP_SYM.
3318 (__bzero): Likewise.
3319 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3320 <bp-sym.h> and <bp-asm.h>.
3321 (__rawmemchr): Don't use BP_SYM.
3322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3323 <bp-sym.h> and <bp-asm.h>.
3324 (__STRCMP): Don't use BP_SYM.
3325 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3326 <bp-sym.h> and <bp-asm.h>.
3327 (strchr): Don't use BP_SYM.
3328 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3329 <bp-sym.h> and <bp-asm.h>.
3330 (__strchrnul): Don't use BP_SYM.
3331 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3332 <bp-sym.h> and <bp-asm.h>.
3333 (strlen): Don't use BP_SYM.
3334 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3335 <bp-sym.h> and <bp-asm.h>.
3336 (strncmp): Don't use BP_SYM. Remove comment about bounded
3337 pointers.
3338 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3339 <bp-sym.h> and <bp-asm.h>.
3340 (__strnlen): Don't use BP_SYM.
3341 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3342 <bp-sym.h> and <bp-asm.h>.
3343 (__GI__setjmp): Don't use BP_SYM.
3344 (_setjmp): Likewise.
3345 (__sigsetjmp): Likewise.
3346 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3347 (L(start_addresses)): Don't use BP_SYM.
3348 (_start): Likewise.
3349 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3350 <bp-asm.h>.
3351 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3352 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3353 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3354 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3355 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3356 <bp-asm.h>.
3357 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3358 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3359 about bounded pointers.
3360 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3361 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3362 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3363 <bp-asm.h>.
3364 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3365 about bounded pointers. Remove GKM FIXME comments.
3366 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3367 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3368 <bp-asm.h>.
3369 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3370 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3371 Remove GKM FIXME comments.
3372 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3373 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3374 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3375 <bp-asm.h>.
3376 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3377 about bounded pointers. Remove GKM FIXME comment.
3378 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3379 and <bp-asm.h>.
3380 (strncmp): Don't use BP_SYM. Remove comment about bounded
3381 pointers.
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3383 <bp-sym.h> and <bp-asm.h>.
3384 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3386 <bp-sym.h> and <bp-asm.h>.
3387 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3388 comment.
3389
cdcf361f
PP
33902013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3391
3392 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3393 call free(NULL).
3394
3c4a2b15
DM
33952013-03-05 David S. Miller <davem@davemloft.net>
3396
3397 * po/es.po: Update from translation team.
3398
cdcf361f 33992013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3400
3401 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3402 <bits/mman-linux.h>.
3403 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3404 is fine.
3405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3406 <bits/mman-linux.h> to end of file.
3407 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3408 is fine.
3409 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3410 <bits/mman-linux.h> to end of file.
3411 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3412 is fine.
3413 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3414 <bits/mman-linux.h> to end of file.
3415
3416 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3417 (MCL_CURRENT, MCL_FUTURE): Define here.
3418
5f67c04f
AK
34192013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3420
8a4473cc 3421 [BZ #15232]
5f67c04f
AK
3422 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3423 attribute_hidden.
3424 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3425
c3e94a95
AK
34262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3427
3428 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3429 fourth parameter needed for rt_sigprocmask syscall.
3430 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3432 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3433 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3434 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3435 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3436
cfb6382a
JM
34372013-03-04 Joseph Myers <joseph@codesourcery.com>
3438
3439 [BZ #13550]
3440 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3441 comment about bounded pointers.
3442 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3443 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3444
539d8e01
AJ
34452013-03-04 Andreas Jaeger <aj@suse.de>
3446
3447 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3448 common definitions.
3449
3450 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3451 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3452 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3453 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3456
2e167a70 34572013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3458
3459 [BZ #15055]
3460 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3461 __ieee754_sqrl instead of __sqrl.
3462
68508633
JM
34632013-03-01 Joseph Myers <joseph@codesourcery.com>
3464
3465 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3466 * sysdeps/powerpc/fpu_control.h: ... here.
3467 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3468 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3469 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3470 * sysdeps/powerpc/bits/mathinline.h: ... here.
3471
7775448e
RM
34722013-03-01 Roland McGrath <roland@hack.frob.com>
3473
3474 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3475 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3476 to just [NEED_DL_SYSINFO_DSO].
3477 * elf/dl-support.c: Likewise.
3478 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3479 * elf/rtld.c (dl_main): Likewise.
3480 * elf/setup-vdso.h (setup_vdso): Likewise.
3481 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3482 * sysdeps/unix/sysv/linux/dl-sysdep.c
3483 (_dl_discover_osversion): Likewise.
3484
4e9b5995
CD
34852013-03-01 Carlos O'Donell <carlos@redhat.com>
3486
3487 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3488 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3489
e23872c8
SP
34902013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3491
e5c74c63
SP
3492 * NEWS: Mention libm performance improvements and non-x86 PI
3493 futex support.
3494
e23872c8
SP
3495 * csu/libc-start.c (__pthread_initialize_minimal): Change
3496 function arguments.
3497 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3498
b5510883
JM
34992013-02-28 Joseph Myers <joseph@codesourcery.com>
3500
3501 [BZ #13550]
3502 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3503 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3504 <bp-sym.h> and <bp-asm.h>.
3505 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3506 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3507 and <bp-asm.h>.
3508 (memcpy): Don't use BP_SYM.
3509 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3510 <bp-asm.h>.
3511 (__mpn_add_n): Don't use BP_SYM.
3512 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3513 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3514 and <bp-asm.h>.
3515 (__mpn_addmul_1): Don't use BP_SYM.
3516 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3517 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3518 <bp-sym.h>.
3519 (_setjmp): Don't use BP_SYM.
3520 (__novmx_setjmp): Likewise.
3521 (__GI__setjmp): Likewise.
3522 (__vmx_setjmp): Likewise.
3523 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3524 <bp-sym.h>.
3525 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3526 (__bzero): Don't use BP_SYM.
3527 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3528 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3529 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3530 <bp-sym.h> and <bp-asm.h>.
3531 (memcpy): Don't use BP_SYM.
3532 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3533 <bp-sym.h> and <bp-asm.h>.
3534 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3535 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3536 <bp-sym.h> and <bp-asm.h>.
3537 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3538 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3539 <bp-asm.h>.
3540 (__mpn_lshift): Don't use BP_SYM.
3541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3542 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3543 <bp-asm.h>.
3544 (memset): Don't use BP_SYM.
3545 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3546 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3547 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3548 <bp-asm.h>.
3549 (__mpn_mul_1): Don't use BP_SYM.
3550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3552 <bp-sym.h> and <bp-asm.h>.
3553 (memcmp): Don't use BP_SYM.
3554 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3555 <bp-sym.h> and <bp-asm.h>.
3556 (memcpy): Don't use BP_SYM.
3557 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3558 <bp-sym.h> and <bp-asm.h>.
3559 (memset): Don't use BP_SYM.
3560 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3561 <bp-sym.h> and <bp-asm.h>.
3562 (strncmp): Don't use BP_SYM.
3563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3564 <bp-sym.h> and <bp-asm.h>.
3565 (memcpy): Don't use BP_SYM.
3566 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3567 <bp-sym.h> and <bp-asm.h>.
3568 (memset): Don't use BP_SYM.
3569 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3570 <bp-sym.h> and <bp-asm.h>.
3571 (__memchr): Don't use BP_SYM.
3572 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3573 <bp-sym.h> and <bp-asm.h>.
3574 (memcmp): Don't use BP_SYM.
3575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3576 <bp-sym.h> and <bp-asm.h>.
3577 (memcpy): Don't use BP_SYM.
3578 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3579 <bp-sym.h> and <bp-asm.h>.
3580 (__mempcpy): Don't use BP_SYM.
3581 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3582 <bp-sym.h> and <bp-asm.h>.
3583 (__memrchr): Don't use BP_SYM.
3584 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3585 <bp-sym.h> and <bp-asm.h>.
3586 (memset): Don't use BP_SYM.
3587 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3588 <bp-sym.h> and <bp-asm.h>.
3589 (__rawmemchr): Don't use BP_SYM.
3590 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3591 <bp-sym.h> and <bp-asm.h>.
3592 (__STRCMP): Don't use BP_SYM.
3593 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3594 <bp-sym.h> and <bp-asm.h>.
3595 (strchr): Don't use BP_SYM.
3596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3597 <bp-sym.h> and <bp-asm.h>.
3598 (__strchrnul): Don't use BP_SYM.
3599 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3600 <bp-sym.h> and <bp-asm.h>.
3601 (strlen): Don't use BP_SYM.
3602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3603 <bp-sym.h> and <bp-asm.h>.
3604 (strncmp): Don't use BP_SYM.
3605 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3606 <bp-sym.h> and <bp-asm.h>.
3607 (__strnlen): Don't use BP_SYM.
3608 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3609 <bp-asm.h>.
3610 (__mpn_rshift): Don't use BP_SYM.
3611 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3612 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3613 <bp-sym.h> and <bp-asm.h>.
3614 (__sigsetjmp): Don't use BP_SYM.
3615 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3616 (L(start_addresses)): Don't use BP_SYM.
3617 (_start): Likewise.
3618 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3619 <bp-asm.h>.
3620 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3621 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3622 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3623 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3624 <bp-asm.h>.
3625 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3626 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3627 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3628 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3629 <bp-asm.h>.
3630 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3631 comments.
3632 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3633 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3634 <bp-asm.h>.
3635 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3636 FIXME comments.
3637 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3638 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3639 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3640 <bp-asm.h>.
3641 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3642 comment.
3643 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3644 and <bp-asm.h>.
3645 (strncmp): Don't use BP_SYM,
3646 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3647 <bp-asm.h>.
3648 (__mpn_sub_n): Don't use BP_SYM.
3649 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3650 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3651 and <bp-asm.h>.
3652 (__mpn_submul_1): Don't use BP_SYM.
3653 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3655 <bp-sym.h> and <bp-asm.h>.
3656 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3658 <bp-sym.h> and <bp-asm.h>.
3659 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3660 comment.
3661
8d19fe64
SP
36622013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3663
3664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3665 Use ZK to minimize writes to Z.
3666 (sub_magnitudes): Simplify code a bit.
3667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3668 Use ZK to minimize writes to Z.
3669 (sub_magnitudes): Simplify code a bit.
3670
85bd816a
RM
36712013-02-27 Roland McGrath <roland@hack.frob.com>
3672
3673 * csu/gmon-start.c: Add special exception to license text.
3674
b5977bf2
RH
36752013-02-27 Richard Henderson <rth@redhat.com>
3676
3677 * scripts/config.guess: Update from config.git.
3678 * scripts/config.sub: Likewise.
3679
11d6e2f2
SP
36802013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3681
09c14ed2
SP
3682 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3683
a688864e
SP
3684 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3685
6295157a
SP
3686 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3687
b8de2202
SP
3688 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3689
11d6e2f2
SP
3690 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3691
7e80ddb8
RM
36922013-02-26 Roland McGrath <roland@hack.frob.com>
3693
3694 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3695 [$(build-shared = yes].
7e80ddb8 3696
7da6d9ed
SP
36972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3698
45f05884
SP
3699 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3700 (__mul): Reduce iterations for calculating mantissa.
3701
2236d359
SP
3702 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3703 MPTWO.
3704 (__mpranred): Likewise.
3705
7da6d9ed
SP
3706 [BZ #15160]
3707 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3708 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3709
b7688c42
PE
37102013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3711
3712 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3713 Define __attribute__.
3714
53a5c423
SP
37152013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
3717 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3718 unused.
3719 * posix/regex_internal.h (__attribute): Remove.
3720 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3721 (re_string_context_at): Likewise.
3722 (bitset_not): Use __attribute__ and mark function as possibly
3723 unused.
3724 (bitset_merge): Likewise.
3725 (bitset_mask): Likewise.
3726 (re_string_char_size_at): Likewise.
3727 (re_string_wchar_at): Likewise.
3728 (re_string_elem_size_at): Likewise.
3729
60f5a8b5
SP
37302013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3731
2a983a2e
SP
3732 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3733 code.
3734 (cc32): Likewise.
3735
e69804d1
SP
3736 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3737 (__acr): Likewise.
3738 (__cpy): Likewise.
3739 (norm): Likewise.
3740 (denorm): Likewise.
3741 (__dbl_mp): Likewise.
3742 (add_magnitudes): Likewise.
3743 (sub_magnitudes): Likewise.
3744 (__mul): Likewise.
3745 (__inv): Likewise.
3746
2f22a1e8
SP
3747 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3748 style.
3749
8930ddc7
SP
3750 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3751 style.
3752
dc60cb11
SP
3753 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3754 code.
3755
60f5a8b5
SP
3756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3757 up changes with default code.
3758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3759 Likewise.
3760
b4d1fd33
AM
37612013-02-24 Allan McRae <allan@archlinux.org>
3762
faf6f8bc
AM
3763 * manual/socket.texi (The Internet Namespace): Order menu items
3764 to match that in the file.
3765
b4d1fd33
AM
3766 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3767 node listing of the info page menu.
3768
2366713d
JM
37692013-02-21 Joseph Myers <joseph@codesourcery.com>
3770
3771 [BZ #13550]
3772 * sysdeps/i386/bp-asm.h: Remove file.
3773 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3774 (PARMS): Do not use macros from bp-asm.h.
3775 (S1): Likewise.
3776 (S2): Likewise.
3777 (SIZE): Likewise.
3778 (__mpn_add_n): Do not use BP_SYM
3779 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3780 "bp-asm.h".
3781 (PARMS): Do not use macros from bp-asm.h.
3782 (S1): Likewise.
3783 (SIZE): Likewise.
3784 (__mpn_addmul_1): Do not use BP_SYM
3785 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3786 "bp-asm.h".
3787 (PARMS): Do not use macros from bp-asm.h.
3788 (SIGMSK): Likewise.
3789 (_setjmp): Likewise. Do not use BP_SYM.
3790 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3791 "bp-asm.h".
3792 (PARMS): Do not use macros from bp-asm.h.
3793 (SIGMSK): Likewise.
3794 (setjmp): Likewise. Do not use BP_SYM.
3795 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3796 "bp-asm.h".
3797 (PARMS): Do not use macros from bp-asm.h.
3798 (__frexp): Do not use BP_SYM.
3799 (frexp): Likewise.
3800 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3801 "bp-asm.h".
3802 (PARMS): Do not use macros from bp-asm.h.
3803 (__frexpf): Do not use BP_SYM.
3804 (frexpf): Likewise.
3805 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3806 "bp-asm.h".
3807 (PARMS): Do not use macros from bp-asm.h.
3808 (__frexpl): Do not use BP_SYM.
3809 (frexpl): Likewise.
3810 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3811 "bp-asm.h".
3812 (PARMS): Do not use macros from bp-asm.h.
3813 (__remquo): Do not use BP_SYM.
3814 (remquo): Likewise.
3815 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3816 "bp-asm.h".
3817 (PARMS): Do not use macros from bp-asm.h.
3818 (__remquof): Do not use BP_SYM.
3819 (remquof): Likewise.
3820 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3821 "bp-asm.h".
3822 (PARMS): Do not use macros from bp-asm.h.
3823 (__remquol): Do not use BP_SYM.
3824 (remquol): Likewise.
3825 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3826 "bp-asm.h".
3827 (PARMS): Do not use macros from bp-asm.h.
3828 (DEST): Likewise.
3829 (SRC): Likewise.
3830 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3831 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3832 "bp-asm.h".
3833 (PARMS): Do not use macros from bp-asm.h.
3834 (strlen): Do not use BP_SYM.
3835 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3836 "bp-asm.h".
3837 (PARMS): Do not use macros from bp-asm.h.
3838 (S1): Likewise.
3839 (S2): Likewise.
3840 (SIZE): Likewise.
3841 (__mpn_add_n): Do not use BP_SYM.
3842 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3843 "bp-asm.h".
3844 (PARMS): Do not use macros from bp-asm.h.
3845 (S1): Likewise.
3846 (SIZE): Likewise.
3847 (__mpn_addmul_1): Do not use BP_SYM.
3848 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3849 weak_alias.
3850 (bzero): Likewise.
3851 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3852 "bp-asm.h".
3853 (PARMS): Do not use macros from bp-asm.h.
3854 (S): Likewise.
3855 (SIZE): Likewise.
3856 (__mpn_lshift): Do not use BP_SYM.
3857 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3858 "bp-asm.h".
3859 (PARMS): Do not use macros from bp-asm.h.
3860 (DEST): Likewise.
3861 (SRC): Likewise.
3862 (LEN): Likewise.
3863 (memcpy): Likewise. Do not use BP_SYM.
3864 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3865 libc_hidden_def and weak_alias.
3866 (mempcpy): Do not use BP_SYM in weak_alias.
3867 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3868 "bp-asm.h".
3869 (PARMS): Do not use macros from bp-asm.h.
3870 (DEST): Likewise.
3871 (LEN): Likewise.
3872 [!BZERO_P] (CHR): Likewise.
3873 (memset): Likewise. Do not use BP_SYM.
3874 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3875 "bp-asm.h".
3876 (PARMS): Do not use macros from bp-asm.h.
3877 (S1): Likewise.
3878 (SIZE): Likewise.
3879 (__mpn_mul_1): Do not use BP_SYM.
3880 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3881 "bp-asm.h".
3882 (PARMS): Do not use macros from bp-asm.h.
3883 (S): Likewise.
3884 (SIZE): Likewise.
3885 (__mpn_rshift): Do not use BP_SYM.
3886 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3887 "bp-asm.h".
3888 (PARMS): Do not use macros from bp-asm.h.
3889 (STR): Likewise.
3890 (CHR): Likewise.
3891 (strchr): Likewise. Do not use BP_SYM.
3892 (index): Do not use BP_SYM in weak_alias.
3893 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3894 "bp-asm.h".
3895 (PARMS): Do not use macros from bp-asm.h.
3896 (DEST): Likewise.
3897 (SRC): Likewise.
3898 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3899 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3900 "bp-asm.h".
3901 (PARMS): Do not use macros from bp-asm.h.
3902 (strlen): Do not use BP_SYM.
3903 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3904 "bp-asm.h".
3905 (PARMS): Do not use macros from bp-asm.h.
3906 (S1): Likewise.
3907 (S2): Likewise.
3908 (SIZE): Likewise.
3909 (__mpn_sub_n): Do not use BP_SYM.
3910 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3911 "bp-asm.h".
3912 (PARMS): Do not use macros from bp-asm.h.
3913 (S1): Likewise.
3914 (SIZE): Likewise.
3915 (__mpn_submul_1): Do not use BP_SYM.
3916 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3917 "bp-asm.h".
3918 (PARMS): Do not use macros from bp-asm.h.
3919 (S1): Likewise.
3920 (S2): Likewise.
3921 (SIZE): Likewise.
3922 (__mpn_add_n): Do not use BP_SYM.
3923 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3924 weak_alias.
3925 (bzero): Likewise.
3926 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3927 "bp-asm.h".
3928 (PARMS): Do not use macros from bp-asm.h.
3929 (BLK2): Likewise.
3930 (LEN): Likewise.
3931 (memcmp): Do not use BP_SYM.
3932 (bcmp): Do not use BP_SYM in weak_alias.
3933 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3934 "bp-asm.h".
3935 (PARMS): Do not use macros from bp-asm.h.
3936 (DEST): Likewise.
3937 (SRC): Likewise.
3938 (LEN): Likewise.
3939 (memcpy): Likewise. Do not use BP_SYM.
3940 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3941 "bp-asm.h".
3942 (PARMS): Do not use macros from bp-asm.h.
3943 (DEST): Likewise.
3944 (SRC): Likewise.
3945 (LEN): Likewise.
3946 (memmove): Likewise. Do not use BP_SYM.
3947 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3948 "bp-asm.h".
3949 (PARMS): Do not use macros from bp-asm.h.
3950 (DEST): Likewise.
3951 (SRC): Likewise.
3952 (LEN): Likewise.
3953 (__mempcpy): Likewise. Do not use BP_SYM.
3954 (mempcpy): Do not use BP_SYM in weak_alias.
3955 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3956 "bp-asm.h".
3957 (PARMS): Do not use macros from bp-asm.h.
3958 (DEST): Likewise.
3959 (LEN): Likewise.
3960 [!BZERO_P] (CHR): Likewise.
3961 (memset): Likewise. Do not use BP_SYM.
3962 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3963 "bp-asm.h".
3964 (PARMS): Do not use macros from bp-asm.h.
3965 (STR2): Likewise.
3966 (strcmp): Do not use BP_SYM.
3967 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3968 "bp-asm.h".
3969 (PARMS): Do not use macros from bp-asm.h.
3970 (STR): Likewise.
3971 (DELIM): Likewise.
3972 [USE_AS_STRTOK_R] (SAVE): Likewise.
3973 (FUNCTION): Likewise. Do not use BP_SYM.
3974 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3975 aliases.
3976 (strtok_r): Likewise.
3977 (__GI___strtok_r): Likewise.
3978 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3979 (PARMS): Do not use macros from bp-asm.h.
3980 (S): Likewise.
3981 (SIZE): Likewise.
3982 (__mpn_lshift): Do not use BP_SYM.
3983 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3984 (PARMS): Do not use macros from bp-asm.h.
3985 (STR): Likewise.
3986 (CHR): Likewise.
3987 (__memchr): Do not use BP_SYM.
3988 (memchr): Do not use BP_SYM in weak_alias.
3989 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3990 (PARMS): Do not use macros from bp-asm.h.
3991 (BLK2): Likewise.
3992 (LEN): Likewise.
3993 (memcmp): Do not use BP_SYM.
3994 (bcmp): Do not use BP_SYM in weak_alias.
3995 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3996 (PARMS): Do not use macros from bp-asm.h.
3997 (S1): Likewise.
3998 (SIZE): Likewise.
3999 (__mpn_mul_1): Do not use BP_SYM.
4000 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4001 "bp-asm.h".
4002 (PARMS): Do not use macros from bp-asm.h.
4003 (STR): Likewise.
4004 (CHR): Likewise.
4005 (__rawmemchr): Do not use BP_SYM.
4006 (rawmemchr): Do not use BP_SYM in weak_alias.
4007 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4008 (PARMS): Do not use macros from bp-asm.h.
4009 (S): Likewise.
4010 (SIZE): Likewise.
4011 (__mpn_rshift): Do not use BP_SYM.
4012 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4013 (PARMS): Do not use macros from bp-asm.h.
4014 (SIGMSK): Likewise.
4015 (__sigsetjmp): Likewise. Do not use BP_SYM.
4016 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4017 (_start): Do not use BP_SYM.
4018 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4019 (PARMS): Do not use macros from bp-asm.h.
4020 (DEST): Likewise.
4021 (SRC): Likewise.
4022 (__stpcpy): Likewise. Do not use BP_SYM.
4023 (stpcpy): Do not use BP_SYM in weak_alias.
4024 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4025 "bp-asm.h".
4026 (PARMS): Do not use macros from bp-asm.h.
4027 (DEST): Likewise.
4028 (SRC): Likewise.
4029 (LEN): Likewise.
4030 (__stpncpy): Likewise. Do not use BP_SYM.
4031 (stpncpy): Do not use BP_SYM in weak_alias.
4032 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4033 (PARMS): Do not use macros from bp-asm.h.
4034 (STR): Likewise.
4035 (CHR): Likewise.
4036 (strchr): Likewise. Do not use BP_SYM.
4037 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4038 "bp-asm.h".
4039 (PARMS): Do not use macros from bp-asm.h.
4040 (STR): Likewise.
4041 (CHR): Likewise.
4042 (__strchrnul): Likewise. Do not use BP_SYM.
4043 (strchrnul): Do not use BP_SYM in weak_alias.
4044 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4045 "bp-asm.h".
4046 (PARMS): Do not use macros from bp-asm.h.
4047 (STOP): Likewise.
4048 (strcspn): Do not use BP_SYM.
4049 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4050 "bp-asm.h".
4051 (PARMS): Do not use macros from bp-asm.h.
4052 (STR): Likewise.
4053 (STOP): Likewise.
4054 (strpbrk): Likewise. Do not use BP_SYM.
4055 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4056 "bp-asm.h".
4057 (PARMS): Do not use macros from bp-asm.h.
4058 (STR): Likewise.
4059 (CHR): Likewise.
4060 (strrchr): Likewise. Do not use BP_SYM.
4061 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4062 (PARMS): Do not use macros from bp-asm.h.
4063 (SKIP): Likewise.
4064 (strspn): Do not use BP_SYM.
4065 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4066 (PARMS): Do not use macros from bp-asm.h.
4067 (STR): Likewise.
4068 (DELIM): Likewise.
4069 (SAVE): Likewise.
4070 (FUNCTION): Likewise. Do not use BP_SYM.
4071 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4072 aliases.
4073 (strtok_r): Likewise.
4074 (__GI___strtok_r): Likewise.
4075 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4076 (PARMS): Do not use macros from bp-asm.h.
4077 (S1): Likewise.
4078 (S2): Likewise.
4079 (SIZE): Likewise.
4080 (__mpn_sub_n): Do not use BP_SYM.
4081 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4082 "bp-asm.h".
4083 (PARMS): Do not use macros from bp-asm.h.
4084 (S1): Likewise.
4085 (SIZE): Likewise.
4086 (__mpn_submul_1): Do not use BP_SYM.
4087 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4088 <bp-sym.h>.
4089 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4090 and <bp-asm.h>.
4091 (PARMS): Do not use macros from bp-asm.h.
4092 (FLAGS): Likewise.
4093 (PTID): Likewise.
4094 (TLS): Likewise.
4095 (CTID): Likewise.
4096 (__clone): Do not use BP_SYM.
4097 (clone): Do not use BP_SYM in weak_alias.
4098 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4099 and <bp-asm.h>.
4100 (PARMS): Do not use macros from bp-asm.h.
4101 (LEN): Likewise.
4102 (__mmap64): Do not use BP_SYM.
4103 (mmap64): Do not use BP_SYM in weak_alias.
4104 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4105 <bp-sym.h> and <bp-asm.h>.
4106 (PARMS): Do not use macros from bp-asm.h.
4107 (__posix_fadvise64_l64): Do not use BP_SYM.
4108 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4109 (PARMS): Do not use macros from bp-asm.h.
4110 (NSOPS): Likewise.
4111 (semtimedop): Do not use BP_SYM.
4112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4113 and <bp-asm.h>.
4114
582a3cff
AM
41152013-02-21 Allan McRae <allan@archlinux.org>
4116
4117 * manual/message.texi (Charset conversion in gettext):
4118 Move @end statement to beginning of line.
4119
bab8a695
SP
41202013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4121
80945231
SP
4122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4123 static.
4124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4125 Likewise.
4126
bab8a695
SP
4127 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4128 (denorm): Likewise.
4129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4131
e21d7aa7
AK
41322013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4133
4134 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4135 tail-call to the resolved function if pltexit isn't needed.
4136
4c7a4263
SP
41372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4138
4139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4140 or Y being zero as being unlikely.
4141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4142 Likewise.
4143
41f49342
CD
41442013-02-20 Carlos O'Donell <carlos@redhat.com>
4145
4146 * manual/nss.texi (System Databases and Name Service Switch):
4147 Remove frobnicate @pxref.
4148
50022a93
TS
41492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4150
4151 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4152 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4153
08cbd996
PM
41542013-02-20 Petr Machata <pmachata@redhat.com>
4155
4156 * elf/elf.h (R_ARM_TARGET1): New macro.
4157 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4158 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4159 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4160 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4161 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4162 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4163 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4164 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4165 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4166 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4167 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4168 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4169 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4170 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4171 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4172 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4173 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4174 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4175 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4176 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4177 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4178 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4179 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4180 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4181 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4182 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4183 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4184 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4185 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4186 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4187 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4188 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4189 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4190 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4191 (R_ARM_THM_GOT_BREL12): Likewise.
4192 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4193 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4194 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4195 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4196 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4197 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4198 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4199 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4200 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4201
c7b275d6
TS
42022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4203
4204 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4205 __attribute_used__ to __attribute__ ((unused)).
4206
20cd7fb3
SP
42072013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
4209 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4210 powerpc mpa.c.
4211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4212 comment formatting.
4213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4214
92945b52
JM
42152013-02-19 Joseph Myers <joseph@codesourcery.com>
4216
4217 [BZ #13550]
4218 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4219 Remove macro.
4220 (ENTER): Remove both macro definitions.
4221 (LEAVE): Likewise.
4222 (CHECK_BOUNDS_LOW): Likewise.
4223 (CHECK_BOUNDS_HIGH): Likewise.
4224 (CHECK_BOUNDS_BOTH): Likewise.
4225 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4226 (RETURN_BOUNDED_POINTER): Likewise.
4227 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4228 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4229 (POP_ERRNO_LOCATION_RETURN): Likewise.
4230 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4231 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4232 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4233 macros.
4234 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4235 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4236 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4237 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4238 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4239 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4240 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4241 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4242 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4243 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4244 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4245 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4246 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4247 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4248 removed macros.
4249 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4250 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4251 macros.
4252 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4253 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4254 * sysdeps/i386/i586/memset.S (memset): Likewise.
4255 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4256 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4257 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4258 macros.
4259 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4260 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4261 Change uses of L(2) to L(out).
4262 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4263 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4264 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4265 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4266 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4267 removed macros.
4268 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4269 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4270 macros.
4271 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4272 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4273 (RETURN): Do not use macro LEAVE.
4274 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4275 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4276 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4277 * sysdeps/i386/i686/memset.S (memset): Likewise.
4278 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4279 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4280 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4281 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4282 Likewise.
4283 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4284 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4285 L(1_2) and L(1_3) into L(1).
4286 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4287 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4288 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4289 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4290 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4291 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4292 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4293 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4294 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4295 macros.
4296 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4297 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4298 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4299 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4300 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4301 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4302 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4303 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4304 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4305 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4306 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4307 * sysdeps/i386/strspn.S (strspn): Likewise.
4308 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4309 conditional code.
4310 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4311 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4312 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4313 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4314 L(1_3) into L(1_1).
4315 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4316 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4317 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4318 macros.
4319 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4320
2389741a
JJ
43212013-02-19 Jakub Jelinek <jakub@redhat.com>
4322
4323 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4324 macro.
4325
2016b3cd
SP
43262013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4327
e4f22324
SP
4328 * math/atest-exp.c (exp_mpn): Remove ROUND.
4329 * math/atest-exp2.c (exp_mpn): Likewise.
4330 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4331
2016b3cd
SP
4332 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4333 * stdlib/tst-tls-atexit-lib.c: Likewise.
4334 * stdlib/tst-tls-atexit.c: Likewise.
4335
4be9b544
MF
43362013-02-18 Mike Frysinger <vapier@gentoo.org>
4337
4338 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4339 and __attribute_alloc_size__.
4340
2f62b9ee
MF
43412013-02-18 Mike Frysinger <vapier@gentoo.org>
4342
4343 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4344 __attribute_alloc_size__.
4345 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4346 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4347
6ff444c4
MF
43482013-02-18 Mike Frysinger <vapier@gentoo.org>
4349
4350 * include/programs/xmalloc.h: New file.
4351 * catgets/gencat.c: Include it.
4352 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4353 * elf/pldd.c: Likewise.
4354 * iconv/iconv_charmap.c: Likewise.
4355 * iconv/iconvconfig.c: Likewise.
4356 * iconv/strtab.c: Likewise.
4357 * locale/programs/locale.c: Likewise.
4358 * locale/programs/localedef.h: Likewise.
4359 * locale/programs/simple-hash.c: Likewise.
4360 * nscd/nscd.h: Likewise.
4361 * nss/makedb.c: Likewise.
4362 * sysdeps/generic/ldconfig.h: Likewise.
4363
be179c8a
SP
43642013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4365
ba384f6e
SP
4366 * Versions.def: Add GLIBC_2.18.
4367 * include/link.h (struct link_map): New member l_tls_dtor_count.
4368 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4369 (__call_tls_dtors): Likewise.
4370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4371 __cxa_thread_atexit_impl.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4373 Likewise.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4375 Likewise.
4376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4377 Likewise.
4378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4379 Likewise.
4380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4382 Likewise.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4384 Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4387 Likewise.
4388 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4389 (tests): Add test case tst-tls-atexit.
4390 (modules-names): Add shared library for tst-tls-atexit.
4391 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4392 (GLIBC_PRIVATE): Add __call_tls_dtors.
4393 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4394 for libstdc++.
4395 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4396 * stdlib/tst-tls-atexit.c: New test case.
4397 * stdlib/tst-tls-atexit-lib.c: New test case.
4398
ffaa74cf 4399 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4400
be179c8a
SP
4401 * elf/Versions (ld): Add _dl_find_dso_for_object.
4402 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4403 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4404 (dl_open_worker): Use _dl_find_dso_for_object.
4405 * elf/dl-sym.c (do_sym): Likewise.
4406 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4407
f78b5caa
AK
44082013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4409
4410 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4411 Syntactic changes only.
4412 (_dl_runtime_profile): Do a tail-call to the resolved function.
4413
29691210
JM
44142013-02-17 Joseph Myers <joseph@codesourcery.com>
4415
4416 [BZ #13550]
4417 * sysdeps/x86_64/bp-asm.h: Remove file.
4418 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4419 <bp-sym.h> and <bp-asm.h>.
4420 (__clone): Do not use BP_SYM.
4421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4422 <bp-sym.h> and <bp-asm.h>.
4423 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4424 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4425 "bp-asm.h".
4426 (_setjmp): Do not use BP_SYM.
4427 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4428 "bp-asm.h".
4429 (setjmp): Do not use BP_SYM.
4430 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4431 libc_hidden_def.
4432 (mempcpy): Do not use BP_SYM in weak_alias.
4433 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4434 "bp-asm.h".
4435 (strchr): Do not use BP_SYM.
4436 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4437 "bp-asm.h".
4438 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4439 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4440 (_start): Do not use BP_SYM.
4441 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4442 "bp-asm.h".
4443 (strcat): Do not use BP_SYM.
4444 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4445 "bp-asm.h".
4446 (STRCMP): Do not use BP_SYM.
4447 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4448 "bp-asm.h".
4449 (STRCPY): Do not use BP_SYM.
4450 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4451 "bp-asm.h".
4452 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4453 "bp-asm.h".
4454 (FUNCTION): Do not use BP_SYM.
4455 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4456 weak_alias.
4457 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4458
f238fd19
AJ
44592013-02-17 Andreas Jaeger <aj@suse.de>
4460
4461 * time/Versions: Sort entries.
4462 * string/Versions: Likewise.
4463 * resolv/Versions: Likewise.
4464 * posix/Versions: Likewise.
4465 * iconv/Versions: Likewise.
4466 * elf/Versions: Likewise.
4467 * wcsmbs/Versions: Likewise.
4468
bd07f23c 44692013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 4470
22af19f9
SP
4471 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4472 loop termination condition.
4473
4709fe76
SP
4474 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4475 variable to calculate EZ.
4476 (__sqr): Likewise.
2d0e0f29
SP
4477
4478 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4479 the lower precision input.
4480
daaa7713
JM
44812013-02-15 Joseph Myers <joseph@codesourcery.com>
4482
4483 [BZ #13550]
4484 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4485 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4486 (run-via-rtld-prefix): Do not handle %-bp tests.
4487 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4488 (all-object-suffixes): Remove .ob.
4489 (bppfx): Remove variable.
4490 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4491 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4492 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4493 [$(build-bounded) = yes] (libtype.ob): Likewise.
4494 * Makerules (elide-routines.ob): Remove variable.
4495 (do-tests-clean): Do not handle *-bp.out.
4496 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4497 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4498 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4499 (tests): Do not include $(tests-bp.out).
4500 (xtests): Do not include $(xtests-bp.out).
4501 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4502 [$(build-bounded) = yes] ($(addprefix
4503 $(objpfx),$(binaries-bounded))): Remove rule.
4504 ($(objpfx)%-bp.out): Remove rule.
4505 * config.make.in (build-bounded): Remove variable.
4506 * crypt/Makefile [$(build-bounded) = yes]
4507 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4508 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4509 append to variable.
4510 [$(build-bounded) = yes] (install-lib): Likewise.
4511 [$(build-bounded) = yes] (generated): Likewise.
4512 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4513 Remove rule.
4514 * intl/Makefile [$(build-bounded) = yes]
4515 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4516 * math/Makefile [$(build-bounded) = yes]
4517 ($(tests:%=$(objpfx)%-bp): Likewise.
4518 * misc/Makefile [$(build-bounded) = yes]
4519 ($(objpfx)tst-tsearch-bp): Likewise.
4520 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4521 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4522 Remove dependency.
4523 * string/Makefile (o-objects.ob): Remove variable.
4524 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4525 (CFLAGS-.ob): Remove variable.
4526 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4527 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4528 both definitions of variable.
4529 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4530 (ASFLAGS-.ob): Remove variable.
4531
e97ed6dd
JM
45322013-02-14 Joseph Myers <joseph@codesourcery.com>
4533
2bdd4ca6
JM
4534 [BZ #13550]
4535 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4536 Remove __BOUNDED_POINTERS__ from condition.
4537 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4538 * string/bits/string2.h [!__NO_STRING_INLINES &&
4539 !__BOUNDED_POINTERS__]: Likewise.
4540 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4541 Likewise.
4542 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4543 Remove conditional code.
4544 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4545 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4546 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4547 condition.
4548
e97ed6dd
JM
4549 [BZ #13550]
4550 * csu/libc-start.c: Do not include <bp-sym.h>.
4551 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4552 * elf/dl-open.c: Do not include <bp-sym.h>.
4553 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4554 * math/fegetenv.c: Do not include <bp-sym.h>.
4555 (fegetenv): Do not use BP_SYM in versioned symbols.
4556 * nptl/sysdeps/pthread/bits/libc-lockP.h
4557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4558 <bp-sym.h>.
4559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4560 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4562 (__pthread_mutex_destroy): Likewise.
4563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4564 (__pthread_mutex_lock): Likewise.
4565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4566 (__pthread_mutex_trylock): Likewise.
4567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4568 (__pthread_mutex_unlock): Likewise.
4569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4570 (__pthread_mutexattr_init): Likewise.
4571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4572 (__pthread_mutexattr_destroy): Likewise.
4573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4574 (__pthread_mutexattr_settype): Likewise.
4575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4576 (__pthread_rwlock_init): Likewise.
4577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4578 (__pthread_rwlock_destroy): Likewise.
4579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4580 (__pthread_rwlock_rdlock): Likewise.
4581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4582 (__pthread_rwlock_tryrdlock): Likewise.
4583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4584 (__pthread_rwlock_wrlock): Likewise.
4585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4586 (__pthread_rwlock_trywrlock): Likewise.
4587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4588 (__pthread_rwlock_unlock): Likewise.
4589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4590 (__pthread_key_create): Likewise.
4591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4592 (__pthread_setspecific): Likewise.
4593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4594 (__pthread_getspecific): Likewise.
4595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4596 Likewise.
4597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4598 (_pthread_cleanup_push_defer): Likewise.
4599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4600 (_pthread_cleanup_pop_restore): Likewise.
4601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4602 (pthread_setcancelstate): Likewise.
4603 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4604 <bp-sym.h>.
4605 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4606 (memchr): Do not use BP_SYM in weak_alias.
4607 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4608 (fegetenv): Do not use BP_SYM in versioned symbols.
4609 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4610 (fesetenv): Do not use BP_SYM in versioned symbols.
4611 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4612 (feupdateenv): Do not use BP_SYM in versioned symbols.
4613 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4614 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4615 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4616 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4617 (open64): Do not use BP_SYM in weak_alias.
4618 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4619 (fegetenv): Do not use BP_SYM in versioned symbols.
4620 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4621 (fesetenv): Do not use BP_SYM in versioned symbols.
4622 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4623 (feupdateenv): Do not use BP_SYM in versioned symbols.
4624 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4625 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4626 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4627 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4628 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4629 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4630 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4631 <bp-sym.h>.
4632 (__libc_start_main): Do not use BP_SYM.
4633
d6752ccd
SP
46342013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
cb57ce60
SP
4636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4637 redundant return line.
4638 (norm): Likewise.
4639 (denorm): Likewise.
4640 (dbl_mp): Likewise.
4641 (sub_magnitudes): Likewise.
4642 (__add): Likewise.
4643 (__sub): Likewise.
4644 (__mul): Likewise.
4645 (__inv): Likewise.
4646 (__dvd): Likewise.
4647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4648 (norm): Likewise.
4649 (denorm): Likewise.
4650 (dbl_mp): Likewise.
4651 (sub_magnitudes): Likewise.
4652 (__add): Likewise.
4653 (__sub): Likewise.
4654 (__mul): Likewise.
4655 (__inv): Likewise.
4656 (__dvd): Likewise.
4657
f414520d
SP
4658 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4659 instead of __mul.
4660 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4661 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4662 (cc32): Likewise.
4663
d6752ccd
SP
4664 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4665 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4667 of __mul for squares.
4668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4669 function
4670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4671 Likewise.
4672 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4673 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4674
70d9946a
JM
46752013-02-13 Joseph Myers <joseph@codesourcery.com>
4676
4677 [BZ #13550]
4678 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4679 code.
4680 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4681 prototype or function definition. Rename ubp_* variables and
4682 parameters. Remove argv definitions conditional on
4683 [__BOUNDED_POINTERS__].
4684 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4685 * elf/dl-runtime.c (_dl_fixup): Likewise.
4686 * include/set-hooks.h (RUN_HOOK): Likewise.
4687 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4688 definition.
4689 * string/strcpy.c (strcpy): Do not use __unbounded.
4690 * sysdeps/generic/frame.h (struct layout): Likewise.
4691 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4692 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4693 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4694 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4695 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4696 (__backtrace): Likewise.
4697 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4698 use __ptrvalue.
4699 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4700 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4701 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4702 Likewise.
4703 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4704 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4705 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4706 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4707 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4708 Do not use __unbounded.
4709 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4710 Rename __unboundedrlimits parameter to rlimits in prototype.
4711 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4712 Do not use __unbounded.
4713 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4714 not use __ptrvalue.
4715 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4716 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4717 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4718 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4719 __ptrvalue or __unbounded.
4720 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4721 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4722 use __unbounded.
4723 (__new_msgctl): Do not use __ptrvalue.
4724 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4725 __unbounded.
4726 (__libc_msgrcv): Do not use __ptrvalue.
4727 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4728 startup_info): Do not use __unbounded.
4729 (__libc_start_main): Likewise. Rename ubp_* variables and
4730 parameters. Remove argv definitions conditional on
4731 [__BOUNDED_POINTERS__].
4732 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4733 __ptrvalue.
4734 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4735 use __unbounded.
4736 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4737 or __ptrvalue.
4738 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4739 use __unbounded.
4740 (__new_shmctl): Do not use __ptrvalue.
4741 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4742 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4743 Likewise.
4744 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4746 (__libc_sigaction): Likewise.
4747 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4748 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4749 Likewise.
4750 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4751
cc7834d6
OB
47522013-02-13 Ondřej Bílka <neleai@seznam.cz>
4753
ffb1ec7b 4754 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
4755
4756 * string/mempcpy.c: Implement by calling memcpy.
4757
bdf02814
SP
47582013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4759
c2af38aa
SP
4760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4761
4e92d59e
SP
4762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4763 evaluation.
4764
909279a5
SP
4765 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4766 values in the mantissa.
4767
bdf02814
SP
4768 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4769 minimize writes to Z.
4770 (sub_magnitudes): Simplify code a bit.
4771
cd525923
RM
47722013-02-12 Roland McGrath <roland@hack.frob.com>
4773
4774 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4775 from the message. The linker prefixes all warnings with that already.
4776
7e2f0d2d
AS
47772013-02-12 Andreas Schwab <schwab@suse.de>
4778
a445af0b
AS
4779 [BZ #15078]
4780 * posix/regexec.c (extend_buffers): Add parameter min_len.
4781 (check_matching): Pass minimum needed length.
4782 (clean_state_log_if_needed): Likewise.
4783 (get_subexp): Likewise.
4784 * posix/Makefile (tests): Add bug-regex34.
4785 (bug-regex34-ENV): Define.
4786 * posix/bug-regex34.c: New file.
4787
7e2f0d2d
AS
4788 [BZ #11561]
4789 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4790 elements compare against the byte sequence of it, not its name.
4791 * posix/Makefile (tests): Add bug-regex35.
4792 (bug-regex35-ENV): Define.
4793 * posix/bug-regex35.c: New file.
4794
a175b684
TV
47952013-02-11 Tom de Vries <tom@codesourcery.com>
4796
4797 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4798 comment.
4799 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4800 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4801 (CHECK_EOL): Add undef.
4802
310998fe 48032013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
4804
4805 * bits/stdlib-bsearch.h: New file.
4806 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 4807 * stdlib/stdlib.h: Likewise.
41eda41d 4808
8ded91fb
RM
48092013-02-11 Roland McGrath <roland@hack.frob.com>
4810
4811 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4812 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4813 declaration.
4814 * manual/search.texi (Array Search Function): Add missing const in
4815 lfind prototype.
4816 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4817 declaration to use rlim_t.
4818 (Basic Scheduling Functions): Remove erroneous const from
4819 sched_getparam prototype. Remove erroneous * from
4820 sched_get_priority_max and sched_get_priority_min prototypes.
4821 (Resource Usage): Fix summary @comment on vtimes to refer to
4822 sys/vtimes.h rather than vtimes.h.
4823 Add missing *s in vtimes prototype.
4824 (Limits on Resources): Fix ulimit prototype to return long int.
4825 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4826 prototypes to use long int rather than double.
4827 (BSD Random): Fix initstate and setstate to use char *, not void *.
4828 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4829 prototype to make second argument 'struct aiocb64 *const[]'.
4830 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4831 (Status of AIO Operations): Remove erroneous const in aio_return and
4832 aio_return64 prototypes.
4833 (Synchronizing I/O): Fix sync prototype to return void.
4834 * manual/startup.texi (Suboptions): Remove an erroneous const in
4835 getsubopt prototype.
4836 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4837 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4838 use size_t rather than int.
4839 (Scanning All Users): Likewise for getpwent_r.
4840 (Setting Groups): Add missing const to setgroups prototype.
4841 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4842 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4843 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4844 'const void *' rather than 'const char *'.
4845 (Host Address Functions): Likewise for inet_ntop.
4846 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4847 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4848 ssize_t for return value.
4849 (Sending Data): Likewise for send, sendto, sendmsg.
4850 (Socket Option Functions): Add a missing const in setsockopt prototype.
4851 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4852 use wchar_t for the argument.
4853 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4854 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4855 take no arguments.
4856 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4857 double/float/long double for second argument.
4858 Fix return types of significand, significandf, significandl.
4859 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4860 argument in fchmod prototype.
4861 (File Owner): Use uid_t and gid_t in fchown prototype.
4862 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4863 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4864 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4865 use 'const struct dirent **' as argument types to CMP function pointer
4866 argument.
4867 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4868 (File Times): Fix summary magic @comment for struct utimbuf and utime
4869 to refer to utime.h, not time.h.
4870 * manual/string.texi (Argz Functions): Add missing const in
4871 argz_extract and argz_next prototypes.
4872 (Finding Tokens in a String): Likewise for basename.
4873 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4874 (Copying and Concatenation): Fix typo in wmemmove prototype.
4875 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4876 (Signal Stack): Remove erroneous const in sigstack prototype.
4877 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4878 prototype.
4879 (Simple Calendar Time): Likewise for stime.
4880 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4881 prototype.
4882 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4883 say sys/sysctl.h instead.
4884 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4885 and vsyslog prototypes.
4886
fe77fe6d
TV
48872013-02-11 Tom de Vries <tom@codesourcery.com>
4888
4889 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4890 Remove.
4891
3a09b620
RM
48922013-02-11 Roland McGrath <roland@hack.frob.com>
4893
4894 * misc/sys/mman.h: Fix typo in mremap comment.
4895
550a0b89
RM
48962013-02-08 Roland McGrath <roland@hack.frob.com>
4897
4898 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4899 the '\0' terminator.
4900
a2da1673
JM
49012013-02-08 Joseph Myers <joseph@codesourcery.com>
4902
4903 [BZ #13550]
4904 * debug/segfault.c: Don't include <bp-checks.h>.
4905 * sysdeps/generic/bp-checks.h: Remove file.
4906 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4907 (__GETDENTS): Don't use CHECK_N.
4908 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4909 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4910 (__getgroups): Don't use CHECK_N.
4911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4912 (setgroups): Don't use CHECK_N.
4913 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4914 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4915 (__libc_msgrcv): Don't use CHECK_N.
4916 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4917 (__libc_msgsnd): Don't use CHECK_N.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4919 <bp-checks.h>.
4920 (__libc_pread): Don't use CHECK_N.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4922 include <bp-checks.h>.
4923 (__libc_pread64): Don't use CHECK_N.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4925 include <bp-checks.h>.
4926 (__libc_pwrite): Don't use CHECK_N.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4928 include <bp-checks.h>.
4929 (__libc_pwrite64): Don't use CHECK_N.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4931 <bp-checks.h>.
4932 (__libc_pread): Don't use CHECK_N.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4934 include <bp-checks.h>.
4935 (__libc_pread64): Don't use CHECK_N.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4937 include <bp-checks.h>.
4938 (__libc_pwrite): Don't use CHECK_N.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4940 include <bp-checks.h>.
4941 (__libc_pwrite64): Don't use CHECK_N.
4942 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4943 (do_pread): Don't use CHECK_N.
4944 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4945 (do_pread64): Don't use CHECK_N.
4946 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4947 (do_pwrite): Don't use CHECK_N.
4948 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4949 (do_pwrite64): Don't use CHECK_N.
4950 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4951 (__libc_readv): Don't use CHECK_N.
4952 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4953 (semop): Don't use CHECK_N.
4954 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4955 <bp-checks.h>.
4956 (semtimedop): Don't use CHECK_N.
4957 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4958 (__libc_pread): Don't use CHECK_N.
4959 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4960 <bp-checks.h>.
4961 (__libc_pread64): Don't use CHECK_N.
4962 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4963 <bp-checks.h>.
4964 (__libc_pwrite): Don't use CHECK_N.
4965 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4966 <bp-checks.h>.
4967 (__libc_pwrite64): Don't use CHECK_N.
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4969 <bp-checks.h>.
4970 (__libc_msgrcv): Don't use CHECK_N.
4971 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4972 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4973 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4974 (__libc_writev): Don't use CHECK_N.
4975
b84660a8
RM
49762013-02-08 Roland McGrath <roland@hack.frob.com>
4977
7f3e75f8
RM
4978 * string/strcpy.c: Removed unused variable.
4979
b84660a8
RM
4980 * Makeconfig (+sysdep-includes): Define with := rather than =.
4981 Use an existing include/ subdir of each sysdeps dir before it.
4982
471514d3
CD
49832013-02-08 Carlos O'Donell <carlos@redhat.com>
4984
4985 * nscd/connection.c (register_traced_file): Comment function.
4986 [HAVE_INOTIFY] (union __inev): Define.
4987 [HAVE_INOTIFY] (inotify_check_files): New function.
4988 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4989 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4990 clear_db_cache.
4991 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4992
b2d3c3be
CD
49932013-02-08 Carlos O'Donell <carlos@redhat.com>
4994
4995 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4996 loaded if not already and that a failure is permanent.
4997
b39949d2
CD
49982013-02-08 Carlos O'Donell <carlos@redhat.com>
4999
ddacd1db 5000 [BZ #15006]
b39949d2
CD
5001 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5002 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5003
b2c9eff4
JM
50042013-02-08 Joseph Myers <joseph@codesourcery.com>
5005
f3aae3f3
JM
5006 [BZ #13550]
5007 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5008 (CHECK_1_NULL_OK): Likewise.
5009 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5010 (__fxstat): Do not use CHECK_1.
5011 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5012 <bp-checks.h>.
5013 (___fxstat64): Do not use CHECK_1.
5014 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5015 <bp-checks.h>.
5016 (__fxstatat): Do not use CHECK_1.
5017 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5018 <bp-checks.h>.
5019 (__fxstatat64): Do not use CHECK_1.
5020 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5021 <bp-checks.h>.
5022 (__fxstat): Do not use CHECK_1.
5023 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5024 <bp-checks.h>.
5025 (__fxstatat): Do not use CHECK_1.
5026 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5027 <bp-checks.h>.
5028 (__getresgid): Do not use CHECK_1.
5029 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5030 <bp-checks.h>.
5031 (__getresuid): Do not use CHECK_1.
5032 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5033 <bp-checks.h>.
5034 (__lxstat): Do not use CHECK_1.
5035 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5036 <bp-checks.h>.
5037 (__old_msgctl): Do not use CHECK_1.
5038 (__new_msgctl): Likewise.
5039 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5040 <bp-checks.h>.
5041 (__new_setrlimit): Do not use CHECK_1.
5042 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5043 <bp-checks.h>.
5044 (__old_shmctl): Do not use CHECK_1.
5045 (__new_shmctl): Likewise.
5046 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5047 <bp-checks.h>.
5048 (__xstat): Do not use CHECK_1.
5049 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5050 (__lxstat): Do not use CHECK_1.
5051 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5052 <bp-checks.h>.
5053 (___lxstat64): Do not use CHECK_1.
5054 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5055 (__old_msgctl): Do not use CHECK_1.
5056 (__new_msgctl): Likewise.
5057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5058 <bp-checks.h>.
5059 (__gettimeofday): Do not use CHECK_1.
5060 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5061 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5062 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5063 <bp-checks.h>.
5064 (__gettimeofday): Do not use CHECK_1.
5065 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5066 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5067 (__new_shmctl): Do not use CHECK_1.
5068 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5069 <bp-checks.h>.
5070 (do_sigtimedwait): Do not use CHECK_1.
5071 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5072 <bp-checks.h>.
5073 (do_sigwaitinfo): Do not use CHECK_1.
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5075 <bp-checks.h>.
5076 (msgctl): Do not use CHECK_1.
5077 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5078 <bp-checks.h>.
5079 (shmctl): Do not use CHECK_1.
5080 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5081 (ustat): Do not use CHECK_1.
5082 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5083 <bp-checks.h>.
5084 (__fxstat): Do not use CHECK_1.
5085 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5086 <bp-checks.h>.
5087 (__fxstatat): Do not use CHECK_1.
5088 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5089 <bp-checks.h>.
5090 (__lxstat): Do not use CHECK_1.
5091 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5092 <bp-checks.h>.
5093 (__xstat): Do not use CHECK_1.
5094 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5095 (__xstat): Do not use CHECK_1.
5096 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5097 (___xstat64): Do not use CHECK_1.
5098
b2c9eff4
JM
5099 [BZ #13550]
5100 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5101 definitions.
5102 (CHECK_BOUNDS_HIGH): Likewise.
5103 * string/strcpy.c: Do not include <bp-checks.h>.
5104 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5105
f1d70dad
RM
51062013-02-07 Roland McGrath <roland@hack.frob.com>
5107
5108 * nscd/nscd-client.h (__nscd_drop_map_ref):
5109 Add __attribute__ ((unused)).
5110 * nis/nss-nisplus.h (niserr2nss): Likewise.
5111
5112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5113 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5114
5115 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5116 Remove inline keyword.
5117 * include/rounding-mode.h (round_away): Likewise.
5118 * libio/wfileops.c (adjust_wide_data): Likewise.
5119 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5120 (__m128i_strloadu_tolower): Likewise.
5121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5122 (__m128i_strloadu_tolower): Likewise.
5123 * time/mktime.c (ydhms_diff): Likewise.
5124 * locale/elem-hash.h (elem_hash): Likewise.
5125 * locale/setlocale.c (setdata): Likewise.
5126 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5127 (re_string_wchar_at): Likewise.
5128 (bitset_not, bitset_merge, bitset_mask): Likewise.
5129 [!(__GNUC__ > 3)] (inline): Remove macro.
5130 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5131 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5132 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5133 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5134 * string/memcmp.c (memcmp_bytes): Likewise.
5135 * locale/programs/locarchive.c (compute_hashval): Likewise.
5136 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5137 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5138 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5139 * nss/getent.c (print_rpc, print_protocols): Likewise.
5140 (print_passwd, print_group, print_aliases): Likewise.
5141 * nis/nss-nisplus.h (niserr2nss): Likewise.
5142 * nscd/connections.c (restart_p): Likewise.
5143 Change return type to bool.
5144
eab55bfb
RM
51452013-02-05 Roland McGrath <roland@hack.frob.com>
5146
7bd642f5
RM
5147 * Makeconfig (all-Depend-files): Add existing
5148 $(sorted-subdirs:=/Depend) files.
5149 (all-subdirs): Remove nss.
5150 * sysdeps/unix/inet/Subdirs: Add it here instead.
5151 * hesiod/Depend: New file.
5152
573c29b2
RM
5153 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5154 instead of calling alloca.
5155
b2e25af0
RM
5156 * io/lseek.c (__lseek): Rename to __libc_lseek.
5157 Define __lseek as an alias.
5158
eab55bfb
RM
5159 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5160
9a0d1941
CD
51612013-02-04 Carlos O'Donell <carlos@redhat.com>
5162
5163 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5164 else clause and remove check for non-standard endianness.
5165
b83bbec4
DM
51662013-02-04 David S. Miller <davem@davemloft.net>
5167
5168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5169
6277fdab
JM
51702013-02-04 Joseph Myers <joseph@codesourcery.com>
5171
5172 [BZ #13550]
5173 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5174 (__ubp_memchr): Remove prototype.
5175 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5176 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5177 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5178 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5179 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5180 Remove alias.
5181 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5182 (__ubp_memchr): Likewise.
5183 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5184 (__ubp_memchr): Likewise.
5185 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5186 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5187 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5188 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5189 CHECK_STRING.
5190 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5191 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5192 (__getcwd): Do not use CHECK_STRING.
5193 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5194 <bp-checks.h>.
5195 (__real_chown): Do not use CHECK_STRING.
5196 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5197 <bp-checks.h>.
5198 (fchownat): Do not use CHECK_STRING.
5199 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5200 CHECK_STRING.
5201 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5202 <bp-checks.h>.
5203 (__lchown): Do not use CHECK_STRING.
5204 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5205 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5206 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5207 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5209 include <bp-checks.h>.
5210 (truncate64): Do not use CHECK_STRING.
5211 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5212 <bp-checks.h>.
5213 (__real_chown): Do not use CHECK_STRING.
5214 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5215 <bp-checks.h>.
5216 (__lchown): Do not use CHECK_STRING.
5217 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5218 <bp-checks.h>.
5219 (__chown): Do not use CHECK_STRING.
5220 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5221 <bp-checks.h>.
5222 (truncate64): Do not use CHECK_STRING.
5223 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5224 Likewise.
5225 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5226 (__xmknod): Do not use CHECK_STRING.
5227 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5228 <bp-checks.h>.
5229 (__xmknodat): Do not use CHECK_STRING.
5230 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5231 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5232
903ae060
AS
52332013-02-04 Andreas Schwab <schwab@suse.de>
5234
5235 [BZ #14142]
5236 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5237 * include/netdb.h: Likewise for h_errno.
5238 * elf/tst-stackguard1.c: Include <tls.h>.
5239
542f9466
JK
52402013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5241
5242 * elf/link.h (struct link_map): Extend the l_addr comment.
5243 * include/link.h (struct link_map): Likewise.
5244
e782a927
JM
52452013-02-01 Joseph Myers <joseph@codesourcery.com>
5246
5247 [BZ #13550]
5248 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5249 (BOUNDED_1): Remove macro.
5250 * debug/backtrace.c: Don't include <bp-checks.h>.
5251 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5252 (__backtrace): Likewise.
5253 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5254 <bp-checks.h>.
5255 (__backtrace): Don't use BOUNDED_1.
5256 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5257 <bp-checks.h>.
5258 (__backtrace): Don't use BOUNDED_1.
5259 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5260 (__backtrace): Don't use BOUNDED_1.
5261 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5262 (shmat): Don't use BOUNDED_N.
5263
8cf28c5e
JM
52642013-01-31 Joseph Myers <joseph@codesourcery.com>
5265
3a7ac8a0
JM
5266 [BZ #13550]
5267 * sysdeps/generic/bp-start.h: Remove file.
5268 * csu/libc-start.c: Don't include <bp-start.h>.
5269 (LIBC_START_MAIN): Set up __environ directly instead of using
5270 INIT_ARGV_and_ENVIRON.
5271 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5272 <bp-start.h>.
5273
f3499f95
JM
5274 [BZ #13550]
5275 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5276 definitions.
5277 (CHECK_FCNTL): Likewise.
5278 (CHECK_N_PAGES): Likewise.
5279
32a45bea
JM
5280 [BZ #13550]
5281 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5282 definitions.
5283 (CHECK_SIGSET_NULL_OK): Likewise.
5284 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5285 <bp-checks.h>.
5286 (sigpending): Don't use CHECK_SIGSET.
5287 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5288 <bp-checks.h>.
5289 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5290 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5291 <bp-checks.h>.
5292 (do_sigsuspend): Don't use CHECK_SIGSET.
5293 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5294 use CHECK_SIGSET.
5295 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5296 (do_sigwait): Don't use CHECK_SIGSET.
5297 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5298 use CHECK_SIGSET.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5300 include <bp-checks.h>.
5301 (sigpending): Don't use CHECK_SIGSET.
5302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5303 include <bp-checks.h>.
5304 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5305 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5306 <bp-checks.h>.
5307 (sigpending): Don't use CHECK_SIGSET.
5308 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5309 <bp-checks.h>.
5310 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5311
2e8a5c8c
JM
5312 [BZ #13550]
5313 * sysdeps/generic/bp-semctl.h: Remove file.
5314 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5315 <bp-checks.h> and <bp-semctl.h>.
5316 (__old_semctl): Don't use CHECK_SEMCTL.
5317 (__new_semctl): Likewise.
5318 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5319 and <bp-semctl.h>.
5320 (__old_semctl): Don't use CHECK_SEMCTL.
5321 (__new_semctl): Likewise.
5322 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5323 <bp-checks.h> and <bp-semctl.h>.
5324 (__old_semctl): Don't use CHECK_SEMCTL.
5325 (__new_semctl): Likewise.
5326 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5327 <bp-checks.h> and <bp-semctl.h>.
5328 (semctl): Don't use CHECK_SEMCTL.
5329
c2d54929
JM
5330 [BZ #13550]
5331 * Makerules (elide-bp-thunks): Remove variable.
5332 (elide-routines.oS): Don't use $(elide-bp-thunks).
5333 (elide-routines.os): Likewise.
5334 (elide-routines.o): Likewise.
5335 (elide-routines.op): Likewise.
5336 (elide-routines.og): Likewise.
5337 (objects): Don't use $(bp-thunks).
5338 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5339 include.
5340 (common-generated): Do not add s-proto-bp.d.
5341 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5342 (int): Likewise.
5343 (typ): Likewise.
5344 Do not generate makefile rules for bounded-pointer thunks.
5345 * sysdeps/generic/bp-thunks.h: Remove file.
5346 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5347 * sysdeps/unix/s-proto-bp.S: Likewise.
5348
8cf28c5e
JM
5349 [BZ #15062]
5350 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5351 parts of result separately when argument is not close to line from
5352 -i to i and one part of argument is small.
5353 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5354 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5355 * math/libm-test.inc (cacos_test): Add more tests.
5356 (casin_test): Likewise.
5357 (casinh_test): Likewise.
5358 * sysdeps/i386/fpu/libm-test-ulps: Update.
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360
c4e33b8d
DM
53612013-01-31 David S. Miller <davem@davemloft.net>
5362
5363 * po/de.po: Update from translation team.
5364
3b60b421
MK
53652013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5366
5367 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5368
bb931195
TS
53692013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5370
b5a5da23
TS
5371 * configure.in (_AC_PROG_CC_C89): New definition.
5372 * configure: Regenerate.
5373
bb931195
TS
5374 * configure.in (AC_PROG_CPP): New definition.
5375 * configure: Regenerate.
5376
8c53a12c
JM
53772013-01-23 Joseph Myers <joseph@codesourcery.com>
5378
5379 * debug/tst-backtrace.h: New file.
5380 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5381 (ret): Remove variable.
5382 (x): Likewise.
5383 (FAIL): Remove macro.
5384 (NO_INLINE): Likewise.
5385 (fn1): Use match function instead of strstr.
5386 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5387 (ret): Remove variable.
5388 (x): Likewise.
5389 (FAIL): Remove macro.
5390 (NO_INLINE): Likewise.
5391 (fn): Use match function instead of strstr.
5392 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5393 (ret): Remove variable.
5394 (x): Likewise.
5395 (FAIL): Remove macro.
5396 (NO_INLINE): Likewise.
5397 (handle_signal): Use match function instead of strstr.
5398 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5399 (ret): Remove variable.
5400 (x): Likewise.
5401 (FAIL): Remove macro.
5402 (NO_INLINE): Likewise.
5403 (handle_signal): Use match function instead of strstr.
5404
4858fa2a
RM
54052013-01-23 Roland McGrath <roland@hack.frob.com>
5406
5407 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5408
bae8e7f5
DM
54092013-01-23 David S. Miller <davem@davemloft.net>
5410
5411 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5412 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5413 argument of CAS if possible.
5414 * sysdeps/sparc/sparc64/bits/atomic.h
5415 (__arch_compare_and_exchange_val_32_acq): Likewise.
5416 (__arch_compare_and_exchange_val_64_acq): Likewise.
5417
9cbbc4ae
PT
54182013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5419
5420 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5421 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5422 Include <limits.h>.
67b3f58c 5423 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5424
5655a0b5
AC
54252013-01-23 Adam Conrad <adconrad@0c3.net>
5426
5427 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5428 (LDFLAGS-tst-array5): Likewise.
5429
052aff95
JM
54302013-01-23 Joseph Myers <joseph@codesourcery.com>
5431
5432 [BZ #15036]
5433 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5434 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5435 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5437
7c1e01aa
DM
54382013-01-21 David S. Miller <davem@davemloft.net>
5439
5440 * sysdeps/sparc/backtrace.c: New file.
5441 * sysdeps/sparc/sparc32/backtrace.h: New file.
5442 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5443 * sysdeps/sparc/sparc64/backtrace.h: New file.
5444 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5445 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5446 -funwind-tables.
5447
ab087e0a
AS
54482013-01-21 Andreas Schwab <schwab@suse.de>
5449
5450 [BZ #15020]
5451 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5452 closed its stdout.
5453
ed689c2f
AS
54542013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5455
5456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5457 "mpa2.h".
5458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5459
31d470ac
JM
54602013-01-18 Joseph Myers <joseph@codesourcery.com>
5461 Mark Mitchell <mark@codesourcery.com>
5462 Tom de Vries <tom@codesourcery.com>
5463 Paul Pluzhnikov <ppluzhnikov@google.com>
5464
5465 * debug/tst-backtrace2.c: New file.
5466 * debug/tst-backtrace3.c: Likewise.
5467 * debug/tst-backtrace4.c: Likewise.
5468 * debug/tst-backtrace5.c: Likewise.
5469 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5470 (CFLAGS-tst-backtrace3.c): Likewise.
5471 (CFLAGS-tst-backtrace4.c): Likewise.
5472 (CFLAGS-tst-backtrace5.c): Likewise.
5473 (LDFLAGS-tst-backtrace2): Likewise.
5474 (LDFLAGS-tst-backtrace3): Likewise.
5475 (LDFLAGS-tst-backtrace4): Likewise.
5476 (LDFLAGS-tst-backtrace5): Likewise.
5477 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5478 tst-backtrace4 and tst-backtrace5.
5479
90567f30 54802013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
5481 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5482
5483 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5484 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5485 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5486 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5488 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5489 "+r" and remove output regs list as redundant. Add explicit inline
5490 asm to specify register of return val to work around compiler codegen
5491 bug. Remove (int) cast on return value. Add return type parameter to
5492 use in macro so that this macro does not truncate return value for
5493 64-bit values.
5494 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5495 pass to INTERNAL_VSYSCALL_NCS.
5496 (INLINE_VSYSCALL): Add 'long int' as return type to
5497 INTERNAL_VSYSCALL_NCS macro invocation.
5498 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5499 INTERNAL_VSYSCALL_NCS macro invocation.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5501
d3b9ea61
SP
55022013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
0b57daeb
SP
5504 [BZ #14496]
5505 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5506 Fix application of SIMD FP exception mask.
5507
caa99d06
SP
5508 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5509 mp_no from a power of two.
5510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5511 __mpexp_twomm1. Use __pow_mp.
5512
d3b9ea61
SP
5513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5514 multiplication.
5515
1dbaee3c
DM
55162013-01-17 David S. Miller <davem@davemloft.net>
5517
5518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5519
728d7b43
JM
55202013-01-17 Joseph Myers <joseph@codesourcery.com>
5521
5522 [BZ #15023]
5523 * include/complex.h: Condition contents on [!_COMPLEX_H].
5524 (__kernel_casinhf): New prototype.
5525 (__kernel_casinh): Likewise.
5526 (__kernel_casinhl): Likewise.
5527 * math/Makefile (libm_calls): Add k_casinh.
5528 * math/k_casinh.c: New file.
5529 * math/k_casinhf.c: Likewise.
5530 * math/k_casinhl.c: Likewise.
5531 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5532 finite nonzero arguments.
5533 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5534 finite nonzero arguments.
5535 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5536 finite nonzero arguments.
5537 * math/s_casinh.c: Do not include <float.h>.
5538 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5539 * math/s_casinhf.c: Do not include <float.h>.
5540 (__casinhf): Move code for finite nonzero arguments to
5541 k_casinhf.c.
5542 * math/s_casinhl.c: Do not include <float.h>.
5543 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5544 redefine.
5545 (__casinhl): Move code for finite nonzero arguments to
5546 k_casinhl.c.
5547 * math/libm-test.inc (cacos_test): Add more tests.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5550
2a26ef3a
PT
55512013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5552
5553 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5554 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5555 [!HAVE_MREMAP]: Remove [defined linux] case.
5556 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5557
a897655d
SP
55582013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
5560 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5561
881ebe89 55622013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
5563
5564 * elf/elf.h (R_386_SIZE32): New relocation.
5565 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5566 R_386_SIZE32.
5567 (elf_machine_rela): Likewise.
5568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5569 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5570
59981e9b
JM
55712013-01-17 Joseph Myers <joseph@codesourcery.com>
5572
5573 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5574 (FP_FAST_FMA): Do not define.
5575 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5576 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5577 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5578 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5579 !_SOFT_FLOAT]: Likewise.
5580 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5581 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5582 value.
5583 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5584 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5585 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5586 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5587 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5588 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5589 file.
5590
cfa8054f
AS
55912013-01-16 Andreas Schwab <schwab@suse.de>
5592
5593 [BZ #14327]
5594 * include/stdlib.h (__mktemp): Add declaration.
5595 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5596 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5597
dd930cc5
SP
55982013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5599
881ebe89
SP
5600 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5601 definitions.
5602 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5603 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5604 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5605 definitions here.
5606 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5607 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5608 definitions.
5609 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5610 and ONE.
5611 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5612 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5613 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5614 definitions.
5615 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5616 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5617 definitions.
5618 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 5619
dd930cc5
SP
5620 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5621
c19a9f89
DM
56222013-01-15 David S. Miller <davem@davemloft.net>
5623
1aa61767
DM
5624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5625 trunc{,f} to libm-sysdep_routes.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5628 file.
5629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5631 file.
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5633 file.
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5636 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5637 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5638 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5639 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5640 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5641 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5642
c42d5e98
DM
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5644 nearbyint{,f} to libm-sysdep_routes.
5645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5647 New file.
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5649 file.
5650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5651 New file.
5652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5653 file.
5654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5656 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5657 file.
5658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5660 file.
5661 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5662 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5663 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5664
c19a9f89
DM
5665 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5666 libc_feholdexcept and libc_fesetenv.
5667
357679d2
MF
56682013-01-15 Mike Frysinger <vapier@gentoo.org>
5669
5670 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5671
65a82e3d
DM
56722013-01-14 David S. Miller <davem@davemloft.net>
5673
8b954ab9
DM
5674 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5675 (SPARC_ASM_VIS2_IFUNC): Likewise.
5676 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5678 use of 'siam' instruction.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5680 Likewise.
5681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5682 Likewise.
5683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5684 Likewise.
5685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5690 file.
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5692 file.
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5694 file.
5695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5696 file.
5697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5702 new VIS2 routines.
5703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5706 Likewise.
5707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5712 routines to libm-sysdep_routines.
5713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5714
65a82e3d
DM
5715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5716 fdim/fdimf to libm-sysdep_routines.
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5718 file.
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5721 file.
5722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5725 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5726 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5727 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5728 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5729
e34ab705
SP
57302013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5731
2a91b573
SP
5732 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5733 to optimize copies.
5734
1066a534
SP
5735 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5738
e34ab705
SP
5739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5740 local variable MPTWO.
5741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5742 Likewise.
5743
aba5e596
MF
57442013-01-13 Mike Frysinger <vapier@gentoo.org>
5745
5746 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5747 GLOB_NOESCAPE.
5748
e557e9e5
MF
57492013-01-13 Mike Frysinger <vapier@gentoo.org>
5750
5751 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5752
0428cec9
MF
57532013-01-13 Mike Frysinger <vapier@gentoo.org>
5754
5755 * manual/pattern.texi (glob_t): Document gl_flags.
5756 (glob64_t): Likewise.
5757
8794a964
DM
57582013-01-11 David S. Miller <davem@davemloft.net>
5759
66438c3f
RM
5760 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5761 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5762 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
5763 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5764 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5765 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5766 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5767 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5768 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5769 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5770 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5771 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5772 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5773
4ae4244d
DM
5774 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5775 sparc V9 rather than using V8 code.
5776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5778
8794a964
DM
5779 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5780 Move to...
5781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5782 Here.
5783
6270516e
RM
57842013-01-11 Roland McGrath <roland@hack.frob.com>
5785
5786 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5787 not in the main loop.
5788 * configure: Regenerated.
5789
6a57d931
JM
57902013-01-11 Joseph Myers <joseph@codesourcery.com>
5791
5792 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5793 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5794 to just #else.
5795 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5796 [!__GLIBC_HAVE_LONG_LONG] case.
5797 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5798 condition to just #else.
5799 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5800 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5801 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5802 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5803 unconditional.
5804 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5805 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5806 #elif condition to just #else.
5807 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5808 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5809 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5810 #elif condition to just #else.
5811
0e8529e9
SE
58122013-01-11 Steve Ellcey <sellcey@mips.com>
5813
5814 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5815 (EF_MIPS_ARCH_64): Fix value.
5816 (EF_MIPS_ARCH_32R2): New.
5817 (EF_MIPS_ARCH_64R2): New.
5818
740b3dbe
L
58192013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5820
5821 * Makeconfig (+link-pie-before-libc): New.
5822 (+link-pie-after-libc): Likewise.
5823 (+link-pie-tests): Likewise.
5824 (+link-pie): Rewritten.
5825 (link-before-libc): Remove $(config-LDFLAGS).
5826 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5827 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5828 (config-LDFLAGS): Renamed to ...
5829 (rtld-LDFLAGS): This.
5830 (rtld-tests-LDFLAGS): New macro.
5831 (link-libc-rpath-link): Likewise.
5832 (link-libc-tests-rpath-link): Likewise.
5833 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5834 (link-libc): Prepand $(link-libc-rpath-link).
5835 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5836 (test-program-prefix): New macro.
5837 (test-via-rtld-prefix): Likewise.
5838 (test-program-cmd): Likewise.
5839 (host-test-program-cmd): Likewise.
5840 * Makefile ($(common-objpfx)testrun.sh): Replace
5841 $(run-program-prefix) with $(test-program-prefix).
5842 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5843 $(rtld-LDFLAGS).
5844 ($(common-objpfx)shlib.lds): Likewise.
5845 (build-module-helper): Likewise.
5846 ($(common-objpfx)format.lds): Likewise.
5847 * Rules (binaries-pie-tests): New.
5848 (binaries-pie-notests): Likewise.
5849 (binaries-pie): Rewritten.
5850 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5851 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5852 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5853 (make-test-out): Replace $(host-built-program-cmd) with
5854 $(host-test-program-cmd).
5855 * config.make.in (build-hardcoded-path-in-tests): New variable.
5856 * configure.in (--enable-hardcoded-path-in-tests): New configure
5857 option.
5858 (hardcoded_path_in_tests): New AC_SUBST.
5859 * configure: Regenerated.
5860 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5861 $(built-program-cmd) with $(test-program-cmd).
5862 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5863 (test_program_cmd): This.
5864 * elf/Makefile ($(objpfx)order.out): Run test with
5865 $(test-program-prefix).
5866 ($(objpfx)order2.out): Likewise.
5867 ($(objpfx)tst-initorder.out): Likewise.
5868 ($(objpfx)tst-initorder2.out): Likewise.
5869 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5870 $(test-program-cmd).
5871 ($(objpfx)tst-array1-static.out): Likewise.
5872 ($(objpfx)tst-array2.out): Likewise.
5873 ($(objpfx)tst-array3.out): Likewise.
5874 ($(objpfx)tst-array4.out): Likewise.
5875 ($(objpfx)tst-array5.out): Likewise.
5876 ($(objpfx)tst-array5-static.out): Likewise.
5877 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5878 $(test-program-cmd).
5879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5880 $(run-program-prefix) with $(test-program-prefix).
5881 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5882 (test_program_prefix): This.
5883 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5884 $(run-program-prefix) with $(test-program-prefix).
5885 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5886 (test_program_prefix): This.
5887 * iconvdata/tst-tables.sh: Likewise.
5888 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5889 $(run-program-prefix) with $(test-program-prefix).
5890 ($(objpfx)tst-translit.out): Likewise.
5891 ($(objpfx)tst-gettext2.out): Likewise.
5892 ($(objpfx)tst-gettext4.out): Likewise.
5893 ($(objpfx)tst-gettext6.out): Likewise.
5894 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5895 (test_program_prefix): This.
5896 * intl/tst-gettext2.sh: Likewise.
5897 * intl/tst-gettext4.sh Likewise.
5898 * intl/tst-gettext6.sh: Likewise.
5899 * intl/tst-translit.sh: Likewise.
5900 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5901 with $(test-program-cmd).
5902 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5903 $(run-program-prefix) with $(test-program-prefix).
5904 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5905 (test_program_prefix): This.
5906 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5907 $(run-program-prefix) with $(test-program-prefix).
5908 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5909 (test_program_prefix): This.
5910 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5911 * posix/Makefile ($(objpfx)globtest.out): Replace
5912 $(run-via-rtld-prefix) and $(test-wrapper) with
5913 $(test-program-prefix) and $(test-via-rtld-prefix).
5914 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5915 $(test-program-prefix).
5916 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5917 $(host-test-program-cmd).
5918 (tst-spawn-ARGS): Likewise.
5919 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5920 $(test-program-prefix).
5921 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5922 (test_via_rtld_prefix): This.
5923 (test_wrapper): Renamed to ...
5924 (test_program_prefix): This.
5925 (run_program_prefix): Replaced by test_program_prefix.
5926 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5927 (test_program_prefix): This.
5928 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5929 with $(host-test-program-cmd).
5930 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5931 $(run-program-prefix) with $(test-program-prefix).
5932 ($(objpfx)tst-printf.out): Likewise.
5933 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5934 $(test-program-cmd).
5935 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5936 (test_program_prefix): This.
5937 * stdio-common/tst-unbputc.sh: Likewise.
5938 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5939 $(run-program-prefix) with $(test-program-prefix).
5940 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5941 (test_program_prefix): This.
5942 * string/Makefile ($(objpfx)tst-svc.out): Replace
5943 $(built-program-cmd) with $(test-program-cmd).
5944
c6fe55cf
AJ
59452013-01-11 Andreas Jaeger <aj@suse.de>
5946
5947 [BZ #15003]
5948 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5949 value. Sync with Linux 3.7.
5950
9e6919c8
DM
59512013-01-10 David S. Miller <davem@davemloft.net>
5952
5953 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5954 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5955 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5956
1c9f1a02
RM
59572013-01-10 Roland McGrath <roland@hack.frob.com>
5958
5959 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5960 never set.
5961 * configure: Regenerated.
5962
b9de2dde
DM
59632013-01-10 David S. Miller <davem@davemloft.net>
5964
5965 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5966 sparc V9 rather than using V8 code.
5967 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5968 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5969
e7f68ef4
RM
59702013-01-10 Roland McGrath <roland@hack.frob.com>
5971
5972 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5973 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5974 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5975 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5976 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5977 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5978 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5979 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5980 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5981 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5982 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5983 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5984 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5985 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5986 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5987 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5988 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5989 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5990 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5991 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5992 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5993 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5994 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5995 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5996 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5997 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5998 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5999
5a47cc9c
DM
60002013-01-10 David S. Miller <davem@davemloft.net>
6001
6002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6003
4cf8f209
L
60042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6005
6006 * posix/Makefile (tests-static): New variable.
6007 (tests): Add $(tests-static).
6008 (tst-exec-static-ARGS): New variable.
6009 (tst-spawn-static-ARGS): Likewise.
6010 * posix/tst-exec-static.c: New file.
6011 * posix/tst-spawn-static.c: Likewise.
6012 * posix/tst-exec.c: Support run directly.
6013 * posix/tst-spawn.c: Likewise.
6014
fed0faa1
JM
60152013-01-10 Joseph Myers <joseph@codesourcery.com>
6016
828beb13
JM
6017 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6018 long.
6019 * math/bits/mathcalls.h (llrint): Likewise.
6020 (llround): Likewise.
6021 * stdlib/stdlib.h (struct drand48_data): Likewise.
6022 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6023 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6024 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6025 Likewise.
6026 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6029 (elf_greg_t): Likewise.
6030 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6031 (__jmp_buf): Likewise.
6032 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6033 definitions.
6034 (llrint): Likewise, for all definitions.
6035 (llrintl): Likewise.
6036
fed0faa1
JM
6037 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6038 Remove [__GNUC__] condition.
6039 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6040 condition to just [__USE_ISOC99].
6041 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6042
1a20cb20
L
60432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 [BZ #14200]
6046 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6047 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6048 defined.
6049 (_POSIX_V6_ILP32_OFF32): Likewise.
6050 (_XBS5_ILP32_OFF32): Likewise.
6051 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6052 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6053
751b85f7
SP
60542013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6055
7490eb81
SP
6056 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6057
751b85f7
SP
6058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6059 doubles __mpexp_twomm1. Adjust usage.
6060 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6061 Remove.
6062
988197f0
AS
60632013-01-10 Andreas Schwab <schwab@suse.de>
6064
6065 [BZ #14964]
6066 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6067 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6068
e83d7298
DM
60692013-01-09 David S. Miller <davem@davemloft.net>
6070
034ed64b 6071 [BZ #15003]
e83d7298
DM
6072 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6073 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6074 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6075 TCP_FASTOPEN): Define.
6076 (tcp_repair_opt): New structure.
6077 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6078 enum values.
6079 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6080 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6081 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6082 (tcp_cookie_transactions): New structure.
6083
d5e0b9bd
AB
60842013-01-09 Anton Blanchard <anton@samba.org>
6085
6086 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6087 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6088 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6089 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6090
0c07e3ea
JM
60912013-01-09 Joseph Myers <joseph@codesourcery.com>
6092
6093 * include/features.h (__USE_ANSI): Remove.
6094
232f7002
RM
60952013-01-09 Roland McGrath <roland@hack.frob.com>
6096
ad98e30c
RM
6097 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6098
232f7002
RM
6099 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6100
950c99ca
SP
61012013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6102
b5792741
SP
6103 * sysdeps/s390/fpu/libm-test-ulps: Update.
6104
47cf2278
SP
6105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6106
950c99ca
SP
6107 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6108 (__acr): Likewise.
6109 (__cpy): Likewise.
6110 (norm): Likewise.
6111 (denorm): Likewise.
6112 (__mp_dbl): Likewise.
6113 (__dbl_mp): Likewise.
6114 (add_magnitudes): Likewise.
6115 (sub_magnitudes): Likewise.
6116 (__add): Likewise.
6117 (__sub): Likewise.
6118 (__mul): Likewise.
6119 (__inv): Likewise.
6120 (__dvd): Likewise.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6122 (__acr): Likewise.
6123 (__cpy): Likewise.
6124 (norm): Likewise.
6125 (denorm): Likewise.
6126 (__mp_dbl): Likewise.
6127 (__dbl_mp): Likewise.
6128 (add_magnitudes): Likewise.
6129 (sub_magnitudes): Likewise.
6130 (__add): Likewise.
6131 (__sub): Likewise.
6132 (__mul): Likewise.
6133 (__inv): Likewise.
6134 (__dvd): Likewise.
6135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6136 (__acr): Likewise.
6137 (__cpy): Likewise.
6138 (norm): Likewise.
6139 (denorm): Likewise.
6140 (__mp_dbl): Likewise.
6141 (__dbl_mp): Likewise.
6142 (add_magnitudes): Likewise.
6143 (sub_magnitudes): Likewise.
6144 (__add): Likewise.
6145 (__sub): Likewise.
6146 (__mul): Likewise.
6147 (__inv): Likewise.
6148 (__dvd): Likewise.
6149
eede9df9
JM
61502013-01-08 Joseph Myers <joseph@codesourcery.com>
6151
6152 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6153 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6154 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6155 2 && __USE_EXTERN_INLINES]: Likewise.
6156
c40ea3d9
AJ
61572013-01-08 Andreas Jaeger <aj@suse.de>
6158
6159 [BZ# 14985]
6160 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6161 Remove.
6162 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6163 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6164
2ccdea26
AB
61652013-01-07 Anton Blanchard <anton@samba.org>
6166
6167 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6168 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6169 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6170 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6171 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6172 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6173 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6174 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6176 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6177 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6178 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6181 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6182 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6183 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6184 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6185 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6187 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6188 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6190 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6191 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6192 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6193 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6194 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6196 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6197 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6199 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6200 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6201 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6202 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6203 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6204 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6205 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6206 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6208 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6209 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6210
a9708fed
JM
62112013-01-07 Joseph Myers <joseph@codesourcery.com>
6212
375607b9
JM
6213 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6214 (__MALLOC_PMT): Likewise.
6215 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6216 [__GNUC__], only on [_LIBC].
6217 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6218 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6219 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6220 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6221 forward declaration.
6222 (realloc_hook_ini): Likewise.
6223 (memalign_hook_ini): Likewise.
6224 (__libc_memalign): Do not use __MALLOC_PMT in variable
6225 declaration.
6226 (__libc_valloc): Likewise.
6227 (__libc_pvalloc): Likewise.
6228 (__libc_calloc): Likewise.
6229 (__posix_memalign): Likewise.
6230
a9708fed
JM
6231 [BZ #14996]
6232 * math/s_casinh.c: Include <float.h>.
6233 (__casinh): Do not do computation with squaring and square root
6234 for large arguments.
6235 * math/s_casinhf.c: Include <float.h>.
6236 (__casinhf): Do not do computation with squaring and square root
6237 for large arguments.
6238 * math/s_casinhl.c: Include <float.h>.
6239 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6240 (__casinhl): Do not do computation with squaring and square root
6241 for large arguments.
6242 * math/libm-test.inc (casin_test): Add more tests.
6243 (casinh_test): Likewise.
6244 * sysdeps/i386/fpu/libm-test-ulps: Update.
6245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6246
afec409a
L
62472013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6248
6249 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6250 (__x86_64_raw_data_cache_size): Likewise.
6251 (__x86_64_data_cache_size_half): Likewise.
6252 (__x86_64_raw_data_cache_size_half): Likewise.
6253 (__x86_64_shared_cache_size): Likewise.
6254 (__x86_64_raw_shared_cache_size): Likewise.
6255 (__x86_64_shared_cache_size_half): Likewise.
6256 (__x86_64_raw_shared_cache_size_half): Likewise.
6257 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6258 to ...
6259 (__x86_data_cache_size): This.
6260 (__x86_64_raw_data_cache_size): Renamed to ...
6261 (__x86_raw_data_cache_size): This.
6262 (__x86_64_data_cache_size_half): Renamed to ...
6263 (__x86_data_cache_size_half): This.
6264 (__x86_64_raw_data_cache_size_half): Renamed to ...
6265 (__x86_raw_data_cache_size_half): This.
6266 (__x86_64_shared_cache_size): Renamed to ...
6267 (__x86_shared_cache_size): This.
6268 (__x86_64_raw_shared_cache_size): Renamed to ...
6269 (__x86_raw_shared_cache_size): This.
6270 (__x86_64_shared_cache_size_half): Renamed to ...
6271 (__x86_shared_cache_size_half): This.
6272 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6273 (__x86_raw_shared_cache_size_half): This.
6274 * sysdeps/x86_64/memcpy.S: Updated.
6275 * sysdeps/x86_64/memset.S: Likewise.
6276 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6277 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6278 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6279
0b3986d0
DM
62802013-01-04 David S. Miller <davem@davemloft.net>
6281
6282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6283
e47686e9
AS
62842013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6285
d643bac1
AS
6286 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6287 1 to avoid redefinition warning.
6288 (__USE_GNU): Don't define.
6289 (init_signaling_nan): Protoize.
6290
e47686e9
AS
6291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6292
b18decba
SP
62932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6294
fffb407f
SP
6295 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6297 (__cpymn): Likewise.
6298 (norm): Remove commented code.
6299 (denorm): Likewise.
6300 (__mp_dbl): Likewise.
6301 (__inv): Likewise.
6302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6303 (__cpymn): Likewise.
6304 (norm): Remove commented code.
6305 (denorm): Likewise.
6306 (__mp_dbl): Likewise.
6307 (__inv): Likewise.
6308
b18decba
SP
6309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6310 mp_no value for 1.0 and 2.0.
6311 (norm): Use RADIXI instead of radixi.d.
6312 (denorm): Likewise.
6313 (__mul): Use 0.0 instead of zero.d.
6314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6315 mp_no value for 1.0 and 2.0.
6316 (norm): Use RADIXI instead of radixi.d.
6317 (denorm): Likewise.
6318 (__mul): Use 0.0 instead of zero.d.
6319
cdc1c96f
JM
63202013-01-04 Joseph Myers <joseph@codesourcery.com>
6321
6322 [BZ #14994]
6323 * math/s_casinh.c (__casinh): Reduce finite argument to first
6324 quadrant then set signs of results at the end.
6325 * math/s_casinhf.c (__casinhf): Likewise.
6326 * math/s_casinhl.c (__casinhl): Likewise.
6327 * math/libm-test.inc (casin_test): Add more tests.
6328 (casinh_test): Likewise.
6329 * sysdeps/i386/fpu/libm-test-ulps: Update.
6330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331
302913e1
SP
63322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6333
6420d207
SP
6334 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6335
a9e48ab4
SP
6336 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6337
b7837264
SP
6338 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6339 declarations.
6340 (denorm): Likewise.
6341 (__mp_dbl): Likewise.
6342 (__inv): Likewise.
6343
f8af25d2
SP
6344 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6345 and adjust the header comment.
6346
302913e1
SP
6347 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6348 variable name from declaration.
6349
5d7dd1ca
L
63502013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6353 Initialize COMMON_CPUID_INDEX_7 element.
6354 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6355 (CPUID_RTM): Likewise.
6356 (HAS_RTM): Likewise.
6357 (COMMON_CPUID_INDEX_7): New enum.
6358
2f5f40f4
AS
63592013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6360
6361 [BZ #14981]
6362 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6363 size is zero, record memory as freed.
6364
4056f4a0
AJ
63652013-01-03 Andreas Jaeger <aj@suse.de>
6366
6367 * po/ia.po: Add new Interlingua translation.
6368
ab15736f 63692012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6370
6371 * locale/programs/localedef.c: Fix description of '--posix' flag.
6372
568035b7
JM
63732013-01-02 Joseph Myers <joseph@codesourcery.com>
6374
e6898b8d
JM
6375 * NEWS: Update dates in second copyright notice.
6376 * README: Update copyright dates in example.
6377 * manual/libc.texinfo: Update copyright dates.
6378 * scripts/test-installation.pl: Update copyright date in --version
6379 output.
6380
0e2f9562
JM
6381 * hurd/ctty-input.c: Fix copyright notice formatting.
6382 * hurd/ctty-output.c: Likewise.
6383 * hurd/dtable.c: Likewise.
6384 * hurd/hurd-raise.c: Likewise.
6385 * hurd/hurdprio.c: Likewise.
6386 * hurd/msgportdemux.c: Likewise.
6387 * misc/sys/file.h: Likewise.
6388 * misc/sys/ioctl.h: Likewise.
6389 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6390 * sysdeps/mach/hurd/chdir.c: Likewise.
6391 * sysdeps/mach/hurd/fchdir.c: Likewise.
6392 * sysdeps/mach/hurd/rename.c: Likewise.
6393 * sysdeps/mach/hurd/rmdir.c: Likewise.
6394 * sysdeps/mach/hurd/seekdir.c: Likewise.
6395 * sysdeps/mach/hurd/setsid.c: Likewise.
6396 * sysdeps/posix/wait3.c: Likewise.
6397
568035b7
JM
6398 * All files with FSF copyright notices: Update copyright dates
6399 using scripts/update-copyrights.
6400 * intl/plural.c: Regenerated.
6401 * locale/programs/charmap-kw.h: Likewise.
6402 * locale/programs/locfile-kw.h: Likewise.
6403
da08f647
SP
64042013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6405
0f5477af
SP
6406 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6407 four values.
6408
44e0d4c2
SP
6409 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6410 calculation loop and add branch prediction.
6411
4d55b4e5
SP
6412 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6413 check access beyond bounds of m1np.
6414
da08f647
SP
6415 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6416 MPTWO.
6417 (__inv): Remove local variable MPTWO to use the global
6418 constant.
6419 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6421 variable MPTWO.
6422 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6423 MP3HALFS static const.
6424
8e051029
DM
64252013-01-01 David S. Miller <davem@davemloft.net>
6426
6427 * po/ca.po: Update from translation team.
6428
f4cf5f2d
JM
64292013-01-01 Joseph Myers <joseph@codesourcery.com>
6430
6431 * scripts/update-copyrights: New file.
6432 * Makeconfig: Reformat copyright notice.
6433 * ctype/ctype.h: Likewise.
6434 * debug/swprintf_chk.c: Likewise.
6435 * elf/dl-cache.c: Likewise.
6436 * elf/dl-debug.c: Likewise.
6437 * elf/dl-object.c: Likewise.
6438 * grp/initgroups.c: Likewise.
6439 * hurd/Makefile: Likewise.
6440 * hurd/hurd/signal.h: Likewise.
6441 * hurd/hurdfault.c: Likewise.
6442 * hurd/hurdioctl.c: Likewise.
6443 * hurd/hurdlookup.c: Likewise.
6444 * hurd/intr-msg.c: Likewise.
6445 * iconv/gconv_open.c: Likewise.
6446 * libio/swprintf.c: Likewise.
6447 * locale/lc-ctype.c: Likewise.
6448 * locale/nl_langinfo.c: Likewise.
6449 * mach/Machrules: Likewise.
6450 * mach/Makefile: Likewise.
6451 * malloc/obstack.h: Likewise.
6452 * manual/Makefile: Likewise.
6453 * manual/tsort.awk: Likewise.
6454 * misc/bits/stab.def: Likewise.
6455 * nis/nis_print_group_entry.c: Likewise.
6456 * nis/nis_table.c: Likewise.
6457 * nis/nss_compat/compat-pwd.c: Likewise.
6458 * nis/nss_compat/compat-spwd.c: Likewise.
6459 * po/Makefile: Likewise.
6460 * posix/fnmatch.c: Likewise.
6461 * posix/regex.h: Likewise.
6462 * resolv/Makefile: Likewise.
6463 * resolv/nss_dns/dns-network.c: Likewise.
6464 * resolv/res_hconf.c: Likewise.
6465 * scripts/gen-sorted.awk: Likewise.
6466 * soft-fp/soft-fp.h: Likewise.
6467 * stdio-common/printf.h: Likewise.
6468 * stdlib/monetary.h: Likewise.
6469 * stdlib/random.c: Likewise.
6470 * stdlib/random_r.c: Likewise.
6471 * sysdeps/generic/Makefile: Likewise.
6472 * sysdeps/gnu/Makefile: Likewise.
6473 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6501 * sysdeps/mach/hurd/errnos.awk: Likewise.
6502 * sysdeps/mach/hurd/fork.c: Likewise.
6503 * sysdeps/mach/hurd/getcwd.c: Likewise.
6504 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6505 * sysdeps/mach/hurd/mmap.c: Likewise.
6506 * sysdeps/mach/hurd/utimes.c: Likewise.
6507 * sysdeps/mach/hurd/xmknod.c: Likewise.
6508 * sysdeps/posix/profil.c: Likewise.
6509 * sysdeps/posix/readdir_r.c: Likewise.
6510 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6511 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6512 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6513 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6516 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6517 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6519 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6520 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6521 * sysdeps/pthread/lio_listio.c: Likewise.
6522 * sysdeps/sparc/dl-procinfo.h: Likewise.
6523 * sysdeps/unix/i386/sysdep.S: Likewise.
6524 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6525 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6526 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6527 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6529 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6530 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6531 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6532 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6533 * sysdeps/wordsize-32/divdi3.c: Likewise.
6534 * time/sys/time.h: Likewise.
6535 * wcsmbs/Makefile: Likewise.
6536
0549fbba
DM
65372013-01-01 David S. Miller <davem@davemloft.net>
6538
a141f1a7
DM
6539 * po/fr.po: Update from translation team.
6540
0549fbba
DM
6541 * catgets/gencat.c: Update copyright year.
6542 * csu/version.c: Likewise.
6543 * debug/catchsegv.sh: Likewise.
6544 * debug/pcprofiledump.c: Likewise.
6545 * debug/xtrace.sh: Likewise.
6546 * elf/ldconfig.c: Likewise.
6547 * elf/ldd.bash.in: Likewise.
6548 * elf/pldd.c: Likewise.
6549 * elf/sotruss.ksh: Likewise.
6550 * elf/sprof.c: Likewise.
6551 * iconv/iconv_prog.c: Likewise.
6552 * iconv/iconvconfig.c: Likewise.
6553 * locale/programs/locale.c: Likewise.
6554 * locale/programs/localedef.c: Likewise.
6555 * login/programs/pt_chown.c: Likewise.
6556 * malloc/memusage.sh: Likewise.
6557 * malloc/memusagestat.c: Likewise.
6558 * malloc/mtrace.pl: Likewise.
6559 * nscd/nscd.c: Likewise.
6560 * nss/getent.c: Likewise.
6561 * nss/makedb.c: Likewise.
6562 * posix/getconf.c: Likewise.
6563
18ea052c
SP
65642012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6565
6566 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6567 numbers.
6568
9c89fca6
MF
65692012-12-30 Mike Frysinger <vapier@gentoo.org>
6570
6571 * math/bits/mathcalls.h (modf): Use __nonnull.
6572
085ec079
SP
65732012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
6575 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6576 (split): Use macro CN instead of the bare value.
6577 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6578 could be used.
6579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6580 instead of the bare value.
6581 (power1): Likewise.
6582
6d9f97e1
SP
65832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6584
d63f73be
SP
6585 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6586 __ATAN_TWOM.
6587 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6588
6d9f97e1
SP
6589 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6590 their values.
6591 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6592 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6593 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6594 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6595
4c4febf5
AJ
65962012-12-28 Andreas Jaeger <aj@suse.de>
6597
af5843ef
AJ
6598 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6599 values are from Linux 3.7.
6600
4c4febf5
AJ
6601 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6602 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6603
99136f82
SP
66042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
2f216c3c 6606 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
6607 TRUE case.
6608
99136f82
SP
6609 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6610 (norm): Likewise.
6611 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6612 variables with preprocessor constants.
6613 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6614 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6615 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6616
7fffbdff
BH
66172012-12-27 Bruno Haible <bruno@clisp.org>
6618
6619 [BZ #14317]
6620 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6621 only if needed.
6622
b76eb5f0
SP
66232012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6624
31a7fe5c
SP
6625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6626 and use variable directly.
6627 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6628
b76eb5f0
SP
6629 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6630 MPONE.
6631 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6633 variable MPONE.
6634 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6636 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6637 include directive. Remove local variable MPONE.
6638 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6639 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6640 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6641
2c8bfe7d
DM
66422012-12-25 David S. Miller <davem@davemloft.net>
6643
6644 * version.h (RELEASE): Set to "development".
6645 (VERSION): Set to "2.17.90".
6646 * NEWS: Add 2.18 section.
6647
147d03b0
DM
66482012-12-21 David S. Miller <davem@davemloft.net>
6649
6650 * po/hr.po: Update from translation team.
6651
a8ebb2b9
AK
66522012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6653
6654 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6655
95b4f1b6
SE
66562012-12-19 Steve Ellcey <sellcey@mips.com>
6657
b2d94007 6658 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 6659
cedb2a90
MS
66602012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6661
6662 * manual/contrib.texi (Contributors): Spelling correction.
6663
bbf527d6
DM
66642012-12-15 David S. Miller <davem@davemloft.net>
6665
6666 * po/ru.po: Update from translation team.
6667
bc38c906
DM
66682012-12-13 David S. Miller <davem@davemloft.net>
6669
85429b1a
DM
6670 * NEWS: Mention IFUNC testsuite enhancements.
6671
d283e353
DM
6672 * po/pl.po: Update from translation team.
6673 * po/bg.po: Likewise.
6674
bc38c906
DM
6675 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6676 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6677
a181b0d7
DM
66782012-12-11 David S. Miller <davem@davemloft.net>
6679
4641d57e
DM
6680 * po/sv.po: Update from translation team.
6681
f7bc6495
DM
6682 * po/vi.po: Update from translation team.
6683
6fc9048f
DM
6684 * po/cs.po: Update from translation team.
6685
a181b0d7
DM
6686 * po/de.po: Update from translation team.
6687 * po/eo.po: Likewise.
6688 * po/nl.po: Likewise.
6689
f70bfe80
SP
66902012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6691
3c8b4190
SP
6692 [BZ #14246]
6693 * manual/argp.texi (Argp Helper Functions): Move node to follow
6694 Argp Parsing State.
6695
f70bfe80
SP
6696 [BZ #14872]
6697 * manual/conf.texi (Limits on File System Capacity): Mention if
6698 terminating null is included in the max size.
6699
188f0adf
AJ
67002012-12-10 Andreas Jaeger <aj@suse.de>
6701
6702 * po/cs.po: Update from translation team.
6703
56e7d3ad
SP
67042012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6705
6706 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6707 void pointer and cast to uintptr_t.
6708 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6709 path.
6710 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6711 * sysdeps/s390/s390-64/memset.S: Likewise.
6712
76f2d2ea 67132012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
6714
6715 [BZ #14833]
6716 * menual/message.texi (Message Translation): Fix typos.
6717 (Helper programs for gettext): Likewise.
6718
67cbf9a2
AS
67192012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6720
6721 [BZ #14898]
6722 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6723 Change to -1.
6724
682d0e9a
DM
67252012-12-07 David S. Miller <davem@davemloft.net>
6726
6727 * po/libc.pot: Update.
6728
573cd484
RH
67292012-12-07 Richard Henderson <rth@redhat.com>
6730
7e9da188 6731 [BZ #10114]
573cd484
RH
6732 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6733 normal/normal case to before the switch.
6734 (_FP_DIV): Likewise.
6735
e933a943
MF
67362012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6737 Mike Frysinger <vapier@gentoo.org>
6738
6739 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6740 check for __NR_fadvise64_64.
6741
82123268
CM
67422012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6743
6744 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6745 0, not just to plain "0" as a statement.
6746 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6747 with cw.
6748
d9814526
JM
67492012-12-06 Joseph Myers <joseph@codesourcery.com>
6750
6751 * NEWS: Use sourceware.org in Bugzilla URL.
6752
7728c574
SP
67532012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6754
f16946dd
SP
6755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6757
5704bbcb
SP
6758 * stdio-common/tst-put-error.c (do_test): Add newline to the
6759 padded test to ensure flush.
6760
17aa0516
JL
67612012-12-05 Jeff Law <law@redhat.com>
6762
6763 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6764
363313b5
JM
67652012-12-05 Joseph Myers <joseph@codesourcery.com>
6766
effbd42a
JM
6767 * README: Don't refer to ports add-on as distributed separately.
6768 Mention AArch64 in list of systems supported in the ports add-on.
6769
87600365
JM
6770 * LICENSES: Add more non-FSF copyright and license notices.
6771
a0d7066a
JM
6772 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6773 ((unused)).
6774
66ca5a5b
JM
6775 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6776
363313b5
JM
6777 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6778 10000 as width of padded output.
6779
b37984ad
JM
67802012-12-04 Joseph Myers <joseph@codesourcery.com>
6781
9003570a
JM
6782 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6783
b37984ad
JM
6784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6785 variable LX with __attribute__ ((unused)).
6786 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6787 Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6791 with __attribute__ ((unused)).
6792
c8df52ec
DM
67932012-12-04 David S. Miller <davem@abraco.davemloft.net>
6794
6795 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6796
b3b099af
JM
67972012-12-04 Joseph Myers <joseph@codesourcery.com>
6798
c33aa6e3
JM
6799 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6800 (CFLAGS-nldbl-acos.c): New variable.
6801 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6802 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6803 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6804 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6805 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6806 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6807 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6808 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6809 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6810 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6811 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6812 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6813 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6814 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6815 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6816 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6817 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6818 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6819 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6820 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6821 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6822 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6823 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6824 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6825 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6826 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6827 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6828 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6829 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6830 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6831 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6832 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6833 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6834 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6835 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6836 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6837 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6838 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6839 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6840 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6841 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6842 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6843 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6844 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6845 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6846 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6847 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6848 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6849 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6850 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6851 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6852 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6853 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6854 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6855 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6856 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6857 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6858 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6859 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6860 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6861 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6862 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6863 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6864 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6865 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6866 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6867 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6868 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6869 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6870 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6871 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6872 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6873 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6874 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6875 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6876 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6877 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6878 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6879 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6880 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6881 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6882 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6883 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6884 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6885 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6886 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6887 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6888 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6889 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6890 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6891 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6892 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6893 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6894 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6895 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6896 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6897 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6898
20f0018d
JM
6899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6900 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6901
b3b099af
JM
6902 [BZ #14914]
6903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6904 whole low double instead of just low 47 bits when splitting values
6905 into two parts.
6906
029264d1
AM
69072012-12-03 Allan McRae <allan@archlinux.org>
6908
6909 * manual/stdio.texi (Predefined Printf Handlers): Remove
6910 @hsep and @vsep usage.
6911
c9d6789e
MF
69122012-12-03 Mike Frysinger <vapier@gentoo.org>
6913
6914 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6915 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6916
4b7634a5
JL
69172012-12-03 Jeff Law <law@redhat.com>
6918
6919 * time/sys/time.h (settimeofday): Do not mark TV argument
6920 as __nonnull.
6921
eb6cbd24
MF
69222012-12-01 Mike Frysinger <vapier@gentoo.org>
6923
6924 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6925 when currently writing and seek to current position when not.
6926 * libio/Makefile (tests): Remove bug-fclose1.
6927 * libio/bug-fclose1.c: Delete.
6928
f638872a
JM
69292012-12-01 Joseph Myers <joseph@codesourcery.com>
6930
6931 * manual/arith.texi (feenableexcept): Fix typo.
6932 (fedisableexcept): Likewise.
6933
48085d14
RM
69342012-11-30 Roland McGrath <roland@hack.frob.com>
6935
6936 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6937 second, differently-typed declaration, rather than a cast.
6938
1a538b9f
SP
69392012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6940
6941 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6942 * include/rpc/svc.h: ... here.
6943
d07f2ff1 69442012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6945
6946 [BZ #13013]
6947 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6948 depending n and resplen2 to catch cases where answer
6949 equals answerp2.
6950
c93ec1f0
CD
69512012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6952
6953 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6954 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6955
37db69de
MF
69562012-11-29 Mike Frysinger <vapier@gentoo.org>
6957
6958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6959
e10c4e4f
RM
69602012-11-29 Roland McGrath <roland@hack.frob.com>
6961
6962 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6963
2af1b328
JL
69642012-11-28 Jeff Law <law@redhat.com>
6965
6966 [BZ #13761]
6967 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6968 dataset_temporary. Track alloca usage into alloca_used.
6969 If dataset is large allocate and release it via malloc/free.
6970
111db5b1
FW
69712012-06-04 Florian Weimer <fweimer@redhat.com>
6972
f06cc227 6973 [BZ #14197]
111db5b1
FW
6974 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6975
dd694abd
DM
69762012-11-28 David S. Miller <davem@davemloft.net>
6977
6978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6979
9984dd01
JM
69802012-11-28 Joseph Myers <joseph@codesourcery.com>
6981
6982 [BZ #14803]
6983 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6984 of pi/2 rounded to nearest to 64 bits.
6985 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6986 nearest to 64 bits.
6987 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6988 bits.
6989
14bc93a9
JL
69902012-11-28 Jeff Law <law@redhat.com>
6991 Martin Osvald <mosvald@redhat.com>
6992
6993 [BZ #14889]
6994 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6995 * sunrpc/svc.c: Include time.h.
6996 (__svc_accept_failed): New function.
6997 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6998 any reason other than EINTR, call __svc_accept_failed.
6999 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7000 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7001
e3c6aa3a
AS
70022012-11-28 Andreas Schwab <schwab@suse.de>
7003
7004 * scripts/abilist.awk: Also handle indirect functions in .opd
7005 section.
7006
1bead169
JM
70072012-11-28 Joseph Myers <joseph@codesourcery.com>
7008
7009 [BZ #13881]
7010 * sysdeps/x86/fpu/powl_helper.c: New file.
7011 * sysdeps/x86/fpu/Makefile: Likewise.
7012 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7013 (p3): New object.
7014 (__ieee754_powl): Use __powl_helper for finite arguments except
7015 integer exponents below 8.
7016 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7017 (p3): New object.
7018 (__ieee754_powl): Use __powl_helper for finite arguments except
7019 integer exponents below 8.
7020 * math/libm-test.inc (pow_test): Add more tests and enable some
7021 previously disabled tests.
7022 * sysdeps/i386/fpu/libm-test-ulps: Update.
7023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7024
0817d63d
SP
70252012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 Carlos O'Donell <carlos_odonell@mentor.com>
7027
7028 * nss/makedb.c (is_prime): Assert that input is odd and greater
7029 than 4. Note that fact in a comment too.
7030 (next_prime): Add 4 to input.
7031
de2fd463
SP
70322012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7033
7034 [BZ #11741]
7035 * libio/Makefile (tests): Add test case tst-fwrite-error.
7036 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7037 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7038 * libio/tst-fwrite-error.c: New test case.
7039
c515fb51
L
70402012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7041
7042 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7043 before casting to void *.
7044 * include/libc-internal.h (__pointer_type): New macro.
7045 (__integer_if_pointer_type_sub): Likewise.
7046 (__integer_if_pointer_type): Likewise.
7047 (cast_to_integer): Likewise.
7048 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7049 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7050 before casting to atomic64_t.
7051 (atomic_exchange_acq): Likewise.
7052 (__arch_exchange_and_add_body): Likewise.
7053 (__arch_add_body): Likewise.
7054 (atomic_add_negative): Likewise.
7055 (atomic_add_zero): Likewise.
7056
4cf77aa9
JM
70572012-11-26 Joseph Myers <joseph@codesourcery.com>
7058
7059 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7060 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7061 (add_fdes): Likewise.
7062 (linear_search_fdes): Likewise.
7063 (binary_search_unencoded_fdes): Likewise.
7064
d260b3b4
AS
70652012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7066
7067 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7068
67060746
AC
70692012-11-24 Adam Conrad <adconrad@0c3.net>
7070
7071 * configure.in: Autodetect C++ header directories.
7072 * configure: Regenerated.
7073
800938a1
MF
70742012-11-23 Mike Frysinger <vapier@gentoo.org>
7075
7076 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7077
4e6e34e6
AS
70782012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7079
7080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7081
7c7feb47
JM
70822012-11-22 Joseph Myers <joseph@codesourcery.com>
7083
7184dcdf
JM
7084 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7085 LDBL_MANT_DIG == 106]: Disable some tests.
7086 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7087 Likewise.
7088 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7089 Likewise.
7090
0a42601f
JM
7091 [BZ #14871]
7092 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7093 input for small inputs. Return +/- pi/2 for large inputs.
7094 * math/libm-test.inc (atan_test): Add more tests.
7095
79c9b9fe
JM
7096 * sysdeps/generic/unwind-dw2-fde-glibc.c
7097 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7098 __attribute__ ((unused)).
7099
c60d3bf2
JM
7100 [BZ #14645]
7101 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7102 x * y if x and y are nonzero and z is zero.
7103
ef1e0867
JM
7104 [BZ #14811]
7105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7106 nonzero exponents with absolute value below 0x1p-117 to +/-
7107 0x1p-117.
7108
1468ded3
JM
7109 [BZ #14869]
7110 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7111 up arguments below 2**-450, not just those below 2**-500.
7112 * math/libm-test.inc (hypot_test): Add another test.
7113
8e27e3cc
JM
7114 [BZ #14868]
7115 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7116 Return a+b for ratio over 2**120, not 2**60.
7117 * math/libm-test.inc (hypot_test): Add another test.
7118
c9c0279b
JM
7119 * math/libm-test.inc (clog_test): Use
7120 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7121 (clog10_test): Likewise.
7122
7c7feb47
JM
7123 [BZ #6778]
7124 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7125
fff1530e
AS
71262012-11-22 Andreas Schwab <schwab@suse.de>
7127
7128 * sysdeps/i386/fpu/libm-test-ulps: Update.
7129
94558d30
PT
71302012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7131
7132 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7133 printf output with newline.
7134
7e1be741
L
71352012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7136
6bfea974
L
7137 [BZ #14865]
7138 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7139 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7140 -z nodlopen, -z initfirst and -z execstack support.
7141 * configure: Regenerated.
7142
7e1be741
L
7143 * elf/elf.h (DF_1_NODIRECT): New macro.
7144 (DF_1_IGNMULDEF): Likewise.
7145 (DF_1_NOKSYMS): Likewise.
7146 (DF_1_NOHDR): Likewise.
7147 (DF_1_EDITED): Likewise.
7148 (DF_1_NORELOC): Likewise.
7149 (DF_1_SYMINTPOSE): Likewise.
7150 (DF_1_GLOBAUDIT): Likewise.
7151 (DF_1_SINGLETON): Likewise.
7152 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7153 DT_1_SUPPORTED_MASK bits.
7154 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7155
105ce2ce
CD
71562012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7157
7158 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7159
123be9de
TS
71602012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7161
d072f3f7
TS
7162 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7163 macro.
7164
123be9de
TS
7165 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7166 (sendmmsg): Move declarations...
7167 * socket/sys/socket.h: ... here.
7168 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7169 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7170 include it from...
7171 * socket/recvmmsg.c: ... this new file.
7172 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7173 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7174 definition of __sendmmsg hidden.
7175 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7176 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7177 Move ENOSYS stub into and include it from...
7178 * socket/sendmmsg.c: ... this new file.
7179 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7180 (sysdep_routines): Move recvmmsg and sendmmsg...
7181 * socket/Makefile (routines): ... here.
7182 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7183 (GLIBC_PRIVATE): Add __sendmmsg.
7184 * include/sys/socket.h (__sendmmsg): Add declarations.
7185 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7186 sendmmsg.
7187
cf9a5d18
JM
71882012-11-20 Joseph Myers <joseph@codesourcery.com>
7189
7190 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7191 variable I1 with __attribute__ ((unused)).
7192 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7193
ecd4caf9
JM
71942012-11-19 Joseph Myers <joseph@codesourcery.com>
7195
be14d48f
JM
7196 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7197 DUMMY variables with __attribute__ ((unused)).
7198
ecd4caf9
JM
7199 * bits/byteswap.h: Include <bits/types.h>.
7200 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7201
986cab95
PT
72022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7203
7204 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7205 string_t. Do not manually set errno.
7206 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7207 length with __strnlen. Make sure to both set errno and return it on
7208 failure.
7209
6d33cc9d
DM
72102012-11-19 David S. Miller <davem@davemloft.net>
7211
7212 With help from Joseph Myers.
7213 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7214 very large arguments properly.
7215 * math/libm-test.inc (atan_test): New tests.
7216 (atan2_test): New tests.
7217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7219
ee663277
JM
72202012-11-19 Joseph Myers <joseph@codesourcery.com>
7221
877f2d8e
JM
7222 [BZ #14856]
7223 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7224 Define to 3.
7225
116fc08a
JM
7226 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7227 [POSIX] (EADDRNOTAVAIL): Likewise.
7228 [POSIX] (EAFNOSUPPORT): Likewise.
7229 [POSIX] (EALREADY): Likewise.
7230 [POSIX] (ECONNABORTED): Likewise.
7231 [POSIX] (ECONNREFUSED): Likewise.
7232 [POSIX] (ECONNRESET): Likewise.
7233 [POSIX] (EDESTADDRREQ): Likewise.
7234 [POSIX] (EDQUOT): Likewise.
7235 [POSIX] (EHOSTUNREACH): Likewise.
7236 [POSIX] (EIDRM): Likewise.
7237 [POSIX] (EISCONN): Likewise.
7238 [POSIX] (ELOOP): Likewise.
7239 [POSIX] (EMULTIHOP): Likewise.
7240 [POSIX] (ENETDOWN): Likewise.
7241 [POSIX] (ENETUNREACH): Likewise.
7242 [POSIX] (ENOBUFS): Likewise.
7243 [POSIX] (ENODATA): Likewise.
7244 [POSIX] (ENOLINK): Likewise.
7245 [POSIX] (ENOMSG): Likewise.
7246 [POSIX] (ENOPROTOOPT): Likewise.
7247 [POSIX] (ENOSR): Likewise.
7248 [POSIX] (ENOSTR): Likewise.
7249 [POSIX] (ENOTCONN): Likewise.
7250 [POSIX] (ENOTSOCK): Likewise.
7251 [POSIX] (EOPNOTSUPP): Likewise.
7252 [POSIX] (EOVERFLOW): Likewise.
7253 [POSIX] (EPROTO): Likewise.
7254 [POSIX] (EPROTONOSUPPORT): Likewise.
7255 [POSIX] (EPROTOTYPE): Likewise.
7256 [POSIX] (ESTALE): Likewise.
7257 [POSIX] (ETIME): Likewise.
7258 [POSIX] (ETXTBSY): Likewise.
7259 [POSIX] (EWOULDBLOCK): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7261 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7262 [POSIX] (SEEK_CUR): Likewise.
7263 [POSIX] (SEEK_END): Likewise.
7264 [POSIX || UNIX98] (mode_t): Do not require.
7265 [POSIX] (off_t): Likewise.
7266 [POSIX] (pid_t): Likewise.
7267 [POSIX] (sys/stat.h): Do not allow header.
7268 [POSIX] (unistd.h): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7270 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7272 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7273 require.
7274 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7275 sigevent): Specify elements.
7276 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7277 entry.
7278 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7279 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7280
a483863f
JM
7281 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7282 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7283 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7284 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7285 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7286 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7287 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7288 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7290 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7291 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7292 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7293 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7294 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7295 Likewise.
7296 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7297 Likewise.
7298 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7299 Likewise.
7300 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7301 Likewise.
7302 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7303 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7304 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7305 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7307 Specify lower bound on value.
7308 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7314 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7315 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7316 value.
7317 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7318 as optional.
7319 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7321 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7322 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7323 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7324 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7330 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7331 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7334 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7335 entry.
7336 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7337 optional.
7338 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7339 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7340 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7341 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7342 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7343 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7344 Likewise.
7345 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7346 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7347 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7348 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7349 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7350 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7351 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7352 as optional.
7353 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7354 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7355 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7356 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7357 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7358 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7359 specify as optional.
7360 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7361 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7362 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7363 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7364 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7365 [XPG3] (NL_LANGMAX): Likewise.
7366 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7367 [POSIX || XPG3] (NL_NMAX): Likewise.
7368 [POSIX || XPG3] (NL_SETMAX): Likewise.
7369 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7370 [XPG3] (NZERO): Likewise.
7371 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7372 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7373 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7374 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7375 (REG_ERANGE): Expect.
7376 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7377 optional-constant.
7378 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7379 Use (void) in prototype.
7380 [POSIX] (*_t): Allow.
7381 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7382 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7383 (WRDE_BADVAL): Expect.
7384
5ba924e3
JM
7385 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7386 expect.
7387 [XPG3 || XPG4] (O_RSYNC): Likewise.
7388 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7389 Likewise.
7390 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7391 [XPG3 || XPG4] (sigqueue): Likewise.
7392 [XPG3 || XPG4] (sigtimedwait): Likewise.
7393 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7394 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7395 [XPG3 || XPG4] (vsnprintf): Likewise.
7396 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7397 Likewise.
7398 [XPG3 || XPG4] (blksize_t): Likewise.
7399 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7400 Likewise.
7401 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7402 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7403 [XPG3 || XPG4] (struct itimerspec): Likewise.
7404 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7405 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7406 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7407 [XPG3 || XPG4] (clockid_t): Likewise.
7408 [XPG3 || XPG4] (timer_t): Likewise.
7409 [XPG3 || XPG4] (clock_getres): Likewise.
7410 [XPG3 || XPG4] (clock_gettime): Likewise.
7411 [XPG3 || XPG4] (clock_settime): Likewise.
7412 [XPG3 || XPG4] (nanosleep): Likewise.
7413 [XPG3 || XPG4] (timer_create): Likewise.
7414 [XPG3 || XPG4] (timer_delete): Likewise.
7415 [XPG3 || XPG4] (timer_gettime): Likewise.
7416 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7417 [XPG3 || XPG4] (timer_settime): Likewise.
7418 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7419 [XPG3 || XPG4] (getlogin_r): Likewise.
7420 [XPG3 || XPG4] (pread): Likewise.
7421 [XPG3 || XPG4] (pthread_atfork): Likewise.
7422 [XPG3 || XPG4] (pwrite): Likewise.
7423
ee663277
JM
7424 [BZ #14835]
7425 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7426 <bits/siginfo.h>.
7427
942caa16
PT
74282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7429
e19af380
PT
7430 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7431 finalizing MALLSTREAM.
7432
942caa16
PT
7433 * sysdeps/mach/hurd/syncfs.c: New file.
7434
cfde9b46
SP
74352012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7436
7437 [BZ #14719]
7438 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7439 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7440 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7441 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7442 (_nss_dns_gethostbyname4_r): Likewise.
7443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7444 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7445
f6da27e5
PH
74462012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7447
7448 [BZ #13763]
7449 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7450
6665d4a2
SM
74512012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7452
1f51ee92
SM
7453 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7454 * elf/cache.c (print_entry): Print ",AArch64" for
7455 FLAG_AARCH64_LIB64
7456
6665d4a2
SM
7457 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7458 * elf/cache.c (print_entry): Print ",hard-float" for
7459 FLAG_ARM_LIBHF.
7460
05b227bd
DM
74612012-11-18 David S. Miller <davem@davemloft.net>
7462
7463 With help from Joseph Myers.
7464 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7465 cutoff to 2**-13.
7466 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7467 cutoff to 2**-25.
7468 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7469 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7470 small.
7471 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7472 * math/libm-test.inc (y0_test): New tests.
7473 (y1_test): New tests.
7474 * sysdeps/i386/fpu/libm-test-ulps: Update.
7475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7477
786b0b67
AS
74782012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7479
7480 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7481 64-bit targets.
7482 * configure: Regenerated.
7483
8e18b86d
DM
74842012-11-17 David S. Miller <davem@davemloft.net>
7485
7486 [BZ #14811]
7487 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7488 nonzero exponents with absolute value below 0x1p-128 to +/-
7489 0x1p-128.
7490
531f1ae0
JM
74912012-11-17 Joseph Myers <joseph@codesourcery.com>
7492
12df29e2
JM
7493 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7494
150dc1a0
JM
7495 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7496
531f1ae0
JM
7497 * posix/getconf-speclist.c: New file.
7498 * posix/posix-envs.def: Likewise.
7499 * posix/confstr.c (START_ENV_GROUP): New macro.
7500 (END_ENV_GROUP): Likewise.
7501 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7502 (KNOWN_PRESENT_ENV_STRING): Likewise.
7503 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7504 (UNKNOWN_ENVIRONMENT): Likewise.
7505 (confstr): Include posix-envs.def instead of handling
7506 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7507 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7508 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7509 (END_ENV_GROUP): Likewise.
7510 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7511 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7512 (UNKNOWN_ENVIRONMENT): Likewise.
7513 (__sysconf): Include posix-envs.def instead of handling associated
7514 cases directly here.
7515 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7516 preprocessing getconf-speclist.c rather than running getconf or
7517 generating empty file.
7518
a93f9cbc
PT
75192012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7520
7521 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7522
d64d9f87
AL
75232012-11-16 Andrej Lajovic <natrij@gmail.com>
7524
7525 [BZ #14672]
7526 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7527
447885eb
DM
75282012-11-16 David S. Miller <davem@davemloft.net>
7529
7530 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7531 smaller than LDBL_EPSILON/2.0L, just return xm1.
7532
bcbf9830
L
75332012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7534
7535 * elf/tst-array1.c (init): Set constructor priority to 1000.
7536 (fini): Set destructor priority to 1000.
7537 * elf/tst-array2dep.c: Likewise.
7538
2b766585
SP
75392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
7541 [BZ #11741]
7542 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7543 (_IO_new_file_xsputn): Also return EOF if none of the input
7544 data was written when overflow failed.
7545 * libio/iopadn.c (_IO_padn): Likewise.
7546 * libio/iowpadn.c (_IO_wpadn): Likewise.
7547 * stdio-common/tst-put-error.c: Add copyright notice.
7548 (do_test): Add case for printing padded string.
7549 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7550 _IO_padn returned error.
7551 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7552 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7553 return EOF.
7554
b1848fde
SP
75552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7556
7557 * libio/libioP.h: Add comment note that the references to C++
7558 bits are now obsolete.
7559
2fd89785
MS
75602012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7561
7562 * math/libm-test.inc (check_complex): Use asprintf.
7563
e3ea5409
JM
75642012-11-14 Joseph Myers <joseph@codesourcery.com>
7565
7566 * debug/pcprofiledump.c (print_version): Update copyright year.
7567 * malloc/memusagestat.c (print_version): Likewise.
7568
2e64d265
L
75692012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7570
7571 [BZ #14831]
7572 * elf/Makefile (tests): Add tst-audit8.
7573 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7574 ($(objpfx)tst-audit8.out): New target.
7575 (tst-audit8-ENV): New variable.
7576 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7577 audit if l_reloc_result is NULL.
7578 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7579 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7580 * elf/tst-audit8.c: New file.
7581
c485e4d2
MS
75822012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7583
7584 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7585 * misc/Makefile (CFLAGS-select.c): Define.
7586 * posix/Makefile (CFLAGS-pause.c): Define.
7587
3a0d900a
DM
75882012-11-13 David S. Miller <davem@davemloft.net>
7589
7590 * crypt/Makefile: Move test targets after toplevel Rules
7591 inclusion. Grab any necessary sysdep routines when linking.
7592 * crypt/md5.c (md5_process_block): Remove define, we will always
7593 name it __md5_process_block.
7594 (md5_finish_ctx): Update md5_process_block call.
7595 (md5_stream): Likewise.
7596 (md5_process_bytes): Likewise.
7597 (md5_process_block): Rename to __md5_process_block and move to ...
7598 * crypt/md5-block.c: ... here.
7599 * crypt/sha256.c (sha256_process_block): Move to ...
7600 * crypt/sha256-block.c: ... here.
7601 * crypt/sha512.c (sha512_process_block): Move to ...
7602 * crypt/sha512-block.c: ... here.
7603 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7604 path.
7605 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7606 * sysdeps/sparc/sparc64/multiarch/Makefile
7607 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7608 crypt subdir.
7609 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7610 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7611 multiarch changes.
7612 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7613 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7614 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7615 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7616 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7617 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7618 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7619 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7620 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7621 file.
7622 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7623 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7624 file.
7625 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7626
8ca89318
JM
76272012-11-13 Joseph Myers <joseph@codesourcery.com>
7628
e27d476a
JM
7629 * timezone/tzselect.ksh: Update from tzcode git revision
7630 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7631 * timezone/zdump.c: Likewise.
7632 * timezone/zic.c: Likewise.
7633 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7634 in TZVERSION setting, not $(PKGVERSION).
7635 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7636 REPORT_BUGS_TO settings.
7637
8ca89318
JM
7638 [BZ #14838]
7639 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7640 macro.
7641
47594329
MS
76422012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7643
7644 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7645 detection to immediately after _FP_ROUND().
7646 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7647 bits are 0.
7648
640ac3f1
DM
76492012-11-11 David S. Miller <davem@davemloft.net>
7650
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7652 inttypes.h
7653 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7654 __close rather than their public counterparts.
7655
3d2577bb
JM
76562012-11-10 Joseph Myers <joseph@codesourcery.com>
7657
7658 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7659 file.
7660 [UNIX98] (sem_timedwait): Do not expect.
7661 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7662 [XPG4 || UNIX98] (sockatmark): Do not expect.
7663 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7664 (clock_getcpuclockid): Do not expect.
7665 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7666 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7667 Do not expect.
7668 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7669 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7670 [UNIX98] (vwscanf): Likewise.
7671 [UNIX98] (vswscanf): Likewise.
7672
fb1ae1ee
JM
76732012-11-09 Joseph Myers <joseph@codesourcery.com>
7674
9ec6f8bd
JM
7675 * timezone/version.h: Remove file.
7676 * timezone/README: Do not refer to version.h.
7677 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7678 $(objpfx)version.h.
7679 ($(objpfx)zdump.o): Likewise.
c3f81911 7680 ($(objpfx)version.h): New target.
9ec6f8bd 7681
0aa8f8a1
JM
7682 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7683 2012i.
7684 * timezone/README: Don't mention modification to tzselect.ksh.
7685 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7686 work on unmodified tzselect.ksh. Substitute version numbers in
7687 tzselect.ksh.
7688
4e87147f
JM
7689 * Makefile (format-me): Remove.
7690 (INSTALL): Adjust indentation. Use commands directly instead of
7691 using $(format-me).
7692
8b748aed
JM
7693 * aclocal.m4 (ACX_PKGVERSION): New macro.
7694 (ACX_BUGURL): Likewise.
7695 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7696 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7697 (REPORT_BUGS_TO): Likewise.
7698 * configure: Regenerated.
7699 * config.h.in (PKGVERSION): New macro.
7700 (REPORT_BUGS_TO): Likewise.
7701 * config.make.in (PKGVERSION): New variable.
7702 (PKGVERSION_TEXI): Likewise.
7703 (REPORT_BUGS_TO): Likewise.
7704 (REPORT_BUGS_TEXI): Likewise.
7705 * Makefile (format-me): Use -I$(common-objpfx)manual.
7706 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7707 ($(common-objpfx)manual/%): New target.
7708 (manual/%): Remove target.
7709 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7710 (print_version): Use PKGVERSION.
7711 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7712 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7713 and REPORT_BUGS_TO.
7714 ($(objpfx)xtrace): Likewise.
7715 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7716 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7717 (print_version): Use PKGVERSION.
7718 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7719 (do_version): Use PKGVERSION.
7720 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7721 REPORT_BUGS_TO.
7722 (common-ldd-rewrite): Likewise.
7723 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7724 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7725 (print_version): Use PKGVERSION.
7726 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7727 * elf/pldd.c (argp_program_bug_address): Remove variable.
7728 (more_help): New function.
7729 (argp): Use more_help.
7730 (print_version): Use PKGVERSION.
7731 * elf/sln.c (main): Use PKGVERSION.
7732 (usage): Use REPORT_BUGS_TO.
7733 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7734 (top level): Use PKGVERSION.
7735 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7736 (print_version): Use PKGVERSION.
7737 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7738 (print_version): Use PKGVERSION.
7739 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7740 (print_version): Use PKGVERSION.
7741 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7742 (print_version): Use PKGVERSION.
7743 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7744 (print_version): Use PKGVERSION.
7745 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7746 (print_version): Use PKGVERSION.
7747 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7748 and BUGURL.
7749 ($(objpfx)memusage): Likewise.
7750 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7751 (do_version): Use PKGVERSION.
7752 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7753 (print_version): Use PKGVERSION.
7754 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7755 ($PKGVERSION): New variable.
7756 ($REPORT_BUGS_TO): Likewise.
7757 (usage): Use $REPORT_BUGS_TO.
7758 (top level): Use $PKGVERSION.
7759 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7760 ($(objpfx)pkgvers.texi): New rule.
7761 ($(objpfx)stamp-pkgvers): Likewise.
7762 * manual/install.texi: Include pkgvers.texi.
7763 (--with-pkgversion): Document new configure option.
7764 (--with-bugurl): Likewise.
7765 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7766 than necessarily for this particular distribution. Use
7767 REPORT_BUGS_TO for where to report bugs.
7768 * INSTALL: Regenerated.
7769 * manual/libc.texinfo: Include pkgvers.texi.
7770 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7771 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7772 (print_version): Use PKGVERSION.
7773 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7774 (print_version): Use PKGVERSION.
7775 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7776 (print_version): Use PKGVERSION.
7777 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7778 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7779 macro.
7780 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7781 (print_version): Use PKGVERSION.
7782 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7783 (print_version): Use PKGVERSION.
7784 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7785 and PKGVERSION.
7786
92e4b6a9
JM
7787 * timezone/checktab.awk: Update from tzcode 2012i.
7788 * timezone/ialloc.c: Likewise.
7789 * timezone/private.h: Likewise.
7790 * timezone/scheck.c: Likewise.
7791 * timezone/tzfile.h: Likewise.
7792 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7793 (TZVERSION): Hardcode tzcode version number.
7794 * timezone/zdump.c: Update from tzcode 2012i.
7795 * timezone/zic.c: Likewise.
7796 * timezone/version.h: New file.
7797 * timezone/README: Describe version.h. Update upstream location.
7798
9bde902c
JM
7799 [BZ #14824]
7800 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7801 (mktemp): Enable declaration.
7802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7806 Likewise.
7807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7808 Likewise.
7809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7810 Likewise.
7811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7812 Likewise.
7813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7814 Likewise.
7815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7816 Likewise.
7817
fb1ae1ee
JM
7818 [BZ #14821]
7819 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7820 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7821 for copies of such integer values.
7822 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7823 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7824
2c1adbcb
AJ
78252012-11-09 Andreas Jaeger <aj@suse.de>
7826
7827 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7828 definitions and declarations that are provided by
7829 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7830
d0f8457e
AK
78312012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7832
3a235abb 7833 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7834 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7835 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7836 definition.
7837
57241e26
MS
78382012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7839
7840 * elf/elf.h: Update comment before AArch64 relocations.
7841
60e8270d
DM
78422012-11-07 David S. Miller <davem@davemloft.net>
7843
7844 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7845 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7846 (__start_context): Declare.
7847 (__makecontext_ret): Delete.
7848 (__makecontext): Hook up __start_context instead of
7849 __makecontext_ret.
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7851 (sysdep_routines): Add __start_context when in stdlib.
7852
0fbb0fbc
JM
78532012-11-07 Joseph Myers <joseph@codesourcery.com>
7854
7855 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7856 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7857 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7858 hardcoded "nm".
7859 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7860 (READELF): New variable. Use it instead of hardcoded "readelf".
7861
eb48db7e
L
78622012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7865 * sysdeps/x86/Makefile: Here.
7866 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7867 * sysdeps/x86/tst-xmmymm.sh: This.
7868
05bcf62a
JM
78692012-11-07 Joseph Myers <joseph@codesourcery.com>
7870
c4b6cf53
JM
7871 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7872 expectations.
7873 [UNIX98] (pthread_barrier_t): Do not expect.
7874 [UNIX98] (pthread_barrierattr_t): Likewise.
7875 [UNIX98] (pthread_spinlock_t): Likewise.
7876 [UNIX98] (pthread_barrier_destroy): Likewise.
7877 [UNIX98] (pthread_barrier_init): Likewise.
7878 [UNIX98] (pthread_barrier_wait): Likewise.
7879 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7880 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7881 [UNIX98] (pthread_barrierattr_init): Likewise.
7882 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7883 [UNIX98] (pthread_getcpuclockid): Likewise.
7884 [UNIX98] (pthread_mutex_timedlock): Likewise.
7885 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7886 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7887 [UNIX98] (pthread_sigmask): Likewise.
7888 [UNIX98] (pthread_spin_destroy): Likewise.
7889 [UNIX98] (pthread_spin_init): Likewise.
7890 [UNIX98] (pthread_spin_lock): Likewise.
7891 [UNIX98] (pthread_spin_trylock): Likewise.
7892 [UNIX98] (pthread_spin_unlock): Likewise.
7893 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7894 Do not expect.
7895 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7896 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7897 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7898 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7899 [XPG3 || XPG4] (pthread_key_t): Likewise.
7900 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7901 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7902 [XPG3 || XPG4] (pthread_once_t): Likewise.
7903 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7904 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7905 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7906 [XPG3 || XPG4] (pthread_t): Likewise.
7907
cbe6e120
JM
7908 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7909 not expect.
7910 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7911
1b126443
JM
7912 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7913 Change function return type to int.
7914
b961a573
JM
7915 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7916 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7917 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7918 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7919 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7920 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7921 [!POSIX] (posix_madvise): Likewise.
7922 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7923 && !UNIX98].
7924 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7925 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7926 (mode_t): Likewise.
7927 (posix_mem_offset): Likewise.
7928 (posix_typed_mem_get_info): Likewise.
7929 (posix_typed_mem_open): Likewise.
7930
9e188909
JM
7931 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7932 Change condition to [XOPEN2K8].
7933
05bcf62a
JM
7934 * conform/conformtest.pl: Preprocess allow-header data with -x c
7935 instead of from stdin.
7936 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7937 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7938 [C99-based standards] (cerfc): Likewise.
7939 [C99-based standards] (cexp2): Likewise.
7940 [C99-based standards] (cexpm1): Likewise.
7941 [C99-based standards] (clog10): Likewise.
7942 [C99-based standards] (clog1p): Likewise.
7943 [C99-based standards] (clog2): Likewise.
7944 [C99-based standards] (clgamma): Likewise.
7945 [C99-based standards] (ctgamma): Likewise.
7946 [C99-based standards] (cerff): Likewise.
7947 [C99-based standards] (cerfcf): Likewise.
7948 [C99-based standards] (cexp2f): Likewise.
7949 [C99-based standards] (cexpm1f): Likewise.
7950 [C99-based standards] (clog10f): Likewise.
7951 [C99-based standards] (clog1pf): Likewise.
7952 [C99-based standards] (clog2f): Likewise.
7953 [C99-based standards] (clgammaf): Likewise.
7954 [C99-based standards] (ctgammaf): Likewise.
7955 [C99-based standards] (cerfl): Likewise.
7956 [C99-based standards] (cerfcl): Likewise.
7957 [C99-based standards] (cexp2l): Likewise.
7958 [C99-based standards] (cexpm1l): Likewise.
7959 [C99-based standards] (clog10l): Likewise.
7960 [C99-based standards] (clog1pl): Likewise.
7961 [C99-based standards] (clog2l): Likewise.
7962 [C99-based standards] (clgammal): Likewise.
7963 [C99-based standards] (ctgammal): Likewise.
7964 * conform/data/inttypes.h-data [C99-based standards]: Include
7965 stdint.h-data. Remove all expectations for stdint.h contents.
7966 [C99-based standards] (PRI*): Do not allow.
7967 [C99-based standards] (SCN*): Likewise.
7968 [C99-based standards] (*_t): Likewise.
7969 [C99-based-standards] (PRId8): Expect macro.
7970 [C99-based-standards] (PRIi8): Likewise.
7971 [C99-based-standards] (PRIo8): Likewise.
7972 [C99-based-standards] (PRIu8): Likewise.
7973 [C99-based-standards] (PRIx8): Likewise.
7974 [C99-based-standards] (PRIX8): Likewise.
7975 [C99-based-standards] (SCNd8): Likewise.
7976 [C99-based-standards] (SCNi8): Likewise.
7977 [C99-based-standards] (SCNo8): Likewise.
7978 [C99-based-standards] (SCNu8): Likewise.
7979 [C99-based-standards] (SCNx8): Likewise.
7980 [C99-based-standards] (PRIdLEAST8): Likewise.
7981 [C99-based-standards] (PRIiLEAST8): Likewise.
7982 [C99-based-standards] (PRIoLEAST8): Likewise.
7983 [C99-based-standards] (PRIuLEAST8): Likewise.
7984 [C99-based-standards] (PRIxLEAST8): Likewise.
7985 [C99-based-standards] (PRIXLEAST8): Likewise.
7986 [C99-based-standards] (SCNdLEAST8): Likewise.
7987 [C99-based-standards] (SCNiLEAST8): Likewise.
7988 [C99-based-standards] (SCNoLEAST8): Likewise.
7989 [C99-based-standards] (SCNuLEAST8): Likewise.
7990 [C99-based-standards] (SCNxLEAST8): Likewise.
7991 [C99-based-standards] (PRIdFAST8): Likewise.
7992 [C99-based-standards] (PRIiFAST8): Likewise.
7993 [C99-based-standards] (PRIoFAST8): Likewise.
7994 [C99-based-standards] (PRIuFAST8): Likewise.
7995 [C99-based-standards] (PRIxFAST8): Likewise.
7996 [C99-based-standards] (PRIXFAST8): Likewise.
7997 [C99-based-standards] (SCNdFAST8): Likewise.
7998 [C99-based-standards] (SCNiFAST8): Likewise.
7999 [C99-based-standards] (SCNoFAST8): Likewise.
8000 [C99-based-standards] (SCNuFAST8): Likewise.
8001 [C99-based-standards] (SCNxFAST8): Likewise.
8002 [C99-based-standards] (PRId16): Likewise.
8003 [C99-based-standards] (PRIi16): Likewise.
8004 [C99-based-standards] (PRIo16): Likewise.
8005 [C99-based-standards] (PRIu16): Likewise.
8006 [C99-based-standards] (PRIx16): Likewise.
8007 [C99-based-standards] (PRIX16): Likewise.
8008 [C99-based-standards] (SCNd16): Likewise.
8009 [C99-based-standards] (SCNi16): Likewise.
8010 [C99-based-standards] (SCNo16): Likewise.
8011 [C99-based-standards] (SCNu16): Likewise.
8012 [C99-based-standards] (SCNx16): Likewise.
8013 [C99-based-standards] (PRIdLEAST16): Likewise.
8014 [C99-based-standards] (PRIiLEAST16): Likewise.
8015 [C99-based-standards] (PRIoLEAST16): Likewise.
8016 [C99-based-standards] (PRIuLEAST16): Likewise.
8017 [C99-based-standards] (PRIxLEAST16): Likewise.
8018 [C99-based-standards] (PRIXLEAST16): Likewise.
8019 [C99-based-standards] (SCNdLEAST16): Likewise.
8020 [C99-based-standards] (SCNiLEAST16): Likewise.
8021 [C99-based-standards] (SCNoLEAST16): Likewise.
8022 [C99-based-standards] (SCNuLEAST16): Likewise.
8023 [C99-based-standards] (SCNxLEAST16): Likewise.
8024 [C99-based-standards] (PRIdFAST16): Likewise.
8025 [C99-based-standards] (PRIiFAST16): Likewise.
8026 [C99-based-standards] (PRIoFAST16): Likewise.
8027 [C99-based-standards] (PRIuFAST16): Likewise.
8028 [C99-based-standards] (PRIxFAST16): Likewise.
8029 [C99-based-standards] (PRIXFAST16): Likewise.
8030 [C99-based-standards] (SCNdFAST16): Likewise.
8031 [C99-based-standards] (SCNiFAST16): Likewise.
8032 [C99-based-standards] (SCNoFAST16): Likewise.
8033 [C99-based-standards] (SCNuFAST16): Likewise.
8034 [C99-based-standards] (SCNxFAST16): Likewise.
8035 [C99-based-standards] (PRId32): Likewise.
8036 [C99-based-standards] (PRIi32): Likewise.
8037 [C99-based-standards] (PRIo32): Likewise.
8038 [C99-based-standards] (PRIu32): Likewise.
8039 [C99-based-standards] (PRIx32): Likewise.
8040 [C99-based-standards] (PRIX32): Likewise.
8041 [C99-based-standards] (SCNd32): Likewise.
8042 [C99-based-standards] (SCNi32): Likewise.
8043 [C99-based-standards] (SCNo32): Likewise.
8044 [C99-based-standards] (SCNu32): Likewise.
8045 [C99-based-standards] (SCNx32): Likewise.
8046 [C99-based-standards] (PRIdLEAST32): Likewise.
8047 [C99-based-standards] (PRIiLEAST32): Likewise.
8048 [C99-based-standards] (PRIoLEAST32): Likewise.
8049 [C99-based-standards] (PRIuLEAST32): Likewise.
8050 [C99-based-standards] (PRIxLEAST32): Likewise.
8051 [C99-based-standards] (PRIXLEAST32): Likewise.
8052 [C99-based-standards] (SCNdLEAST32): Likewise.
8053 [C99-based-standards] (SCNiLEAST32): Likewise.
8054 [C99-based-standards] (SCNoLEAST32): Likewise.
8055 [C99-based-standards] (SCNuLEAST32): Likewise.
8056 [C99-based-standards] (SCNxLEAST32): Likewise.
8057 [C99-based-standards] (PRIdFAST32): Likewise.
8058 [C99-based-standards] (PRIiFAST32): Likewise.
8059 [C99-based-standards] (PRIoFAST32): Likewise.
8060 [C99-based-standards] (PRIuFAST32): Likewise.
8061 [C99-based-standards] (PRIxFAST32): Likewise.
8062 [C99-based-standards] (PRIXFAST32): Likewise.
8063 [C99-based-standards] (SCNdFAST32): Likewise.
8064 [C99-based-standards] (SCNiFAST32): Likewise.
8065 [C99-based-standards] (SCNoFAST32): Likewise.
8066 [C99-based-standards] (SCNuFAST32): Likewise.
8067 [C99-based-standards] (SCNxFAST32): Likewise.
8068 [C99-based-standards] (PRId64): Likewise.
8069 [C99-based-standards] (PRIi64): Likewise.
8070 [C99-based-standards] (PRIo64): Likewise.
8071 [C99-based-standards] (PRIu64): Likewise.
8072 [C99-based-standards] (PRIx64): Likewise.
8073 [C99-based-standards] (PRIX64): Likewise.
8074 [C99-based-standards] (SCNd64): Likewise.
8075 [C99-based-standards] (SCNi64): Likewise.
8076 [C99-based-standards] (SCNo64): Likewise.
8077 [C99-based-standards] (SCNu64): Likewise.
8078 [C99-based-standards] (SCNx64): Likewise.
8079 [C99-based-standards] (PRIdLEAST64): Likewise.
8080 [C99-based-standards] (PRIiLEAST64): Likewise.
8081 [C99-based-standards] (PRIoLEAST64): Likewise.
8082 [C99-based-standards] (PRIuLEAST64): Likewise.
8083 [C99-based-standards] (PRIxLEAST64): Likewise.
8084 [C99-based-standards] (PRIXLEAST64): Likewise.
8085 [C99-based-standards] (SCNdLEAST64): Likewise.
8086 [C99-based-standards] (SCNiLEAST64): Likewise.
8087 [C99-based-standards] (SCNoLEAST64): Likewise.
8088 [C99-based-standards] (SCNuLEAST64): Likewise.
8089 [C99-based-standards] (SCNxLEAST64): Likewise.
8090 [C99-based-standards] (PRIdFAST64): Likewise.
8091 [C99-based-standards] (PRIiFAST64): Likewise.
8092 [C99-based-standards] (PRIoFAST64): Likewise.
8093 [C99-based-standards] (PRIuFAST64): Likewise.
8094 [C99-based-standards] (PRIxFAST64): Likewise.
8095 [C99-based-standards] (PRIXFAST64): Likewise.
8096 [C99-based-standards] (SCNdFAST64): Likewise.
8097 [C99-based-standards] (SCNiFAST64): Likewise.
8098 [C99-based-standards] (SCNoFAST64): Likewise.
8099 [C99-based-standards] (SCNuFAST64): Likewise.
8100 [C99-based-standards] (SCNxFAST64): Likewise.
8101 [C99-based-standards] (PRIdMAX): Likewise.
8102 [C99-based-standards] (PRIiMAX): Likewise.
8103 [C99-based-standards] (PRIoMAX): Likewise.
8104 [C99-based-standards] (PRIuMAX): Likewise.
8105 [C99-based-standards] (PRIxMAX): Likewise.
8106 [C99-based-standards] (PRIXMAX): Likewise.
8107 [C99-based-standards] (SCNdMAX): Likewise.
8108 [C99-based-standards] (SCNiMAX): Likewise.
8109 [C99-based-standards] (SCNoMAX): Likewise.
8110 [C99-based-standards] (SCNuMAX): Likewise.
8111 [C99-based-standards] (SCNxMAX): Likewise.
8112 [C99-based-standards] (PRIdPTR): Likewise.
8113 [C99-based-standards] (PRIiPTR): Likewise.
8114 [C99-based-standards] (PRIoPTR): Likewise.
8115 [C99-based-standards] (PRIuPTR): Likewise.
8116 [C99-based-standards] (PRIxPTR): Likewise.
8117 [C99-based-standards] (PRIXPTR): Likewise.
8118 [C99-based-standards] (SCNdPTR): Likewise.
8119 [C99-based-standards] (SCNiPTR): Likewise.
8120 [C99-based-standards] (SCNoPTR): Likewise.
8121 [C99-based-standards] (SCNuPTR): Likewise.
8122 [C99-based-standards] (SCNxPTR): Likewise.
8123 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8124 allow.
8125 * conform/data/stdint.h-data: Update comments to clarify
8126 requirements.
8127 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8128 type.
8129 [C99-based standards] (INT8_MAX): Likewise.
8130 [C99-based standards] (INT16_MIN): Likewise.
8131 [C99-based standards] (INT16_MAX): Likewise.
8132 [C99-based standards] (INT32_MIN): Likewise.
8133 [C99-based standards] (INT32_MAX): Likewise.
8134 [C99-based standards] (INT64_MIN): Likewise.
8135 [C99-based standards] (INT64_MAX): Likewise.
8136 [C99-based standards] (UINT8_MAX): Likewise.
8137 [C99-based standards] (UINT16_MAX): Likewise.
8138 [C99-based standards] (UINT32_MAX): Likewise.
8139 [C99-based standards] (UINT64_MAX): Likewise.
8140 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8141 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8142 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8143 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8144 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8145 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8146 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8147 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8148 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8149 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8150 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8151 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8152 [C99-based standards] (INT_FAST8_MIN): Likewise.
8153 [C99-based standards] (INT_FAST8_MAX): Likewise.
8154 [C99-based standards] (INT_FAST16_MIN): Likewise.
8155 [C99-based standards] (INT_FAST16_MAX): Likewise.
8156 [C99-based standards] (INT_FAST32_MIN): Likewise.
8157 [C99-based standards] (INT_FAST32_MAX): Likewise.
8158 [C99-based standards] (INT_FAST64_MIN): Likewise.
8159 [C99-based standards] (INT_FAST64_MAX): Likewise.
8160 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8161 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8162 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8163 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8164 [C99-based standards] (INTPTR_MIN): Likewise.
8165 [C99-based standards] (INTPTR_MAX): Likewise.
8166 [C99-based standards] (UINTPTR_MAX): Likewise.
8167 [C99-based standards] (INTMAX_MIN): Likewise.
8168 [C99-based standards] (INTMAX_MAX): Likewise.
8169 [C99-based standards] (UINTMAX_MAX): Likewise.
8170 [C99-based standards] (PTRDIFF_MIN): Likewise.
8171 [C99-based standards] (PTRDIFF_MAX): Likewise.
8172 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8173 [C99-based standards] (SIZE_MAX): Likewise.
8174 [C99-based standards] (WCHAR_MAX): Likewise.
8175 [C99-based standards] (WINT_MAX): Likewise.
8176 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8177 constraint on value.
8178 [C99-based standards] (WCHAR_MIN): Likewise.
8179 [C99-based standards] (WINT_MIN): Likewise.
8180 [C99-based standards] (*_t): Allow.
8181 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8182 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8183 Include math.h-data and complex.h-data. Remove all expectations
8184 of math.h and complex.h contents.
8185 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8186 at end of line.
8187 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8188 (struct tm): Expect tag.
8189 [C99-based-standards] (wcstof): Expect function.
8190 [C99-based-standards] (wcstold): Likewise.
8191 [C99-based-standards] (wcstoll): Likewise.
8192 [C99-based-standards] (wcstoull): Likewise.
8193 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8194 macro-int-constant. Specify type.
8195 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8196 constraint on value.
8197 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8198 Specify type.
8199 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8200 Specify value.
8201 [ISO C standards]: Do not allow headers.
8202 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8203 wcs[abcdefghijklmnopqrstuvwxyz]*.
8204 [ISO C standards] (*_t): Do not allow.
8205 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8206 Expect function.
8207 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8208 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8209 Specify type.
8210 [ISO C standards]: Do not allow headers.
8211 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8212 is[abcdefghijklmnopqrstuvwxyz]*.
8213 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8214 to[abcdefghijklmnopqrstuvwxyz]*.
8215 [ISO C standards] (*_t): Do not allow.
8216 * conform/data/stdalign.h-data: New file.
8217 * conform/data/stdbool.h-data: Likewise.
8218 * conform/data/stdnoreturn.h-data: Likewise.
8219
7514feb8
RM
82202012-11-07 Roland McGrath <roland@hack.frob.com>
8221
8222 [BZ #14815]
8223 * manual/filesys.texi (Directory Entries): Typo fix.
8224 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8225
19b2ecfc
MS
82262012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8227
8228 * elf/elf.h (EM_AARCH64): New macro.
8229 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8230 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8231 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8232 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8233 (R_AARCH64_TLSDESC): Likewise.
8234 (NT_ARM_TLS): Likewise.
8235 (NT_ARM_HW_BREAK): Likewise.
8236 (NT_ARM_HW_WATCH): Likewise.
8237
60e235ee
JM
82382012-11-07 Joseph Myers <joseph@codesourcery.com>
8239
8240 [BZ #14811]
8241 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8242 (__ieee754_powl): Saturate nonzero exponents with absolute value
8243 below 0x1p-79 to +/- 0x1p-79.
8244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8245 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8246 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8247 nonzero exponents with absolute value below 0x1p-32 to +/-
8248 0x1p-32.
8249 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8250 (__ieee754_powl): Saturate nonzero exponents with absolute value
8251 below 0x1p-79 to +/- 0x1p-79.
8252 * math/libm-test.inc (pow_test): Add more tests.
8253
0ab234b7
AK
82542012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8255
8256 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8257 _dl_s390_cap_flags with kernel. Increase string length.
8258 (_dl_s390_platforms): Add z196 and zEC12.
8259
45832f74
JM
82602012-11-07 Joseph Myers <joseph@codesourcery.com>
8261
8262 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8263 Change XOPEN21K to XOPEN2K.
8264
19218757
MK
82652012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8266
8267 * string/memmove.c: Use memcpy when possible.
8268
c5f45721
AJ
82692012-11-06 Andreas Jaeger <aj@suse.de>
8270
8271 * po/eo.po: Update from translation team.
8272
82477c28
JM
82732012-11-06 Joseph Myers <joseph@codesourcery.com>
8274
8275 [BZ #14793]
8276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8277 exponent and small x and y exponents, scale x or y up. Increase
8278 by 2 the exponent used in scaling up.
8279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8281 * math/libm-test.inc (fma_test): Add more tests.
8282 (fma_test_towardzero): Likewise.
8283 (fma_test_downward): Likewise.
8284 (fma_test_upward): Likewise.
8285
99252c8c
JM
82862012-11-05 Joseph Myers <joseph@codesourcery.com>
8287
acfa885f
JM
8288 [BZ #14805]
8289 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8290 fenv_t *.
8291
99252c8c
JM
8292 [BZ #14801]
8293 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8294 namespace for names of struct fields.
8295 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8296 fenv_t fields.
8297 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8298 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8299
d6d98dea
ST
83002012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8301
8302 [BZ #3665]
8303 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8304
e10bb107
TS
83052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8306
8307 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8308 PTR_DEMANGLE.
8309
8310 [BZ #5246]
8311 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8312 PTR_DEMANGLE.
8313
a0c2940d
JM
83142012-11-04 Joseph Myers <joseph@codesourcery.com>
8315
8316 [BZ #14797]
8317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8318 definitely overflow as x * y not x * y + z.
8319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8321 * math/libm-test.inc (fma_test): Add more tests.
8322 (fma_test_towardzero): Likewise.
8323 (fma_test_downward): Likewise.
8324 (fma_test_upward): Likewise.
8325
b830319d
TS
83262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8327
8328 [BZ #157]
8329
8330 * include/stub-tag.h: Remove file.
8331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8332 '#include' of it.
8333 * manual/maint.texi (Porting): Don't reference it.
8334 * Makerules ($(objpfx)stubs): Likewise.
8335 * dirent/closedir.c: Don't include <stub-tag.h>.
8336 * dirent/dirfd.c: Likewise.
8337 * dirent/fdopendir.c: Likewise.
8338 * dirent/getdents.c: Likewise.
8339 * dirent/getdents64.c: Likewise.
8340 * dirent/opendir.c: Likewise.
8341 * dirent/readdir.c: Likewise.
8342 * dirent/readdir64.c: Likewise.
8343 * dirent/readdir64_r.c: Likewise.
8344 * dirent/readdir_r.c: Likewise.
8345 * dirent/rewinddir.c: Likewise.
8346 * dirent/seekdir.c: Likewise.
8347 * dirent/telldir.c: Likewise.
8348 * gmon/profil.c: Likewise.
8349 * grp/setgroups.c: Likewise.
8350 * inet/if_index.c: Likewise.
8351 * io/access.c: Likewise.
8352 * io/chdir.c: Likewise.
8353 * io/chmod.c: Likewise.
8354 * io/chown.c: Likewise.
8355 * io/close.c: Likewise.
8356 * io/dup.c: Likewise.
8357 * io/dup2.c: Likewise.
8358 * io/dup3.c: Likewise.
8359 * io/euidaccess.c: Likewise.
8360 * io/faccessat.c: Likewise.
8361 * io/fchdir.c: Likewise.
8362 * io/fchmod.c: Likewise.
8363 * io/fchmodat.c: Likewise.
8364 * io/fchown.c: Likewise.
8365 * io/fchownat.c: Likewise.
8366 * io/fcntl.c: Likewise.
8367 * io/flock.c: Likewise.
8368 * io/fstatfs.c: Likewise.
8369 * io/fstatfs64.c: Likewise.
8370 * io/fstatvfs.c: Likewise.
8371 * io/fstatvfs64.c: Likewise.
8372 * io/futimens.c: Likewise.
8373 * io/fxstat.c: Likewise.
8374 * io/fxstat64.c: Likewise.
8375 * io/fxstatat.c: Likewise.
8376 * io/fxstatat64.c: Likewise.
8377 * io/getcwd.c: Likewise.
8378 * io/isatty.c: Likewise.
8379 * io/lchmod.c: Likewise.
8380 * io/lchown.c: Likewise.
8381 * io/link.c: Likewise.
8382 * io/linkat.c: Likewise.
8383 * io/lseek.c: Likewise.
8384 * io/lseek64.c: Likewise.
8385 * io/lxstat64.c: Likewise.
8386 * io/mkdir.c: Likewise.
8387 * io/mkdirat.c: Likewise.
8388 * io/mkfifo.c: Likewise.
8389 * io/mkfifoat.c: Likewise.
8390 * io/open.c: Likewise.
8391 * io/open64.c: Likewise.
8392 * io/openat.c: Likewise.
8393 * io/openat64.c: Likewise.
8394 * io/pipe.c: Likewise.
8395 * io/pipe2.c: Likewise.
8396 * io/poll.c: Likewise.
8397 * io/posix_fadvise.c: Likewise.
8398 * io/posix_fadvise64.c: Likewise.
8399 * io/posix_fallocate.c: Likewise.
8400 * io/posix_fallocate64.c: Likewise.
8401 * io/read.c: Likewise.
8402 * io/readlink.c: Likewise.
8403 * io/readlinkat.c: Likewise.
8404 * io/rmdir.c: Likewise.
8405 * io/sendfile.c: Likewise.
8406 * io/sendfile64.c: Likewise.
8407 * io/statfs.c: Likewise.
8408 * io/statfs64.c: Likewise.
8409 * io/statvfs.c: Likewise.
8410 * io/statvfs64.c: Likewise.
8411 * io/symlink.c: Likewise.
8412 * io/symlinkat.c: Likewise.
8413 * io/ttyname.c: Likewise.
8414 * io/ttyname_r.c: Likewise.
8415 * io/umask.c: Likewise.
8416 * io/unlink.c: Likewise.
8417 * io/unlinkat.c: Likewise.
8418 * io/utime.c: Likewise.
8419 * io/utimensat.c: Likewise.
8420 * io/write.c: Likewise.
8421 * io/xmknod.c: Likewise.
8422 * io/xmknodat.c: Likewise.
8423 * io/xstat.c: Likewise.
8424 * io/xstat64.c: Likewise.
8425 * login/getpt.c: Likewise.
8426 * login/grantpt.c: Likewise.
8427 * login/unlockpt.c: Likewise.
8428 * math/e_acoshl.c: Likewise.
8429 * math/e_acosl.c: Likewise.
8430 * math/e_asinl.c: Likewise.
8431 * math/e_atan2l.c: Likewise.
8432 * math/e_atanhl.c: Likewise.
8433 * math/e_coshl.c: Likewise.
8434 * math/e_expl.c: Likewise.
8435 * math/e_fmodl.c: Likewise.
8436 * math/e_gammal_r.c: Likewise.
8437 * math/e_hypotl.c: Likewise.
8438 * math/e_j0l.c: Likewise.
8439 * math/e_j1l.c: Likewise.
8440 * math/e_jnl.c: Likewise.
8441 * math/e_lgammal_r.c: Likewise.
8442 * math/e_log10l.c: Likewise.
8443 * math/e_log2l.c: Likewise.
8444 * math/e_logl.c: Likewise.
8445 * math/e_powl.c: Likewise.
8446 * math/e_rem_pio2l.c: Likewise.
8447 * math/e_sinhl.c: Likewise.
8448 * math/e_sqrtl.c: Likewise.
8449 * math/fclrexcpt.c: Likewise.
8450 * math/fedisblxcpt.c: Likewise.
8451 * math/feenablxcpt.c: Likewise.
8452 * math/fegetenv.c: Likewise.
8453 * math/fegetexcept.c: Likewise.
8454 * math/fegetround.c: Likewise.
8455 * math/feholdexcpt.c: Likewise.
8456 * math/fesetenv.c: Likewise.
8457 * math/fesetround.c: Likewise.
8458 * math/feupdateenv.c: Likewise.
8459 * math/fgetexcptflg.c: Likewise.
8460 * math/fraiseexcpt.c: Likewise.
8461 * math/fsetexcptflg.c: Likewise.
8462 * math/ftestexcept.c: Likewise.
8463 * math/k_cosl.c: Likewise.
8464 * math/k_rem_pio2l.c: Likewise.
8465 * math/k_sinl.c: Likewise.
8466 * math/k_tanl.c: Likewise.
8467 * math/s_asinhl.c: Likewise.
8468 * math/s_atanl.c: Likewise.
8469 * math/s_cbrtl.c: Likewise.
8470 * math/s_erfl.c: Likewise.
8471 * math/s_expm1l.c: Likewise.
8472 * math/s_log1pl.c: Likewise.
8473 * math/s_tanhl.c: Likewise.
8474 * misc/acct.c: Likewise.
8475 * misc/brk.c: Likewise.
8476 * misc/chflags.c: Likewise.
8477 * misc/chroot.c: Likewise.
8478 * misc/fchflags.c: Likewise.
8479 * misc/fgetxattr.c: Likewise.
8480 * misc/flistxattr.c: Likewise.
8481 * misc/fremovexattr.c: Likewise.
8482 * misc/fsetxattr.c: Likewise.
8483 * misc/fsync.c: Likewise.
8484 * misc/ftruncate.c: Likewise.
8485 * misc/futimes.c: Likewise.
8486 * misc/futimesat.c: Likewise.
8487 * misc/getdomain.c: Likewise.
8488 * misc/getdtsz.c: Likewise.
8489 * misc/gethostid.c: Likewise.
8490 * misc/gethostname.c: Likewise.
8491 * misc/getloadavg.c: Likewise.
8492 * misc/getpagesize.c: Likewise.
8493 * misc/getsysstats.c: Likewise.
8494 * misc/getxattr.c: Likewise.
8495 * misc/gtty.c: Likewise.
8496 * misc/ioctl.c: Likewise.
8497 * misc/lgetxattr.c: Likewise.
8498 * misc/listxattr.c: Likewise.
8499 * misc/llistxattr.c: Likewise.
8500 * misc/lremovexattr.c: Likewise.
8501 * misc/lsetxattr.c: Likewise.
8502 * misc/lutimes.c: Likewise.
8503 * misc/madvise.c: Likewise.
8504 * misc/mincore.c: Likewise.
8505 * misc/mlock.c: Likewise.
8506 * misc/mlockall.c: Likewise.
8507 * misc/mmap.c: Likewise.
8508 * misc/mprotect.c: Likewise.
8509 * misc/msync.c: Likewise.
8510 * misc/munlock.c: Likewise.
8511 * misc/munlockall.c: Likewise.
8512 * misc/munmap.c: Likewise.
8513 * misc/preadv.c: Likewise.
8514 * misc/preadv64.c: Likewise.
8515 * misc/ptrace.c: Likewise.
8516 * misc/pwritev.c: Likewise.
8517 * misc/pwritev64.c: Likewise.
8518 * misc/readv.c: Likewise.
8519 * misc/reboot.c: Likewise.
8520 * misc/remap_file_pages.c: Likewise.
8521 * misc/removexattr.c: Likewise.
8522 * misc/revoke.c: Likewise.
8523 * misc/select.c: Likewise.
8524 * misc/setdomain.c: Likewise.
8525 * misc/setegid.c: Likewise.
8526 * misc/seteuid.c: Likewise.
8527 * misc/sethostid.c: Likewise.
8528 * misc/sethostname.c: Likewise.
8529 * misc/setregid.c: Likewise.
8530 * misc/setreuid.c: Likewise.
8531 * misc/setxattr.c: Likewise.
8532 * misc/sstk.c: Likewise.
8533 * misc/stty.c: Likewise.
8534 * misc/swapoff.c: Likewise.
8535 * misc/swapon.c: Likewise.
8536 * misc/sync.c: Likewise.
8537 * misc/syncfs.c: Likewise.
8538 * misc/syscall.c: Likewise.
8539 * misc/truncate.c: Likewise.
8540 * misc/ualarm.c: Likewise.
8541 * misc/usleep.c: Likewise.
8542 * misc/ustat.c: Likewise.
8543 * misc/utimes.c: Likewise.
8544 * misc/vhangup.c: Likewise.
8545 * misc/writev.c: Likewise.
8546 * posix/_exit.c: Likewise.
8547 * posix/alarm.c: Likewise.
8548 * posix/execve.c: Likewise.
8549 * posix/fexecve.c: Likewise.
8550 * posix/fork.c: Likewise.
8551 * posix/fpathconf.c: Likewise.
8552 * posix/getaddrinfo.c: Likewise.
8553 * posix/getegid.c: Likewise.
8554 * posix/geteuid.c: Likewise.
8555 * posix/getgid.c: Likewise.
8556 * posix/getgroups.c: Likewise.
8557 * posix/getlogin.c: Likewise.
8558 * posix/getlogin_r.c: Likewise.
8559 * posix/getpgid.c: Likewise.
8560 * posix/getpid.c: Likewise.
8561 * posix/getppid.c: Likewise.
8562 * posix/getresgid.c: Likewise.
8563 * posix/getresuid.c: Likewise.
8564 * posix/getsid.c: Likewise.
8565 * posix/getuid.c: Likewise.
8566 * posix/glob64.c: Likewise.
8567 * posix/nanosleep.c: Likewise.
8568 * posix/pathconf.c: Likewise.
8569 * posix/pause.c: Likewise.
8570 * posix/posix_madvise.c: Likewise.
8571 * posix/pread.c: Likewise.
8572 * posix/pread64.c: Likewise.
8573 * posix/pwrite.c: Likewise.
8574 * posix/pwrite64.c: Likewise.
8575 * posix/sched_getaffinity.c: Likewise.
8576 * posix/sched_getp.c: Likewise.
8577 * posix/sched_gets.c: Likewise.
8578 * posix/sched_primax.c: Likewise.
8579 * posix/sched_primin.c: Likewise.
8580 * posix/sched_rr_gi.c: Likewise.
8581 * posix/sched_setaffinity.c: Likewise.
8582 * posix/sched_setp.c: Likewise.
8583 * posix/sched_sets.c: Likewise.
8584 * posix/sched_yield.c: Likewise.
8585 * posix/setgid.c: Likewise.
8586 * posix/setlogin.c: Likewise.
8587 * posix/setpgid.c: Likewise.
8588 * posix/setresgid.c: Likewise.
8589 * posix/setresuid.c: Likewise.
8590 * posix/setsid.c: Likewise.
8591 * posix/setuid.c: Likewise.
8592 * posix/sleep.c: Likewise.
8593 * posix/spawni.c: Likewise.
8594 * posix/sysconf.c: Likewise.
8595 * posix/times.c: Likewise.
8596 * posix/wait.c: Likewise.
8597 * posix/wait3.c: Likewise.
8598 * posix/wait4.c: Likewise.
8599 * posix/waitpid.c: Likewise.
8600 * resolv/gai_sigqueue.c: Likewise.
8601 * resource/getpriority.c: Likewise.
8602 * resource/getrlimit.c: Likewise.
8603 * resource/getrusage.c: Likewise.
8604 * resource/nice.c: Likewise.
8605 * resource/setpriority.c: Likewise.
8606 * resource/setrlimit.c: Likewise.
8607 * resource/ulimit.c: Likewise.
8608 * rt/aio_cancel.c: Likewise.
8609 * rt/aio_fsync.c: Likewise.
8610 * rt/aio_read.c: Likewise.
8611 * rt/aio_sigqueue.c: Likewise.
8612 * rt/aio_suspend.c: Likewise.
8613 * rt/aio_write.c: Likewise.
8614 * rt/clock_getres.c: Likewise.
8615 * rt/clock_gettime.c: Likewise.
8616 * rt/clock_nanosleep.c: Likewise.
8617 * rt/clock_settime.c: Likewise.
8618 * rt/lio_listio.c: Likewise.
8619 * rt/mq_close.c: Likewise.
8620 * rt/mq_getattr.c: Likewise.
8621 * rt/mq_notify.c: Likewise.
8622 * rt/mq_open.c: Likewise.
8623 * rt/mq_receive.c: Likewise.
8624 * rt/mq_send.c: Likewise.
8625 * rt/mq_setattr.c: Likewise.
8626 * rt/mq_timedreceive.c: Likewise.
8627 * rt/mq_timedsend.c: Likewise.
8628 * rt/mq_unlink.c: Likewise.
8629 * rt/shm_open.c: Likewise.
8630 * rt/shm_unlink.c: Likewise.
8631 * rt/timer_create.c: Likewise.
8632 * rt/timer_delete.c: Likewise.
8633 * rt/timer_getoverr.c: Likewise.
8634 * rt/timer_gettime.c: Likewise.
8635 * rt/timer_settime.c: Likewise.
8636 * setjmp/__longjmp.c: Likewise.
8637 * setjmp/setjmp.c: Likewise.
8638 * signal/kill.c: Likewise.
8639 * signal/killpg.c: Likewise.
8640 * signal/raise.c: Likewise.
8641 * signal/sigaction.c: Likewise.
8642 * signal/sigaltstack.c: Likewise.
8643 * signal/sigblock.c: Likewise.
8644 * signal/sigignore.c: Likewise.
8645 * signal/sigintr.c: Likewise.
8646 * signal/signal.c: Likewise.
8647 * signal/sigpause.c: Likewise.
8648 * signal/sigpending.c: Likewise.
8649 * signal/sigqueue.c: Likewise.
8650 * signal/sigreturn.c: Likewise.
8651 * signal/sigset.c: Likewise.
8652 * signal/sigsetmask.c: Likewise.
8653 * signal/sigstack.c: Likewise.
8654 * signal/sigsuspend.c: Likewise.
8655 * signal/sigtimedwait.c: Likewise.
8656 * signal/sigvec.c: Likewise.
8657 * signal/sigwait.c: Likewise.
8658 * signal/sigwaitinfo.c: Likewise.
8659 * signal/sysv_signal.c: Likewise.
8660 * socket/accept.c: Likewise.
8661 * socket/accept4.c: Likewise.
8662 * socket/bind.c: Likewise.
8663 * socket/connect.c: Likewise.
8664 * socket/getpeername.c: Likewise.
8665 * socket/getsockname.c: Likewise.
8666 * socket/getsockopt.c: Likewise.
8667 * socket/isfdtype.c: Likewise.
8668 * socket/listen.c: Likewise.
8669 * socket/recv.c: Likewise.
8670 * socket/recvfrom.c: Likewise.
8671 * socket/recvmsg.c: Likewise.
8672 * socket/send.c: Likewise.
8673 * socket/sendmsg.c: Likewise.
8674 * socket/sendto.c: Likewise.
8675 * socket/setsockopt.c: Likewise.
8676 * socket/shutdown.c: Likewise.
8677 * socket/sockatmark.c: Likewise.
8678 * socket/socket.c: Likewise.
8679 * socket/socketpair.c: Likewise.
8680 * stdio-common/ctermid.c: Likewise.
8681 * stdio-common/cuserid.c: Likewise.
8682 * stdio-common/remove.c: Likewise.
8683 * stdio-common/rename.c: Likewise.
8684 * stdio-common/renameat.c: Likewise.
8685 * stdio-common/tempname.c: Likewise.
8686 * stdlib/getcontext.c: Likewise.
8687 * stdlib/makecontext.c: Likewise.
8688 * stdlib/setcontext.c: Likewise.
8689 * stdlib/swapcontext.c: Likewise.
8690 * stdlib/system.c: Likewise.
8691 * streams/fattach.c: Likewise.
8692 * streams/fdetach.c: Likewise.
8693 * streams/getmsg.c: Likewise.
8694 * streams/getpmsg.c: Likewise.
8695 * streams/putmsg.c: Likewise.
8696 * streams/putpmsg.c: Likewise.
8697 * sysdeps/unix/bsd/getpt.c: Likewise.
8698 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8699 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8700 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8702 Likewise.
8703 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8704 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8705 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8706 * sysvipc/msgctl.c: Likewise.
8707 * sysvipc/msgget.c: Likewise.
8708 * sysvipc/msgrcv.c: Likewise.
8709 * sysvipc/msgsnd.c: Likewise.
8710 * sysvipc/semctl.c: Likewise.
8711 * sysvipc/semget.c: Likewise.
8712 * sysvipc/semop.c: Likewise.
8713 * sysvipc/semtimedop.c: Likewise.
8714 * sysvipc/shmat.c: Likewise.
8715 * sysvipc/shmctl.c: Likewise.
8716 * sysvipc/shmdt.c: Likewise.
8717 * sysvipc/shmget.c: Likewise.
8718 * termios/tcdrain.c: Likewise.
8719 * termios/tcflow.c: Likewise.
8720 * termios/tcflush.c: Likewise.
8721 * termios/tcgetattr.c: Likewise.
8722 * termios/tcgetpgrp.c: Likewise.
8723 * termios/tcsendbrk.c: Likewise.
8724 * termios/tcsetattr.c: Likewise.
8725 * termios/tcsetpgrp.c: Likewise.
8726 * time/adjtime.c: Likewise.
8727 * time/clock.c: Likewise.
8728 * time/getitimer.c: Likewise.
8729 * time/gettimeofday.c: Likewise.
8730 * time/setitimer.c: Likewise.
8731 * time/settimeofday.c: Likewise.
8732 * time/stime.c: Likewise.
8733 * time/time.c: Likewise.
8734
87352012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 8736
a20492cf
PT
8737 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8738 /usr/old/bin.
8739
72e182e3
PT
8740 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8741 instead of spaces.
8742 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8743
fbeafede
JM
87442012-11-03 Joseph Myers <joseph@codesourcery.com>
8745
5b5b04d6
JM
8746 [BZ #14796]
8747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8748 FE_TONEAREST before applying Dekker multiplication and Knuth
8749 addition. Clear inexact exceptions and check for exact zero
8750 results afterwards.
8751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8752 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8754 * math/libm-test.inc (fma_test): Add more tests.
8755 (fma_test_towardzero): Likewise.
8756 (fma_test_downward): Likewise.
8757 (fma_test_upward): Likewise.
8758 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8759 function.
8760 (libc_fesetround): New macro.
8761 (libc_fesetroundf): Likewise.
8762 (libc_fesetroundl): Likewise.
8763 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8764 function.
8765 (libc_fesetround_387): Likewise.
8766 (libc_fesetroundf): New macro.
8767 (libc_fesetround): Likewise.
8768 (libc_fesetroundl): Likewise.
8769 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8770 function.
8771 (libc_fesetroundf): New macro.
8772 (libc_fesetround): Likewise.
8773 (libc_fesetroundl): Likewise.
8774 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8775 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8776 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8777 libm_hidden_ver.
8778 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8779 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8780 libm_hidden_def.
8781 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8782 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8783 libm_hidden_ver.
8784 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8785 libm_hidden_def.
8786
fbeafede
JM
8787 [BZ #3439]
8788 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8789 integer constant usable in #if and use that to give value to enum
8790 constant.
8791 (FE_DIVBYZERO): Likewise.
8792 (FE_UNDERFLOW): Likewise.
8793 (FE_OVERFLOW): Likewise.
8794 (FE_INVALID): Likewise.
8795 (FE_INVALID_SNAN): Likewise.
8796 (FE_INVALID_ISI): Likewise.
8797 (FE_INVALID_IDI): Likewise.
8798 (FE_INVALID_ZDZ): Likewise.
8799 (FE_INVALID_IMZ): Likewise.
8800 (FE_INVALID_COMPARE): Likewise.
8801 (FE_INVALID_SOFTWARE): Likewise.
8802 (FE_INVALID_SQRT): Likewise.
8803 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8804 (FE_TONEAREST): Likewise.
8805 (FE_TOWARDZERO): Likewise.
8806 (FE_UPWARD): Likewise.
8807 (FE_DOWNWARD): Likewise.
8808 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8809 (FE_DIVBYZERO): Likewise.
8810 (FE_OVERFLOW): Likewise.
8811 (FE_UNDERFLOW): Likewise.
8812 (FE_INEXACT): Likewise.
8813 (FE_TONEAREST): Likewise.
8814 (FE_DOWNWARD): Likewise.
8815 (FE_UPWARD): Likewise.
8816 (FE_TOWARDZERO): Likewise.
8817 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8818 (FE_UNDERFLOW): Likewise.
8819 (FE_OVERFLOW): Likewise.
8820 (FE_DIVBYZERO): Likewise.
8821 (FE_INVALID): Likewise.
8822 (FE_TONEAREST): Likewise.
8823 (FE_TOWARDZERO): Likewise.
8824 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8825 (FE_OVERFLOW): Likewise.
8826 (FE_UNDERFLOW): Likewise.
8827 (FE_DIVBYZERO): Likewise.
8828 (FE_INEXACT): Likewise.
8829 (FE_TONEAREST): Likewise.
8830 (FE_TOWARDZERO): Likewise.
8831 (FE_UPWARD): Likewise.
8832 (FE_DOWNWARD): Likewise.
8833 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8834 (FE_DIVBYZERO): Likewise.
8835 (FE_OVERFLOW): Likewise.
8836 (FE_UNDERFLOW): Likewise.
8837 (FE_INEXACT): Likewise.
8838 (FE_TONEAREST): Likewise.
8839 (FE_DOWNWARD): Likewise.
8840 (FE_UPWARD): Likewise.
8841 (FE_TOWARDZERO): Likewise.
8842
105ca950
CM
88432012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8844
8845 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8846
a542b389
AS
88472012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8848
8849 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8850 commands. Quote $PWD.
8851 (blacklist_exports): Don't use remove_newlines. Replace "declare
8852 -x" by "export".
8853 (remove_newlines): Remove.
8854
f62c8abc
L
88552012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8856
8857 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8858 * stdlib/stdlib.h (atof): Moved to ...
8859 * include/bits/stdlib-float.h: Here. New file.
8860 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8861 * stdlib/bits/stdlib-float.h: New file.
8862 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8863 -mno-sse -mno-mmx.
8864 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8865 <xmmintrin.h>.
8866
0155d5b2
JM
88672012-11-02 Joseph Myers <joseph@codesourcery.com>
8868
a68d0680
JM
8869 * conform/conformtest.pl (@headers): Add fenv.h.
8870 * conform/data/fenv.h-data: New file.
8871 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8872 include of <math/fenv.h>.
8873
caf7f573
JM
8874 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8875 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8876 && !UNIX98]. Enables tests for XOPEN2K8.
8877 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8878 POSIX2008]: Likewise.
8879
6c073ad6
JM
8880 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8881 (struct rusage): Do not expect type or its members.
8882
0155d5b2
JM
8883 [BZ #3439]
8884 * math/math.h (FP_NAN): Define macro to integer constant usable in
8885 #if and use that to give value to enum constant.
8886 (FP_INFINITE): Likewise.
8887 (FP_ZERO): Likewise.
8888 (FP_SUBNORMAL): Likewise.
8889 (FP_NORMAL): Likewise.
8890
b5dcacb4
AS
88912012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8892
8893 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8894 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8895 arguments.
8896
f7934be8
RM
88972012-11-02 Roland McGrath <roland@hack.frob.com>
8898
8899 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8900 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8901 autoconf-time if not.
8902 * configure.in: Remove AC_PREREQ.
8903
d7d08bde
TMQMF
89042012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8905
8906 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8907 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8908 of the internal implementation.
8909
dcdae19a
JM
89102012-11-02 Joseph Myers <joseph@codesourcery.com>
8911
8912 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8913 except include of <misc/sys/syslog.h>.
8914
d6cffd3e
AS
89152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8916
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8918 function returns with a NULL context exit with zero.
8919
b3563932
TMQMF
89202012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8921
8922 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8923
b288a93d
L
89242012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8927 (run_program_cmd): This.
8928 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8929 (tst_langinfo): New variable. Use it.
8930
a2421a68
SAS
89312012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8932
8933 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8934 floating point opcodes.
8935
6f796e1b
TS
89362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8937
7402596b
TS
8938 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8939 variable.
8940
d0d4f868
TS
8941 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8942
6f796e1b
TS
8943 * sysdeps/mach/hurd/powerpc: Remove directory.
8944 * sysdeps/mach/powerpc: Likewise.
8945
4da224a2
AS
89462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8947
8948 * scripts/check-local-headers.sh: Ignore c++ headers.
8949
341dd673
TS
89502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8951
8952 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8953 __libc_cleanup_region_start argument.
8954
473611b2
JM
89552012-11-01 Joseph Myers <joseph@codesourcery.com>
8956
8957 [BZ #14784]
8958 [BZ #14785]
8959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8960 x * y using scaling, not as x * y + z.
8961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8963 * math/libm-test.inc (fma_test): Add more tests.
8964 (fma_test_towardzero): Likewise.
8965 (fma_test_downward): Likewise.
8966 (fma_test_upward): Likewise.
8967
4078da3d
TS
89682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8969
8970 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8971
903252aa
JM
89722012-10-31 Joseph Myers <joseph@codesourcery.com>
8973
8974 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8975 New variable.
8976
cbc818d0
TS
89772012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8978
8979 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8980
5a03cb1e
AS
89812012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8982
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8984 Fix sort order.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8986 Likewise.
8987
90aff2ff
TMQMF
89882012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8989
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8991 Fix the order of the list for glibc 2.17.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8993 Likewise.
8994
1818fcb7
AS
89952012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8996
8997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8998
ef82f4da
JM
89992012-10-31 Joseph Myers <joseph@codesourcery.com>
9000
16a0e2ec
JM
9001 [BZ #14610]
9002 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9003 for low part of x being zero before using __atanl (y).
9004 * math/libm-test.inc (atan2_test): Add another test.
9005
0eb69512
JM
9006 * manual/install.texi (Configuring and compiling): Document
9007 general use of test-wrapper and test-wrapper-env.
9008 * INSTALL: Regenerated.
9009
ef82f4da
JM
9010 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9011 (__fma): Do not extract and scale down low bits on after-rounding
9012 systems when result rounded to normal precision would have normal
9013 exponent.
9014 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9015 (__fmal): Do not extract and scale down low bits on after-rounding
9016 systems when result rounded to normal precision would have normal
9017 exponent.
9018 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9019 (__fmal): Do not extract and scale down low bits on after-rounding
9020 systems when result rounded to normal precision would have normal
9021 exponent.
9022 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9023 macro.
9024 (fma_test): Add more tests.
9025 (fma_test_towardzero): Likewise.
9026 (fma_test_downward): Likewise.
9027 (fma_test_upward): Likewise.
9028
954ef0d9
L
90292012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * sysdeps/i386/tininess.h: Renamed to ...
9032 * sysdeps/x86/tininess.h: This.
9033 * sysdeps/x86_64/tininess.h: Removed.
9034
df61ffb2
JM
90352012-10-30 Joseph Myers <joseph@codesourcery.com>
9036
9037 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9038 input. Use $(build-program-cmd).
9039 ($(objpfx)tst-array1-static.out): Likewise.
9040 ($(objpfx)tst-array2.out): Likewise.
9041 ($(objpfx)tst-array3.out): Likewise.
9042 ($(objpfx)tst-array4.out): Likewise.
9043 ($(objpfx)tst-array5.out): Likewise.
9044 ($(objpfx)tst-array5-static.out): Likewise.
9045
01767843
CM
90462012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9047
47cc1490
CM
9048 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9049 if defined.
9050
01767843
CM
9051 * nss/nsswitch.h (nss_interface_function): Provide new
9052 macro for use with NSS functions.
9053 * grp/initgroups.c: Use new macro.
9054 * nss/getXXbyYY.c: Likewise.
9055 * nss/getXXbyYY_r.c: Likewise.
9056 * nss/getXXent.c: Likewise.
9057 * nss/getXXent_r.c: Likewise.
9058 * sysdeps/posix/getaddrinfo.c: Likewise.
9059
8321aa97
AJ
90602012-10-30 Andreas Jaeger <aj@suse.de>
9061
9062 * po/ru.po: Update Russion translation from translation project.
9063
2a27fd6d
JM
90642012-10-30 Joseph Myers <joseph@codesourcery.com>
9065
8627a232
JM
9066 [BZ #14152]
9067 [BZ #14783]
9068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9069 result and shift together with sticky bit instead of replicating
9070 round-to-nearest rounding.
9071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9072 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9073 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9074 missing underflow exceptions.
9075 (fma_test_towardzero): Add more tests.
9076 (fma_test_downward): Likewise.
9077 (fma_test_upward): Likewise.
9078
2a27fd6d
JM
9079 [BZ #14047]
9080 * sysdeps/generic/tininess.h: New file.
9081 * sysdeps/i386/tininess.h: Likewise.
9082 * sysdeps/sh/tininess.h: Likewise.
9083 * sysdeps/x86_64/tininess.h: Likewise.
9084 * stdlib/tst-strtod-underflow.c: Likewise.
9085 * stdlib/tst-tininess.c: Likewise.
9086 * stdlib/strtod_l.c: Include <tininess.h>.
9087 (round_and_return): Do not set errno for exact underflow cases.
9088 Force an underflow exception when setting errno for underflow.
9089 Determine underflow based on rounding to normal precision if
9090 TININESS_AFTER_ROUNDING.
9091 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9092 ERANGE for exact underflow cases.
9093 * stdlib/Makefile (tests): Add tst-tininess and
9094 tst-strtod-underflow.
9095 ($(objpfx)tst-tininess): Use $(link-libm).
9096 ($(objpfx)tst-strtod-underflow): Likewise.
9097
e7170363
AJ
90982012-10-30 Andreas Jaeger <aj@suse.de>
9099
e5088dc6
AJ
9100 [BZ#14767]
9101 * elf/Makefile (tests): Remove conditional for have-initfini-array
9102 since this is now always required and the variable does not exist
9103 anymore.
9104 (tests-static): Likewise.
9105 (modules-names): Likewise.
9106
e7170363 9107 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9108
9109 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9110 merged with constructor/destructor.
9111 (init_array): Likewise.
9112 * elf/tst-array2dep.c (fini_array): Likewise.
9113 (init_array): Likewise.
9114
60457d8a
MF
91152012-10-29 Mike Frysinger <vapier@gentoo.org>
9116
9117 * manual/message.texi: Delete @cartouche tags.
9118
8bece752
PT
91192012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9120
94ce799f
PT
9121 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9122 EOPNOTSUPP.
9123 * sysdeps/mach/hurd/fsync.c: Likewise.
9124
8bece752
PT
9125 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9126 [_POSIX_REALTIME_SIGNALS]: Change condition to
9127 [_POSIX_REALTIME_SIGNALS > 0].
9128
86ebe6b1
AJ
91292012-10-27 Andreas Jaeger <aj@suse.de>
9130
9131 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9132 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9134 [__WORDSIZE != 64]: Likewise.
9135
54399c08
L
91362012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9137
9138 * iconvdata/tst-table.sh: Remove ${SHELL}.
9139 * iconvdata/tst-tables.sh: Likewise.
9140
e2211bed
DM
91412012-10-25 David S. Miller <davem@davemloft.net>
9142
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9144 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9145 of strtoull.
9146
f303f97c
DM
9147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9148 ifunc-impl-list.c
9149 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9150 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9151 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9152 file.
9153
1e9d84cd
RM
91542012-10-25 Roland McGrath <roland@hack.frob.com>
9155
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9157 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9158 __getdirentries.
9159
df381762
JM
91602012-10-25 Joseph Myers <joseph@codesourcery.com>
9161 Jim Blandy <jimb@codesourcery.com>
9162
9163 * scripts/cross-test-ssh.sh: New file.
9164 * manual/install.texi (Configuring and compiling): Document use of
9165 cross-test-ssh.sh.
9166 * INSTALL: Regenerated.
9167
bff64913
PT
91682012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9169
9170 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9171 EOPNOTSUPP.
9172
25fe8932
JM
91732012-10-25 Joseph Myers <joseph@codesourcery.com>
9174
9175 * Makeconfig (run-program-prefix): Fix comment.
9176
cc1290d0
JM
91772012-10-24 Joseph Myers <joseph@codesourcery.com>
9178 Jim Blandy <jimb@codesourcery.com>
9179
9180 * Makeconfig (test-wrapper): New variable,
9181 (test-wrapper-env): Likewise.
9182 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9183 (run-built-tests): Define to yes.
9184 (run-program-prefix): Use $(test-wrapper).
9185 (built-program-cmd): Likewise.
9186 * Rules (make-test-out): Use $(test-wrapper-env) and
9187 $(host-built-program-cmd).
9188 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9189 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9190 tst-pathopt.sh.
9191 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9192 $(test-wrapper-env) to tst-rtld-load-self.sh.
9193 ($(objpfx)order2.out): Use $(test-wrapper).
9194 ($(objpfx)tst-initorder.out): Likewise.
9195 ($(objpfx)tst-initorder2.out): Likewise.
9196 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9197 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9198 (test_wrapper_env): New variable. Use it to run ld.so.
9199 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9200 Use it to run ld.so.
9201 (test_wrapper_env): Likewise.
9202 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9203 $(test-wrapper) to run-iconv-test.sh.
9204 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9205 (ICONV): Use $test_wrapper.
9206 * posix/Makefile ($(objpfx)globtest.out): Pass
9207 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9208 globtest.sh, not $(run-program-prefix).
9209 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9210 (test_wrapper): Likewise.
9211 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9212 set together with run_via_rtld_prefix.
9213 (run_program_prefix): Define in terms of test_wrapper and
9214 run_via_rtld_prefix.
9215
6e6249d0
RM
92162012-10-24 Roland McGrath <roland@hack.frob.com>
9217
9218 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9219 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9220 Targets removed.
9221
9222 [BZ #14743]
9223 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9224 Declare __clock_getres, __clock_gettime, __clock_settime,
9225 __clock_nanosleep, and __clock_getcpuclockid.
9226 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9227 Remove librt_hidden_def (clock_gettime).
9228 * sysdeps/unix/clock_gettime.c: Likewise.
9229 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9230 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9231 * rt/clock_getres.c: Define __clock_getres as an alias.
9232 * sysdeps/posix/clock_getres.c: Likewise.
9233 * rt/clock_settime.c: Define __clock_settime as an alias.
9234 * sysdeps/unix/clock_settime.c: Likewise.
9235 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9236 * sysdeps/unix/clock_nanosleep.c: Likewise.
9237 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9238 * rt/clock-compat.c: New file.
9239 * rt/Makefile (librt-routines): Add clock-compat and move
9240 $(clock-routines) to ...
9241 (routines): ... here, new variable.
9242 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9243 Don't add get_clockfreq here.
9244 * rt/Versions (libc: GLIBC_2.17): New version set.
9245 Add clock_* symbols here.
9246 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9248 (GLIBC_2.17): Add clock_* symbols.
9249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9253 Likewise.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9255 Likewise.
9256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9260 * NEWS: Mention the move.
9261
9262 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9263 Use __open, __read, __close rather than their public counterparts.
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9265 (__get_clockfreq_via_cpuinfo): Likewise.
9266 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9267 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9268
9269 * config.h.in (HAVE_IFUNC): New #undef.
9270 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9271 was successful.
9272 * configure: Regenerated.
9273
0cae3f4b
MF
92742012-10-24 Mike Frysinger <vapier@gentoo.org>
9275
9276 * configure.in: Move READELF check to start of file.
9277 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9278 libc_cv_asm_gnu_indirect_function in the process.
9279 * configure: Regenerated.
9280
8175a253
MF
92812012-10-24 Mike Frysinger <vapier@gentoo.org>
9282
9283 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9284 send the output to /dev/null.
9285 (libc_cv_cc_with_libunwind): Likewise.
9286 (libc_cv_as_noexecstack): Likewise.
9287 * configure: Regenerate.
9288
0708a7d1
JM
92892012-10-24 Joseph Myers <joseph@codesourcery.com>
9290
10b40d85
JM
9291 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9292
0708a7d1
JM
9293 * posix/globtest.sh (TMPDIR): Do not set.
9294 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9295 (testout): Likewise.
9296
9fddec1a
AJ
92972012-10-24 Andreas Jaeger <aj@suse.de>
9298
3a8db22f
AJ
9299 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9300 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9301 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9302 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9303 posix_fadvise64, posix_fallocate64.
9304
9fddec1a
AJ
9305 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9306 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9307 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9308 Likewise.
9309 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9310 Likewise.
9311 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9312
9313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9314 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9315 <bits/fcntl-linux.h>.
9316 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9317
9318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9319 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9320 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9321 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9322 [__WORDSIZE != 64]: Likewise.
9323
ebfd1bbd
JM
93242012-10-23 Joseph Myers <joseph@codesourcery.com>
9325
03ac099f
JM
9326 * Makeconfig (run-built-tests): New variable.
9327 * Rules [$(cross-compiling) = yes]: Change condition to
9328 [$(run-built-tests) = no].
9329 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9330 to [$(run-built-tests) = yes].
9331 * elf/Makefile [$(cross-compiling) = no]: Likewise
9332 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9333 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9334 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9335 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9336 * io/Makefile [$(cross-compiling) = no]: Likewise.
9337 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9338 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9339 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9340 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9341 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9342 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9343 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9344 * string/Makefile [$(cross-compiling) = no]: Likewise.
9345
ebfd1bbd
JM
9346 * posix/Makefile ($(objpfx)globtest.out): Pass
9347 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9348 $(rtld-installed-name).
9349 * posix/globtest.sh (elf_objpfx): Remove variable.
9350 (rtld_installed_name): Likewise.
9351 (library_path): Likewise.
9352 (run_program_prefix): New variable. Use for running globtest
9353 binary.
9354
166bca24
JB
93552012-10-23 Jim Blandy <jimb@codesourcery.com>
9356 Joseph Myers <joseph@codesourcery.com>
9357
9358 * Makeconfig (host-built-program-cmd): New variable.
9359 * elf/Makefile (tst-stackguard1-ARGS): Use
9360 $(host-built-program-cmd).
9361 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9362 (tst-spawn-ARGS): Likewise.
9363 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9364
88866099
JM
93652012-10-23 Joseph Myers <joseph@codesourcery.com>
9366 Jim Blandy <jimb@codesourcery.com>
9367
9368 * Makeconfig (run-via-rtld-prefix): New variable.
9369 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9370 (built-program-cmd): Likewise.
9371
b4b4c296
AJ
93722012-10-22 Andreas Jaeger <aj@suse.de>
9373
9374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9375 __O_RSYNC if it exists, otherwise to O_SYNC.
9376
6fb54a22
JB
93772012-10-22 Jim Blandy <jimb@codesourcery.com>
9378 Joseph Myers <joseph@codesourcery.com>
9379
9380 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9381 /dev/null.
9382 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9383 from /dev/null
9384 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9385 /dev/null.
9386
481b90b9
AJ
93872012-10-22 Andreas Jaeger <aj@suse.de>
9388
2a0e2669
AJ
9389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9390 Define always.
9391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9392
76e38f9a
AJ
9393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9394 bits/fcntl-linux.h.
9395
7cd37b43
AJ
9396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9397 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9398
481b90b9
AJ
9399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9400 to __O_LARGEFILE.
9401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9402 to __O_LARGEFILE.
9403
aba75984
JB
94042012-10-21 Jim Blandy <jimb@codesourcery.com>
9405 Joseph Myers <joseph@codesourcery.com>
9406
9407 * config.make.in (NM): New variable.
9408
88d4247f
AJ
94092012-10-21 Andreas Jaeger <aj@suse.de>
9410
9411 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9412 definitions and declarations that are provided by
9413 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9414
f2eed205
L
94152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 [BZ #14683]
9418 * elf/Makefile (tests-static): Add tst-leaks1-static.
9419 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9420 ($(objpfx)tst-leaks1-static): New rule.
9421 ($(objpfx)tst-leaks1-static-mem): Likewise.
9422 (tst-leaks1-static-ENV): New macro.
9423 * elf/dl-open.c (dl_open_worker): Check the main application
9424 only if SHARED is defined.
9425 * elf/tst-leaks1-static.c: New file.
9426
335e6931
AJ
94272012-10-20 Andreas Jaeger <aj@suse.de>
9428
9429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9430 generic values for Linux.
9431 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9432 and declarations that are provided by <bits/fcntl-linux.h> and
9433 include <bits/fcntl-linux.h>.
9434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9436
ac5c94d3
RM
94372012-10-20 Roland McGrath <roland@hack.frob.com>
9438
9439 * io/fcntl.h: Move include of <bits/types.h> to the top and
9440 include it unconditionally.
9441
de54b33a
L
94422012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9443
228cfb01
L
9444 * wcsmbs/Makefile (tests-ifunc): New variable.
9445 (tests): Add $(tests-ifunc).
9446 * wcsmbs/test-wcschr-ifunc.c: New file.
9447 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9448 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9449 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9450 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9451 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9452
69f07e5f
L
9453 * string/Makefile (tests-ifunc): New variable.
9454 (tests): Add $(tests-ifunc).
9455 * string/test-memccpy.c (TEST_NAME): New macro.
9456 * string/test-memchr.c (TEST_NAME): Likewise.
9457 * string/test-memcmp.c (TEST_NAME): Likewise.
9458 * string/test-memcpy.c (TEST_NAME): Likewise.
9459 * string/test-memmem.c (TEST_NAME): Likewise.
9460 * string/test-memmove.c (TEST_NAME): Likewise.
9461 * string/test-memset.c (TEST_NAME): Likewise.
9462 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9463 * string/test-stpcpy.c (TEST_NAME): Likewise.
9464 * string/test-stpncpy.c (TEST_NAME): Likewise.
9465 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9466 * string/test-strcasestr.c (TEST_NAME): Likewise.
9467 * string/test-strcat.c (TEST_NAME): Likewise.
9468 * string/test-strchr.c (TEST_NAME): Likewise.
9469 * string/test-strcmp.c(TEST_NAME): Likewise.
9470 * string/test-strcpy.c (TEST_NAME): Likewise.
9471 * string/test-strcspn.c (TEST_NAME): Likewise.
9472 * string/test-strlen.c (TEST_NAME): Likewise.
9473 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9474 * string/test-strncmp.c (TEST_NAME): Likewise.
9475 * string/test-strncpy.c (TEST_NAME): Likewise.
9476 * string/test-strnlen.c (TEST_NAME): Likewise.
9477 * string/test-strpbrk.c (TEST_NAME): Likewise.
9478 * string/test-strrchr.c (TEST_NAME): Likewise.
9479 * string/test-strspn.c (TEST_NAME): Likewise.
9480 * string/test-strstr.c (TEST_NAME): Likewise.
9481 * string/test-bcopy-ifunc.c: New file.
9482 * string/test-bzero-ifunc.c: Likewise.
9483 * string/test-memccpy-ifunc.c: Likewise.
9484 * string/test-memchr-ifunc.c: Likewise.
9485 * string/test-memcmp-ifunc.c: Likewise.
9486 * string/test-memcpy-ifunc.c: Likewise.
9487 * string/test-memmem-ifunc.c: Likewise.
9488 * string/test-memmove-ifunc.c: Likewise.
9489 * string/test-mempcpy-ifunc.c: Likewise.
9490 * string/test-memset-ifunc.c: Likewise.
9491 * string/test-rawmemchr-ifunc.c: Likewise.
9492 * string/test-stpcpy-ifunc.c: Likewise.
9493 * string/test-stpncpy-ifunc.c: Likewise.
9494 * string/test-strcasecmp-ifunc.c: Likewise.
9495 * string/test-strcasestr-ifunc.c: Likewise.
9496 * string/test-strcat-ifunc.c: Likewise.
9497 * string/test-strchr-ifunc.c: Likewise.
9498 * string/test-strchrnul-ifunc.c: Likewise.
9499 * string/test-strcmp-ifunc.c: Likewise.
9500 * string/test-strcpy-ifunc.c: Likewise.
9501 * string/test-strcspn-ifunc.c: Likewise.
9502 * string/test-strlen-ifunc.c: Likewise.
9503 * string/test-strncasecmp-ifunc.c: Likewise.
9504 * string/test-strncat-ifunc.c: Likewise.
9505 * string/test-strncmp-ifunc.c: Likewise.
9506 * string/test-strncpy-ifunc.c: Likewise.
9507 * string/test-strnlen-ifunc.c: Likewise.
9508 * string/test-strpbrk-ifunc.c: Likewise.
9509 * string/test-strrchr-ifunc.c: Likewise.
9510 * string/test-strspn-ifunc.c: Likewise.
9511 * string/test-strstr-ifunc.c: Likewise.
9512
de54b33a
L
9513 * debug/Makefile (tests-ifunc): New variable.
9514 (tests): Add $(tests-ifunc).
9515 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9516 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9517 * debug/test-stpcpy_chk-ifunc.c: New file.
9518 * debug/test-strcpy_chk-ifunc.c: Likewise.
9519
88481c16
SP
95202012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9521
9522 [BZ #13601]
9523 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9524 header is not read in.
9525
135948bd
JM
95262012-10-19 Joseph Myers <joseph@codesourcery.com>
9527
89f1c388
JM
9528 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9529 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9530 directly. Pass built executable to script as
9531 $(built-program-cmd).
9532 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9533 $testprogram without using LD_LIBRARY_PATH and $ldso.
9534
e40a0d21
JM
9535 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9536 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9537 $(rtld-installed-name).
9538 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9539 (rtld_installed_name): Likewise.
9540 (library_path): Likewise.
9541 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9542 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9543 $(run-program-prefix) to tst-tables.sh.
9544 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9545 it to run tst-table-from and tst-table-to.
9546 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9547 Pass it to tst-table.sh.
9548 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9549 $(run-program-prefix) to tst-gettext.sh.
9550 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9551 tst-translit.sh.
9552 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9553 tst-gettext2.sh.
9554 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9555 to run tst-gettext.
9556 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9557 to run tst-gettext2.
9558 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9559 to run tst-translit.
9560 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9561 $(run-program-prefix) to tst-mtrace.sh.
9562 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9563 to run tst-mtrace.
9564 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9565 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9566 $(rtld-installed-name).
9567 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9568 (rtld_installed_name): Likewise.
9569 (run_program_prefix): New variable. Use it to run wordexp-test.
9570
728e272a
JM
9571 * Makeconfig (ARCH): Remove all definitions.
9572 (machine): Likewise.
9573 [ARCH]: Remove conditional code.
9574 [!objdir]: Give error.
9575 [!objdir] (objpfx): Remove.
9576 [!objdir] (common-objpfx): Likewise.
9577 [!objdir] (common-objdir): Likewise.
9578 * configure.in (config_makefile): Remove. Hardcode Makefile in
9579 AC_CONFIG_FILES call.
9580 * configure: Regenerated.
9581
d528cdcf
JM
9582 [BZ #13888]
9583 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9584 or TMPDIR.
9585 (testout): Likewise.
9586
135948bd
JM
9587 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9588 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9589 $(rtld-installed-name).
9590 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9591 (rtld_installed_name): Likwise.
9592 (runit): Remove function.
9593 (run_getconf): New variable, Use it for running getconf binary.
9594
38c78296
L
95952012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 [BZ #14716]
9598 * string/test-memmem.c (check_result): New function.
9599 (do_one_test): Use it.
9600 (check1): New function.
9601 (test_main): Use it.
9602
d077f65f
MT
96032012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9604
9605 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9606
ced52c71
JM
96072012-10-18 Joseph Myers <joseph@codesourcery.com>
9608
9609 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9610 (_G_LSEEK64): Likewise.
9611 (_G_MMAP64): Likewise.
9612 (_G_FSTAT64): Likewise.
9613 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9614 (_G_LSEEK64): Likewise.
9615 (_G_MMAP64): Likewise.
9616 (_G_FSTAT64): Likewise.
9617 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9618 unconditional. Call __mmap64 directly.
9619 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9620 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9621 __lseek64 directly.
9622 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9623 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9624 __mmap64 directly.
9625 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9626 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9627 __lseek64 directly.
9628 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9629 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9630 __lseek64 directly.
9631 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9632 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9633 __lseek64 directly.
9634 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9635 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9636 __fxstat64 directly.
9637 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9638 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9639 unconditional.
9640 (freopen64) [!_G_OPEN64]: Remove conditional code.
9641 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9642 unconditional.
9643 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9644 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9645 unconditional.
9646 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9647 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9648 unconditional.
9649 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9650 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9651 unconditional.
9652 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9653 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9654 unconditional.
9655 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9656 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9657 unconditional.
9658 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9659 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9660 unconditional.
9661 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9662
b741de23
SP
96632012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9664
9665 [BZ #12140]
9666 * manual/memory.texi (Malloc Tunable Parameters): Add note
9667 about free list pointers overwriting some perturb bytes.
9668 Wording suggested by Roland McGrath.
9669
f9b9d9c9
JM
96702012-10-17 Joseph Myers <joseph@codesourcery.com>
9671
9672 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9673 (lgamma_test): Likewise.
9674 (tgamma_test): Likewise.
9675
172a631a
FW
96762012-10-16 Florian Weimer <fweimer@redhat.com>
9677
9678 [BZ #14700]
9679 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9680 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9681
e9f37252
MK
96822012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9683
9684 * NEWS: Mention BZ #14716.
9685 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9686 when removing AVAILABLE1_USES_J macro.
9687
d394eb74
L
96882012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9689
9690 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9691 (__bswap_64): __uint64_t for unsigned 64-bit int.
9692
ca38dc17
AS
96932012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9694
9695 * include/string.h (memmem): Declare libc hidden alias.
9696 * string/memmem.c (memmem): Define libc hidden alias.
9697 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9698 __read, __close instead of open, read, close.
9699
9a387d1f
L
97002012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9701
ac49ecaf
L
9702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9703 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9704 global and hidden.
9705 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9706 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9707 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9708 Likewise.
9709 (__rawmemchr_sse2): Likewise.
9710 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9711 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9712 (__strchr_sse2): Likewise.
9713 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9714 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9715 (__strcasecmp_sse2): Likewise.
9716 (__strncasecmp_sse2): Likewise.
9717 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9718 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9719 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9720 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9721 (__strrchr_sse2): Likewise.
9722 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9723 ifunc-impl-list.c.
9724 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9725 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9726 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9727 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9728 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9729 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9730 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9731 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9732 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9733 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9734 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9735 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9736 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9737 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9738 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9739 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9740 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9741 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9742 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9743 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9744 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9745 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9746 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9747 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9748 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9749 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9750 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9751 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9752 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9753 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9754
b090e8ea
L
9755 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9756 global and hidden.
9757 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9758 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9759 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9760 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9761 Likewise.
9762 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9763 Likewise.
9764 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9765 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9766 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9767 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9768 ifunc-impl-list.c.
9769 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9770 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9771 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9772 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9773 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9774 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9775 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9776 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9777 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9778 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9779 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9780 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9781 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9782 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9783 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9785 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9786 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9787 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9788 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9789 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9790 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9791 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9792 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9793 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9794 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9795 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9796 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9797 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9798 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9799 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9800 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9801 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9802 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9803 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9804 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9805 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9806 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9807 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9809 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9810
11dd4af6
L
9811 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9812 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9813 * include/ifunc-impl-list.h: New file.
9814 * misc/ifunc-impl-list.c: Likewise.
9815 * misc/Makefile (routines): Add ifunc-impl-list.
9816 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9817 * string/test-string.h: Include <ifunc-impl-list.h>.
9818 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9819 impl_array): New variables.
9820 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9821 are defined.
9822 (test_init): Call __libc_ifunc_impl_list to initialize
9823 func_list if TEST_IFUNC and TEST_NAME are defined.
9824
9a387d1f
L
9825 * string/Makefile (strop-tests): Add bcopy and bzero.
9826 * string/test-bcopy.c: New file.
9827 * string/test-bzero.c: Likewise.
9828 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9829 defined.
9830 * string/test-memset.c: Support bzero test if TEST_BZERO is
9831 defined.
9832 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9833 __libc_memmove.
9834 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9835 __libc_memset.
9836 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9837 of memset.
9838
472371b9
JM
98392012-10-10 Joseph Myers <joseph@codesourcery.com>
9840
1e4a9536
JM
9841 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9842 * configure: Regenerated.
9843
d173d12e
JM
9844 * Makeconfig (+link-static-before-libc): Don't include
9845 $(link-static-libc).
9846
472371b9
JM
9847 * libio/libio.h (_IO_pos_t): Remove.
9848
89a3ad0b
AO
98492012-10-10 Alexandre Oliva <aoliva@redhat.com>
9850
9851 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9852 McGrath.
9853
e7451425
AO
98542012-10-10 Alexandre Oliva <aoliva@redhat.com>
9855
9856 * crypt/crypt-entry.c: Include fips-private.h.
9857 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9858 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9859 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9860 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9861
4ba74a35
AO
98622012-10-10 Alexandre Oliva <aoliva@redhat.com>
9863
9864 * crypt/crypt-private.h: Include stdbool.h.
9865 (_ufc_setup_salt_r): Return bool.
9866 * crypt/crypt-entry.c: Include errno.h.
9867 (__crypt_r): Return NULL with EINVAL for bad salt.
9868 * crypt/crypt_util.c (bad_for_salt): New.
9869 (_ufc_setup_salt_r): Check that salt is long enough and within
9870 the specified alphabet.
9871 * crypt/badsalttest.c: New file.
9872 * crypt/Makefile (tests): Add it.
9873 ($(objpfx)badsalttest): New.
9874
f96f1242
MK
98752012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9876
9877 * NEWS: Add entry for BZ #14602.
9878
0e8e0c1c
JM
98792012-10-09 Joseph Myers <joseph@codesourcery.com>
9880
9881 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9882 type-generic.
9883 * math/libm-test.inc: Update comment listing what functions and
9884 macros are tested.
9885 (isgreater_test): New function.
9886 (isgreaterequal_test): Likewise.
9887 (isless_test): Likewise.
9888 (islessequal_test): Likewise.
9889 (islessgreater_test): Likewise.
9890 (isunordered_test): Likewise.
9891 (main): Call the new functions.
9892
273edc5e
RM
98932012-10-09 Roland McGrath <roland@hack.frob.com>
9894
b8493de0
RM
9895 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9896 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9897 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9898 * sysdeps/i386/configure: Regenerated.
9899 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9900 * sysdeps/mach/configure: Regenerated.
9901 * sysdeps/mach/hurd/configure: Regenerated.
9902 * sysdeps/powerpc/configure: Regenerated.
9903 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9904 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9905 * sysdeps/s390/s390-32/configure: Regenerated.
9906 * sysdeps/s390/s390-64/configure: Regenerated.
9907 * sysdeps/sh/configure: Regenerated.
9908 * sysdeps/sparc/configure: Regenerated.
9909 * sysdeps/unix/sysv/linux/configure: Regenerated.
9910 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9911 * sysdeps/x86_64/configure: Regenerated.
9912
273edc5e
RM
9913 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9914 defined. Don't check if MAP is NULL.
9915
c8450f70
JM
99162012-10-09 Joseph Myers <joseph@codesourcery.com>
9917
9918 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9919 (_G_stat64): Likewise.
9920 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9921 (_G_stat64): Likewise.
9922 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9923 instead of struct _G_stat64.
9924 * libio/fileops.c (mmap_remap_check): Likewise.
9925 (decide_maybe_mmap): Likewise.
9926 (_IO_new_file_seekoff): Likewise.
9927 (_IO_file_stat): Likewise.
9928 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9929 _G_off64_t.
9930 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9931 instead of struct _G_stat64.
9932 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9933
57e605ba
MK
99342012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9935
9936 [BZ #14602]
9937 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9938 Replace with ...
9939 (CHECK_EOL): New macro.
9940 (two_way_short_needle): Check beginning of haystack for EOL. Use
9941 CHECK_EOL.
9942 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9943 Replace with CHECK_EOL.
9944 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9945 Replace with CHECK_EOL.
9946
ef1bb361
JM
99472012-10-08 Joseph Myers <joseph@codesourcery.com>
9948
9949 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9950 type-generic.
9951 * math/libm-test.inc: Update comment listing what functions and
9952 macros are tested.
9953 (finite_test): New function.
9954 (isinf_test): Likewise.
9955 (isnan_test): Likewise.
9956 (fpclassify_test): Test subnormal input.
9957 (isfinite_test): Likewise.
9958 (isnormal_test): Likewise.
9959 (main): Call the new functions.
9960
55f11534
JN
99612012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9962
9963 [BZ #14660]
9964 * Makerules (%.dynsym): Force C locale when running
9965 $(OBJDUMP) --dynamic-syms.
9966
1ab29350
AS
99672012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9968
9969 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9970 <stdint.h>.
9971
f1ecb7ef
DM
99722012-10-06 David S. Miller <davem@davemloft.net>
9973
9974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9975 upper 32-bits of the length value in %o2 since we use branch-on-register
9976 tests which consider the entire 64-bit register.
9977
5d41d91a
L
99782012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 * string/test-strstr.c (check2): Add a test for page boundary.
9981
3baddb72
DM
99822012-10-05 David S. Miller <davem@davemloft.net>
9983
9984 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9985 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9986 file.
9987 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9988 sysdep_routines.
9989 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9990 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9991 and bzero when HWCAP_SPARC_CRYPTO is present.
9992
9cee5585
L
99932012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9994
d7e0dab9
L
9995 [BZ #14602]
9996 * string/test-strstr.c (check2): New function.
9997 (test_main): Call check2.
9998
03759f47
L
9999 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10000 and bug-strchr1.
10001 * string/bug-strcasestr1.c (do_test): Moved to ...
10002 * string/test-strcasestr.c (check1): Here. New function.
10003 (do_one_test): Break out result checking code into ...
10004 (check_result): This. New function.
10005 (do_one_test): Call check_result.
10006 (test_main): Call check1.
10007 * string/bug-strchr1.c (do_test): Moved to ...
10008 * string/test-strchr.c (check1): Here. New function.
10009 (do_one_test): Break out result checking code into ...
10010 (check_result): This. New function.
10011 (do_one_test): Call check_result.
10012 (test_main): Call check1.
10013 * string/bug-strstr1.c (main): Moved to ...
046f153e 10014 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10015 (do_one_test): Break out result checking code into ...
10016 (check_result): This. New function.
10017 (do_one_test): Call check_result.
10018 (test_main): Call check1.
10019 * string/bug-strcasestr1.c: Removed.
10020 * string/bug-strchr1.c: Likewise.
10021 * string/bug-strstr1.c: Likewise.
10022
53cea63e
L
10023 * elf/Makefile (dl-routines): Add hwcaps.
10024 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10025 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10026 (_dl_important_hwcaps): Moved to ...
10027 * elf/dl-hwcaps.c: Here. New file.
10028 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10029
9cee5585 10030 [BZ #14557]
bb859b06
L
10031 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10032 if IS_IN_rtld isn't defined.
10033
9cee5585
L
10034 * elf/dl-support.c (_dl_sysinfo_map): New.
10035 Include "get-dynamic-info.h" and "setup-vdso.h".
10036 (_dl_non_dynamic_init): Call setup_vdso.
10037 * elf/dynamic-link.h: Don't include <assert.h>.
10038 (elf_get_dynamic_info): Moved to ...
10039 * elf/get-dynamic-info.h: Here. New file.
10040 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10041 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10042 * elf/setup-vdso.h: Here. New file.
10043 * elf/rtld.c: Include "setup-vdso.h".
10044 (dl_main): Call setup_vdso.
10045
23c31b76
JM
100462012-10-05 Joseph Myers <joseph@codesourcery.com>
10047
28234b07
JM
10048 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10049 creal in comment listing functions tested. List finite, isinf,
10050 isnan, isless, islessequal, isgreater, isgreaterequal,
10051 islessgreater, isunordered, lgamma_r and pow10 as functions and
10052 macros not tested. Mention which functions not tested are aliases
10053 for other functions. Fix typo. Note that signs of NaNs are not
10054 tested.
10055
23c31b76
JM
10056 * scripts/config.guess: Update from config.git.
10057 * scripts/config.sub: Likewise.
10058
9043e228
RM
100592012-10-04 Roland McGrath <roland@hack.frob.com>
10060
10061 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10062 * misc/madvise.c (madvise): Renamed to __madvise.
10063 Make madvise a weak alias.
10064 * include/sys/mman.h: Declare __madvise.
10065 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10066 * sysdeps/unix/syscalls.list
10067 (madvise): Make __madvise the strong name, and madvise a weak alias.
10068 * sysdeps/unix/sysv/linux/syscalls.list
10069 (madvise, mmap): Remove redundant entries.
10070 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10071 * malloc/malloc.c (mtrim): Likewise.
10072 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10073
f57f8055
RM
100742012-10-03 Roland McGrath <roland@hack.frob.com>
10075
10076 * sysdeps/mach/hurd/dl-cache.c: File removed.
10077 * config.h.in (USE_LDCONFIG): New #undef.
10078 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10079 * configure: Regenerated.
10080 * elf/Makefile (dl-routines): Add dl-cache only under
10081 [$(use-ldconfig) = yes].
10082 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10083 cache on [USE_LDCONFIG].
10084 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10085 [USE_LDCONFIG].
10086 * elf/rtld.c (dl_main): Likewise.
10087
5bb0c10a
PT
100882012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10089
10090 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10091 _SC_LEVEL4_CACHE_LINESIZE.
10092
010188c6
RM
100932012-10-03 Roland McGrath <roland@hack.frob.com>
10094
10095 * sysdeps/unix/bsd/confstr.h: File removed.
10096
b6c5ec07
AO
100972012-10-02 Alexandre Oliva <aoliva@redhat.com>
10098
10099 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10100 sys/sdt-config.h.
10101
408223d4
RM
101022012-10-02 Roland McGrath <roland@hack.frob.com>
10103
10104 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10105 Make 'mapoff' field ElfW(Off) rather than off_t.
10106
bb9510dc
DL
101072012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10108
fc997c6e
DL
10109 * nscd/Makefile: Remove nscd-cflags and all its users.
10110 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10111 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10112
bb9510dc
DL
10113 [BZ #10631]
10114 * malloc.c (malloc_printerr): Clarify error message.
10115
05699367
L
101162012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 [BZ #14648]
10119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10120 Set bit_FMA_Usable if FMA is supported.
10121 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10122 macro.
10123 (bit_FMA4_Usable): Updated.
10124 (index_FMA_Usable): New macro.
10125 (CPUID_FMA): Likewise
10126 (HAS_FMA): Defined with bit_FMA_Usable.
10127
51367701
RM
101282012-10-01 Roland McGrath <roland@hack.frob.com>
10129
10130 * bits/types.h (__swblk_t): Type removed.
10131 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10132 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10134 (__SWBLK_T_TYPE): Likewise.
10135 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10136 (__SWBLK_T_TYPE): Likewise.
10137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10138 (__SWBLK_T_TYPE): Likewise.
10139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10140 (__SWBLK_T_TYPE): Likewise.
10141
4d57bf63 101422012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10143 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10144
10145 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10146 (xdr_mapname): Use YPMAXMAP as maxsize.
10147 (xdr_peername): Use YPMAXPEER as maxsize.
10148 (xdr_keydat): Use YPAXRECORD as maxsize.
10149 (xdr_valdat): Use YPMAXRECORD as maxsize.
10150
93c65d43
RM
101512012-10-01 Roland McGrath <roland@hack.frob.com>
10152
497a03d6
RM
10153 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10154
93c65d43
RM
10155 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10156 * csu/init-first.c: ... here.
10157 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10158 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10159 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10160 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10161 * sysdeps/i386/init-first.c: File removed.
10162 * sysdeps/sh/init-first.c: File removed.
10163
bec749fd
JM
101642012-10-01 Joseph Myers <joseph@codesourcery.com>
10165
10166 [BZ #14645]
10167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10168 if x * y might underflow to zero and z is zero.
10169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10171 * math/libm-test.inc (min_subnorm_value): New variable.
10172 (fma_test): Add more tests.
10173 (fma_test_towardzero): Likewise.
10174 (fma_test_downward): Likewise
10175 (fma_test_upward): Likewise.
10176 (initialize): Set min_subnorm_value.
10177
8ec5b013
JM
101782012-09-29 Joseph Myers <joseph@codesourcery.com>
10179
10180 [BZ #14638]
10181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10182 0 + 0.
10183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10184 mode for addition resulting in exact zero.
10185 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10187 exact 0 + 0.
10188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10190 * math/libm-test.inc (fma_test): Add more tests.
10191 (fma_test_towardzero): New function.
10192 (fma_test_downward): Likewise.
10193 (fma_test_upward): Likewise.
10194 (main): Call the new functions.
10195
b1fa802e
DM
101962012-09-28 David S. Miller <davem@davemloft.net>
10197
10198 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10199
d3b9fd9e
RM
102002012-09-28 Roland McGrath <roland@hack.frob.com>
10201
ea4d37b3
RM
10202 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10203 instead of SIGALRM.
10204
ac51c949
RM
10205 * sysdeps/gnu/_G_config.h: Moved to ...
10206 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10207 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10208 * sysdeps/generic/_G_config.h: ... here.
10209
28c195f7
RM
10210 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10211
848917f9
RM
10212 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10213
6bacf05b
RM
10214 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10215 Conditionalize target on [libnss_test1.so-version].
10216
91363dbb
RM
10217 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10218
cc87f7d8
RM
10219 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10220 (elfobjdir): Move out of conditionals.
10221
b1c608fe
RM
10222 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10223 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10224 (__nss_lookup_function): Conditionalize label remove_from_tree on
10225 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10226
1d9a6d96
DM
102272012-09-28 David S. Miller <davem@davemloft.net>
10228
10229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10230 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10231 file.
10232 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10233 sysdep_routines.
10234 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10236 when HWCAP_SPARC_CRYPTO is present.
10237
72581615
PT
102382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10239
10240 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10241
715a900c
JL
102422012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10243
10244 [BZ #6530]
10245 * stdio-common/vfprintf.c (process_string_arg): Revert
10246 2000-07-22 change.
10247
102482011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10249
10250 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10251 for testcase.
10252 * stdio-common/tst-sprintf.c: Include <locale.h>
10253 (main): Test sprintf's handling of incomplete multibyte
10254 characters.
10255
9bac1d86
L
102562012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 * elf/dl-runtime.c (VERSYMIDX): Removed.
10259 * elf/dl-version.c (VERSYMIDX): Likewise.
10260 * elf/do-rel.h (VERSYMIDX): Likewise.
10261 (VALIDX): Likewise.
10262 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10263 * elf/rtld.c (VALIDX): Likewise.
10264 (ADDRIDX): Likewise.
9bac1d86
L
10265 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10266 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10267 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10268 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10269 (VALIDX): Likewise.
10270 (ADDRIDX): Likewise.
9bac1d86 10271
b31606c0
PT
102722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10273
10274 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10275
11541177
JL
102762012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10277
10278 [BZ #11438]
10279 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10280 to global scope.
10281 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10282 addresses are in the same scope as 192.0.2/24.
10283 * posix/gai.conf: Document new scope table defaults.
10284
adb26fae
SP
102852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 [BZ #5298]
10288 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10289 for ftell. Compute offsets from write pointers instead.
10290 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10291
4573c6b0
SP
102922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10293
10294 [BZ #14543]
10295 * libio/Makefile (tests): New test case tst-fseek.
10296 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10297 combination works in wide mode.
10298 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10299 state when the external buffer state changes.
10300
aa9bbfe6
DM
103012012-09-27 David S. Miller <davem@davemloft.net>
10302
10303 [BZ #14376]
10304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10305 pass reloc->r_addend in as the 'high' argument to
10306 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10307
784421e7
DM
10308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10309
c39bc8b8
PT
103102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10311
10312 * rt/tst-aio2.c: Include <pthread.h>.
10313 * rt/tst-aio3.c: Likewise.
10314
1ccc2399
SE
103152012-09-27 Steve Ellcey <sellcey@mips.com>
10316
10317 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10318
31ed4153
L
103192012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10320
25f5f885
L
10321 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10322 contents on [SHARED].
31ed4153 10323
b7bfe116
MP
103242012-09-26 Marek Polacek <polacek@redhat.com>
10325
10326 [BZ #14530]
10327 [BZ #13741]
10328 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10329 for C++ and GCC <4.3 as well as for non GCC compilers.
10330
43c4edba
MT
103312012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10332
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10334
6a1bf82f
RM
103352012-09-25 Roland McGrath <roland@hack.frob.com>
10336
10337 * Makefile.in (all, install): Declare with .PHONY.
10338 Reported by Michael Hope <michael.hope@linaro.org>.
10339
8ad11b9a
TMQMF
103402012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10341
10342 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10343 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10344 system header.
10345 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10346 Likewise.
10347 (sydep_routines): Add the new and the internal functions.
10348 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10349 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10351 (GLIBC_2.17): Add the new function.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10353 (GLIBC_2.17): Likewise.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10355 (GLIBC_2.17): Likewise.
10356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10357 (GLIBC_2.17): Likewise.
10358 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10359
7e2fca8d
AM
103602012-09-25 Alan Modra <amodra@gmail.com>
10361
10362 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10363 Add release barrier before setting once_control to say
10364 initialisation is done. Add hints on lwarx. Use macro in
10365 place of isync.
10366 (clear_once_control): Add release barrier.
10367
b87c4b24
JM
103682012-09-25 Joseph Myers <joseph@codesourcery.com>
10369
d032e0d2
JM
10370 [BZ #13629]
10371 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10372 specially.
10373 * math/s_clog10.c (__clog10): Likewise.
10374 * math/s_clog10f.c (__clog10f): Likewise.
10375 * math/s_clog10l.c (__clog10l): Likewise.
10376 * math/s_clogf.c (__clogf): Likewise.
10377 * math/s_clogl.c (__clogl): Likewise.
10378 * math/Makefile (libm-calls): Add x2y2m1.
10379 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10380 (__x2y2m1): Likewise.
10381 (__x2y2m1l): Likewise.
10382 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10383 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10386 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10387 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10388 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10389 * sysdeps/i386/fpu/libm-test-ulps: Update.
10390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10391
b87c4b24
JM
10392 [BZ #14621]
10393 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10394 int as type of variable DEPTH.
10395 (glob): Use size_t instead of int as type of variables NEWCOUNT
10396 and OLD_PATHC.
10397
6d3bf199
LD
103982012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10399
22bf5c17
LD
10400 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10401 Add s_sincosf-sse2.
10402 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10403 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10404 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10405 macros for using routine as __sincosf_ia32.
10406 Use macro for function declaration and weak_alias.
10407 * sysdeps/i386/fpu/libm-test-ulps: Update.
10408
10409 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10411
10412 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10413 subnormal argument.
10414 * math/s_cexpf.c (__cexpf): Likewise.
10415 * math/s_csinf.c (__csinf): Likewise.
10416 * math/s_csinhf.c (__csinhf): Likewise.
10417 * math/s_ctanf.c (__ctanf): Likewise.
10418 * math/s_ctanhf.c (__ctanhf): Likewise.
10419 * math/s_ccosh.c (__ccoshf): Likewise.
10420 * math/s_cexp.c (__cexpl): Likewise.
10421 * math/s_csin.c (__csin): Likewise.
10422 * math/s_csinh.c (__csinh): Likewise.
10423 * math/s_ctan.c (__ctan): Likewise.
10424 * math/s_ctanh.c (ctanh): Likewise.
10425 * math/s_ccoshl.c (__ccoshl): Likewise.
10426 * math/s_cexpl.c (__cexpl): Likewise.
10427 * math/s_csinl.c (__csinl): Likewise.
10428 * math/s_csinhl.c (__csinhl): Likewise.
10429 * math/s_ctanl.c (__ctanl): Likewise.
10430 * math/s_ctanhl.c (__ctanhl): Likewise.
10431
203e5603
JM
104322012-09-25 Joseph Myers <joseph@codesourcery.com>
10433
10434 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10435 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10436 (_IO_off_t): Define to __off_t, not _G_off_t.
10437 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10438 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10439 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10440 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10441 type of __dummy and __dummy2 fields.
10442 * sysdeps/generic/_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.
10449 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10450 (_G_ssize_t): Likewise.
10451 (_G_off_t): Likewise.
10452 (_G_pid_t): Likewise.
10453 (_G_uid_t): Likewise.
10454 (_G_wchar_t): Likewise.
10455 (_G_wint_t): Likewise.
10456 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10457 (_G_ssize_t): Likewise.
10458 (_G_off_t): Likewise.
10459 (_G_pid_t): Likewise.
10460 (_G_uid_t): Likewise.
10461 (_G_wchar_t): Likewise.
10462 (_G_wint_t): Likewise.
10463
9fab36eb
SP
104642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10465
10466 * malloc/arena.c: Include malloc-sysdep.h.
10467 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10468 is sufficient to shrink the heap or an unmap is needed.
10469 * sysdeps/generic/malloc-sysdep.h: New file. Define
10470 new function check_may_shrink_heap.
10471 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10472 new function check_may_shrink_heap.
10473
2b4f00d1
SP
104742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10475
10476 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10477 comments.
10478
9a9028b1
DL
104792012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10480
57c69bef
DL
10481 * catgets/test-gencat.sh: Add "set -e".
10482 * elf/tst-pathopt.sh: Likewise.
10483 * grp/tst_fgetgrent.sh: Likewise.
10484 * iconvdata/run-iconv-test.sh: Likewise.
10485 * intl/tst-gettext.sh: Likewise.
10486 * intl/tst-gettext2.sh: Likewise.
10487 * intl/tst-gettext4.sh: Likewise.
10488 * intl/tst-gettext6.sh: Likewise.
10489 * intl/tst-translit.sh: Likewise.
10490 * io/ftwtest-sh: Likewise.
10491 * libio/test-freopen.sh: Likewise.
10492 * malloc/tst-mtrace.sh: Likewise.
10493 * posix/globtest.sh: Likewise.
10494 * posix/tst-getconf.sh: Likewise.
10495 * posix/wordexp-tst.sh: Likewise.
10496 * stdio-common/tst-printf.sh: Likewise.
10497 * stdio-common/tst-unbputc.sh: Likewise.
10498 * stdlib/tst-fmtmsg.sh: Likewise.
10499 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10500 * catgets/Makefile: Do not specify -e option when running
10501 testsuite shell scripts.
10502 * elf/Makefile: Likewise.
10503 * grp/Makefile: Likewise.
10504 * iconvdata/Makefile: Likewise.
10505 * intl/Makefile: Likewise.
10506 * io/Makefile: Likewise.
10507 * libio/Makefile: Likewise.
10508 * malloc/Makefile: Likewise.
10509 * posix/Makefile: Likewise.
10510 * stdio-common/Makefile: Likewise.
10511 * stdlib/Makefile: Likewise.
10512 * sysdeps/x86_64/Makefile: Likewise.
10513
9a9028b1
DL
10514 * io/ftwtest-sh: Add copyright header.
10515 * posix/globtest.sh: Likewise.
10516 * posix/tst-getconf.sh: Likewise.
10517 * posix/wordexp-tst.sh: Likewise.
10518 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10519
ced6f16e
L
105202012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10521
94b32c39
L
10522 [BZ #13679]
10523 * Makeconfig (+link): Defined as $(+link-static) if
10524 $(build-shared) isn't yes.
10525 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10526 isn't yes.
10527 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10528
189e935b
L
10529 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10530
ced6f16e
L
10531 [BZ #14562]
10532 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10533 new chunk size with MALLOC_ALIGN_MASK.
10534
a9f8e53a
JM
105352012-09-24 Joseph Myers <joseph@codesourcery.com>
10536
10537 [BZ #5044]
10538 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10539 <rounding-mode.h>.
10540 (__printf_fphex): Determine rounding using get_rounding_mode and
10541 round_away.
10542 * stdio-common/tst-printf-round.c (struct hex_test): New
10543 structure.
10544 (hex_tests): New variable.
10545 (test_hex_in_one_mode): New function.
10546 (do_test): Also run tests for hex float output.
10547
43153109
JM
105482012-09-21 Joseph Myers <joseph@codesourcery.com>
10549
10550 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10551 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10552 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10553 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10554 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10555 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10556 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10557 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10558
8a26625d
JM
105592012-09-20 Joseph Myers <joseph@codesourcery.com>
10560
10561 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10562 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10563 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10564 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10565
f3fd569c
DL
105662012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10567
10568 [BZ #14579]
10569 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10570 mode only.
10571 * elf/tst-rtld-load-self.sh: New test.
10572 * elf/Makefile: Run it.
10573
63bbedd4
JM
105742012-09-18 Joseph Myers <joseph@codesourcery.com>
10575
10576 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10577 (tst-writev-ENV): Remove.
10578 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10579
626f8b6a
CM
105802012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10581
10582 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10583
b7aaa4d6
JM
105842012-09-17 Joseph Myers <joseph@codesourcery.com>
10585
10586 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10587 unconditional.
10588 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10589 Likewise.
10590 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10591 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10592 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10593 Likewise.
10594
65513990
L
105952012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10596
10597 [BZ #14587]
10598 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10599 * config.make.in (have-cpp-asm-debuginfo): Removed.
10600 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10601 * configure: Regenerated.
10602
784761be
JM
106032012-09-14 Joseph Myers <joseph@codesourcery.com>
10604
10605 [BZ #5044]
10606 * stdio-common/printf_fp.c: Include <stdbool.h> and
10607 <rounding-mode.h>.
10608 (___printf_fp): Determine rounding using get_rounding_mode and
10609 round_away.
10610 * stdio-common/tst-printf-round.c: New file.
10611 * stdio-common/Makefile (tests): Add tst-printf-round.
10612 (link-libm): New variable.
10613 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10614
9503345f
L
106152012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10616
10617 [BZ #14576]
10618 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10619 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10620 Likewise.
10621 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10622 Likewise.
10623
ad35fc00
JM
106242012-09-13 Joseph Myers <joseph@codesourcery.com>
10625
10626 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10627 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10628 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10629 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10630
6c9b0f68
JM
106312012-09-12 Joseph Myers <joseph@codesourcery.com>
10632
10633 [BZ #14518]
10634 * include/rounding-mode.h: New file.
10635 * sysdeps/generic/get-rounding-mode.h: Likewise.
10636 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10637 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10638 (MAX_VALUE): New macro.
10639 (MIN_VALUE): Likewise.
10640 (overflow_value): New function.
10641 (underflow_value): Likewise.
10642 (round_and_return): Use overflow_value and underflow_value to
10643 determine return values in overflow and underflow cases. Use
10644 round_away to determine rounding depending on rounding mode.
10645 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10646 determine return values in overflow and underflow cases.
10647 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10648 (struct test_results): New structure.
10649 (struct test): Use struct test_results to store expected results
10650 for all rounding modes.
10651 (TEST): Include expected results for all rounding modes.
10652 (test_in_one_mode): New function.
10653 (do_test): Use test_in_one_mode to compute and check results.
10654 Check results for all rounding modes.
10655 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10656 $(link-libm).
10657
19fcedd5
AM
106582012-12-09 Allan McRae <allan@archlinux.org>
10659
1e9d84cd 10660 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 10661
8bbfd2f1
JM
106622012-09-11 Joseph Myers <joseph@codesourcery.com>
10663
10664 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10665 (_G_int32_t): Likewise.
10666 (_G_uint16_t): Likewise.
10667 (_G_uint32_t): Likewise.
10668 (_G_HAVE_BOOL): Likewise.
10669 (_G_HAVE_ATEXIT): Likewise.
10670 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10671 (_G_HAVE_IO_FILE_OPEN): Likewise.
10672 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10673 (_G_int32_t): Likewise.
10674 (_G_uint16_t): Likewise.
10675 (_G_uint32_t): Likewise.
10676 (_G_HAVE_BOOL): Likewise.
10677 (_G_HAVE_ATEXIT): Likewise.
10678 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10679 (_G_HAVE_IO_FILE_OPEN): Likewise.
10680 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10681 (_G_int32_t): Likewise.
10682 (_G_uint16_t): Likewise.
10683 (_G_uint32_t): Likewise.
10684 (_G_HAVE_BOOL): Likewise.
10685 (_G_HAVE_ATEXIT): Likewise.
10686 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10687 (_G_HAVE_IO_FILE_OPEN): Likewise.
10688
b1dc5912
L
106892012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10690
10691 * csu/libc-tls.c: Update copyright years.
10692
0e886ef9
JM
106932012-09-10 Joseph Myers <joseph@codesourcery.com>
10694
28361c5e
JM
10695 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10696 [!_G_USING_THUNKS]: Remove conditional code.
10697 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10698 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10699
0e886ef9
JM
10700 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10701 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10702 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10703 (_G_VTABLE_LABEL_PREFIX): Likewise.
10704 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10705 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10706 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10707 (_G_VTABLE_LABEL_PREFIX): Likewise.
10708 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10709 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10710 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10711 (_G_VTABLE_LABEL_PREFIX): Likewise.
10712 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10713
bcba7aa2
L
107142012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * libio/Makefile: Include ../Makeconfig before tests.
10717 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10718 only if $(build-shared) is yes.
10719
06585ee8
L
10720 * iconv/gconv_db.c: Update copyright years.
10721
80ccd52c
LD
107222012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10723
10724 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10725 unwind info if defined PIC. Fix special cases description.
10726 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10727
10728 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10729 DP_HI_MASK entry.
10730 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10731
691bc9c1
L
107322012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10733
3d9b46b3
L
10734 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10735
de2139a9
L
10736 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10737 is NULL.
10738
5ca78dd0
L
10739 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10740 (LDLIBS-tst-chk4): This.
10741 (LDFLAGS-tst-chk5): Renamed to ...
10742 (LDLIBS-tst-chk5): This.
10743 (LDFLAGS-tst-chk6): Renamed to ...
10744 (LDLIBS-tst-chk6): This.
10745 (LDFLAGS-tst-lfschk4): Renamed to ...
10746 (LDLIBS-tst-lfschk4): This.
10747 (LDFLAGS-tst-lfschk5): Renamed to ...
10748 (LDLIBS-tst-lfschk5): This.
10749 (LDFLAGS-tst-lfschk6): Renamed to ...
10750 (LDLIBS-tst-lfschk6): This.
10751
691bc9c1
L
10752 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10753 on $(common-objpfx)soversions.mk.
10754
65cafb1c
JM
107552012-09-07 Joseph Myers <joseph@codesourcery.com>
10756
10757 [BZ #10014]
10758 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10759 example host name.
10760
c78ab094
SP
107612012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10762
10763 * malloc/arena.c (arena_get_retry): New function that gets
10764 another arena for the caller to try its request on.
10765 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10766 current arena cannot fulfill the request.
10767 (__libc_memalign): Likewise.
10768 (__libc_memalign): Likewise.
10769 (__libc_pvalloc): Likewise.
10770 (__libc_calloc): Likewise.
10771
01f49f59
JT
107722012-09-05 John Tobey <john.tobey@gmail.com>
10773
10774 [BZ #13542]
10775 * manual/arith.texi (Operations on Complex): Fix description
10776 of carg branch cut.
10777
4c23fed5
JM
107782012-09-06 Joseph Myers <joseph@codesourcery.com>
10779
1d3c8572
JM
10780 [BZ #10014]
10781 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10782 host name.
10783
4c23fed5
JM
10784 [BZ #10038]
10785 * manual/memory.texi (Memory): Make order of menu items match
10786 order of sections.
10787
04570aaa
L
107882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10791 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10792 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10793
b80af2f4
L
107942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10795
10796 * csu/libc-tls.c (static_dtv): Renamed to ...
10797 (_dl_static_dtv): This. Make it global.
10798 (_dl_initial_dtv): Removed.
10799 (__libc_setup_tls): Updated.
10800 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10801 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10802 DL_INITIAL_DTV.
10803
2abe9f15
PM
108042012-09-06 Petr Machata <pmachata@redhat.com>
10805
10806 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10807 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10808 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10809 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10810
0948c3af
L
108112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10812
10813 [BZ #14545]
10814 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10815 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10816 freeing dtv[-1].
10817
a5055ad1
L
108182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10819
10820 [BZ #14544]
10821 * Makeconfig (link-static-before-libc): Replace $(+prector)
10822 with $(+prectorT).
10823 (link-static-after-libc): Replace $(+postctor) with
10824 $(+postctorT).
10825 (link-bounded): Replace $(+prector)/$(+postctor) with
10826 $(+prectorT)/$(+postctorT).
10827 (+prectorT): New macro.
10828 (+postctorT): Likewise.
10829
ed8c2ecd
JM
108302012-09-06 Joseph Myers <joseph@codesourcery.com>
10831
10832 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10833 (round_str): Handle values above the maximum for IBM long double
10834 as inexact.
10835 * stdlib/tst-strtod-round.c (tests): Regenerated.
10836
14c996c8
AK
108372012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10838
10839 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10840 assembler flag.
10841 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10842 zarch_nohighgprs around the zarch optimized routines.
10843 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10844 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10845 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10846 for zarch.
10847
430d6ce6
DM
108482012-09-05 David S. Miller <davem@davemloft.net>
10849
10850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10851
ff04dda4
DM
10852 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10853 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10854 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10855 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10856 entries.
10857
24d4e01b
AO
108582012-09-05 Alexandre Oliva <aoliva@redhat.com>
10859
10860 * malloc/arena.c: Fold copyright years.
10861 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10862
61d58174
AO
108632012-09-05 Alexandre Oliva <aoliva@redhat.com>
10864
10865 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10866
20196a5e
AO
108672012-09-05 Alexandre Oliva <aoliva@redhat.com>
10868
10869 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10870
5c447383
AO
108712012-09-05 Alexandre Oliva <aoliva@redhat.com>
10872
10873 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10874 change internal state upon failure.
10875
fad64255
AO
108762012-09-05 Alexandre Oliva <aoliva@redhat.com>
10877
10878 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10879 * malloc/memusage.c (mmap): Likewise.
10880 (mmap64, mremap): Likewise. Adjust name in comment.
10881
1ffb8c90
SP
108822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10883
10884 * libio/fileops.c: Fix typos in comments.
10885 * libio/oldfileops.c: Likewise.
10886 * libio/wfileops.c: Likewise.
10887
6ef9cc37
SP
108882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10889
10890 [BZ #1349]
10891 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10892 (tst-malloc-usable-ENV): Set environment for test case.
10893 * malloc/hooks.c (malloc_check_get_size): New function to get
10894 requested size.
10895 * malloc/malloc.c (musable): Use malloc_check_get_size.
10896 * malloc/tst-malloc-usable.c: New test case.
10897
4d038ae3
AS
108982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10899
10900 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10901
c4e85184
AM
109022012-09-05 Allan McRae <allan@archlinux.org>
10903
b9dafc56 10904 [BZ #13966]
c4e85184
AM
10905 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10906 determine header location.
10907 * configure: Regenerated.
10908
e1343020
AS
109092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10910
10911 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10912 float format.
10913 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10914 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10915 format.
e1343020
AS
10916 (test): Regenerate.
10917
0a9f1987
DM
109182012-09-04 David S. Miller <davem@davemloft.net>
10919
10920 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10921 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10922 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10923
29237804
FW
109242012-09-04 Florian Weimer <fweimer@redhat.com>
10925
10926 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10927 failures.
10928
edb3cb88
FW
10929 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10930
60160d83
JM
109312012-09-04 Joseph Myers <joseph@codesourcery.com>
10932
10933 [BZ #9914]
10934 * libio/iogetdelim.c: Include <limits.h>.
10935 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10936 + len + 1 would overflow.
10937
bcd6c8dc
AJ
109382012-09-03 Andreas Jaeger <aj@suse.de>
10939
10940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942
4ffffbd2
LD
109432012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10944
10945 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10946 Add s_sinf-sse2, s_conf-sse2.
10947
10948 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10949 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10950 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10951 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10952
10953 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10954 for using routine as __sinf_ia32.
10955 Use macro for function declaration and weak_alias.
10956 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10957 for using routine as __cosf_ia32.
10958 Use macro for function declaration and weak_alias.
10959
10960 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10961 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10962
10963 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10964 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10966
10967 * math/libm-test.inc (cos_test): Add more test cases.
10968 (sin_test): Likewise.
10969 (sincos_test): Likewise.
10970
511fa286
AK
109712012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10972
10973 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10974 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10975 hidden.
10976 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10977
5f30cfec
L
109782012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10979
10980 [BZ #14538]
10981 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10982 first element of the GOT.
10983 (elf_machine_load_address): Return the difference between
10984 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10985
0786794f
AM
109862012-09-01 Allan McRae <allan@archlinux.org>
10987
5f30cfec
L
10988 [BZ #13412]
10989 * configure.in (AWK): Require gawk version 3.0 or later.
10990 * configure: Regenerated.
0786794f 10991
26889eac
JM
109922012-09-01 Joseph Myers <joseph@codesourcery.com>
10993
10994 * sysdeps/unix/sysv/linux/kernel-features.h
10995 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10996 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10997 [__NR_clock_getres]: Make code unconditional.
10998 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10999 (clock_getcpuclockid): Remove code left unreachable by removal of
11000 conditionals.
11001 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11002 code unconditional.
11003 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11004 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11005 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11006 Make code unconditional.
11007 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11008 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11009 * sysdeps/unix/sysv/linux/clock_settime.c
11010 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11011 conditional code.
11012 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11013 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11014
d22e28b0
L
110152012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 [BZ #14476]
11018 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11019 scripts/test-installation.pl.
11020
11021 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11022 and $ld_so_version if it is set.
11023
050af9c4
SP
110242012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11025
11026 [BZ #14516]
11027 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11028 failure if reading from procfs failed.
11029 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11030
ad845c0b
JM
110312012-08-27 Joseph Myers <joseph@codesourcery.com>
11032
11033 * sysdeps/unix/sysv/linux/kernel-features.h
11034 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11035 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11036 Remove conditional code.
11037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11038 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11039 Remove conditional code.
11040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11041 * sysdeps/unix/sysv/linux/i386/fxstat.c
11042 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11043 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11044 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11045 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11047 * sysdeps/unix/sysv/linux/i386/lxstat.c
11048 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11049 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11050 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11051 Remove conditional code.
11052 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11053 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11054 Remove conditional code.
11055 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11056 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11057 <kernel-features.h>.
11058 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11059 Remove.
11060 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11061 Remove conditional code.
11062 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11063 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11064 Remove conditional.
11065
5dbf56af
MF
110662012-08-27 Mike Frysinger <vapier@gentoo.org>
11067
11068 [BZ #5400]
11069 * NEWS: Add fixed bug number.
11070
d6e70f43
JM
110712012-08-27 Joseph Myers <joseph@codesourcery.com>
11072
7efb4737
JM
11073 [BZ #14519]
11074 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11075 underflowing exponent in case of negative sign.
11076 * stdlib/tst-strtod-round-data: Add more tests.
11077 * stdlib/tst-strtod-round.c (tests): Regenerated.
11078
af92131a
JM
11079 [BZ #3479]
11080 * stdlib/strtod_l.c (NDIG): Remove.
11081 (HEXNDIG): Likewise.
11082 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11083 smallest representable value.
11084 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11085 lie within an exact representation of 1/2 ulp of the result.
11086 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11087 unconditionally.
11088 (TENS_P9_IDX): Define unconditionally.
11089 (TENS_P9_SIZE): Likewise.
11090 (TENS_P10_IDX): Likewise.
11091 (TENS_P10_SIZE): Likewise.
11092 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11093 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11094 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11095 entries for 10^2^13 and 10^2^14.
11096 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11097 (TENS_P13_IDX): Define.
11098 (TENS_P13_SIZE): Likewise.
11099 (TENS_P14_IDX): Likewise.
11100 (TENS_P14_SIZE): Likewise.
11101 (_fpioconst_pow10): Change array size to
11102 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11103 unconditional.
11104 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11105 1024]: Add entries for 10^2^13 and 10^2^14.
11106 [LAST_POW10 > _LAST_POW10]: Remove #error.
11107 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11108 (_fpioconst_pow10): Change array size to
11109 FPIOCONST_POW10_ARRAY_SIZE.
11110 * stdlib/gen-fpioconst.c: New file.
11111 * stdlib/gen-tst-strtod-round.c: Likewise.
11112 * stdlib/tst-strtod-round-data: Likewise.
11113 * stdlib/tst-strtod-round.c: Likewise.
11114 * stdlib/Makefile (tests): Add tst-strtod-round.
11115
d6e70f43
JM
11116 [BZ #14459]
11117 * stdlib/strtod_l.c: Include <stdint.h>.
11118 (NDEBUG): Do not define.
11119 (round_and_return): Change EXPONENT parameter to type intmax_t.
11120 Rearrange calculations to avoid internal overflow possibilities.
11121 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11122 Rearrange calculations to avoid internal overflow possibilities.
11123 Assert that number fits inside MPNSIZE limbs.
11124 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11125 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11126 calculations and add assertions to avoid internal overflow
11127 possibilities. Add casts to avoid signed/unsigned operations.
11128 * stdlib/tst-strtod-overflow.c: New file.
11129 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11130
1f529f7d
MP
111312012-08-25 Marek Polacek <polacek@redhat.com>
11132
11133 * time/time.h: Fix some typos in comments.
11134
59a629f1
RM
111352012-08-23 Roland McGrath <roland@hack.frob.com>
11136
11137 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11138 * posix/tst-rfc3484-2.c: Likewise.
11139 * posix/tst-rfc3484-3.c: Likewise.
11140
d3bafbc9
SM
111412012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11142
11143 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11144 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11145
4efcc022
JM
111462012-08-23 Joseph Myers <joseph@codesourcery.com>
11147
11148 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11149 #include of fxstatat64.c.
11150
3cc3ef96
RM
111512012-08-22 Roland McGrath <roland@hack.frob.com>
11152
f04e2132
RM
11153 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11154 * shadow/getspent_r.c: Likewise.
11155 * shadow/getspnam.c: Likewise.
11156 * shadow/getspnam_r.c: Likewise.
11157 * gshadow/getsgent.c: Likewise.
11158 * gshadow/getsgent_r.c: Likewise.
11159 * gshadow/getsgnam.c: Likewise.
11160 * gshadow/getsgnam_r.c: Likewise.
11161 * inet/getnetbyad.c: Likewise.
11162 * inet/getnetbyad_r.c: Likewise.
11163 * inet/getnetbynm.c: Likewise.
11164 * inet/getnetbynm_r.c: Likewise.
11165 * inet/getnetent.c: Likewise.
11166 * inet/getnetent_r.c: Likewise.
11167 * inet/getproto.c: Likewise.
11168 * inet/getproto_r.c: Likewise.
11169 * inet/getprtent.c: Likewise.
11170 * inet/getprtent_r.c: Likewise.
11171 * inet/getprtname.c: Likewise.
11172 * inet/getprtname_r.c: Likewise.
11173 * inet/getrpcbyname.c: Likewise.
11174 * inet/getrpcbyname_r.c: Likewise.
11175 * inet/getrpcbynumber.c: Likewise.
11176 * inet/getrpcbynumber_r.c: Likewise.
11177 * inet/getrpcent.c: Likewise.
11178 * inet/getrpcent_r.c: Likewise.
11179 * inet/getaliasent.c: Likewise.
11180 * inet/getaliasent_r.c: Likewise.
11181 * inet/getaliasname.c: Likewise.
11182 * inet/getaliasname_r.c: Likewise.
11183 * nscd/getgrgid_r.c: Likewise.
11184 * nscd/getgrnam_r.c: Likewise.
11185 * nscd/gethstbyad_r.c: Likewise.
11186 * nscd/gethstbynm3_r.c: Likewise.
11187 * nscd/getpwnam_r.c: Likewise.
11188 * nscd/getpwuid_r.c: Likewise.
11189 * nscd/getsrvbynm_r.c: Likewise.
11190 * nscd/getsrvbypt_r.c: Likewise.
11191 * nscd/gai.c: Likewise.
11192
c53d909c
RM
11193 * configure.in (build_nscd): New substituted variable, set
11194 by --disable-build-nscd and defaults to $use_nscd.
11195 * configure: Regenerated.
11196 * config.make.in (build-nscd): New substituted variable.
11197 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11198 Change conditional to require [$(build-nscd) = yes] as well.
11199 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11200
3cc3ef96
RM
11201 [BZ# 13696]
11202 * configure.in (use_nscd): New substituted variable, set by
11203 --disable-nscd. If enabled, define USE_NSCD.
11204 * configure: Regenerated.
11205 * config.h.in: Add USE_NSCD.
11206 * config.make.in (use-nscd): New substituted variable.
11207 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11208 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11209 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11210 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11211 (CFLAGS-getgrnam_r.c): Likewise.
11212 (CFLAGS-initgroups.c): Likewise.
11213 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11214 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11215 Variables removed.
11216 * inet/getnetgrent_r.c
11217 (nscd_setnetgrent): New function, broken out of ...
11218 (setnetgrent): ... here. Call it.
11219 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11220 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11221 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11222 * nscd/Makefile (routines, aux): Move definitions after include of
11223 Makeconfig. Conditionalize on [$(use-nscd) != no].
11224 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11225 Conditionalize on [USE_NSCD].
11226 (is_nscd, nscd_init_cb): Likewise.
11227 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11228 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11229 * nss/nss_db/db-init.c: Likewise.
11230 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11231 [USE_NSCD].
11232 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11233 (make_request): Use it.
11234 (cache_valid_p): New function.
11235 (__check_pf): Use it.
11236 * NEWS: Add item for --disable-nscd.
11237
07e51550
DL
112382012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11239
11240 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11241 to support sed >= 4.2.1-20-ga9bf076.
11242 * configure: Regenerated.
11243
35a5b08b
RM
112442012-08-22 Roland McGrath <roland@hack.frob.com>
11245
11246 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11247 Conditionalize whole body on [IREL].
11248
8479f23a
JL
112492012-08-22 Jeff Law <law@redhat.com>
11250
11251 [BZ #14505]
11252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11253 if the family is PF_UNSPEC.
11254
48da0b21
MF
112552012-08-22 Mike Frysinger <vapier@gentoo.org>
11256
11257 * Makerules (lib-version): Rename from V.
11258 (install-lib-nosubdir): Change V to lib-version.
11259
15d0da8c
WS
112602012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11261
11262 [BZ #14252]
11263 * powerpc32/power6/wcschr.c: New file.
11264 * powerpc32/power6/wcscpy.c: New file.
11265 * powerpc32/power6/wcsrchr.c: New file.
11266 * powerpc64/power6/wcschr.c: New file.
11267 * powerpc64/power6/wcscpy.c: New file.
11268 * powerpc64/power6/wcsrchr.c: New file.
11269
bcca0895
MK
112702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11271
11272 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11273 (two_way_short_needle): Use it.
5a4aaa33
RM
11274 * string/strstr.c (AVAILABLE1_USES_J): Define.
11275 * string/strcasestr.c: Likewise.
99677e57
MK
11276
11277 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11278 array references.
11279 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11280
400726de
MK
11281 [BZ #11607]
11282 * NEWS: Add an entry.
11283 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11284 define their defaults.
11285 (two_way_short_needle): Detect end-of-string on-the-fly.
11286 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11287 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11288 * string/bug-strcasestr1.c: New test.
11289 * string/Makefile: Run it.
11290
20a71f2c
MK
112912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11292
11293 [BZ #11607]
11294 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11295 the first character.
11296
21ad0558
RM
112972012-08-21 Roland McGrath <roland@hack.frob.com>
11298
11299 * csu/elf-init.c (__libc_csu_irel): Function removed.
11300 * csu/libc-start.c (apply_irel): New function.
11301 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11302
0e1d9911
JM
113032012-08-21 Joseph Myers <joseph@codesourcery.com>
11304
11305 * sysdeps/unix/sysv/linux/kernel-features.h
11306 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11307 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11308 <kernel-features.h>.
11309 [__NR_fadvise64_64]: Make code unconditional.
11310 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11311 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11312 !__NR_fadvise64_64)]: Likewise.
11313 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11314 !__NR_fadvise64_64))]: Likewise.
11315 [__NR_fadvise64]: Make code unconditional.
11316 [!__NR_fadvise64]: Remove conditional code.
11317 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11318 <kernel-features.h>.
11319 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11320 unconditional.
11321 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11322 conditional code.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11324 not include <kernel-features.h>.
11325 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11326 unconditional.
11327 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11328 conditional code.
11329 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11330 include <kernel-features.h>.
11331 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11332 unconditional.
11333 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11334 conditional code.
11335
14a50c9d
WS
113362012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11337
11338 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11339 slight instruction rearrangements per scrollpipe analysis.
11340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11341
c0f4faf0
RM
113422012-08-20 Roland McGrath <roland@hack.frob.com>
11343
696da859
RM
11344 * manual/syslog.texi (syslog; vsyslog, closelog):
11345 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11346 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11347
c0f4faf0
RM
11348 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11349 DSOCAPS to match condition on defining it.
11350
348363b2
JM
113512012-08-20 Joseph Myers <joseph@codesourcery.com>
11352
a35cbf28
JM
11353 * sysdeps/unix/sysv/linux/kernel-features.h
11354 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11356 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11357 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11359 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11360 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11362 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11363 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11364
445f7ecd
JM
11365 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11366 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11367
348363b2
JM
11368 * sysdeps/unix/sysv/linux/kernel-features.h
11369 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11370 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11371 unconditional.
11372 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11373 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11374 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11375 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11376 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11377 Make code unconditional.
11378 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11379 (__mmap64) [!__NR_mmap2]: Likewise.
11380 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11381 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11382 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11384 [__NR_mmap2]: Make code unconditional.
11385 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11386 (__mmap64) [!__NR_mmap2]: Likewise.
11387
bc5bc0e5
AK
113882012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11389
11390 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11391
88d506de
AJ
113922012-08-18 Andreas Jaeger <aj@suse.de>
11393
11394 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11395
493387d2
MF
113962012-08-18 Mike Frysinger <vapier@gentoo.org>
11397
11398 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11399 * include/unistd.h (__have_sock_cloexec): Likewise.
11400 (__have_pipe2): Likewise.
11401 (__have_dup3): Likewise.
11402
a277af22
MF
114032012-08-18 Mike Frysinger <vapier@gentoo.org>
11404
11405 [BZ #9685]
11406 * include/unistd.h (__have_pipe2): Change define into an extern int.
11407 (__have_dup3): Likewise.
11408 * socket/have_sock_cloexec.c: Include fcntl.h.
11409 (__have_pipe2): New variable.
11410 (__have_dup3): Likewise.
11411
fdab8fd3
MF
114122012-08-17 Mike Frysinger <vapier@gentoo.org>
11413
11414 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11415
31035e80
MP
114162012-08-17 Marek Polacek <polacek@redhat.com>
11417
11418 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11419 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11420
3bd9e993
RM
114212012-08-17 Roland McGrath <roland@hack.frob.com>
11422
c91c505f
RM
11423 * configure.in: Add AC_SUBST for sysheaders.
11424 * configure: Regenerated.
11425 * config.make.in (sysheaders): New substituted variable.
11426
7c6f9d53
RM
11427 * sysdeps/unix/mkfifo.c: Moved ...
11428 * sysdeps/posix/mkfifo.c: ... here.
11429 * sysdeps/unix/mkfifoat.c: Moved ...
11430 * sysdeps/posix/mkfifoat.c: ... here.
11431
11432 * sysdeps/unix/utime.c: Moved ...
11433 * sysdeps/posix/utime.c: ... here.
11434
11435 * sysdeps/unix/time.c: Moved ...
11436 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11437 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11438 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11439
11440 * sysdeps/unix/nice.c: Moved ...
11441 * sysdeps/posix/nice.c: ... here.
11442
11443 * sysdeps/unix/alarm.c: Moved ...
11444 * sysdeps/posix/alarm.c: ... here.
11445
3bd9e993
RM
11446 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11447
d1f09384
JL
114482012-08-17 Jeff Law <law@redhat.com>
11449
11450 * intl/Makefile (codeset_mo): New variable.
11451 ($(codeset_mo)): New target.
11452 (tst-codeset.out): Depend on that. Remove explicit rule.
11453 (tst-gettext3.out, tst-gettext5.out): Likewise.
11454 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11455 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11456 * intl/tst-codeset.sh: Remove.
11457 * intl/tst-gettext3.sh: Likewise.
11458 * intl/tst-gettext5.sh: Likewise.
11459
2ae1ae5c
RM
114602012-08-17 Roland McGrath <roland@hack.frob.com>
11461
c31fdb83
RM
11462 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11463 * sysdeps/unix/syscalls.list: ... here.
11464
a0844057
RM
11465 * sysdeps/posix/getaddrinfo.c
11466 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11467 (gaiconf_init, gaiconf_reload): Use them.
11468 [!_STATBUF_ST_NSEC]
11469 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11470 Define using time_t rather than struct timespec.
11471
750c1f2a
RM
11472 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11473 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11474 Macros removed.
11475 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11476 [!NO_THREADS].
11477 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11478 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11479 Likewise.
11480
2ae1ae5c
RM
11481 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11482 __libc_cleanup_push argument.
11483
e66a42f5
RM
11484 * bits/param.h: New file.
11485 * misc/sys/param.h: New file.
11486 * include/sys/param.h: New file.
11487 * misc/Makefile (headers): Add bits/param.h.
11488 * sysdeps/generic/sys/param.h: File removed.
11489 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11490 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11491 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 11492 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 11493
b7c08a66
RM
11494 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11495 last change.
11496
b2e1c562
RM
11497 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11498 [_IO_MTSAFE_IO].
11499 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11500 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11501 New macros.
11502
c75ccd4c
RM
11503 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11504 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11505 rather than -D_IO_MTSAFE_IO conditionally.
11506 * stdio-common/Makefile (CPPFLAGS): Likewise.
11507 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11508 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11509 Use $(libio-mtsafe).
11510 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11511 of -D_IO_MTSAFE_IO.
11512 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11513 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11514 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11515 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11516 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11517 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11518 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11519 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11520 (CFLAGS-fread_u_chk.c): Likewise.
11521 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11522 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11523 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11524 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11525 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11526 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11527 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11528 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11529 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11530
11531 * libio/Makefile: Test [$(libc-reentrant) = yes]
11532 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11533
11534 * Makeconfig
11535 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11536 * sysdeps/pthread/configure: File removed.
11537 * sysdeps/pthread/Makeconfig: New file.
11538 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11539 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11540
d9195db8
GB
115412012-08-16 Gary Benson <gbenson@redhat.com>
11542
11543 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11544 unmapping the first object in a namespace.
11545
86466cd9
RM
115462012-08-16 Roland McGrath <roland@hack.frob.com>
11547
11548 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11549 (__internal_setnetgrent): ... this. Add internal_function to
11550 definition. Add libc_hidden_def.
11551 (setnetgrent): Update caller.
11552 (internal_endnetgrent): Renamed to ...
11553 (__internal_endnetgrent): ... this. Add internal_function to
11554 definition. Add libc_hidden_def.
11555 (endnetgrent): Update caller.
11556 (internal_getnetgrent_r): Renamed to ...
11557 (__internal_getnetgrent_r): ... this. Add internal_function to
11558 definition. Add libc_hidden_def.
11559 (__getnetgrent_r): Update caller.
11560 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11561
c3c8283c
JM
115622012-08-16 Joseph Myers <joseph@codesourcery.com>
11563
11564 * stdlib/longlong.h: Update from GCC.
11565
db1ee0a8
RM
115662012-08-16 Roland McGrath <roland@hack.frob.com>
11567
11568 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11569 on _QL, which is set by umul_ppmm but never used.
11570 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11571 variables, which are set by GMP macros but never used.
11572 * stdio-common/_itowa.c (_itowa): Likewise.
11573 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11574 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11575
30f69637
CD
115762012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11577
11578 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11579 struct La_sh_regs is not constant.
11580 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11581 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11582 and struct La_sparc64_regs are not constant.
11583
93a78ac4
JM
115842012-08-16 Joseph Myers <joseph@codesourcery.com>
11585
11586 * sysdeps/unix/sysv/linux/kernel-features.h
11587 (__ASSUME_POSIX_TIMERS): Remove.
11588 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11589 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11590 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11591 Make code unconditional.
11592 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11593 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11594 Make code unconditional.
11595 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11596 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11597 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11598 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11599 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11600 Make code unconditional.
11601 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11602 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11603 (__libc_missing_posix_timers): Remove.
11604
dd924cd7
RM
116052012-08-15 Roland McGrath <roland@hack.frob.com>
11606
4b4f2771
RM
11607 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11608 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11609
601c888b
RM
11610 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11611
176790a7
RM
11612 * elf/dl-sym.c: Include <stdlib.h>.
11613
329bc018
RM
11614 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11615 constants, which avoids warnings in 32-bit builds.
11616
e04e272d
RM
11617 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11618 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11619
952bf94a
RM
11620 * misc/lseek.c: File moved to ...
11621 * io/lseek.c: ... here.
11622
7c99b50a
RM
11623 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11624
dd924cd7
RM
11625 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11626 shifting LEN more than 31 bits at once.
11627
b3f479a8
LD
116282012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11629
11630 [BZ #14195]
8c4ae0d4
RM
11631 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11632 segmentation fault for a case of two empty input strings.
b3f479a8
LD
11633 * string/test-strncasecmp.c (check1): Renamed to...
11634 (bz12205): ...this.
11635 (bz14195): Add new testcase for two empty input strings and N > 0.
11636 (test_main): Call new testcase, adapt for renamed function.
11637
9c55864e
AJ
116382012-08-15 Andreas Jaeger <aj@suse.de>
11639
11640 [BZ #14090]
11641 * crypt/md5test2.c: New test, based on test supplied by Serge
11642 Belyshev <belyshev@depni.sinp.msu.ru>.
11643 * crypt/Makefile (xtests): Add md5test-giant..
11644 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11645
02dcb6c5
PE
116462012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11647
11648 [BZ #14090]
11649 * crypt/md5.c (md5_process_block): Don't assume the buffer
11650 length is less than 2**32.
11651 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11652 length is less than 2**64.
11653
a3f95dcc
RM
116542012-08-15 Roland McGrath <roland@hack.frob.com>
11655
be75d758
RM
11656 * string/str-two-way.h: Include <sys/param.h>.
11657 (MAX): Macro removed.
11658
7312ca90
RM
11659 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11660 Move #define and #undef of memmove to just before and after
11661 including <string.h>.
11662
9a0a5486
RM
11663 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11664 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11665 and after including <string.h>. Move declarations of
11666 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11667 to before #include "string/memmove.c".
11668
67cc348d
RM
11669 * include/dirent.h: Declare __getdirentries.
11670
a3f95dcc
RM
11671 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11672 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11673
ca98e171
MF
116742012-08-14 Mike Frysinger <vapier@gentoo.org>
11675
11676 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11677 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11678 * sysdeps/i386/configure: Regenerated.
11679 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11680 STABS_CURRENT_FILE, and STABS_FUN.
11681 (END): Remove call to STABS_FUN_END.
11682 (STABS_CURRENT_FILE1): Delete.
11683 (STABS_CURRENT_FILE): Likewise.
11684 (STABS_FUN): Likewise.
11685 (STABS_FUN_END): Likewise.
11686 (STABS_FUN2): Likewise.
11687 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11688 * sysdeps/x86_64/configure: Regenerated.
11689
5908bf46
RM
116902012-08-14 Roland McGrath <roland@hack.frob.com>
11691
11692 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 11693 * elf/dl-lookup.c: Likewise.
5908bf46 11694
f2c05b9e
JM
116952012-08-14 Joseph Myers <joseph@codesourcery.com>
11696
11697 * sysdeps/unix/sysv/linux/kernel-features.h
11698 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11699 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11700 unconditionally.
11701 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11702 unconditionally.
11703 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11704 condition on __ASSUME_CLONE_THREAD_FLAGS.
11705
e11f5155
AJ
117062012-08-14 Andreas Jaeger <aj@suse.de>
11707
11708 * sysdeps/i386/fpu/libm-test-ulps: Update.
11709
51a9ba86
MK
117102012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11711
2fdd4f78
AJ
11712 * include/atomic.h (atomic_exchange_and_add): Split into ...
11713 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11714 New atomic macros.
51a9ba86 11715
ba6cba9e
MT
117162012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11717
11718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11719
42443a47
JL
117202012-08-13 Jeff Law <law@redhat.com>
11721
11722 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11723 null byte in the output string.
11724
121dce05
JM
117252012-08-10 Joseph Myers <joseph@codesourcery.com>
11726
11727 * sysdeps/unix/sysv/linux/kernel-features.h
11728 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11729 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11730 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11731 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11732 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11733 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11734 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11735
bf51f568
JL
117362012-08-09 Jeff Law <law@redhat.com>
11737
11738 [BZ #13939]
11739 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11740 When avoid_arena is set, don't retry in the that arena. Pick the
11741 next one, whatever it might be.
11742 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11743 (arena_lock): Pass in new parameter to arena_get2.
11744 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11745 arena_get2.
11746 (__libc_malloc): Unify retrying after main arena failure with
11747 __libc_memalign version.
11748 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11749
f85fa270
L
117502012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11751
11752 [BZ #14166]
11753 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11754 to __redirect_strstr.
11755 (__strstr_sse42): Use typeof __redirect_strstr.
11756 (__strstr_ia32): Likewise.
11757 (__libc_strstr): New prototype.
11758 (strstr): Renamed to ...
11759 (__libc_strstr): This.
11760 (strstr): New strong alias of __libc_strstr.
11761 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11762 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11763 __redirect_time.
11764 Include <time.h>.
11765 (__libc_time): New prototype.
11766 (time_ifunc): Replace time with __libc_time.
11767 (time): New strong alias and hidden definition of __libc_time.
11768 (__GI_time): Remove strong alias.
11769 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11770 Include <stddef.h>.
11771 (memmove): Redefined to __redirect_memmove.
11772 (__memmove_sse2): Use typeof __redirect_memmove.
11773 (__memmove_ssse3): Likewise.
11774 (__memmove_ssse3_back): Likewise.
11775 (__libc_memmove): New prototype.
11776 (memmove): Renamed to ...
11777 (__libc_memmove): This.
11778 (memmove): New strong alias of __libc_memmove.
11779
33b4a91e
MS
117802012-08-08 Mark Salter <msalter@redhat.com>
11781
11782 * elf/elf.h
11783 (R_MN10300_TLS_GD): Define.
11784 (R_MN10300_TLS_LD): Likewise.
11785 (R_MN10300_TLS_LDO): Likewise.
11786 (R_MN10300_TLS_GOTIE): Likewise.
11787 (R_MN10300_TLS_IE): Likewise.
11788 (R_MN10300_TLS_LE): Likewise.
11789 (R_MN10300_TLS_DTPMOD): Likewise.
11790 (R_MN10300_TLS_DTPOFF): Likewise.
11791 (R_MN10300_TLS_TPOFF): Likewise.
11792 (R_MN10300_SYM_DIFF): Likewise.
11793 (R_MN10300_ALIGN): Likewise.
11794 (R_MN10300_NUM): Update.
11795
b36137f1
JM
117962012-08-08 Joseph Myers <joseph@codesourcery.com>
11797
11798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11799 Remove.
11800
cdd915fd
RM
118012012-08-08 Roland McGrath <roland@hack.frob.com>
11802
a2433aac
RM
11803 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11804
cdd915fd
RM
11805 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11806 sysdeps/unix -> sysdeps/posix move.
11807 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11808
bf9b740a
AM
118092012-08-07 Allan McRae <allan@archlinux.org>
11810
11811 [BZ #14303]
11812 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11813 (SUNOS_CPP): Likewise.
11814 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11815 not found.
11816 (open_input): Call CPP using execvp.
11817
93df14ee
JM
118182012-08-07 Joseph Myers <joseph@codesourcery.com>
11819
11820 * sysdeps/unix/sysv/linux/kernel-features.h
11821 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11822 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11823 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11824 (__ASSUME_WAITID_SYSCALL): Likewise.
11825 * sysdeps/unix/sysv/linux/dl-execstack.c
11826 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11827 code unconditional.
11828 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11829 conditional code.
11830 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11831 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11832 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11833 code.
11834 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11835 unconditional.
11836 [__ASSUME_WAITID_SYSCALL]: Likewise.
11837 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11838
d34689de
RM
118392012-08-07 Roland McGrath <roland@hack.frob.com>
11840
a281decc
RM
11841 * sysdeps/unix/closedir.c: Renamed to ...
11842 * sysdeps/posix/closedir.c: ... here.
11843 * sysdeps/unix/dirfd.c: Renamed to ...
11844 * sysdeps/posix/dirfd.c: ... here.
11845 * sysdeps/unix/dirstream.h: Renamed to ...
11846 * sysdeps/posix/dirstream.h: ... here.
11847 * sysdeps/unix/fdopendir.c: Renamed to ...
11848 * sysdeps/posix/fdopendir.c: ... here.
11849 * sysdeps/unix/opendir.c: Renamed to ...
11850 * sysdeps/posix/opendir.c: ... here.
11851 * sysdeps/unix/readdir.c: Renamed to ...
11852 * sysdeps/posix/readdir.c: ... here.
11853 * sysdeps/unix/readdir_r.c: Renamed to ...
11854 * sysdeps/posix/readdir_r.c: ... here.
11855 * sysdeps/unix/rewinddir.c: Renamed to ...
11856 * sysdeps/posix/rewinddir.c: ... here.
11857 * sysdeps/unix/seekdir.c: Renamed to ...
11858 * sysdeps/posix/seekdir.c: ... here.
11859 * sysdeps/unix/telldir.c: Renamed to ...
11860 * sysdeps/posix/telldir.c: ... here.
11861 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11862 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11863 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11864 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11865
22895b47
RM
11866 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11867 * bits/fcntl.h: ... here.
11868
707a53b6
RM
11869 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11870 not 0.
11871 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11872 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11873 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11874 (struct flock): Move l_start, l_len to the beginning.
11875 Use __pid_t for l_pid.
11876 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11877 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11878 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11879 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11880 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11881 [__USE_LARGEFILE64] (struct flock64): New type.
11882 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11883
f0bd3e25
RM
11884 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11885 * bits/dirent.h: ... here.
11886
d34689de
RM
11887 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11888 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11889
6dad2c06
JM
118902012-08-07 Joseph Myers <joseph@codesourcery.com>
11891
11892 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11893 Change from 2.6.0 to 2.6.16.
11894 * sysdeps/unix/sysv/linux/configure: Regenerated.
11895 * sysdeps/unix/sysv/linux/kernel-features.h
11896 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11897 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11898 version.
11899 (__ASSUME_UTIMES): Likewise.
11900 (__ASSUME_CLONE_STOPPED): Remove.
11901 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11902 architectures, not kernel version.
11903 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11904 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11905 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11906 (__ASSUME_WAITID_SYSCALL): Likewise.
11907 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11908 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11909 * README: State 2.6.16 as minimum Linux kernel version. Do not
11910 refer to older versions.
11911
03af9520
RM
119122012-08-06 Roland McGrath <roland@hack.frob.com>
11913
8e49df1d
RM
11914 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11915 Define alphasort64 as an alias.
11916 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11917 Define versionsort64 as an alias.
11918 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11919 Define scandir64 as an alias.
11920 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11921 Define scandirat64 as an alias.
11922 * dirent/alphasort64.c (alphasort64):
11923 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11924 * dirent/versionsort64.c: Likewise.
11925 * dirent/scandir64.c: Likewise.
11926 * dirent/scandirat64.c: Likewise.
11927 * sysdeps/wordsize-64/alphasort.c: File removed.
11928 * sysdeps/wordsize-64/alphasort64.c: File removed.
11929 * sysdeps/wordsize-64/scandir.c: File removed.
11930 * sysdeps/wordsize-64/scandir64.c: File removed.
11931 * sysdeps/wordsize-64/scandirat.c: File removed.
11932 * sysdeps/wordsize-64/scandirat64.c: File removed.
11933 * sysdeps/wordsize-64/versionsort.c: File removed.
11934 * sysdeps/wordsize-64/versionsort64.c: File removed.
11935 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11936 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11937 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11938 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11939 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11940 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11941 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11942 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11943
11944 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11946 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11948 [defined __arch64__ || defined __sparcv9]
11949 (__INO_T_MATCHES_INO64_T): New macro.
11950 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11951 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11952 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11953 * sysdeps/unix/sysv/linux/bits/dirent.h
11954 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11955 (_DIRENT_MATCHES_DIRENT64): New macro.
11956
03af9520
RM
11957 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11958 Define lockf64 as an alias.
11959 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11960 Define fseeko64 as an alias.
11961 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11962 Define ftello64 as an alias.
11963 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11964 Define _IO_fgetpos64 and fgetpos64 as aliases.
11965 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11966 Define _IO_fsetpos64 and fsetpos64 as aliases.
11967 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11968 Conditionalize body on this.
11969 * libio/fseeko64.c: Likewise.
11970 * libio/ftello64.c: Likewise.
11971 * libio/iofgetpos64.c: Likewise.
11972 * libio/iofsetpos64.c: Likewise.
11973 * sysdeps/wordsize-64/lockf.c: File removed.
11974 * sysdeps/wordsize-64/lockf64.c: File removed.
11975 * sysdeps/wordsize-64/fseeko.c: File removed.
11976 * sysdeps/wordsize-64/fseeko64.c: File removed.
11977 * sysdeps/wordsize-64/ftello.c: File removed.
11978 * sysdeps/wordsize-64/ftello64.c: File removed.
11979 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11980 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11981 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11982 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11983 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11984 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11985 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11986 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11987 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11988 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11989 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11990 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11991 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11992 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11993
11994 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11996 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11998 [defined __arch64__ || defined __sparcv9]
11999 (__OFF_T_MATCHES_OFF64_T): New macro.
12000 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12001 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12003 (__OFF_T_MATCHES_OFF64_T): New macro.
12004
c5757acd
L
120052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12006
12007 * stdlib/secure-getenv.c (__secure_getenv): Replace
12008 GLIBC_2_16 with GLIBC_2_17.
12009
3a31811e
L
120102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12013 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12014
faa2bccb
DM
120152012-08-03 David S. Miller <davem@davemloft.net>
12016
12017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12018
85fe1997
JM
120192012-08-03 Joseph Myers <joseph@codesourcery.com>
12020
12021 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12022 Remove.
12023 (__ASSUME_CORRECT_SI_PID): Likewise.
12024 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12025 (__ASSUME_TMPFS_NAME): Likewise.
12026 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12027 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12028 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12029 (HAVE_AUX_SECURE): Make definition unconditional.
12030 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12031 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12032
4f75b7a0
RM
120332012-08-03 Roland McGrath <roland@hack.frob.com>
12034
12035 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12036 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12037 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12038 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12039 __eloop_threshold instead of SYMLOOP_MAX.
12040
12041 * sysdeps/generic/eloop-threshold.h: New file.
12042 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12043 of MAXSYMLINKS.
12044 * elf/chroot_canon.c (chroot_canon): Likewise.
12045
7aab07e4
JM
120462012-08-03 Joseph Myers <joseph@codesourcery.com>
12047
12048 [BZ #13717]
12049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12050 Change to 2.6.0 everywhere.
12051 * sysdeps/unix/sysv/linux/configure: Regenerated.
12052 * sysdeps/unix/sysv/linux/kernel-features.h
12053 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12054 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12055 kernel versions.
12056 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12057 (__ASSUME_FUTEX_REQUEUE): Remove.
12058 (__ASSUME_STATFS64): Define unconditionally.
12059 (__ASSUME_AT_SECURE): Likewise.
12060 (__ASSUME_CORRECT_SI_PID): Likewise.
12061 (__ASSUME_TGKILL): Define without depending on kernel version for
12062 i386.
12063 (__ASSUME_UTIMES): Likewise.
12064 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12065 kernel version.
12066 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12067 (__ASSUME_TMPFS_NAME): Likewise.
12068 * README: Update reference to Linux kernel versions.
12069
b67e9372
MP
120702012-08-02 Marek Polacek <polacek@redhat.com>
12071
1f529f7d 12072 [BZ# 14150]
b67e9372
MP
12073 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12074 libc_cv_asm_type_prefix with %.
12075 * configure: Regenerated.
d2441631
RM
12076 * include/libc-symbols.h: Remove comment about
12077 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12078 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12079 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12080 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12081 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12082 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12083 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12084 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12085 * elf/tst-unique2mod1.c: Likewise.
12086 * elf/tst-unique1mod2.c: Likewise.
12087 * elf/tst-unique1mod1.c: Likewise.
12088 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12089 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12090 Replace ASM_TYPE_DIRECTIVE with .type.
12091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12092 * sysdeps/i386/sysdep.h: Likewise.
12093 * sysdeps/x86_64/sysdep.h: Likewise.
12094 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12096 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12097 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12098 * sysdeps/powerpc/powerpc32/sysdep.h:
12099 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12100 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12101 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12102 * sysdeps/i386/fpu/e_powf.S: Likewise.
12103 * sysdeps/i386/fpu/e_expl.S: Likewise.
12104 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12106 * sysdeps/i386/fpu/e_pow.S: Likewise.
12107 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12109 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12111 * sysdeps/i386/fpu/e_log2.S: Likewise.
12112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12114 * sysdeps/i386/fpu/e_powl.S: Likewise.
12115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12116 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12117 * sysdeps/i386/fpu/e_logl.S: Likewise.
12118 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12119 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12120 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12121 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12122 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12123 * sysdeps/i386/fpu/e_log.S: Likewise.
12124 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12125 * sysdeps/i386/fpu/e_logf.S: Likewise.
12126 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12127 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12128 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12129 * sysdeps/i386/fpu/e_log10.S: Likewise.
12130 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12131 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12132 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12133 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12134 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12135 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12136 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12137 * sysdeps/i386/i686/strtok.S: Likewise.
12138 * sysdeps/i386/i386-mcount.S: Likewise.
12139 * sysdeps/i386/strtok.S: Likewise.
12140 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12141 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12142 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12143 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12144 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12145 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12146 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12147 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12148 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12149 * sysdeps/x86_64/_mcount.S: Likewise.
12150 * sysdeps/x86_64/strtok.S: Likewise.
12151 * sysdeps/sh/_mcount.S: Likewise.
12152
2747bf9a
RM
121532012-08-01 Roland McGrath <roland@hack.frob.com>
12154
12155 * libio/iofopen.c: Include <fcntl.h>.
12156 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12157 (_IO_fopen64, fopen64): Define as aliases.
12158 * libio/iofopen64.c: Include <fcntl.h>.
12159 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12160 Conditionalize body on this.
12161 * sysdeps/wordsize-64/iofopen.c: File removed.
12162 * sysdeps/wordsize-64/iofopen64.c: File removed.
12163
3fb791b8
MP
121642012-08-01 Marek Polacek <polacek@redhat.com>
12165
12166 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12167 Use dlfcn directly instead of a variable.
12168 (binfmt-subdir): Do not define.
12169 (dlfcn): Likewise.
12170
a9f1039f
JM
121712012-08-01 Joseph Myers <joseph@codesourcery.com>
12172
23bddc06
JM
12173 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12174 Remove all definitions.
12175 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12176 <kernel-features.h>.
12177 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12178 (miss_F_GETOWN_EX): Remove all definitions.
12179 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12180 macro definition.
12181 [!__ASSUME_FCNTL64]: Remove conditional code.
12182 [__ASSUME_FCNTL64]: Make code unconditional.
12183 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12184 <kernel-features.h>.
12185 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12186 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12187 (lockf64) [__NR_fcntl64]: Make code unconditional.
12188 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12189
a9f1039f
JM
12190 * sysdeps/unix/sysv/linux/kernel-features.h
12191 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12192 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12193 Make code unconditional.
12194 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12195 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12197 [__NR_vfork]: Make code unconditional.
12198 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12199 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12201 [__NR_vfork]: Make code unconditional.
12202 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12203 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12204
09c0ee5f
RM
122052012-08-01 Roland McGrath <roland@hack.frob.com>
12206
48aec5b9
RM
12207 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12208 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12209
cd97c966
RM
12210 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12211 Define mkstemp64 as an alias.
3f55550c
RM
12212 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12213 Define mkstemps64 as an alias.
cd97c966
RM
12214 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12215 Define mkostemp64 as an alias.
b8625cfc
RM
12216 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12217 Define mkostemps64 as an alias.
cd97c966
RM
12218 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12219 Conditionalize body on this.
12220 * misc/mkostemp64.c: Likewise.
b8625cfc 12221 * misc/mkostemps64.c: Likewise.
3f55550c 12222 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12223 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12224 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12225 * sysdeps/wordsize-64/mkostemp.c: File removed.
12226 * sysdeps/wordsize-64/mkstemp.c: File removed.
12227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12229 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12231
09c0ee5f
RM
12232 [BZ #14138]
12233 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12234 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12235 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12236 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12237
12238 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12239 compat_symbol macros from <shlib-compat.h> rather than the underlying
12240 default_symbol_version and symbol_version macros, so that DEFAULT
12241 lines in shlib-versions are respected.
12242 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12243
7e66ee51
FW
122442012-08-01 Florian Weimer <fweimer@redhat.com>
12245
12246 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12247 Declare with warn_unused_result.
12248 (setgid, setregid, setegid, setresgid): Likewise.
12249 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12250 Likewise.
12251 * WUR-REPORT: Remove set*id functions.
12252
d2a54255
PT
122532012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12254
12255 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12256
7ecdb005
RM
122572012-07-31 Roland McGrath <roland@hack.frob.com>
12258
b4180a5e 12259 [BZ #10191]
789bd351
RM
12260 * include/sys/socket.h (__libc_accept, __libc_accept4):
12261 Add attribute_hidden.
12262 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12263
40ce302d
RM
12264 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12265 use of PTR_MANGLE.
12266 * inet/getnetgrent_r.c (setup): Likewise.
12267
7ecdb005
RM
12268 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12269
e2eabb2c
DM
122702012-07-31 David S. Miller <davem@davemloft.net>
12271
12272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12273
d0419dbf
JM
122742012-07-31 Joseph Myers <joseph@codesourcery.com>
12275
12276 [BZ #13629]
12277 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12278 value between 1.0 and 2.0 and smaller part has absolute value less
12279 than 1.0.
12280 * math/s_clog10.c (__clog10): Likewise.
12281 * math/s_clog10f.c (__clog10f): Likewise.
12282 * math/s_clog10l.c (__clog10l): Likewise.
12283 * math/s_clogf.c (__clogf): Likewise.
12284 * math/s_clogl.c (__clogl): Likewise.
12285 * math/libm-test.inc (clog_test): Add more tests.
12286 (clog10_test): Likewise.
12287 * sysdeps/i386/fpu/libm-test-ulps: Update.
12288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12289
2bc13872
FW
122902012-07-31 Florian Weimer <fweimer@redhat.com>
12291
12292 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12293 Exit with zero in case no suitable GID is found, and write a
12294 message to standard error.
12295
bea9b193
RM
122962012-07-30 Roland McGrath <roland@hack.frob.com>
12297
12298 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12299 rather than to 1.
12300 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12301 (MAXPATHLEN): Removed.
12302 (NOGROUP, NODEV): New macros.
12303 (setbit, clrbit, isset, isclr): New macros.
12304 (howmany, roundup, powerof2): New macros.
12305 (DEV_BSIZE): New macro.
12306
12307 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12308 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12309
12310 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12311 definition on [!__NO_LONG_DOUBLE_MATH].
12312
12313 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12314 PTR_MANGLE and PTR_DEMANGLE.
12315
12316 * socket/accept4.c (accept4): Rename to __libc_accept4.
12317 Define accept4 as a weak alias.
12318
12319 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12320 on [_DIRENT_HAVE_D_TYPE].
12321 * io/ftw.c (ftw_dir): Likewise.
12322
12323 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12324
12325 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12326
12327 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12328 Use the BSD numbers rather than the arbitrary ones we had.
12329 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12330 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12331 (SIGXCPU, SIGXFSZ): New macros.
12332 (_NSIG): Now 32.
12333
12334 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12335 initializer on [_LIBC_REENTRANT].
12336
12337 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12338 definitions inside [_POSIX_MAPPED_FILES].
12339
12340 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12341
12342 * dirent/opendir.c: Include <fcntl.h>.
12343
12344 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12345 (__libc_getspecific): Likewise.
12346 (__libc_key_create): Likewise.
12347
12348 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12349 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12350 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12351 (tmpfile64): Define as alias.
12352 * sysdeps/wordsize-64/tmpfile.c: File removed.
12353 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12354 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12355 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12356
12357 * stdio-common/vfscanf.c: Include <stdbool.h>.
12358 * nss/makedb.c: Likewise.
12359 * stdio-common/_i18n_number.h: Likewise.
12360 * argp/argp-help.c: Likewise.
12361 * posix/wordexp.c: Likewise.
12362 * sysdeps/posix/spawni.c: Likewise.
12363 * nss/nss_files/files-initgroups.c: Likewise.
12364 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12365 * nss/nss_files/files-initgroups.c: Likewise.
12366 * nss/nss_db/db-netgrp.c: Likewise.
12367 * nss/nss_db/db-initgroups.c: Likewise.
12368 * io/fchmodat.c: Include <sys/stat.h>.
12369
12370 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12371 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12372
12373 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12374 [HAVE_MMAP].
12375
12376 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12377 Add multiple inclusion protection.
12378
e5abc686
DM
123792012-07-27 David S. Miller <davem@davemloft.net>
12380
12381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12382
815e6fa3
GB
123832012-07-27 Gary Benson <gbenson@redhat.com>
12384
12385 [BZ #14298]
12386 * elf/rtld.c: Include <stap-probe.h>.
12387 (dl_main): Added static probes "init_start" and "init_complete".
12388 * elf/dl-load.c: Include <stap-probe.h>.
12389 (lose): Take new parameter "nsid".
12390 Added static probe "map_failed".
12391 (_dl_map_object_from_fd): Pass namespace id to lose.
12392 Added static probe "map_start".
12393 (open_verify): Pass namespace id to lose.
12394 * elf/dl-open.c: Include <stap-probe.h>.
12395 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12396 and "reloc_complete".
12397 * elf/dl-close.c: Include <stap-probe.h>.
12398 (_dl_close_worker): Added static probes "unmap_start" and
12399 "unmap_complete".
12400 * elf/rtld-debugger-interface.txt: New file documenting the above.
12401
9f98c16c
RM
124022012-07-26 Roland McGrath <roland@hack.frob.com>
12403
12404 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12405 rather than a string variable.
12406 * sunrpc/rpc_main.c (h_output): Likewise.
12407 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12408
f3c22df3
PT
124092012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12410
12411 * inet/check_native.c: New file.
12412
3129cfc6
JM
124132012-07-26 Joseph Myers <joseph@codesourcery.com>
12414
da865e95
JM
12415 [BZ #13629]
12416 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12417 if larger part has absolute value 1.0.
12418 * math/s_clog10.c (__clog10): Likewise.
12419 * math/s_clog10f.c (__clog10f): Likewise.
12420 * math/s_clog10l.c (__clog10l): Likewise.
12421 * math/s_clogf.c (__clogf): Likewise.
12422 * math/s_clogl.c (__clogl): Likewise.
12423 * math/libm-test.inc (clog_test): Add more tests.
12424 (clog10_test): Likewise.
12425 * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427
3129cfc6
JM
12428 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12429 (pltexit): Likewise.
12430 (La_regs): Likewise.
12431 (La_retval): Likewise.
12432 (int_retval): Likewise.
12433 Update #error for removed macros to refer only to definitions in
12434 tst-audit.h.
12435 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12436 macro.
12437 (pltexit): Likewise.
12438 (La_regs): Likewise.
12439 (La_retval): Likewise.
12440 (int_retval): Likewise.
12441 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12442 macro.
12443 (pltexit): Likewise.
12444 (La_regs): Likewise.
12445 (La_retval): Likewise.
12446 (int_retval): Likewise.
12447 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12448 macro.
12449 (pltexit): Likewise.
12450 (La_regs): Likewise.
12451 (La_retval): Likewise.
12452 (int_retval): Likewise.
12453 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12454 macro.
12455 (pltexit): Likewise.
12456 (La_regs): Likewise.
12457 (La_retval): Likewise.
12458 (int_retval): Likewise.
12459 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12460 macro.
12461 (pltexit): Likewise.
12462 (La_regs): Likewise.
12463 (La_retval): Likewise.
12464 (int_retval): Likewise.
12465 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12466 macro.
12467 (pltexit): Likewise.
12468 (La_regs): Likewise.
12469 (La_retval): Likewise.
12470 (int_retval): Likewise.
12471 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12472 macro definitions in tst-audit.h.
12473 * sysdeps/i386/tst-audit.h: New file.
12474 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12475 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12476 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12477 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12478 * sysdeps/sh/tst-audit.h: Likewise.
12479 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12480 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12481 * sysdeps/x86_64/tst-audit.h: Likewise.
12482
bfc07087
AJ
124832012-07-26 Andreas Jaeger <aj@suse.de>
12484
b1b2aaf8
AJ
12485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12486 ptrace.
12487
12488 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12489 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12490 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12491 PTRACE_O_MASK.
12492 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12493 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12495
bfc07087
AJ
12496 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12497 value.
12498
12499 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12500 _sigsys.
12501 (si_call_addr, si_syscall, si_arch): Define new macro.
12502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12503 _sigsys.
12504 (si_call_addr, si_syscall, si_arch): Define new marcro.
12505 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12506 _sigsys.
12507 (si_call_addr, si_syscall, si_arch): Define new macro.
12508 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12509 _sigsys.
12510 (si_call_addr, si_syscall, si_arch): Define new macro.
12511
89b4b02f
JM
125122012-07-25 Joseph Myers <joseph@codesourcery.com>
12513
12514 [BZ #13717]
12515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12516 Change to 2.4.21 where previously 2.4.1.
12517 * sysdeps/unix/sysv/linux/configure: Regenerated.
12518 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12519 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12520 Linux kernel version.
12521 (__ASSUME_STD_AUXV): Remove.
12522 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12523 kernel version.
12524 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12525 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12526 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12527 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12528 (__ASSUME_NETLINK_SUPPORT): Likewise.
12529 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12530 (__no_netlink_support): Remove conditional definition.
12531 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12532 Remove.
12533 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12534 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12535 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12536 (if_nameindex_ioctl): Remove.
12537 (if_nameindex_netlink): Do not handle __no_netlink_support.
12538 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12539 code.
12540 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12541 Remove conditional code.
12542 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12543 code.
12544 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12545 unconditional.
12546 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12547 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12548 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12549 Remove.
12550 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12551 [!__ASSUME_STD_AUXV]: Remove conditional code.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12553 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12554 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12556 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12557 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12558 code.
12559 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12561 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12562 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12563 conditional code.
12564 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12566 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12567 code.
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12569 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12570 conditional code.
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12572 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12573 code unconditional.
12574 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12575 conditional code.
12576 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12577 unconditional.
12578 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12579 conditional code.
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12581 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12582 unconditional.
12583 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12584 conditional code.
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12586 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12587 code unconditional.
12588 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12589 conditional code.
12590 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12591 unconditional.
12592 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12593 conditional code.
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12595 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12596 code unconditional.
12597 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12598 conditional code.
12599 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12600 unconditional.
12601 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12602 conditional code.
12603
842a39cd
AS
126042012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12605
12606 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12607 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12608 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12609 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12610 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12611 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12612 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12613 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12614 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12615 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12616 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12617 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12618 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12619 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12620 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12621 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12624 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12626 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12627 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12628 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12629
84b3fd84
FW
126302012-07-25 Florian Weimer <fweimer@redhat.com>
12631
12632 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
12633 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12634 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12635 Introduce __libc_secure_getenv.
0c7936d5
FW
12636 * stdlib/Versions (2.17): Add secure_getenv
12637 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12638 * stdlib/secure-getenv.c: Rename __secure_getenv to
12639 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12640 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
12641 * stdlib/tst-secure-getenv.c: New.
12642 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
12643 * manual/startup.texi (Environment Access): Document
12644 secure_getenv.
84b3fd84
FW
12645 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12646 __libc_secure_getenv.
12647 * inet/ruserpass.c (ruserpass): Likewise.
12648 * malloc/mtrace.c (mtrace): Likewise.
12649 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 12650 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
12651 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12652 * sysdeps/posix/tempname.c: Likewise. Evaluate
12653 HAVE_SECURE_GETENV.
12654 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 12655 __secure_getenv to __libc_secure_getenv.
84b3fd84 12656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12658 Likewise.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12660 Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 12668
56e49b71
JM
126692012-07-25 Joseph Myers <joseph@codesourcery.com>
12670
12671 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12672 (struct La_i86_retval): Likewise.
12673 (struct La_x86_64_regs): Likewise.
12674 (struct La_x86_64_retval): Likewise.
12675 (struct La_x32_regs): Likewise.
12676 (struct La_x32_retval): Likewise.
12677 (struct La_ppc32_regs): Likewise.
12678 (struct La_ppc32_retval): Likewise.
12679 (struct La_ppc64_regs): Likewise.
12680 (struct La_ppc64_retval): Likewise.
12681 (struct La_sh_regs): Likewise.
12682 (struct La_sh_retval): Likewise.
12683 (struct La_s390_32_regs): Likewise.
12684 (struct La_s390_32_retval): Likewise.
12685 (struct La_s390_64_regs): Likewise.
12686 (struct La_s390_64_retval): Likewise.
12687 (struct La_sparc32_regs): Likewise.
12688 (struct La_sparc32_retval): Likewise.
12689 (struct La_sparc64_regs): Likewise.
12690 (struct La_sparc64_retval): Likewise.
12691 (struct audit_ifaces): Remove architecture-specific pltenter and
12692 pltexit members.
12693 * sysdeps/i386/ldsodefs.h: New file.
12694 * sysdeps/powerpc/ldsodefs.h: Likewise.
12695 * sysdeps/s390/ldsodefs.h: Likewise.
12696 * sysdeps/sh/ldsodefs.h: Likewise.
12697 * sysdeps/sparc/ldsodefs.h: Likewise.
12698 * sysdeps/x86_64/ldsodefs.h: Likewise.
12699
354691b7
MP
127002012-07-25 Marek Polacek <polacek@redhat.com>
12701
12702 [BZ #6808]
12703 * math/libm-test.inc (yn_test): Add another test.
12704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12705 to ERANGE when the result is +-Inf.
12706 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12707 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12708 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12709 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12710
bf9e2071
JM
127112012-07-24 Joseph Myers <joseph@codesourcery.com>
12712
12713 * conform/data/time.h-data (NULL): Use macro-constant. Require
12714 equal to 0.
12715 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12716 clock_t.
12717 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12718
57633811
TS
127192012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12720
12721 * configure.in <sysdeps resolving>: Correct printing
12722 Implies_before.
12723 * configure: Regenerate.
12724
c23c33b0
TS
127252012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12726
12727 * math/w_ilogb.c: Include <limits.h>.
12728 * math/w_ilogbl.c: Likewise.
12729
b5982523
JM
127302012-07-20 Joseph Myers <joseph@codesourcery.com>
12731
12732 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12733 va_copy. Document allowing for unavailable va_copy only as
12734 pre-C99 compatibility.
12735 * manual/string.texi (Copying and Concatenation): Use va_copy
12736 instead of __va_copy in concat example.
12737
ac4ea442
PT
127382012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12739
12740 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12741 (__sendto): Use create_address_port. Initialize APORT and deallocate
12742 it if not null.
12743
f98eafbd
PT
12744 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12745 with O_NOLINK passed to __file_name_lookup.
12746
898c7aab
PT
12747 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12748 with O_NOLINK passed to __file_name_lookup.
12749
0ced335a
PT
12750 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12751 negative N or less than NGIDS.
12752
b3404dbd
PT
12753 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12754 type to string_t. Set ERANGE as errno and return it if NAME is not big
12755 enough. Use memcpy instead of strncpy.
12756
0f48659e
JM
127572012-07-20 Joseph Myers <joseph@codesourcery.com>
12758
12759 * elf/Makefile (check-data): Remove.
12760 (localplt.data): New vpath directive.
12761 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12762 instead of $(check-data).
12763 * scripts/data/localplt-generic.data: Move to ...
12764 * sysdeps/generic/localplt.data: ... here.
12765 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12766 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12767 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12769 ... here.
12770 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12772 ... here.
12773 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12775 ... here.
12776 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12778 ... here.
12779 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12781 ... here.
12782 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12784 ... here.
12785
d37cbdaa
AZ
127862012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12787
12788 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12789 PPC32 and PPC64 files.
12790 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12791 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12792
46f85fc2
AK
127932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12794
12795 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12796 __makecontext_ret to ...
12797 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12798 ... here and call exit if uc_link is NULL. New file.
12799 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12800 __makecontext_ret.S.
12801 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12802 __makecontext_ret to ...
12803 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12804 ... here and call exit if uc_link is NULL. New file.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12806 __makecontext_ret.S.
12807
08f43f9b
AK
128082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12809
12810 * elf/elf.h (R_390_IRELATIVE): New definition.
12811 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12812 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12813 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12814 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12815 (elf_machine_lazy_rel): Likewise.
12816 * sysdeps/s390/dl-irel.h: New file.
12817 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12818 * sysdeps/s390/s390-64/memset.S: New asm code.
12819 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12820 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12821 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12822 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12823 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12824 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12825 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12826 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12827 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12828 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12829 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12830 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12831 * sysdeps/s390/s390-32/memset.S: New asm code.
12832 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12833
3b05db33
MP
128342012-07-17 Marek Polacek <polacek@redhat.com>
12835
12836 [BZ #14349]
12837 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12838 * sysdeps/s390/s390-64/configure.in: Likewise.
12839 * sysdeps/sparc/configure.in: Likewise.
12840 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12841 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12842 * sysdeps/i386/configure.in: Likewise.
12843 * sysdeps/x86_64/configure.in: Likewise.
12844 * sysdeps/sh/configure.in: Likewise.
12845 * sysdeps/s390/s390-32/configure: Regenerated.
12846 * sysdeps/s390/s390-64/configure: Likewise.
12847 * sysdeps/x86_64/configure: Likewise.
12848 * sysdeps/sh/configure: Likewise.
12849 * sysdeps/powerpc/powerpc64/configure: Likewise.
12850 * sysdeps/powerpc/powerpc32/configure: Likewise.
12851 * sysdeps/sparc/configure: Likwise.
12852 * sysdeps/i386/configure: Likewise.
12853
a66877c6
MP
12854 * elf/dl-open.c: Comment fixes.
12855
cfc82fd8
JM
128562012-07-17 Joseph Myers <joseph@codesourcery.com>
12857
bd29910a
JM
12858 * Makefile [CXX] (check-data): Remove.
12859 [CXX] (c++-types.data): New vpath directive.
12860 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12861 vpath. Do not allow for C++ type data being missing.
12862 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12863 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12864 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12865 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12866 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12867 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12868 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12870 ... here.
12871 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12873 ... here.
12874 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12876 ... here.
12877 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12879 ... here.
12880 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12882 ... here.
12883 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12885 ... here.
12886 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12888 ... here.
12889 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12891
cfc82fd8
JM
12892 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12893 definitions to architecture-specific files.
12894 (TLS_IE): Likewise.
12895 (TLS_LD): Likewise.
12896 (TLS_GD): Likewise.
12897 * sysdeps/i386/tls-macros.h: New file.
12898 * sysdeps/powerpc/tls-macros.h: Likewise.
12899 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12900 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12901 * sysdeps/sh/tls-macros.h: Likewise.
12902 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12903 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12904 * sysdeps/x86_64/tls-macros.h: Likewise.
12905
f7db3170
TS
129062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12907
07cbfc23
TS
12908 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12909 zero value for regular exit case.
12910
f7db3170
TS
12911 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12912 (__start_context): Preserve zero value for regular exit case.
12913
dc97c227
TS
129142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12915 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12916
12917 * manual/setjmp.texi (setcontext): Clarify normal process
12918 termination when uc_link is the null pointer.
12919 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12920 exit call.
12921
d0cd7d02
AS
129222012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12923
12924 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12925 preprocessor. Test for each exception mask separately.
12926
dd318934
AJ
129272012-07-16 Andreas Jaeger <aj@suse.de>
12928
12929 * po/ru.po: Update from translation team.
12930
8048311a
JM
129312012-07-15 Joseph Myers <joseph@codesourcery.com>
12932
12933 * conform/data/string.h-data (NULL): Use macro-constant. Require
12934 equal to 0.
12935 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12936 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12937 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12938 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12940
b637d46e
AJ
129412012-07-13 Andreas Jaeger <aj@suse.de>
12942
12943 * po/fr.po: Update from translation team.
12944
541428fe
MP
129452012-07-12 Marek Polacek <polacek@redhat.com>
12946
12947 [BZ #14173]
12948 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12949 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12950 loop condition.
12951
ec332e94
JM
129522012-07-12 Joseph Myers <joseph@codesourcery.com>
12953
12954 [BZ #13717]
12955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12956 Change to 2.4.1 where previously 2.4.0.
12957 * sysdeps/unix/sysv/linux/configure: Regenerated.
12958 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12959 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12960 version.
12961 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12962 (__ASSUME_AT_CLKTCK): Remove.
12963 (__ASSUME_AT_PAGESIZE): Likewise.
12964 (__ASSUME_AT_XID): Likewise.
12965 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12966 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12967 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12968 unconditionally.
12969 (HAVE_AUX_PAGESIZE): Likewise.
12970 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12971 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12972 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12973
7b6e99be
JB
129742012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12975
12976 [BZ #14307]
12977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12978 the temporary buffer used to invoke __gethostbyname2_r,
12979 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12980 host_data / struct gaih_addrtuple.
12981 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12982 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12983 header file nss/nsswitch.h.
12984 * nss/nsswitch.h (global scope): Add definition of implementation
12985 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12986 resolv/nss_dns/dns-host.c).
12987
608404eb
AJ
129882012-07-11 Andreas Jaeger <aj@suse.de>
12989
12990 * po/fr.po: Update from translation team.
12991
71220aca
AJ
12992 * po/sv.po: Update from translation team
12993 * po/fr.po: Another update from translation team.
12994
28cfe843
AZ
129952012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12996
12997 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12998 for subnormals or multiply small sinh result by itself.
12999 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13001
6b90f981
DM
130022012-07-11 David S. Miller <davem@davemloft.net>
13003
13004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13005
c6825772
AS
130062012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13007
13008 [BZ #14347]
13009 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13010 (INTERNAL_MARK): Shift it here.
13011
7b8e0d49
MP
130122012-07-10 Marek Polacek <polacek@redhat.com>
13013
13014 [BZ #14151]
13015 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13016 libc_cv_asm_global_directive with .globl.
13017 * configure: Regenerated.
13018 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13019 with .globl.
13020 * sysdeps/i386/configure: Regenerated.
13021 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13022 with .globl.
13023 * sysdeps/x86_64/configure: Regenerated.
13024 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13025 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13026 * elf/tst-unique2mod2.c: Likewise.
13027 * elf/tst-unique2mod1.c: Likewise.
13028 * elf/tst-unique1mod2.c: Likewise.
13029 * elf/tst-unique1mod1.c: Likewise.
13030 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13031 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13032 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13033 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13034 * sysdeps/mach/sysdep.h: Likewise.
13035 * sysdeps/i386/sysdep.h: Likewise.
13036 * sysdeps/i386/i386-mcount.S: Likewise.
13037 * sysdeps/x86_64/_mcount.S: Likewise.
13038 * sysdeps/x86_64/sysdep.h: Likewise.
13039 * sysdeps/sh/_mcount.S: Likewise.
13040 * sysdeps/sh/sysdep.h: Likewise.
13041 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13042 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13043 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13045 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13046 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13047 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13048 * locale/localeinfo.h: Likewise.
13049 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13050 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13051
6c55cda3
RM
130522012-07-09 Roland McGrath <roland@hack.frob.com>
13053
13054 [BZ #14336]
13055 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13056 system".
13057 * manual/message.texi (The Uniforum approach): Likewise.
13058 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13059 (glibc iconv Implementation): Likewise.
13060
638a572e
JM
130612012-07-09 Joseph Myers <joseph@codesourcery.com>
13062
13063 [BZ #14337]
13064 * math/s_clog.c (__clog): Avoid scaling a value down where that
13065 could result in underflow.
13066 * math/s_clog10.c (__clog10): Likewise.
13067 * math/s_clog10f.c (__clog10f): Likewise.
13068 * math/s_clog10l.c (__clog10l): Likewise.
13069 * math/s_clogf.c (__clogf): Likewise.
13070 * math/s_clogl.c (__clogl): Likewise.
13071 * math/libm-test.inc (clog_test): Add more tests.
13072 (clog10_test): Likewise.
13073 * sysdeps/i386/fpu/libm-test-ulps: Update.
13074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13075
261f4859
AS
130762012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13077
0abaf3e4
AS
13078 [BZ #14283]
13079 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13080 by 7 not 8 to examine high bit of fractional part.
13081
261f4859
AS
13082 [BZ #14042]
13083 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13084 for call to __mcount_internal.
13085 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13086 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13087 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13088
f17ac40d
JM
130892012-07-06 Joseph Myers <joseph@codesourcery.com>
13090
9ad63c23
JM
13091 [BZ #14154]
13092 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13093 approximation for values within 0x1p-13f of an odd multiple of
13094 pi/4.
13095 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13096 exception. Add more tests.
13097 * sysdeps/i386/fpu/libm-test-ulps: Update.
13098
f17ac40d
JM
13099 [BZ #6778]
13100 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13101 inputs and return -1 for them. Do not check for +Inf in case not
13102 reachable for +Inf.
13103 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13104 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13106 and return -1 for them. Do not check for +Inf in case not
13107 reachable for +Inf.
13108 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13109 define.
13110 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13111 and return -1 for them. Do not check for +Inf in case not
13112 reachable for +Inf.
13113 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13114 spurious underflow.
13115 * sysdeps/i386/fpu/libm-test-ulps: Update.
13116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13117
fb21f89b
MF
131182012-07-06 Mike Frysinger <vapier@gentoo.org>
13119
13120 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13121
cdfe2c5e
JM
131222012-07-05 Joseph Myers <joseph@codesourcery.com>
13123
13124 [BZ #14157]
13125 [BZ #14331]
13126 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13127 could result in spurious underflow. Scale down values above
13128 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13129 * math/s_csqrtf.c (__csqrtf): Likewise.
13130 * math/s_csqrtl.c (__csqrtl): Likewise.
13131 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13132 spurious underflow.
13133 * sysdeps/i386/fpu/libm-test-ulps: Update.
13134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13135
70d35b67
AS
131362012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13137
704bc459
AS
13138 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13139 xopen-msg.sed.
13140 * catgets/xopen-msg.awk: New file.
13141 * catgets/xopen-msg.sed: Removed.
13142
70d35b67
AS
13143 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13144 po2text.sed.
13145 * intl/po2test.awk: New file.
13146 * intl/po2test.sed: Removed.
13147
ca61cf32
JM
131482012-07-04 Joseph Myers <joseph@codesourcery.com>
13149
13150 [BZ #14328]
13151 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13152 or multiply small sinh result by itself.
13153 * math/s_ctanf.c (__ctanf): Likewise.
13154 * math/s_ctanh.c (__ctanh): Likewise.
13155 * math/s_ctanhf.c (__ctanhf): Likewise.
13156 * math/s_ctanhl.c (__ctanhl): Likewise.
13157 * math/s_ctanl.c (__ctanl): Likewise.
13158 * math/libm-test.inc (ctan_test_tonearest): New function.
13159 (ctan_test_towardzero): Likewise.
13160 (ctan_test_downward): Likewise.
13161 (ctan_test_upward): Likewise.
13162 (ctanh_test_tonearest): Likewise.
13163 (ctanh_test_towardzero): Likewise.
13164 (ctanh_test_downward): Likewise.
13165 (ctanh_test_upward): Likewise.
13166 (main): Call these new functions.
13167 * sysdeps/i386/fpu/libm-test-ulps: Update.
13168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13169
ca48a46a
MF
131702012-07-03 Mike Frysinger <vapier@gentoo.org>
13171
13172 * .gitignore: Delete /ports entry.
13173
9d63d37d
AJ
131742012-07-03 Andreas Jaeger <aj@suse.de>
13175
13176 * po/bg.po: Update from translation team.
13177 * po/cs.po: Likewise.
13178 * po/de.po: Likewise.
13179 * po/hr.po: Likewise.
13180 * po/nl.pl: Likewise.
13181 * po/pl.po: Likewise.
13182 * po/vi.po: Likewise.
13183
370ca3d2
JM
131842012-07-03 Joseph Myers <joseph@codesourcery.com>
13185
95f5a9a8
JM
13186 * Makeconfig [!+link] (+link-before-libc): New variable.
13187 [!+link] (+link-after-libc): Likewise.
13188 [!+link] (+link-tests): Likewise.
13189 [!+link] (+link): Define in terms of $(+link-before-libc) and
13190 $(+link-after-libc).
13191 [!+link-static] (+link-static-before-libc): New variable.
13192 [!+link-static] (+link-static-after-libc): Likewise.
13193 [!+link-static] (+link-static-tests): Likewise.
13194 [!+link-static] (+link-static): Define in terms of
13195 $(+link-static-before-libc) and $(+link-static-after-libc).
13196 [build-shared] (link-libc-before-gnulib): New variable.
13197 [build-shared] (link-libc-tests): Likewise.
13198 [build-shared] (link-libc): Define in terms of
13199 $(link-libc-before-gnulib).
13200 [!build-shared] (link-libc-tests): New variable.
13201 (link-libc-static-tests): New variable.
13202 [!gnulib] (gnulib-arch): New variable.
13203 [!gnulib] (gnulib-tests): Likewise.
13204 [!gnulib] (static-gnulib-arch): Likewise.
13205 [!gnulib] (static-gnulib-tests): Likewise.
13206 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13207 Define with "=" instead of ":=".
13208 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13209 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13210 * Rules (binaries-all-notests): New variable.
13211 (binaries-all-tests): Likewise.
13212 (binaries-static-notests): Likewise.
13213 (binaries-static-tests): Likewise.
13214 (binaries-all): Define using $(binaries-all-notests) and
13215 $(binaries-all-tests).
13216 (binaries-static): Define using $(binaries-static-notests) and
13217 $(binaries-static-tests).
13218 (binaries-shared-tests): New variable.
13219 (binaries-shared-notests): Likewise.
13220 (binaries-shared): Remove variable.
13221 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13222 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13223 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13224 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13225 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13226 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13227 * elf/Makefile (sln-modules): New variable.
13228 (extra-objs): Add $(sln-modules:=.o).
13229 (ldconfig-modules): Add static-stubs.
13230 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13231 * elf/static-stubs.c: New file.
13232
7a845b2c
JM
13233 [BZ #14283]
13234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13235 by 7 not 8 to examine high bit of fractional part. Use volatile
13236 variables when splitting into final array of floats if
13237 __FLT_EVAL_METHOD__ != 0.
13238 * math/libm-test.inc (cos_test): Add another test.
13239 (sin_test): Likewise.
13240 * sysdeps/i386/fpu/libm-test-ulps: Update.
13241
e2283f38
JM
13242 [BZ #14273]
13243 * math/libm-test.inc (cosh_test): Add more tests.
13244
370ca3d2
JM
13245 * version.h (RELEASE): Set to "development".
13246 (VERSION): Set to "2.16.90".
13247
ee9247c3
CD
132482012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13249
13250 * NEWS: Update copyright. Remove last-updated date.
13251 Mention math library bug fixes and timezone data changes.
13252 * README: Mention GNU/Hurd, x32, and HPPA support status.
13253
4648c381
TS
132542012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13255
13256 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13257
aac78a43
AJ
132582012-06-27 Andreas Jaeger <aj@suse.de>
13259
13260 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13261
ed3dbfad
AJ
132622012-06-25 Andreas Jaeger <aj@suse.de>
13263
13264 * sysdeps/s390/fpu/libm-test-ulps: Update.
13265
4d0ee855
AS
132662012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13267 Thomas Schwinge <thomas@codesourcery.com>
13268
13269 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13270 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13272 fanotify_mark.
13273
af1bce34
TS
132742012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13275
a9fa33ba
TS
13276 * sysdeps/mach/start.c: Remove file.
13277 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13278 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13279 * sysdeps/sh/init-first.c: Likewise.
13280
58f902b8
TS
13281 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13282 registers for frame unwinding purposes, add CFI directives.
13283 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13284 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13285 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13286 Likewise.
13287
1518f58b
TS
13288 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13289 __fortify_fail returning.
13290 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13291
db9b5059
TS
13292 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13293 sysdeps/sh/____longjmp_chk.S.
13294 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13295 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13296 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13297 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13298
967705fe
TS
13299 * sysdeps/sh/abort-instr.h: New file.
13300 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13301 process in case exit returns.
13302
a9def8c4
TS
13303 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13304 initialize the GOT register before use.
13305
2a649725
TS
13306 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13307 calculation of ARGC > 4.
13308
af1bce34
TS
13309 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13310 meaningful names to some local labels.
13311
d230f50a
KK
133122012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13313 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13314
13315 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13316 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13317 (__arch_compare_and_exchange_val_16_acq): Likewise.
13318 (__arch_compare_and_exchange_val_32_acq): Likewise.
13319 (atomic_exchange_and_add): Fix gUSA sequence.
13320 (atomic_add): Likewise.
13321 (atomic_add_negative): Likewise.
13322 (atomic_add_zero): Likewise.
13323 (atomic_bit_test_set): Likewise.
13324
0479b305
AS
133252012-06-22 Andreas Schwab <schwab@redhat.com>
13326
13327 [BZ #13579]
13328 * include/link.h (struct link_map): Add l_free_initfini.
13329 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13330 l_initfini.
13331 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13332 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13333 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13334 set.
13335
0e3933b9
CD
133362012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13337
13338 * configure.in: Use AC_LANG_SOURCE.
13339 * configure: Regenerate.
13340
4248b1b1
RM
133412012-06-22 Roland McGrath <roland@hack.frob.com>
13342
13343 * configure.in (libc_cv_localstatedir): New substituted variable.
13344 * configure: Regenerated.
13345 * config.make.in (localstatedir): New variable, substituted from
13346 libc_cv_localstatedir.
13347 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13348 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13349 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13350 * sysdeps/gnu/configure: Regenerated.
13351
006dd861
JL
133522012-06-21 Jeff Law <law@redhat.com>
13353
13354 [BZ #14277]
13355 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13356 free. Simplify list management for _LIBC case.
13357
79662d42
JM
133582012-06-21 Joseph Myers <joseph@codesourcery.com>
13359
b7abb4bf
JM
13360 [BZ #14273]
13361 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13362 Clear sign bit of 64-bit integer value before comparing against
13363 overflow value.
13364
79662d42
JM
13365 * sysdeps/mach/configure: Regenerated.
13366
1f150908
L
133672012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13368
13369 [BZ #14278]
13370 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13371
28363bbf
JL
133722012-06-21 Jeff Law <law@redhat.com>
13373
13374 [BZ #13882]
13375 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13376 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13377 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13378 * elf/dl-open.c (dl_open_worker): Likewise.
13379
09615db4
CD
133802012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13381
13382 * scripts/list-sources.sh: Scan PORTS for translations.
13383 * po/libc.pot: Regenerated.
13384
2174c6dd
AJ
133852012-06-21 Andreas Jaeger <aj@suse.de>
13386
13387 [BZ #12194]
13388 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13389 warning.
13390 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13391 * bits/byteswap-16.h (__bswap_16): Likewise.
13392 * bits/byteswap.h (__bswap_constant_16): Likewise.
13393
3ee947b1
L
133942012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 [BZ #14117]
a2f34833
L
13397 * sysdeps/i386/fpu_control.h: Removed.
13398 * sysdeps/x86_64/fpu_control.h: Moved to ...
13399 * sysdeps/x86/fpu_control.h: Here.
13400
3ee947b1
L
13401 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13402 (_FPU_SETCW): Likewise.
13403
ed1825f8
L
134042012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13405
25f1282a
L
13406 [BZ #14117]
13407 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13408 * sysdeps/x86/fpu/bits/mathinline.h: This.
13409 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13410
ed1825f8
L
13411 [BZ #14050]
13412 [BZ #14117]
13413 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13414 functions if __x86_64__ is defined.
13415
36d54b74
CLT
134162012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13417
13418 * string/endian.h: Add !__ASSEMBLER__ condition for including
13419 conversion interfaces.
13420
10285c21
JM
134212012-06-15 Joseph Myers <joseph@codesourcery.com>
13422
13423 [BZ #14241]
13424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13425 of ABS(x) in calculating zero to negative powers other than odd
13426 integers.
13427 * math/libm-test.inc (pow_test): Add more tests.
13428
06c5abbd
AJ
134292012-06-15 Andreas Jaeger <aj@suse.de>
13430
13431 * manual/contrib.texi (Contributors): Update entry of Liubov
13432 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13433 Machado Filho.
13434
a3aeac40
CH
134352012-06-15 Cyril Hrubis <metan@ucw.cz>
13436
13437 * string/string.h: Add __wur to GNU version of strerror_r.
13438
49bdf4c1
L
134392012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 [BZ #14229]
13442 * string/Makefile (tests): Add tst-strtok_r.
13443 * string/tst-strtok_r.c: New file.
13444 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13445 RAX_LP/RDX_LP on SAVE_PTR.
13446
834f9b8d
RM
134472012-06-14 Roland McGrath <roland@hack.frob.com>
13448
13449 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13450
75fa1921
JM
134512012-06-14 Joseph Myers <joseph@codesourcery.com>
13452
13453 * libm_test.inc (csqrt_test): Allow more spurious underflow
13454 exceptions.
13455 (j0_test): Likewise.
13456 (j1_test): Likewise.
13457 (y0_test): Likewise.
13458 (y1_test): Likewise.
13459
771766df
CD
134602012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13461
13462 * po/Makefile (libc.pot): Use UTF-8 charset.
13463
ceb9e56b
PP
134642012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13465
13466 [BZ #14210]
13467 Suppress sign-conversion warning from FD_SET.
13468 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13469 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13470 not unsigned long int.
13471 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13472
ddb28975
L
134732012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 [BZ #14050]
13476 [BZ #14117]
13477 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13478 __extern_always_inline instead of __extern_inline.
13479 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13480 (__signbit): Likewise.
13481 (__signbitl): Support C++ namespace.
13482 (lrintf): New inline function.
13483 (lrint): Likewise.
13484 (llrintf): Likewise.
13485 (llrint): Likewise.
13486 (fmaxf): Likewise.
13487 (fmax): Likewise.
13488 (fminf): Likewise.
13489 (fmin): Likewise.
13490 (rint): Likewise.
13491 (rintf): Likewise.
13492 (ceil): Likewise.
13493 (ceilf): Likewise.
13494 (floor): Likewise.
13495 (floorf): Likewise.
13496 (nearbyint): Likewise.
13497 (nearbyintf): Likewise.
13498
d7b4fb26
TS
134992012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13500
13501 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13502 non-default versions.
13503
eb55f5c2
RM
135042012-06-11 Roland McGrath <roland@hack.frob.com>
13505
13506 [BZ #14218]
13507 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13508
366af02c
TS
135092012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13510
99ff6e5c
TS
13511 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13512 (FE_UPWARD, FE_DOWNWARD): Don't define.
13513 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13514 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13515
366af02c
TS
13516 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13517 reading it.
13518 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13519 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13520
793ea851
KK
135212012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13522
13523 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13524 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13525 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13526 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13527
a728a38f
L
135282012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13529
13530 [BZ #14117]
c08010c7
L
13531 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13532 * sysdeps/i386/fpu/Implies: New file.
13533 * sysdeps/x86_64/fpu/Implies: Likewise.
13534 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13535 * sysdeps/x86/fpu/bits/fenv.h: This.
13536
a728a38f
L
13537 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13538 __SSE_MATH__.
13539
6e230d11
SP
135402012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13541
13542 [BZ #14134]
13543 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13544 character 0xffff that matches the last element of the
13545 conversion table.
13546
1b671feb
AZ
135472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13548
13549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13550 fmodl commit.
13551
6043738b
AZ
135522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13553
13554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13555 values higher than 25.6283.
13556
34ae0b32
AZ
135572012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13558
13559 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13560 subnormal exponent extraction and add some __builtin_expect.
13561 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13562 Fix for subnormal mantissa calculation.
13563
1214ec8f
MF
135642012-06-04 Mike Frysinger <vapier@gentoo.org>
13565
13566 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13567 cpu2 is -1 and errno is not ENOSYS.
13568
f3d1f93c
L
135692012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 [BZ #14117]
0e4a3cd7
L
13572 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13573 * sysdeps/x86/bits/string.h: This.
13574 * sysdeps/x86_64/bits/string.h: Removed.
13575
6704c645
L
13576 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13577 if not compiling for x86-64, but compiling for >= i486.
13578
48495318
L
13579 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13580 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13581
14adcbfc
L
13582 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13583 New macro from Linux kernel 3.4.0.
13584 (FP_XSTATE_MAGIC2): Likewise.
13585 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13586 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13587 (struct _fpx_sw_bytes): New struct.
13588 (struct _xsave_hdr): Likewise.
13589 (struct _ymmh_state): Likewise.
13590 (struct _xstate): Likewise.
13591
68e408ab
L
13592 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13593 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13595 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13596 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13597 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13598
f3d1f93c
L
13599 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13600 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13601 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13602 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13603 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13604 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13605
d9dc34cd
TMQMF
136062012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13607
13608 [BZ #13743]
13609 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13610 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13611 (sysdep_headers): Include sys/platform/ppc.h.
13612 * sysdeps/powerpc/test-gettimebase.c: Test for
13613 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13614 * manual/Makefile (appendices): Include platform.texi.
13615 * manual/contrib.texi (Contributors): Update @node pointers.
13616 * manual/maint.texi (Maintenance): Likewise.
13617 (Platform): New node.
13618 * manual/platform.texi: New file. Document the new features.
13619
4af3879c
SP
136202012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13621 Jakub Jelinek <jakub@redhat.com>
13622
13623 [BZ #14188]
13624 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13625 where __builtin_expect is unavailable.
13626
2fd6ff13
DM
136272012-06-03 David S. Miller <davem@davemloft.net>
13628
13629 * stdlib/longlong.h: Updated from GCC.
13630
173f7220
AS
136312012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13632
13633 [BZ #14042]
13634 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13635 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13636 __mcount_internal.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13638 (GLIBC_2.16): Likewise.
13639
f34a1c6f
L
136402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13643
88a4576f
JM
136442012-06-01 Joseph Myers <joseph@codesourcery.com>
13645
ea32bcdd
JM
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13647 (default-abi): New variable.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13649 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13650 variable.
13651 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13652 Likewise.
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13654 Likewise.
13655 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13656 Likewise.
13657
88a4576f
JM
13658 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13659 definition. Document in comment.
13660
402fe938
DM
136612012-06-01 David S. Miller <davem@davemloft.net>
13662
13663 * stdlib/longlong.h: Updated from GCC.
13664
3553723f
L
136652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 [BZ #14117]
3bd872c4
L
13668 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13669 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13670 sys/debugreg.h sys/io.h here.
13671 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13672 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13673 sys/io.h.
13674 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13675 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13676 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13677 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13678 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13679 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13680
3553723f
L
13681 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13682 Define only if __x86_64__ is defined.
13683
4842e4fe
JM
136842012-06-01 Joseph Myers <joseph@codesourcery.com>
13685
c5bfe3d5
JM
13686 [BZ #14048]
13687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13688 Use int64_t for variable i.
13689 * math/libm-test.inc (fmod_test): Add more tests.
13690
4842e4fe
JM
13691 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13692 z computation is not scheduled after fetestexcept.
13693 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13694 Use math_force_eval instead of asm to ensure calculation scheduled
13695 before exception test.
13696 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13697 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13698
efb73488
AJ
136992012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13700
13701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13702 computation is not scheduled after fetestexcept.
13703
29bcce7c
L
137042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13705
13706 [BZ #14117]
13707 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13708 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13709
73a68f94
AZ
137102012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13711
13712 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13713 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13714
67b6df78
L
137152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13716
edf2933a 13717 [BZ #14117]
ebc64a18
L
13718 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13719 <bits/wordsize.h>.
13720 (__WCHAR_MIN): Support __WORDSIZE == 64.
13721 (__WCHAR_MAX): Likewise.
13722
edf2933a
L
13723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13724 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13725
57c6cf40
L
13726 [BZ #14183]
13727 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13728 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13729
67b6df78 13730 [BZ #14117]
8eb6281e
L
13731 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13732 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13733
aac639f4
L
13734 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13735 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13736
67b6df78
L
13737 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13738 Defined to 1 if __x86_64__ isn't defined.
13739 (_STAT_VER_LINUX_OLD): New.
13740 (st_atime): Remove duplicate.
13741 (st_mtime): Likewise.
13742 (st_ctime): Likewise.
13743
1c2cfe81
DM
137442012-05-31 David S. Miller <davem@davemloft.net>
13745
13746 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13747 entries.
13748
5be8418c
AS
137492012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13750
e7725326
AS
13751 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13752 gen-libm-test.pl.
13753
5be8418c
AS
13754 [BZ #14132]
13755 * elf/dl-reloc.c: Include <_itoa.h>.
13756 (_dl_reloc_bad_type): Remove use of INTUSE.
13757 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13758 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13759 * stdio-common/psiginfo.c (psiginfo): Likewise.
13760 * stdio-common/psignal.c (psignal): Likewise.
13761 * string/strsignal.c (strsignal): Likewise.
13762 * include/signal.h (_sys_siglist): Declare hidden proto.
13763 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13764 INTVARDEF with libc_hidden_data_def.
13765 * stdio-common/itoa-udigits.c: Likewise.
13766 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13767 (_itoa_lower_digits_internal): Remove declaration.
13768 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13769 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13770 (_sys_sigabbrev_internal): Remove aliases.
13771 (_sys_siglist): Define hidden alias.
13772
507352f1
MT
137732012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13774
13775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13776 bits/sysctl.h.
13777
42bbb1c3
L
137782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13779
13780 [BZ #14117]
6bd784b6
L
13781 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13782 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13783
8bca20f0
L
13784 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13785 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13786 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13787 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13788 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13789 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13790
f9e890a9
L
13791 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13792 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13793 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13794
471101a1
L
13795 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13796 with __addr.
13797 (insw): Likewise.
13798 (insl): Likewise.
13799 (outsb): Likewise.
13800 (outsw): Likewise.
13801 (outsl): Likewise.
13802
6451c862
L
13803 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13805 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13806
a254b8c9
L
13807 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13808 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13809 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13810 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13811 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13812 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13813
b8dfdd92
L
13814 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13815 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13816
578cd270
L
13817 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13818 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13819
de662f5f
L
13820 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13823
25653439
L
13824 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13825 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13826 to ...
13827 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13828
6bad24a0
L
13829 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13830 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13831 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13832
42bbb1c3
L
13833 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13834 for x86-64.
13835 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13836
2d10d547
JM
138372012-05-31 Joseph Myers <joseph@codesourcery.com>
13838
13839 * math/math.h (M_El): Use two more decimal places.
13840 (M_LOG2El): Likewise.
13841 (M_LOG10El): Likewise.
13842 (M_LN2l): Likewise.
13843 (M_LN10l): Likewise.
13844 (M_PIl): Likewise.
13845 (M_PI_2l): Likewise.
13846 (M_PI_4l): Likewise.
13847 (M_1_PIl): Likewise.
13848 (M_2_PIl): Likewise.
13849 (M_2_SQRTPIl): Likewise.
13850 (M_SQRT2l): Likewise.
13851 (M_SQRT1_2l): Likewise.
13852
f230c29b
DM
138532012-05-31 David S. Miller <davem@davemloft.net>
13854
13855 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13856 values between float registers.
13857 * sysdeps/sparc/sparc64/memset.S: Likewise.
13858 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13859
fed806c3
MF
138602012-05-31 Mike Frysinger <vapier@gentoo.org>
13861
13862 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13863 -D_FORTIFY_SOURCE=1.
13864 (CPPFLAGS-tst-longjmp_chk.c): Define.
13865 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13866 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13867 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13868 CFLAGS-tst-wchar-h.c.
13869
30917259
MP
138702012-05-31 Marek Polacek <polacek@redhat.com>
13871
13872 [BZ #14132]
13873 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13874 __endmntent_internal): Remove declaration.
13875 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13876 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13877 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13878
1c58d5dc
DM
138792012-05-30 David S. Miller <davem@davemloft.net>
13880
13881 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13882 (___Q_simulate_exceptions): Use real FP ops rather than writing
13883 into the %fsr.
13884 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13885 Likewise.
13886
7dc00e0d
L
138872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 [BZ #14117]
0bd53985
L
13890 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13891 * sysdeps/x86/bits/xtitypes.h: This.
13892
3a257e66
L
13893 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13894 * sysdeps/x86/bits/wordsize.h: This.
13895
62f62904
L
13896 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13897 * sysdeps/x86/bits/huge_vall.h: This.
13898
404fe9d9
L
13899 * sysdeps/i386/bits/select.h: Removed.
13900 * sysdeps/x86_64/bits/select.h: Renamed to ...
13901 * sysdeps/x86/bits/select.h: This.
13902
d48d0446
L
13903 * sysdeps/i386/bits/setjmp.h: Removed.
13904 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13905 * sysdeps/x86/bits/setjmp.h: This.
13906
7dc00e0d
L
13907 * sysdeps/i386/bits/mathdef.h: Removed.
13908 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13909 * sysdeps/x86/bits/mathdef.h: This.
13910
03277f8f
AS
139112012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13912
13913 [BZ #14132]
13914 * include/sys/socket.h (__connect_internal)
13915 (__libc_sa_len_internal): Remove declaration.
13916 (__connect, __libc_sa_len): Declare hidden_proto.
13917 (SA_LEN): Remove use of INTUSE.
13918 * socket/connect.c: Add libc_hidden_def.
13919 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13920 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13921 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13922 alias.
13923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13925 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13926 of adding _internal alias.
13927
13764867
L
139282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 [BZ #14117]
6bd97696
L
13931 * sysdeps/i386/bits/link.h: Removed.
13932 * sysdeps/i386/bits/linkmap.h: Likewise.
13933 * sysdeps/x86_64/bits/link.h: Renamed to ...
13934 * sysdeps/x86/bits/link.h: This.
13935 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13936 * sysdeps/x86/bits/linkmap.h: This.
13937
f726f0bb
L
13938 * sysdeps/i386/bits/endian.h: Removed.
13939 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13940 * sysdeps/x86/bits/endian.h: This.
13941
13764867
L
13942 * sysdeps/i386/bits/byteswap.h: Removed.
13943 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13944 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13945 * sysdeps/x86/bits/byteswap.h: This.
13946 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13947 * sysdeps/x86/bits/byteswap-16.h: This.
13948 * sysdeps/i386/Implies: Add x86.
13949 * sysdeps/x86_64/Implies: Likewise.
13950
ae251b0b
DM
139512012-05-30 David S. Miller <davem@davemloft.net>
13952
13953 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13954 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13955 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13956 (FP_TRAPPING_EXCEPTIONS): Define.
13957 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13958 (FP_TRAPPING_EXCEPTIONS): Define.
13959 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13960 subnormals only when inexact has been signalled or underflow
13961 exceptions are enabled.
13962 (_FP_PACK_CANONICAL): Likewise.
13963
d5c90867
L
139642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13965
13966 [BZ #14183]
13967 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13968 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13969
63f1549e
RH
139702012-05-30 Richard Henderson <rth@twiddle.net>
13971
8d8f2279
RH
13972 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13973 with #ifndef NOT_IN_libc.
13974
63f1549e
RH
13975 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13976 marked to avoid plt entry.
13977
0ab0291b
L
139782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13979
13980 [BZ #14112]
13981 * Makeconfig (default-abi): New macro.
13982 (abi-includes): Likewise.
13983 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13984 $(abi-$(default-abi)-lib-soname) for soname if defined.
13985 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13986 abi-variants.
13987 * Makefile (installed-stubs): Likewise.
13988 * include/stubs-biarch.h: Removed.
13989 * scripts/lib-names.awk: Only handle one library at a time.
13990 * scripts/soversions.awk: Remove WORDSIZE support.
13991 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13992 entries.
13993 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13994 Removed.
13995 (syscall-list-default-condition): Likewise.
13996 (syscall-list-default-condition): Likewise.
13997 (syscall-list-includes): Likewise.
13998 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13999 syscall-list-* with abi-*. Handle undefined abi-variants.
14000 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14001 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14002 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14003 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14004 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14005 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14006 Removed.
14007 (syscall-list-32-options): Likewise.
14008 (syscall-list-32-condition): Likewise.
14009 (syscall-list-64-options): Likewise.
14010 (syscall-list-64-condition): Likewise.
14011 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14012 macro.
14013 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14014 Renamed to ...
14015 (abi-*): This.
14016 (abi-64-ld-soname): New macro.
14017 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14018 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14019 Renamed to ...
14020 (abi-*): This.
14021 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14022 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14023
4da0431d
JM
140242012-05-30 Joseph Myers <joseph@codesourcery.com>
14025
3a85279c
JM
14026 * sysdeps/unix/sysv/linux/kernel-features.h
14027 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14028 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14029 include <kernel-features.h>.
14030 [!__NR_ftruncate64]: Remove conditional code.
14031 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14032 [__NR_ftruncate64]: Make code unconditional.
14033 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14034 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14035 include <kernel-features.h>.
14036 [!__NR_ftruncate64]: Remove conditional code.
14037 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14038 [__NR_ftruncate64]: Make code unconditional.
14039 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14041 include <kernel-features.h>.
14042 [!__NR_ftruncate64]: Remove conditional code.
14043 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14044 [__NR_ftruncate64]: Make code unconditional.
14045 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14047 include <kernel-features.h>.
14048 [!__NR_ftruncate64]: Remove conditional code.
14049 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14050 [__NR_ftruncate64]: Make code unconditional.
14051 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14052
4da0431d
JM
14053 * configure.in (libc_cv_fpie): Weaken to a compile test using
14054 LIBC_TRY_CC_OPTION.
14055 * configure: Regenerated.
14056
11ef492c
AK
140572012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14058
14059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14063 Refreshed.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14070 Refreshed.
14071
d66ef399
DM
140722012-05-27 David S. Miller <davem@davemloft.net>
14073
14074 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14075 (___Q_zero): New.
14076 (__Q_simulate_exceptions): Return void. Change to simulate
14077 exceptions by writing into the %fsr.
14078 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14079 (__Qp_handle_exceptions): Likewise.
14080 (numbers): Delete.
14081 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14082 __Qp_handle_exceptions.
14083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14084 __Qp_handle_exceptions.
14085 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14086 as unused and give dummy FP_RND_NEAREST initializer.
14087 (FP_INHIBIT_RESULTS): Define.
14088 (___Q_simulate_exceptions): Update declaration.
14089 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14090 formatting.
14091 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14092 as unused and give dummy FP_RND_NEAREST initializer.
14093 (__Qp_handle_exceptions): Update declaration.
14094 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14095 formatting.
14096
04fb54b5
TS
140972012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14098
14099 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14100 the temporary FPU control word.
14101 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14102 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14103 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14104 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14105 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14106 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14107 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14108 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14109 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14110 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14111 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14112
3f99608f
KK
141132012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14114
14115 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14116 fields.
14117
65a4de4e
CLT
141182012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14119
14120 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14121 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14122 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14123 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14124 Likewise.
14125 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14126 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14127 Likewise.
14128
15749d40
UD
141292012-05-27 Ulrich Drepper <drepper@gmail.com>
14130
14131 * po/h.po: Update from translation team.
14132
25dbcb27
AS
141332012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14134
3d3f8e55
AS
14135 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14136
25dbcb27
AS
14137 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14138 handling of denormals.
14139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14140 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14141 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14142 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14143 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14146 Likewise.
14147
7ad47a80 141482012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14149
14150 [BZ #14152]
14151 * math/libm-test.inc (fma_test): Don't always expect underflow
14152 exception.
14153
9c6ea9fa
SP
141542012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14155
14156 [BZ #12416]
14157 * elf/tst-execstack.c: Include stackinfo.h.
14158 (do_test): Adjust test case to ensure that pthread_getattr_np
14159 behaviour remains the same after marking stack executable.
14160
a8239222
JM
141612012-05-25 Joseph Myers <joseph@codesourcery.com>
14162
14163 * sysdeps/unix/sysv/linux/kernel-features.h
14164 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14165 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14166 kernel-features.h.
14167 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14168 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14169 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14170 kernel-features.h.
14171 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14172 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14173
918b5606
L
141742012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14175
14176 * configure.in: Define the default includes to being none.
14177 * configure: Regenerated.
14178
3a097cc7
RM
141792012-05-25 Roland McGrath <roland@hack.frob.com>
14180
8422c9a5
RM
14181 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14182 * sysdeps/x86_64/setjmp.S: Likewise.
14183 * sysdeps/i386/bsd-setjmp.S: Likewise.
14184 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14185 * sysdeps/i386/setjmp.S: Likewise.
14186 * sysdeps/i386/__longjmp.S: Likewise.
14187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14188 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14189
3a097cc7
RM
14190 * include/stap-probe.h: New file.
14191 * configure.in: Handle --enable-systemtap.
14192 * configure: Regenerated.
14193 * config.h.in (USE_STAP_PROBE): New #undef.
14194 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14195 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14196 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14197
21708942
JM
141982012-05-25 Joseph Myers <joseph@codesourcery.com>
14199
14200 [BZ #13717]
14201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14202 to 2.4.0 where earlier.
14203 * sysdeps/unix/sysv/linux/configure: Regenerated.
14204 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14205 <kernel-features.h>.
14206 [__ASSUME_32BITUIDS]: Make code unconditional.
14207 [!__ASSUME_32BITUIDS]: Remove conditional code.
14208 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14209 <kernel-features.h>.
14210 [__ASSUME_32BITUIDS]: Make code unconditional.
14211 [!__ASSUME_32BITUIDS]: Remove conditional code.
14212 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14213 [__ASSUME_32BITUIDS]: Make code unconditional.
14214 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14215 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14216 <kernel-features.h>.
14217 [__ASSUME_32BITUIDS]: Make code unconditional.
14218 [!__ASSUME_32BITUIDS]: Remove conditional code.
14219 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14220 <kernel-features.h>.
14221 [__ASSUME_32BITUIDS]: Make code unconditional.
14222 [!__ASSUME_32BITUIDS]: Remove conditional code.
14223 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14224 <kernel-features.h>.
14225 [__ASSUME_32BITUIDS]: Make code unconditional.
14226 [!__ASSUME_32BITUIDS]: Remove conditional code.
14227 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14228 <kernel-features.h>.
14229 [__ASSUME_32BITUIDS]: Make code unconditional.
14230 [!__ASSUME_32BITUIDS]: Remove conditional code.
14231 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14232 <kernel-features.h>.
14233 [__ASSUME_32BITUIDS]: Make code unconditional.
14234 [!__ASSUME_32BITUIDS]: Remove conditional code.
14235 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14236 <kernel-features.h>.
14237 [__ASSUME_32BITUIDS]: Make code unconditional.
14238 [!__ASSUME_32BITUIDS]: Remove conditional code.
14239 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14240 <kernel-features.h>.
14241 [__ASSUME_32BITUIDS]: Make code unconditional.
14242 [!__ASSUME_32BITUIDS]: Remove conditional code.
14243 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14244 <kernel-features.h>.
14245 [__ASSUME_32BITUIDS]: Make code unconditional.
14246 [!__ASSUME_32BITUIDS]: Remove conditional code.
14247 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14248 <kernel-features.h>.
14249 [__ASSUME_32BITUIDS]: Make code unconditional.
14250 [!__ASSUME_32BITUIDS]: Remove conditional code.
14251 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
14256 <kernel-features.h>.
14257 [__NR_setresgid] (__setresgid): Do not declare.
14258 [__ASSUME_32BITUIDS]: Make code unconditional.
14259 [!__ASSUME_32BITUIDS]: Remove conditional code.
14260 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14261 <kernel-features.h>.
14262 [__NR_setresuid] (__setresuid): Do not declare.
14263 [__ASSUME_32BITUIDS]: Make code unconditional.
14264 [!__ASSUME_32BITUIDS]: Remove conditional code.
14265 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14266 <kernel-features.h>.
14267 [__ASSUME_32BITUIDS]: Make code unconditional.
14268 [!__ASSUME_32BITUIDS]: Remove conditional code.
14269 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14270 <kernel-features.h>.
14271 [__ASSUME_32BITUIDS]: Make code unconditional.
14272 [!__ASSUME_32BITUIDS]: Remove conditional code.
14273 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14274 <kernel-features.h>.
14275 [__ASSUME_32BITUIDS]: Make code unconditional.
14276 [!__ASSUME_32BITUIDS]: Remove conditional code.
14277 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14278 <kernel-features.h>.
14279 [__ASSUME_32BITUIDS]: Make code unconditional.
14280 [!__ASSUME_32BITUIDS]: Remove conditional code.
14281 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14282 <kernel-features.h>.
14283 [__ASSUME_32BITUIDS]: Make code unconditional.
14284 [!__ASSUME_32BITUIDS]: Remove conditional code.
14285 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14286 <kernel-features.h>.
14287 [__ASSUME_32BITUIDS]: Make code unconditional.
14288 [!__ASSUME_32BITUIDS]: Remove conditional code.
14289 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14290 <kernel-features.h>.
14291 [__ASSUME_32BITUIDS]: Make code unconditional.
14292 [!__ASSUME_32BITUIDS]: Remove conditional code.
14293 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14294 <kernel-features.h>.
14295 [__ASSUME_32BITUIDS]: Make code unconditional.
14296 [!__ASSUME_32BITUIDS]: Remove conditional code.
14297 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14298 <kernel-features.h>.
14299 [__ASSUME_32BITUIDS]: Make code unconditional.
14300 [!__ASSUME_32BITUIDS]: Remove conditional code.
14301 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14302 <kernel-features.h>.
14303 [__ASSUME_32BITUIDS]: Make code unconditional.
14304 [!__ASSUME_32BITUIDS]: Remove conditional code.
14305 * sysdeps/unix/sysv/linux/kernel-features.h
14306 (__ASSUME_SETRESUID_SYSCALL): Remove.
14307 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14308 (__ASSUME_32BITUIDS): Likewise.
14309 (__ASSUME_LDT_WORKS): Likewise.
14310 (__ASSUME_O_DIRECTORY): Likewise.
14311 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14312 architecture but not kernel version.
14313 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14314 (__ASSUME_MMAP2_SYSCALL): Likewise.
14315 (__ASSUME_STAT64_SYSCALL): Likewise.
14316 (__ASSUME_IPC64): Likewise.
14317 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14318 <kernel-features.h>.
14319 [__ASSUME_32BITUIDS]: Make code unconditional.
14320 [!__ASSUME_32BITUIDS]: Remove conditional code.
14321 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14322 <kernel-features.h>.
14323 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14324 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14325 132096]: Remove conditional code.
14326 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14327 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14328 <kernel-features.h>.
14329 [__ASSUME_32BITUIDS]: Make code unconditional.
14330 [!__ASSUME_32BITUIDS]: Remove conditional code.
14331 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14332 <kernel-features.h>.
14333 [__ASSUME_32BITUIDS]: Make code unconditional.
14334 [!__ASSUME_32BITUIDS]: Remove conditional code.
14335 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14336 <kernel-features.h>.
14337 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14338 unconditional.
14339 (__setresgid): Do not declare.
14340 [__ASSUME_32BITUIDS]: Make code unconditional.
14341 [!__ASSUME_32BITUIDS]: Remove conditional code.
14342 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14343 <kernel-features.h>.
14344 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14345 unconditional.
14346 (__setresuid): Do not declare.
14347 [__ASSUME_32BITUIDS]: Make code unconditional.
14348 [!__ASSUME_32BITUIDS]: Remove conditional code.
14349 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14350 <kernel-features.h>.
14351 [__ASSUME_32BITUIDS]: Make code unconditional.
14352 [!__ASSUME_32BITUIDS]: Remove conditional code.
14353 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14354 <kernel-features.h>.
14355 [__ASSUME_32BITUIDS]: Make code unconditional.
14356 [!__ASSUME_32BITUIDS]: Remove conditional code.
14357
a386f1cc
RH
143582012-05-25 Richard Henderson <rth@twiddle.net>
14359
14360 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14361 dl_hwcap to ifunc resolver.
14362 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14363 elf_ifunc_invoke.
14364 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14365 dl_hwcap to ifunc resolver.
14366 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14367
b6550497
JM
143682012-05-24 Joseph Myers <joseph@codesourcery.com>
14369
14370 [BZ #14153]
14371 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14372 for |x| <= 2**-26, not 2**-57.
14373 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14374 exception.
14375
b0bc23a1
JL
143762012-05-24 Jeff Law <law@redhat.com>
14377
14378 * stdio-common/Makefile (tests): Add bug25.
14379 * stdio-common/bug25.c: New test.
14380
347c92e9
L
143812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14382
14383 [BZ #13576]
14384 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14385 multiple of MALLOC_ALIGNMENT in size.
14386 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14387
6bcc8b3f
JM
143882012-05-24 Joseph Myers <joseph@codesourcery.com>
14389
14390 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14391 Require >= 256.
14392 (FILENAME_MAX): Use macro-int-constant.
14393 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14394 (_IOFBF): Use macro-int-constant.
14395 (_IOLBF): Likewise.
14396 (_IONBF): Likewise.
14397 (SEEK_CUR): Likewise.
14398 (SEEK_END): Likewise.
14399 (SEEK_SET): Likewise.
14400 (TMP_MAX): Likewise.
14401 (EOF): Use macro-int-constant. Require < 0.
14402 (NULL): Use macro-constant. Require == 0.
14403 (stdin): Require type to be FILE *.
14404 (stdout): Likewise.
14405 (stderr): Likewise.
14406 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14407 macro-int-constant.
14408 (EXIT_SUCCESS): Likewise.
14409 (NULL): Use macro-constant. Require == 0.
14410 (RAND_MAX): Use macro-int-constant.
14411 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14412 [C99-based standards] (strtof): Require function.
14413 [C99-based standards] (strtold): Likewise.
14414 [C99-based standards] (strtoll): Likewise.
14415 [C99-based standards] (strtoull): Likewise.
14416 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14417 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14418 [ISO || ISO99 || ISO11] (math.h): Likewise.
14419 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14420 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14422
d18ea0c5
AS
144232012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14424
14425 [BZ #14132]
56d25bb8
AS
14426 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14427 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14428 * intl/dgettext.c (DCGETTEXT): Likewise.
14429 * intl/gettext.c (DCGETTEXT): Likewise.
14430 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14431 * posix/regex_internal.h (gettext): Likewise.
14432 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14433 Remove declaration.
14434 * include/argz.h (__argz_count_internal)
14435 (__argz_stringify_internal): Remove declaration.
14436 (__argz_count, __argz_stringify): Declare hidden proto.
14437 * intl/dcgettext.c: Remove use of INTDEF.
14438 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14439 * string/argz-stringify.c: Likewise.
14440 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14441 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14442 Declare hidden proto.
d18ea0c5
AS
14443 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14444 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14445 Declare hidden proto.
14446 * include/stdio.h (__asprintf_internal): Don't declare.
14447 (__asprintf): Don't define as macro. Declare hidden proto.
14448 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14449 (__fsetlocking): Declare hidden proto.
14450 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14451 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14452 hidden proto.
14453 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14454 (_IO_setlinebuf): Remove use of INTUSE.
14455 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14456 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14457 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14458 Remove declaration.
14459 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14460 (_IO_do_flush): Remove use of INTUSE.
14461 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14462 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14463 (_IO_adjust_column, _IO_least_wmarker)
14464 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14465 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14466 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14467 (_IO_default_doallocate, _IO_wdefault_doallocate)
14468 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14469 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14470 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14471 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14472 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14473 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14474 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14475 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14476 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14477 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14478 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14479 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14480 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14481 proto.
14482 (_IO_flush_all_internal, _IO_adjust_column_internal)
14483 (_IO_default_uflow_internal, _IO_default_finish_internal)
14484 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14485 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14486 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14487 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14488 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14489 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14490 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14491 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14492 (_IO_file_close_internal, _IO_file_close_it_internal)
14493 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14494 (_IO_file_init_internal, _IO_file_attach_internal)
14495 (_IO_file_fopen_internal, _IO_file_read_internal)
14496 (_IO_file_sync_internal, _IO_file_seek_internal)
14497 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14498 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14499 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14500 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14501 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14502 (_IO_list_all_internal, _IO_link_in_internal)
14503 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14504 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14505 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14506 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14507 (_IO_do_write_internal, _IO_padn_internal)
14508 (_IO_getline_info_internal, _IO_getline_internal)
14509 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14510 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14511 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14512 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14513 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14514 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14515 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14516 with libc_hidden_ver, remove use of INTUSE.
14517 * libio/genops.c: Likewise.
14518 * libio/freopen.c: Likewise.
14519 * libio/freopen64.c: Likewise.
14520 * libio/iofclose.c: Likewise.
14521 * libio/iofdopen.c: Likewise.
14522 * libio/iofflush.c: Likewise.
14523 * libio/iofflush_u.c: Likewise.
14524 * libio/iofgets.c: Likewise.
14525 * libio/iofgets_u.c: Likewise.
14526 * libio/iofopen.c: Likewise.
14527 * libio/iofopncook.c: Likewise.
14528 * libio/iofread.c: Likewise.
14529 * libio/iofread_u.c: Likewise.
14530 * libio/ioftell.c: Likewise.
14531 * libio/iofwrite.c: Likewise.
14532 * libio/iogetline.c: Likewise.
14533 * libio/iogets.c: Likewise.
14534 * libio/iogetwline.c: Likewise.
14535 * libio/iopadn.c: Likewise.
14536 * libio/iopopen.c: Likewise.
14537 * libio/ioseekoff.c: Likewise.
14538 * libio/ioseekpos.c: Likewise.
14539 * libio/iosetbuffer.c: Likewise.
14540 * libio/iosetvbuf.c: Likewise.
14541 * libio/ioungetc.c: Likewise.
14542 * libio/ioungetwc.c: Likewise.
14543 * libio/iovdprintf.c: Likewise.
14544 * libio/iovsprintf.c: Likewise.
14545 * libio/iovsscanf.c: Likewise.
14546 * libio/memstream.c: Likewise.
14547 * libio/obprintf.c: Likewise.
14548 * libio/oldfileops.c: Likewise.
14549 * libio/oldiofclose.c: Likewise.
14550 * libio/oldiofdopen.c: Likewise.
14551 * libio/oldiofopen.c: Likewise.
14552 * libio/oldiopopen.c: Likewise.
14553 * libio/oldstdfiles.c: Likewise.
14554 * libio/putc.c: Likewise.
14555 * libio/setbuf.c: Likewise.
14556 * libio/setlinebuf.c: Likewise.
14557 * libio/stdfiles.c: Likewise.
14558 * libio/strops.c: Likewise.
14559 * libio/vasprintf.c: Likewise.
14560 * libio/vscanf.c: Likewise.
14561 * libio/vsnprintf.c: Likewise.
14562 * libio/vswprintf.c: Likewise.
14563 * libio/wfiledoalloc.c: Likewise.
14564 * libio/wfileops.c: Likewise.
14565 * libio/wgenops.c: Likewise.
14566 * libio/wmemstream.c: Likewise.
14567 * libio/wstrops.c: Likewise.
14568 * libio/__fpurge.c: Likewise.
14569 * libio/__fsetlocking.c: Likewise.
14570 * assert/assert.c: Likewise.
14571 * debug/fgets_chk.c: Likewise.
14572 * debug/fgets_u_chk.c: Likewise.
14573 * debug/fread_chk.c: Likewise.
14574 * debug/fread_u_chk.c: Likewise.
14575 * debug/gets_chk.c: Likewise.
14576 * debug/obprintf_chk.c: Likewise.
14577 * debug/vasprintf_chk.c: Likewise.
14578 * debug/vdprintf_chk.c: Likewise.
14579 * debug/vsnprintf_chk.c: Likewise.
14580 * debug/vsprintf_chk.c: Likewise.
14581 * malloc/mtrace.c: Likewise.
14582 * misc/error.c: Likewise.
14583 * misc/syslog.c: Likewise.
14584 * stdio-common/asprintf.c: Likewise.
14585 * stdio-common/fxprintf.c: Likewise.
14586 * stdio-common/getw.c: Likewise.
14587 * stdio-common/isoc99_fscanf.c: Likewise.
14588 * stdio-common/isoc99_scanf.c: Likewise.
14589 * stdio-common/isoc99_vfscanf.c: Likewise.
14590 * stdio-common/isoc99_vscanf.c: Likewise.
14591 * stdio-common/isoc99_vsscanf.c: Likewise.
14592 * stdio-common/printf-prs.c: Likewise.
14593 * stdio-common/printf_fp.c: Likewise.
14594 * stdio-common/printf_fphex.c: Likewise.
14595 * stdio-common/printf_size.c: Likewise.
14596 * stdio-common/putw.c: Likewise.
14597 * stdio-common/scanf.c: Likewise.
14598 * stdio-common/sprintf.c: Likewise.
14599 * stdio-common/tmpfile.c: Likewise.
14600 * stdio-common/vfprintf.c: Likewise.
14601 * stdio-common/vfscanf.c: Likewise.
14602 * stdlib/strfmon_l.c: Likewise.
14603 * sunrpc/openchild.c: Likewise.
14604 * sunrpc/xdr_stdio.c: Likewise.
14605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14606 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14607
d6c33fda
RM
146082012-05-24 Roland McGrath <roland@hack.frob.com>
14609
c1487492
RM
14610 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14611
14612 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14613 in the third column, to generate for the shared library an IFUNC
14614 that uses _dl_vdso_vsym.
14615 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14616 * Makeconfig (object-suffixes-noshared): New variable.
14617
14618 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14619 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14620 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14621 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14622
d6c33fda
RM
14623 [BZ #14132]
14624 * include/sys/time.h (__gettimeofday): Remove macro.
14625 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14626 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14627 Remove INTDEF.
14628 (__gettimeofday): Add libc_hidden_def.
14629 (gettimeofday): Add libc_hidden_weak.
14630 * sysdeps/mach/gettimeofday.c: Likewise.
14631 * sysdeps/posix/gettimeofday.c: Likewise.
14632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14633 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14635 (__gettimeofday_internal): Remove strong_alias.
14636 (__gettimeofday): Add libc_hidden_def.
14637 (gettimeofday): Add libc_hidden_weak.
14638 * sysdeps/unix/syscalls.list (gettimeofday):
14639 Remove __gettimeofday_internal alias.
14640
b5a2bbe6
L
146412012-05-24 Daniel Jacobowitz <drow@false.org>
14642 H.J. Lu <hongjiu.lu@intel.com>
14643
14644 [BZ #12495]
14645 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14646 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14647 (largebin_index_32_big): New.
14648 (largebin_index): Use it for 16-byte alignment.
14649 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14650 correction with front_misalign.
14651
cfba4fda
L
146522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14653
7f907421
L
14654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14658 Likewise.
14659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14660 Likewise.
14661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14662 Likewise.
14663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14664 Likewise.
14665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14666 Likewise.
14667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14668 Likewise.
14669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14670 Likewise.
14671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14672 Likewise.
14673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14674 Likewise.
14675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14676 Likewise.
14677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14678 Likewise.
14679
cfba4fda
L
14680 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14681 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14682
80bad0cc
JM
146832012-05-24 Joseph Myers <joseph@codesourcery.com>
14684
7a25eb06
JM
14685 [BZ #10846]
14686 [BZ #14036]
14687 * math/libm-test.inc (exp_test): Add test from bug 14036.
14688 (pow_test): Add test from bug 10846.
14689
795405f9
JM
14690 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14691 and other flags.
14692 (special_function): Do not include flags in test name.
14693 (parse_args): Likewise.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14696 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14697 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14699
80bad0cc
JM
14700 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14701 exceptions.
14702 * math/libm-test.inc ("Philosophy"): Update comment about
14703 exception testing.
14704 (UNDERFLOW_EXCEPTION): New macro.
14705 (UNDERFLOW_EXCEPTION_OK): Likewise.
14706 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14707 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14708 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14709 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14710 (INVALID_EXCEPTION_OK): Update value.
14711 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14712 (OVERFLOW_EXCEPTION_OK): Likewise.
14713 (IGNORE_ZERO_INF_SIGN): Likewise.
14714 (test_exceptions): Handle underflow exceptions.
14715 (acos_test): Update for underflow exception expectations.
14716 (cexp_test): Likewise.
14717 (clog_test): Likewise.
14718 (clog10_test): Likewise.
14719 (csqrt_test): Likewise.
14720 (ctan_test): Likewise.
14721 (ctanh_test): Likewise.
14722 (exp_test): Likewise.
14723 (exp10_test): Likewise.
14724 (exp2_test): Likewise.
14725 (expm1_test): Likewise.
14726 (fma_test): Likewise.
14727 (j0_test): Likewise.
14728 (jn_test): Likewise.
14729 (nexttoward_test): Likewise.
14730 (pow_test): Likewise.
14731 (scalbn_test): Likewise.
14732 (scalbln_test): Likewise.
14733 (tan_test): Likewise.
14734 (y1_test): Likewise.
14735 * sysdeps/i386/fpu/libm-test-ulps: Update.
14736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14737
9e0e3d0b
DM
147382012-05-23 David S. Miller <davem@davemloft.net>
14739
14740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14741 (__libc_sigaction): Remove unused local variables.
14742
ccd0a08f
L
147432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14744
14745 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14746
62bdf9a6
PE
147472012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14748
f8591f80
PE
14749 mktime: avoid signed integer overflow
14750 * time/mktime.c (__mktime_internal): Do not mishandle the case
14751 where diff == INT_MIN.
14752
94c7d826
PE
14753 mktime: simplify computation of average
14754 * time/mktime.c (ranged_convert): Use new time_t_avg function
14755 instead of rolling our own (probably-slower) code.
14756
ce73d683
PE
14757 mktime: do not assume signed right shift propagates sign bit
14758 * time/mktime.c (isdst_differ): New static function.
14759 (__mktime_internal): No need to normalize tm_isdst now.
14760 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14761 tm_isdst values.
14762
72a22e59
PE
14763 mktime: merge another wrapv change from gnulib
14764 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14765 from some compilers.
14766
68605433
PE
14767 mktime: remove incorrect attempt at unusual arithmetics
14768 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14769 The code didn't really work on such machines anyway.
14770 (TYPE_MINIMUM): Assume two's complement.
14771 (twos_complement_arithmetic): Verify that long_int and time_t
14772 are two's complement (or unsigned, in the latter case).
14773
03cf7fe3
PE
14774 mktime: check signed shifts on long_int and time_t, too
14775 * time/mktime.c (SHR): Check that shifts work as desired
14776 on the types long_int and time_t too, as SHR is used on
14777 such types.
14778
f04dfbc2
PE
14779 mktime: do not assume 'long' is wide enough
14780 * time/mktime.c (verify): Move decl up.
14781 (long_int): New type.
14782 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14783 to remove assumption in the code that 'long' is wide enough to
14784 store year values. This assumption is not true on x32 and on
14785 some non-glibc platforms.
14786
62bdf9a6
PE
14787 mktime: merge wrapv change from gnulib
14788 * time/mktime.c (WRAPV): New macro.
14789 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14790 (guess_time_tm, __mktime_internal): Do not assume that signed
14791 integer overflow wraps around; modern compilers generate code
14792 where this assumption is no longer valid.
14793
5e292e4f
L
147942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14797 Replace "jmp L(pseudo_end)" with "ret".
14798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14799 Likewise.
14800
8caf8c87
AJ
148012012-05-23 Andreas Jaeger <aj@suse.de>
14802
14803 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14804 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14805
1a09dc56
AJ
148062012-05-23 Andreas Jaeger <aj@suse.de>
14807 Maximilian Attems <max@stro.at>
14808
14809 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14810 New macros.
14811
1c87aba0
L
148122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14813
14814 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14815 code so that pseudo_end is just ret and the stack pointer is
14816 correct also for static library in error case.
14817
40e45bd5
JM
148182012-05-23 Joseph Myers <joseph@codesourcery.com>
14819
c2670533
JM
14820 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14821 move to syscalls.list.
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14826
40e45bd5
JM
14827 * manual/install.texi (Running make install): Do not mention Linux
14828 kernel version for which pt_chown is not needed.
14829 (Linux): Do not mention problems with nscd with 2.0 kernels.
14830 * INSTALL: Regenerated.
14831
be08eda5
AJ
148322012-05-23 Andreas Jaeger <aj@suse.de>
14833
14834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14835 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14836 macro.
14837 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14838 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14839 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14841 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14844 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14845 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14847 * sysdeps/unix/sysv/linux/bits/in.h
14848 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14849
a6a056bb
RM
148502012-05-22 Roland McGrath <roland@hack.frob.com>
14851
14852 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14853 (PREPARE_VERSION): Just use assert instead, it will be elided
14854 under [NDEBUG] anyway.
14855
c9009328
L
148562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14857
14858 * sysdeps/unix/sysv/linux/Makefile: Include
14859 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14860 (sysdep_routines): Remove sysctl.
c9009328
L
14861 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14862 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14863 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14864 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14865 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14866
73338355
AJ
148672012-05-22 Andreas Jaeger <aj@suse.de>
14868
14869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14870 that pseudo_end is just ret and the stack pointer is correct also
14871 for static library in error case.
14872
d44638b0
PP
148732012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14874
14875 [BZ #14122]
14876 * nss/nsswitch.c (defconfig_entries): New variable.
14877 (__nss_database_lookup): Don't leak defconfig entries.
14878 (nss_parse_service_list): Don't leak on error paths.
14879 (free_database_entries): New function.
14880 (free_defconfig): New function.
14881 (free_mem): Move common code to free_database_entries.
14882
31a39bd8
L
148832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14884
da0331a8
L
14885 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14886 Add arch_prctl.
14887 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14888
31a39bd8
L
14889 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14890 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14892 New macro.
14893 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14894 (INTERNAL_SYSCALL_TYPES): Likewise.
14895 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14896 (LOAD_REGS_TYPES_[1-6]): Likewise.
14897 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14898 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14899
45470df3
AZ
149002012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14901
14902 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14903 copysignl for GLIBC_2_0.
14904 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14905 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14907 logbl for GLIBC_2_0.
14908 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14909 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14910
98a61bcb
L
149112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14912
a4f6e481
L
14913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14914 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14915
f63d5db6
L
14916 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14917 Use "neg %eax".
14918
98a61bcb
L
14919 * time/mktime.c: Update copyright years.
14920
95770f14
PE
149212012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14922
6226efbd
PE
14923 mktime: merge comment-quoting-style change from gnulib
14924 * time/mktime.c: Quote 'like this' in comments.
14925 The GNU coding standards suggest that we no longer quote `like this',
14926 as "`" and "'" are typically rendered asymmetrically nowadays.
14927 The typical gnulib style is to quote 'like this' when quoting
14928 code, and "like this" when quoting English.
14929
b99e4f78
PE
14930 * time/mktime.c (compile-command): Add "-I.".
14931
643e01e6
PE
14932 mktime: merge mktime-internal.h change from gnulib
14933 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14934
2554247d
PE
14935 mktime: merge time_r change from gnulib
14936 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14937
826dd0ab
PE
14938 mktime: merge DEBUG change from gnulib
14939 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14940 case system <time.h> has a #define.
14941
bd83aabe
PE
14942 mktime: merge <sys/types.h> change from gnulib
14943 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14944 since <time.t> is now guaranteed to define time_t.
14945
95770f14
PE
14946 mktime: merge HAVE_CONFIG_H change from gnulib
14947 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14948
5e1a27a9
L
149492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14950
0e44a77e
L
14951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14952 Use "neg %eax".
14953
5e1a27a9
L
14954 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14955 __rlim_t cast.
14956 (struct rusage): Use anonymous union to pad each field to
14957 __syscall_slong_t.
14958
46259bec
DM
149592012-05-21 David S. Miller <davem@davemloft.net>
14960
14961 * Makefules (o-iterator): Remove .s cases.
14962 (compile-command.s): Delete.
14963 (COMPILE.s): Delete.
14964 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14965
59f0c22e
JM
149662012-05-21 Joseph Myers <joseph@codesourcery.com>
14967
14968 * configure.in (libc_cv_predef_stack_protector): Only consider
14969 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14970 * configure: Regenerated.
14971
20c07380
L
149722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14973
bbb3154b
L
14974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14975 New macro. Use R*LP on int and pointer.
14976 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14977 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14978 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14979 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14980
20c07380
L
14981 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14982 [__WORDSIZE_TIME64_COMPAT32] instead of
14983 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14984 (struct utmp): Likewise.
14985 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14986 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14987 Renamed to ...
14988 (__WORDSIZE_TIME64_COMPAT32): This.
14989 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14990 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14991 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14992 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14993 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14994 (__WORDSIZE_TIME64_COMPAT32): New macro.
14995
d8d1017e
AJ
149962012-05-21 Andreas Jaeger <aj@suse.de>
14997
14998 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14999 only if [SHARED]. Add prototype for __wcschr_ia32.
15000
6c7fb145
RM
150012012-05-21 Roland McGrath <roland@hack.frob.com>
15002
15003 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15004 of %rbp unmolested in the jmp_buf while mangling the low bits.
15005 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15006 unmolested high bits of %rbp while demangling the low bits.
15007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15008
66274218
AJ
150092012-05-21 Andreas Jaeger <aj@suse.de>
15010
07c58f8f
AJ
15011 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15012 * sunrpc/svc_simple.c: Use it for registerrpc.
15013 * sunrpc/xcrypt.c: Use it for passwd2des.
15014
66274218
AJ
15015 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15016
61f65140
L
150172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15018
15019 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15020 Don't define if [__SYSCALL_WORDSIZE != 32].
15021 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15022 New macro.
15023
5fefb436
AJ
150242012-05-21 Bruno Haible <bruno@clisp.org>
15025 Andreas Jaeger <aj@suse.de>
15026
15027 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15028 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15029 inptr and inend for must_buffer_ch.
15030 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15031 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15032 * stdio-common/Makefile (tests): Remove bug15.
15033 (bug15-ENV): Remove macro.
15034 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15035 anymore.
15036
d8e272ab
AJ
150372012-05-19 Andreas Jaeger <aj@suse.de>
15038 Roland McGrath <roland@hack.frob.com>
15039
15040 * manual/contrib.texi: Completely rewritten. It contains now an
15041 alphabetical list of contributors and their contributions.
15042
4a56a162
RH
150432012-05-21 Richard Henderson <rth@twiddle.net>
15044
15045 * misc/getauxval.c (__getauxval): Use unsigned long int.
15046 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15047 (getauxval): Use unsigned long int.
15048
d024d23c
L
150492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15050
15051 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15052
cbc00a03
RM
150532012-05-21 Roland McGrath <roland@hack.frob.com>
15054
15055 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15056 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15057 __alignof__ (long double).
15058
478143fa
AZ
150592012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15060
15061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15062
c7683a6d
RH
150632012-05-20 Richard Henderson <rth@twiddle.net>
15064
15065 * misc/getauxval.c: New file.
15066 * misc/sys/auxv.h: New file.
15067 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15068 (routines): Add getauxval.
15069 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15070 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15071 * elf/dl-sysdep.c (_dl_auxv): Remove.
15072 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15073 * elf/dl-support.c (_dl_auxv): New variable.
15074 (_dl_aux_init): Initialize it.
15075 * manual/startup.texi (Auxiliary Vector): New node.
15076 * sysdeps/generic/bits/hwcap.h: New file.
15077 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15078 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15079 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15080 * sysdeps/sparc/sysdep.h: ... here. Include it.
15081 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15084 Update.
c7683a6d
RH
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15093
a6f1845d
AZ
150942012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15095
15096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15097
cbcbe830
DM
150982012-05-19 David S. Miller <davem@davemloft.net>
15099
15100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15101
e0b16cc2
JM
151022012-05-19 Joseph Myers <joseph@codesourcery.com>
15103
15104 [BZ #14123]
15105 * math/s_ccosh.c: Include <float.h>
15106 (__ccosh): Avoid internal overflow calculating sinh and cosh
15107 values before multiplying by sin and cos values.
15108 * math/s_ccoshf.c: Likewise.
15109 * math/s_ccoshl.c: Likewise.
15110 * math/s_csin.c: Likewise.
15111 * math/s_csinf.c: Likewise.
15112 * math/s_csinl.c: Likewise.
15113 * math/s_csinh.c: Likewise.
15114 * math/s_csinhf.c: Likewise.
15115 * math/s_csinhl.c: Likewise.
15116 * math/libm-test.inc (ccos_test): Add more tests.
15117 (ccosh_test): Likewise.
15118 (csin_test): Likewise.
15119 (csinh_test): Likewise.
15120 * sysdeps/i386/fpu/libm-test-ulps: Update.
15121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15122
6ad13e08
L
151232012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15124
f66f0ce8
L
15125 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15126 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15127
6ad13e08
L
15128 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15129
b1d072a7
JM
151302012-05-19 Joseph Myers <joseph@codesourcery.com>
15131
15132 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15133 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15134 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15135 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15136 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15137 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15138 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15139 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15140 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15141 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15142 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15143 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15144 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15145 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15146 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15147 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15148 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15149 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15150 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15151 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15152 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15153 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15154 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15155 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15156 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15157 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15158 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15159 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15160 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15161 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15162 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15163
9eae47cb
AJ
151642012-05-18 Andreas Jaeger <aj@suse.de>
15165
15166 * csu/.gitignore: Delete.
15167
bb07f69f
L
151682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15169
15170 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15171 (timex): Use __syscall_slong_t.
15172
e6bdb741
AJ
151732012-05-18 Andreas Jaeger <aj@suse.de>
15174 Carlos O'Donell <carlos_odonell@mentor.com>
15175
15176 * manual/install.texi (Configuring and compiling): Update
15177 description about files modified in the source directory.
d6c33fda 15178 * INSTALL: Regenerated.
e6bdb741 15179
1b74487e
L
151802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15181
15182 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15183 value. Use "or" to set return value to -1.
15184 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15185 negate return value.
15186
a88b64b9
TMQMF
151872012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15188
15189 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15190 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15191 failure if the compiler has Graphite support disabled.
15192 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15193 Likewise.
15194 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15195 CFLAGS-memmove.c): Likewise.
15196 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15197 Likewise.
15198
3707636e
L
151992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15200
610b8622
L
15201 * sysdeps/x86_64/x32/_itoa.h: New file.
15202
7cd195df
L
15203 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15204 getdents system call only if kernel and user dirents have the
15205 same d_ino and d_off.
15206
94b07d20
L
15207 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15208 LLONG_MAX != LONG_MAX.
15209 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15210 (_fitoa_word): Likewise.
15211
18298070
L
15212 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15213 years.
15214 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15215 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15216 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15217
553c7ea4
L
15218 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15219 include <bits/wordsize.h>. Check __x86_64__ instead of
15220 __WORDSIZE.
15221 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15222 if __x86_64__ is defined. Use anonymous union on fpstate.
15223
3707636e
L
15224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15225 anonymous union.
15226
b53ef01a
AS
152272012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15228
37fb1dc0
AS
15229 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15230 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15231 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15232 Refer to _rtld_local_ro instead of _rtld_global_ro.
15233 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15234 Likewise.
15235 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15236 Likewise.
15237 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15238 Likewise.
15239 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15240 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15241 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15242
b53ef01a
AS
15243 * sysdeps/powerpc/powerpc32/dl-machine.c
15244 (__elf_machine_runtime_setup) [PROF]: Don't reference
15245 _dl_prof_resolve.
15246
7a185db2
AJ
152472012-05-18 Andreas Jaeger <aj@suse.de>
15248
15249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15250 function only available for GCCs before 3.4 since GCC 3.4
15251 introduced a builtin.
15252 (lrint): Likewise.
15253 (llrintf): Likewise.
15254 (llrint): Likewise.
15255 (fmaxf): Likewise.
15256 (fmax): Likewise.
15257 (fminf): Likewise.
15258 (fmin): Likewise.
15259 (rint): Likewise.
15260 (rintf): Likewise.
15261 (nearbyint): Likewise.
15262 (nearbyintf): Likewise.
15263 (ceil): Likewise.
15264 (ceilf): Likewise.
15265 (floor): Likewise.
15266 (floorf): Likewise.
15267
3e5aef87
L
152682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15269
428bd707
L
15270 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15271 on both fields and cast pointer to __syscall_ulong_t.
15272
3e5aef87
L
15273 * bits/types.h (__fsword_t): New type.
15274 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15275 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15276 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15277 (__FSWORD_T_TYPE): Likewise.
15278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15279 (__FSWORD_T_TYPE): Likewise.
15280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15281 (__FSWORD_T_TYPE): Likewise.
15282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15283 (__FSWORD_T_TYPE): Likewise.
15284 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15285 __SWORD_TYPE with __fsword_t.
15286 (statfs64): Likewise.
15287
1ba7c3dc
DM
152882012-05-17 David S. Miller <davem@davemloft.net>
15289
15290 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15291
59910343
AJ
152922012-05-17 Andreas Jaeger <aj@suse.de>
15293
15294 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15295 warning.
15296
2e4c1e9e
L
152972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15300
de7f5ce7
AJ
153012012-05-17 Andreas Jaeger <aj@suse.de>
15302
15303 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15304 when it is used.
15305
286abc3d
CM
153062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15307
15308 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15309
477cc68e
L
153102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15311
15312 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15313 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15314
1a0994f5
CD
153152012-05-17 Andreas Jaeger <aj@suse.de>
15316 Carlos O'Donell <carlos_odonell@mentor.com>
15317
15318 [BZ #14059]
15319 * sysdeps/x86_64/multiarch/init-arch.h
15320 (bit_YMM_Usable): Rename to...
15321 (bit_AVX_Usable): ... this.
15322 (bit_FMA4_Usable): New macro.
15323 (bit_XMM_state): New macro.
15324 (bit_YMM_state): New macro.
15325 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15326 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15327 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15328 (CPUID_OSXSAVE): New macro.
15329 (CPUID_AVX): New macro.
15330 (CPUID_FMA4): New macro.
15331 (index_YMM_Usable): Rename to...
15332 (index_AVX_Usable): ... this.
15333 (HAS_AVX): Use HAS_ARCH_FEATURE.
15334 (HAS_FMA4): Likewise.
15335 (HAS_YMM_USABLE): Remove.
15336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15337 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15338 are present.
15339 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15340 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15341 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15342 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15343 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15344
0af797de
CM
153452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15346
15347 * math/libm-test.c: Support platforms without multiple rounding modes.
15348 * math/bug-nextafter.c: Support platforms without FP exceptions.
15349 * math/bug-nexttoward.c: Likewise.
15350 * math/test-fenv.c: Likewise.
15351 * math/test-misc.c: Likewise.
15352 * stdlib/bug-getcontext.c: Likewise.
15353
e39745ff
AJ
153542012-05-17 Andreas Jaeger <aj@suse.de>
15355
15356 * manual/examples/search.c (critter_cmp): Change signature to
15357 avoid warnings.
15358 * manual/string.texi (Collation Functions): Likewise.
15359
48970aba
L
153602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15361
15362 * bits/types.h: Fold copyright years.
15363 * bits/typesizes.h: Likewise.
15364 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15368 * time/time.h: Likewise.
15369
bedee953
PP
153702012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15371
15372 [BZ #208]
15373 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15374 in instead of returning them. Return void.
15375 (__libc_mallinfo): Accumulate over all arenas.
15376 (__malloc_stats): Adjust for change in int_mallinfo interface.
15377
61653dfb
RM
153782012-05-16 Roland McGrath <roland@hack.frob.com>
15379
30b99d79
RM
15380 [BZ #10375]
15381 * configure.in (NM): Add AC_CHECK_TOOL for it.
15382 (libc_extra_cflags): New substituted variable.
15383 Check for -fstack-protector being used implicitly.
15384 * configure: Regenerated.
15385 * config.make.in (config-extra-cflags): New variable,
15386 gets @libc_extra_cflags@.
15387 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15388
61653dfb
RM
15389 [BZ #10375]
15390 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15391 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15392 * configure: Regenerated.
15393 * config.make.in (CPPUNDEFS): New substituted variable.
15394 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15395 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15396 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15397
661768bb
L
153982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15401 (mq_attr): Use __syscall_slong_t.
15402
d4261567
L
154032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15406 Check __x86_64__ instead of __WORDSIZE.
15407 (_STAT_VER_LINUX): Likewise.
15408 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15409 __syscall_ulong_t and __syscall_slong_t.
15410 (stat64): Likewise.
15411
cf3ff365
L
154122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15413
15414 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15415
76cf3e4d
L
154162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15417
15418 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15419
a637753a
L
154202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15421
15422 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15423 __syscall_ulong_t.
15424
d5e05119
L
15425 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15426 include <bits/wordsize.h>. Check __x86_64__ instead of
15427 __WORDSIZE.
15428 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15429 defined.
15430 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15431
f62ee380
L
15432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15433 include <bits/wordsize.h>. Check __x86_64__ instead of
15434 __WORDSIZE.
15435 (user_regs_struct): Use "__extension__ unsigned long long"
15436 instead of "unsigned long" if __x86_64__ is defined.
15437 (user): Likewise. Pad after pointer field if __ILP32__ is
15438 defined.
15439
4e124ced
JM
154402012-05-16 Joseph Myers <joseph@codesourcery.com>
15441
6a3951a0
JM
15442 * configure.in (makeinfo): Require version 4.5 or later. Allow
15443 versions 5 to 9.
15444 * configure: Regenerated.
15445 * manual/install.texi (texinfo): Increase version requirement to
15446 4.5 or later.
15447 * INSTALL: Regenerated.
15448
4e124ced
JM
15449 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15450
953ca31a
L
154512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15452
15453 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15454
617aca05
L
15455 * sysdeps/x86_64/x32/ffs.c: New file.
15456
5762f7ae
L
15457 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15458 __syscall_ulong_t.
15459 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15460 defined. Use __syscall_ulong_t.
15461 (shminfo): Use __syscall_ulong_t.
15462 (shm_info): Likewise.
15463
a26b6856
L
15464 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15465 __syscall_ulong_t.
15466
cb2b9ef7
L
15467 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15468 <bits/wordsize.h>.
15469 (msgqnum_t): Use __syscall_ulong_t.
15470 (msglen_t): Likewise.
15471 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15472 __syscall_ulong_t.
15473
34683bb0
L
15474 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15475 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15476
84a68786
L
15477 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15478
48baa5f1
L
15479 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15480 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15481
180be88b
L
15482 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15483 __syscall_slong_t.
15484
5e90c8ad
L
15485 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15486 include <bits/wordsize.h>. Check __x86_64__ instead of
15487 __WORDSIZE.
15488
23dfb58b
L
15489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15490 "unsigned long long int" if __x86_64__ is defined.
15491 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15492
ce5d54b0
L
15493 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15494 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15495 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15496
13dc9eac
L
15497 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15498 <stdint.h>.
15499 (GET_PC): Cast to uintptr_t first.
15500 (GET_FRAME): Likewise.
15501 (GET_STACK): Likewise.
15502
a7895d15
L
15503 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15504 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15505 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15506 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15507 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15508 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15509 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15510 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15511 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15512 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15514 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15515 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15517 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15518 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15519 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15520 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15521 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15522 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15524 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15526 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15528 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15529 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15532
656416c9
AS
155332012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15534
5bd66283
AS
15535 * Makerules (+depfiles): Also collect depfiles from .oS in
15536 $(extra-objs).
15537 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15538 .oS, $(libnldbl-routines)).
15539
656416c9
AS
15540 * Makerules (native-compile-mkdep-flags): Define.
15541 * sunrpc/Makefile (extra-objs): Add $(addprefix
15542 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15543 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15544 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15545 calling $(make-target-directory).
15546
a46f2169
L
155472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15548
15549 * bits/types.h (__snseconds_t): Removed.
15550 * time/time.h (struct timespec): Replace __snseconds_t with
15551 __syscall_slong_t.
15552 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15553 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15554 Likewise.
15555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15556 (__SNSECONDS_T_TYPE): Likewise.
15557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15558 (__SNSECONDS_T_TYPE): Likewise.
15559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15560 (__SNSECONDS_T_TYPE): Likewise.
15561
6af6528b
L
155622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15563
15564 * sysdeps/mach/hurd/bits/typesizes.h
15565 (__SYSCALL_SLONG_TYPE): New macro.
15566 (__SYSCALL_ULONG_TYPE): Likewise.
15567
de986b56
L
155682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 * bits/types.h (__syscall_slong_t): New type.
15571 (__syscall_ulong_t): Likewise.
15572
15573 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15574 (__SYSCALL_ULONG_TYPE): Likewise.
15575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15576 (__SYSCALL_SLONG_TYPE): Likewise.
15577 (__SYSCALL_ULONG_TYPE): Likewise.
15578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15579 (__SYSCALL_SLONG_TYPE): Likewise.
15580 (__SYSCALL_ULONG_TYPE): Likewise.
15581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15582 (__SYSCALL_SLONG_TYPE): Likewise.
15583 (__SYSCALL_ULONG_TYPE): Likewise.
15584
85736dc7
L
155852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15586
15587 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15588 Add sigaltstack-offsets.sym.
15589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15590 <sigaltstack-offsets.h>.
15591 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15592 longjmp_msg pointer.
15593 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15594 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15595 signal stack.
15596 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15597
cc03b296
JM
155982012-05-15 Joseph Myers <joseph@codesourcery.com>
15599
a9538892
JM
15600 * elf/stackguard-macros.h: Remove file.
15601 * sysdeps/generic/stackguard-macros.h: New file.
15602 * sysdeps/i386/stackguard-macros.h: Likewise.
15603 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15604 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15605 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15606 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15607 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15608 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15609 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15610 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15611 <elf/stackguard-macros.h>.
15612
cc03b296
JM
15613 [BZ #14109]
15614 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15615 __aligned__ in attribute.
15616 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15617 (gregset_t): Likewise.
15618
93171016
L
156192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15620
15621 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15622 * sysdeps/x86_64/64/Implies-after: Here. New file.
15623 * sysdeps/x86_64/x32/Implies-after: New file.
15624
d86813a0
L
156252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15626
15627 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15628 and access return value for _dl_profile_fixup. Use R10_LP to
15629 load frame size.
15630
2953ec75
L
156312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15632
15633 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15634
3b550e9e
L
156352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15636
15637 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15638 * sysdeps/x86_64/x32/sysdep.h: New file.
15639
eda41706
L
156402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15641
15642 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15643 * sysdeps/x86_64/setjmp.S: Likewise.
15644
9ea01d93
AZ
156452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646
15647 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15649 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15650 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15651 remove unused global constant.
15652
02a91938
CM
156532012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15654
15655 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15656 include of <not-cancel.h>.
15657
6540185f
RM
156582012-05-15 Roland McGrath <roland@hack.frob.com>
15659
15660 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15661
509072a0
AJ
156622012-05-15 Jeff Law <law@redhat.com>
15663 Andreas Jaeger <aj@suse.de>
15664
15665 [BZ #13594]
15666 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15667 out from...
15668 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15669 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15671 code changing __hst_map_handle.map.
15672
ba75122d
RM
156732012-05-15 Roland McGrath <roland@hack.frob.com>
15674
15675 * configure.in (sysnames): Look for Implies-before and Implies-after
15676 files.
15677 * configure: Regenerated.
15678
890d8bd8
L
156792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15680
15681 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15682 8-byte data alignment with LP_SIZE alignment.
15683
f6ee6623
L
156842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15685
15686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15687 into R10_LP.
15688
ea2626f6
L
156892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15690
15691 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15692
085f715e
L
156932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15694
15695 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15696 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15700
be8498fc
L
157012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15702
15703 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15704 (stackinfo_sub_sp): Likewise.
15705
70bc83b9
L
157062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15707
15708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15709 RAX_LP.
15710
9bc0b730
L
157112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15714 into R*_LP.
15715
6d2850e7
L
157162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15717
15718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15719 sizes into R*_LP.
15720
3cb84561
L
157212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15722
15723 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15724
54e2ed81
L
157252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15728 into R11_LP and load __x86_64_shared_cache_size_half into
15729 R8_LP.
15730
8a17f349
L
157312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15732
15733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15734 R8_LP.
15735
777b1eea
AZ
157362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737
15738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15739 logb for POWER7.
15740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15741 logbf for POWER7.
15742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15743 logbl for POWER7.
15744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15745 powerpc32/power7/fpu/s_logb.c via #include.
15746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15747 powerpc32/power7/fpu/s_logbf.c via #include.
15748 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15749 powerpc32/power7/fpu/s_logbl.c via #include.
15750
d20d4ac2
JM
157512012-05-15 Joseph Myers <joseph@codesourcery.com>
15752
15753 * README.libm: Remove file.
15754
6cdef1ab
L
157552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15756
15757 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15758 count for x32. Use R*_LP and omit operand-size suffix.
15759
0b254d8f
L
157602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15761
15762 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15763 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15764 * sysdeps/x86_64/x32/shlib-versions: New file.
15765
ceb809dc
RM
157662012-05-14 Roland McGrath <roland@hack.frob.com>
15767
15768 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15769 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15770 Use _dl_fatal_printf instead.
15771
37f1abd4
JM
157722012-05-14 Joseph Myers <joseph@codesourcery.com>
15773
15774 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15775 set if not set by the user. Do not allow for being unset.
15776 * sysdeps/unix/sysv/linux/configure: Regenerated.
15777
11de3a33
L
157782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15779
15780 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15781 the `q' suffix from lea and replace .quad with ASM_ADDR.
15782
e02f153a
L
157832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15784
15785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15786 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15787 instead of $17.
15788 (PTR_DEMANGLE): Likewise.
15789
520ae0fd
L
157902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15791
15792 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15793 (LP_OP): Likewise.
15794 (ASM_ADDR): Likewise.
15795 (RAX_LP): Likewise.
15796 (RBP_LP): Likewise.
15797 (RBX_LP): Likewise.
15798 (RCX_LP): Likewise.
15799 (RDI_LP): Likewise.
15800 (RSI_LP): Likewise.
15801 (RSP_LP): Likewise.
15802 (R8_LP): Likewise.
15803 (R9_LP): Likewise.
15804 (R10_LP): Likewise.
15805 (R10_LP): Likewise.
15806 (R11_LP): Likewise.
15807 (R12_LP): Likewise.
15808 (R13_LP): Likewise.
15809 (R14_LP): Likewise.
15810 (R15_LP): Likewise.
15811
b985be81
L
158122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15813
15814 * sysdeps/x86_64/x32/dl-machine.h: New file.
15815
6a4888ff
AJ
158162012-05-14 Andreas Jaeger <aj@suse.de>
15817
15818 * manual/Makefile (subdir): Remove export of subdir.
15819 (all): Remove target.
15820 (.PHONY): Remove all from list.
15821 (mkinstalldirs): Remove.
15822 (.PHONY): Remove installdirs from list.
15823 ($(inst_infodir)/libc.info): Use make-target-directory.
15824 (installdirs): Remove.
15825 (subdir_%): Remove.
15826 (glibc-targets): Remove.
15827 (lib): Remove.
15828 (stubs): Remove.
15829 ($(objpfx)stubs ../po/manual.pot): Remove.
15830 ($(objpfx)stamp%): Remove.
15831 (make-target-directory): Remove.
15832 (subdir_install): Remove.
15833 (routines): Remove.
15834 (aux): Remove.
15835 (sources): Remove.
15836 (objects): Remove.
15837 (headers): Remove.
15838
15839 [BZ #13750]
15840 * manual/.gitignore: Remove, it's not needed anymore.
15841 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15842 all files in it.
15843 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15844 directory.
15845 (texis): Renamed to $(objpfx)texis.
15846 (texis-path): New, contains path to generated files.
15847 (chapters.%): Use texis-path for complete path, add extra argument
15848 libc-texinfo.sh.
15849 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15850 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15851 (summary,texi, stamp-summary): Use complete path of
15852 files. Generate files in build dir.
15853 (dir-add.texi): Build in build dir.
15854 (libm-err.texi,stamp-libm-err): Likewise.
15855 (version.texi, stamp-version): Likewise.
15856 (.%c.texi): Likewise.
15857 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15858 (mostlyclean): Remove target.
15859 (realclean): Remove target.
15860 (generated): Add new variable with contents from mostlyclean and
15861 realclean, remove entries duplicated in common-mostlyclean, add
15862 stamp-libm-err and stamp-version.
15863 (generated-dirs): Add libc directory.
15864 ($(inst_infodir)/libc.info): Install files from build dir.
15865
15866 * manual/install.texi (Configuring and compiling): Adjust since
15867 the info files are not part of the tar ball anymore.
15868
7ac77294
AJ
158692012-05-14 Andreas Jaeger <aj@suse.de>
15870
15871 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15872 variable.
15873
ffb7875d
JM
158742012-05-14 Joseph Myers <joseph@codesourcery.com>
15875
15876 [BZ #13717]
15877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15878 to 2.2.0 where earlier.
15879 * sysdeps/unix/sysv/linux/configure: Regenerated.
15880 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15881 Remove conditional code.
15882 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15883 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15884 Remove conditional code.
15885 [!__NR_lchown]: Likewise.
15886 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15887 [__NR_lchown]: Likewise.
15888 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15889 comment referencing __ASSUME_LCHOWN_SYSCALL.
15890 * sysdeps/unix/sysv/linux/i386/sigaction.c
15891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15893 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15894 Remove conditional code.
15895 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15896 (__protocol_available): Remove #if 0 code.
15897 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15898 conditional code.
15899 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15900 * sysdeps/unix/sysv/linux/kernel-features.h
15901 (__ASSUME_GETCWD_SYSCALL): Don't define.
15902 (__ASSUME_REALTIME_SIGNALS): Likewise.
15903 (__ASSUME_PREAD_SYSCALL): Likewise.
15904 (__ASSUME_PWRITE_SYSCALL): Likewise.
15905 (__ASSUME_POLL_SYSCALL): Likewise.
15906 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15907 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15908 non-SPARC.
15909 (__ASSUME_SIOCGIFNAME): Don't define.
15910 (__ASSUME_MSG_NOSIGNAL): Likewise.
15911 (__ASSUME_SENDFILE): Define unconditionally.
15912 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15913 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15914 conditional code.
15915 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15916 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15917 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15918 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15919 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15920 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15921 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15923 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15924 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15926 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15927 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15929 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15932 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15935 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15938 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15939 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15941 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15944 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15945 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15946 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15947 Remove conditional code.
15948 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15949 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15950 Remove conditional code.
15951 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15952 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15953 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15954 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15955 Remove conditional code.
15956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15957 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15958 Remove conditional code.
15959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15960 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15961 Remove conditional code.
15962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15963 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15964 Remove conditional code.
15965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15966 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15967 Remove conditional code.
15968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15969 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15970 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15971 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15972 * sysdeps/unix/sysv/linux/sigaction.c
15973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15975 * sysdeps/unix/sysv/linux/sigpending.c
15976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15978 * sysdeps/unix/sysv/linux/sigprocmask.c
15979 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15980 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15981 * sysdeps/unix/sysv/linux/sigsuspend.c
15982 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15983 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15984 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15985 (__libc_missing_rt_sigs): Remove.
15986 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15987 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15988 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15989 Remove conditional code.
15990 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15991 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15992 return 1.
15993 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15994 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15995 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15996 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15997
1bfb7291
AJ
159982012-05-14 Andreas Jaeger <aj@suse.de>
15999
caae5a81
AJ
16000 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16001 it's not used in glibc.
16002 (__coshm1): Likewise.
16003 (__acosh1p): Likewise.
16004 (__sgn): Likewise.
16005
1bfb7291
AJ
16006 * manual/string.texi (Copying and Concatenation): Add missing
16007 variable in concat example.
16008 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16009
c044d724
L
160102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16011
144c5467 16012 [BZ #14103]
c044d724
L
16013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16014 __builtin_clzl with __builtin_clzll.
16015
2523c62b
L
160162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16017
16018 [BZ #14104]
16019 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16020 libc_freeres_ptr.
16021
d7bb4c42
LD
160222012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16023
16024 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16025 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16026 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16027 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16028
9dc4e1fb
MF
160292012-05-14 Mike Frysinger <vapier@gentoo.org>
16030
16031 * NEWS: Update ia64 info.
16032
c7df0112
AS
160332012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16034
16035 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16036 used as bcopy.
16037
dc70356c
TS
160382012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16039
16040 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16041 * sysdeps/unix/syscalls.list (dup3): Likewise.
16042 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16043 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16044
9fb1a21f
L
160452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16046
16047 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16048 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16049
4822a2a5
L
160502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16051
16052 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16053 thread pointer.
16054 (TLS_IE): Use mov/add instead of movq/addq to load thread
16055 pointer.
16056 (TLS_GD_PREFIX): New.
16057 (TLS_GD): Use it.
16058
842b81d6
DM
160592012-05-11 David S. Miller <davem@davemloft.net>
16060
16061 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16062 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16063 (_FPU_SETCW): Likewise.
16064
1cf463cd
L
160652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16066
16067 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16068 is 32-byte aligned.
16069
60cc4a18
AS
160702012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16071
16072 [BZ #11837]
16073 * iconvdata/gb18030.c: Update tables.
16074 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16075 characters specially.
16076 (BODY for TO_LOOP): Add encoding of missing ranges.
16077
febb44a4
TS
160782012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16079
16080 [BZ #13673]
16081 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16082 * sysdeps/mach/hurd/dup3.c: Likewise.
16083 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16084 * sysdeps/powerpc/memmove.c:: Likewise.
16085
0a10fb9e
L
160862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16087
16088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16089 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16090
df8a552f
L
160912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16092
16093 * elf/elf.h (R_X86_64_RELATIVE64): New.
16094 (R_X86_64_NUM): Updated.
16095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16096 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16097 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16098 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16099 tst-quad1pie tst-quad2pie
16100 (modules-names): Add tst-quadmod1 tst-quadmod2.
16101 ($(objpfx)tst-quad1): New dependency.
16102 ($(objpfx)tst-quad2): Likewise.
16103 ($(objpfx)tst-quad1pie): Likewise.
16104 ($(objpfx)tst-quad2pie): Likewise.
16105 * sysdeps/x86_64/tst-quad1.c: New file.
16106 * sysdeps/x86_64/tst-quad1pie.c: New file.
16107 * sysdeps/x86_64/tst-quad2.c: Likewise.
16108 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16109 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16110 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16111 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16112 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16113
f34d6f84
ST
161142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16115
f42d41d1
ST
16116 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16117 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16118 * streams/stropts.h (t_scalar_t): Define type.
16119
3c3571fc
ST
16120 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16121 (_PATH_PRESERVE): Set to "/var/lib".
16122 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16123
61f06bd3
ST
16124 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16125 instead of int.
16126
918d4d71
ST
16127 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16128 if __dir_mkfile succeeded.
16129
f34d6f84
ST
16130 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16131 checking for _hurd_dtablesize. Unlock it right after having
16132 finished _hurd_dtable allocation.
16133
10589b4a
TS
161342012-05-10 Thomas Schwinge <thomas@schwinge.name>
16135
674cdbc7
TS
16136 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16137 * sysdeps/mach/hurd/configure: Regenerated.
16138 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16139 special-casing to...
16140 * sysdeps/gnu/configure.in: ... this new file.
16141 * sysdeps/unix/sysv/linux/configure: Regenerated.
16142 * sysdeps/gnu/configure: New generated file.
16143
8e41b99f
TS
16144 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16145 for Linux: use nsec instead of usec, as well as:
16146 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16147 members of type struct timespec.
16148 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16149 New macros.
16150 (struct stat64): Likewise.
16151 (_STATBUF_ST_NSEC): New macro.
16152 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16153
10589b4a
TS
16154 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16155 __strtoul_internal rather than strtoul.
16156
63643c85
PT
161572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16158
16159 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16160 and reject them.
16161
3faebe6a
ST
161622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16163
16164 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16165 which preserves existing values.
16166 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16167
c6474b07
PT
161682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16169
16170 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16171 TIMEOUT values. Return EINVAL for NFDS values either negative or
16172 greater than FD_SETSIZE.
16173
1043890b
ST
161742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16175
16176 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16177 allocated, call __vm_protect to finish enabling the existing space, and
16178 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16179 allocate the remainder.
16180
37ed8b9b
PT
161812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16182
16183 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16184 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16185
db653660
ST
161862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16187
37ed8b9b
PT
16188 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16189 sysdeps/mach/hurd/readlink.c.
b29d4053 16190
db653660
ST
16191 * posix/tst-sysconf.c (posix_options): Only use
16192 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16193 _POSIX_SYNCHRONIZED_IO when they are defined
16194 * sysdeps/mach/hurd/bits/posix_opt.h:
16195 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16196 (_XOPEN_REALTIME): Undefine macro.
16197 (_XOPEN_REALTIME_THREADS): Undefine macro.
16198 (_XOPEN_SHM): Undefine macro.
16199 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16200 macro to -1.
16201 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16202 macro to -1.
16203 (_POSIX_ASYNC_IO): Undefine macro.
16204 (_POSIX_PRIORITIZED_IO): Undefine macro.
16205 (_POSIX_SPIN_LOCKS): Define macro to -1.
16206
ee16e894
ST
16207 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16208 SA_NODEFER, SA_RESETHAND.
16209 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16210 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16211 F_DUPFD_CLOEXEC.
16212
6103ae3b
TS
162132012-05-10 Thomas Schwinge <thomas@schwinge.name>
16214
16215 * elf/Makefile (pldd-modules): Define unconditionally.
16216
80b4e5f3
TS
162172012-05-10 Thomas Schwinge <thomas@schwinge.name>
16218
16219 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16220
edadcbd6
ST
162212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16222
16223 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16224 Return ENOENT when name is empty.
16225 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16226
80694780
TS
162272012-05-10 Thomas Schwinge <thomas@schwinge.name>
16228
1792c087
TS
16229 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16230
80694780
TS
16231 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16232
6b645f0d
ST
162332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16234
80694780
TS
16235 Fix mlock in all cases except non-readable pages.
16236 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16237 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16238
6b645f0d
ST
16239 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16240 (__mkdir): When path is `/', just fail with EEXIST.
16241 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16242
e468f8a3
TS
162432012-05-10 Thomas Schwinge <thomas@schwinge.name>
16244
16245 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16246 <sys/uio.h> (for writev).
16247 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16248 and <sys/param.h> (for MIN).
16249
a4186cff
PT
162502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16251
16252 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16253 REQUESTED_TIME. Properly set the remaining time and return EINTR
16254 if interrupted.
16255
510bbf14
TS
162562012-05-10 Thomas Schwinge <thomas@schwinge.name>
16257
16258 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16259 Depend on against $(link-rpcuserlibs).
16260
5d5722e8
ST
162612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16262
a4186cff
PT
16263 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16264 (__libc_stack_end): Do not use attribute_relro.
16265 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16266 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16267 to libthread-provided value.
a4186cff
PT
16268 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16269 attribute_relro.
5d5722e8 16270
37233df9
TS
162712012-05-10 Thomas Schwinge <thomas@schwinge.name>
16272
be971a2b
TS
16273 [BZ #3748]
16274 * bits/libc-lock.h (__libc_once_get): New macro.
16275 * sysdeps/mach/bits/libc-lock.h: Likewise.
16276 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16278 instead of using implementation details.
16279
37233df9
TS
16280 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16281 * libio/freopen.c: Likewise.
16282 * libio/freopen64.c: Likewise.
16283 * misc/syslog.c: Likewise.
16284 * nscd/connections.c: Likewise.
16285 * nscd/netgroupcache.c: Likewise.
16286 * sysdeps/posix/getcwd.c: Likewise.
16287
38de94a5
RM
162882012-05-10 Roland McGrath <roland@hack.frob.com>
16289
16290 * math/w_ilogbf.c: Add #include <limits.h>.
16291
67530489
ST
162922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16293
a4186cff 16294 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16295 path instead of returning without unlocking.
16296
67530489
ST
16297 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16298 immediate-write ioctls.
16299 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16300
5aa3a74a
TS
163012012-05-10 Thomas Schwinge <thomas@schwinge.name>
16302
18bad2ae
TS
16303 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16304 __builtin_frame_address instead of making assumptions about the
16305 location of the return address relative to DATA. Force early load of
16306 the return address.
16307 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16308 __builtin_frame_address.
16309
5aa3a74a
TS
16310 dup3 for GNU Hurd.
16311 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16312 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16313 implement dup3 and do some further code clean-ups.
16314 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16315 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16316
ecd0de9a
ST
163172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16318
cd9fa985
ST
16319 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16320
a4186cff
PT
16321 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16322 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16323 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16324 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16325 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16326 d->port.lock.
802ca5a5 16327
a4186cff
PT
16328 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16329 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16330 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16331
bcf55240
TS
163322012-05-10 Thomas Schwinge <thomas@schwinge.name>
16333
6960eb42
TS
16334 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16335 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16336 definitions.
16337
eb43375f
TS
16338 accept4 for GNU Hurd.
16339 * include/sys/socket.h (__libc_accept4): New prototype.
16340 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16341 to implement __libc_accept4.
16342 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16343 __libc_accept4.
16344 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16345
bcf55240
TS
16346 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16347 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16348 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16349 signal-defines.sym.
16350
6178c55b
ST
163512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16352
a4186cff 16353 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16354
6f080c2f
TS
163552012-05-10 Thomas Schwinge <thomas@schwinge.name>
16356
16357 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16358 assertion on O_CLOEXEC flag.
16359 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16360 * hurd/intern-fd.c: Likewise.
16361 * hurd/port2fd.c: Likewise.
16362
bcfe3a54
ST
163632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16364
16365 [BZ #3906]
16366 * bits/in.h (IPV6_PKTINFO): Define new macro.
16367 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16368
89c9aa49
AZ
163692012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16370
16371 [BZ #13954]
16372 [BZ #13955]
16373 [BZ #13956]
16374 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16376 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16377 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16379 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16380 * math/libm-test.inc (logb_test) : Additional logb tests.
16381
021db4be
AJ
163822012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16383 Andreas Jaeger <aj@suse.de>
16384
16385 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16386 * configure: Regenerated.
16387 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16388 * config.make.in (link-obsolete-rpc): New substituted variable.
16389 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16390 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16391 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16392 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16393 so that libc.a contains the symbols.
16394 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16395 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16396 * sunrpc/auth_none.c: Likewise.
16397 * sunrpc/auth_unix.c: Likewise.
16398 * sunrpc/authdes_prot.c: Likewise.
16399 * sunrpc/authuxprot.c: Likewise.
16400 * sunrpc/clnt_gen.c: Likewise.
16401 * sunrpc/clnt_perr.c: Likewise.
16402 * sunrpc/clnt_raw.c: Likewise.
16403 * sunrpc/clnt_simp.c: Likewise.
16404 * sunrpc/clnt_tcp.c: Likewise.
16405 * sunrpc/clnt_udp.c: Likewise.
16406 * sunrpc/clnt_unix.c: Likewise.
16407 * sunrpc/des_crypt.c: Likewise.
16408 * sunrpc/des_soft.c: Likewise.
16409 * sunrpc/get_myaddr.c: Likewise.
16410 * sunrpc/key_call.c: Likewise.
16411 * sunrpc/key_prot.c: Likewise.
16412 * sunrpc/netname.c: Likewise.
16413 * sunrpc/pm_getmaps.c: Likewise.
16414 * sunrpc/pm_getport.c: Likewise.
16415 * sunrpc/pmap_clnt.c: Likewise.
16416 * sunrpc/pmap_prot.c: Likewise.
16417 * sunrpc/pmap_prot2.c: Likewise.
16418 * sunrpc/pmap_rmt.c: Likewise.
16419 * sunrpc/publickey.c: Likewise.
16420 * sunrpc/rpc_cmsg.c: Likewise.
16421 * sunrpc/rpc_common.c: Likewise.
16422 * sunrpc/rpc_dtable.c: Likewise.
16423 * sunrpc/rpc_prot.c: Likewise.
16424 * sunrpc/rpc_thread.c: Likewise.
16425 * sunrpc/rtime.c: Likewise.
16426 * sunrpc/svc.c: Likewise.
16427 * sunrpc/svc_auth.c: Likewise.
16428 * sunrpc/svc_raw.c: Likewise.
16429 * sunrpc/svc_run.c: Likewise.
16430 * sunrpc/svc_tcp.c: Likewise.
16431 * sunrpc/svc_udp.c: Likewise.
16432 * sunrpc/svc_unix.c: Likewise.
16433 * sunrpc/svcauth_des.c: Likewise.
16434 * sunrpc/xcrypt.c: Likewise.
16435 * sunrpc/xdr.c: Likewise.
16436 * sunrpc/xdr_array.c: Likewise.
16437 * sunrpc/xdr_float.c: Likewise.
16438 * sunrpc/xdr_intXX_t.c: Likewise.
16439 * sunrpc/xdr_mem.c: Likewise.
16440 * sunrpc/xdr_rec.c: Likewise.
16441 * sunrpc/xdr_ref.c: Likewise.
16442 * sunrpc/xdr_sizeof.c: Likewise.
16443 * sunrpc/xdr_stdio.c: Likewise.
16444
b5c086a2
RM
164452012-05-10 Roland McGrath <roland@hack.frob.com>
16446
16447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16448 change. Update copyright years.
16449
6d74dd09
JM
164502012-05-10 Joseph Myers <joseph@codesourcery.com>
16451
16452 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16453
28e72501
MK
164542012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16455 Joseph Myers <joseph@codesourcery.com>
16456 Paul Pluzhnikov <ppluzhnikov@google.com>
16457
16458 [BZ #14012]
16459 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16460 requiring rpcgen.
16461 [cross-compiling] (extra-libs): Likewise.
16462 [cross-compiling] (extra-libs-others): Likewise.
16463 [cross-compiling] (librpcsvc-routines): Likewise.
16464 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16465 [cross-compiling] (omit-deps): Likewise.
16466 (sunrpc-CPPFLAGS): New variable.
16467 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16468 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16469 (cross-rpcgen-objs): New variable.
16470 (extra-objs): Append $(cross-rpcgen-objs).
16471 ($(cross-rpcgen-objs)): New rule.
16472 ($(objpfx)cross-rpcgen): Likewise.
16473 (rpcgen-cmd): Define to use $(built-program-file). Expand
16474 comment.
16475 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16476 ($(objpfx)x%.stmp): Likewise.
16477 * sunrpc/proto.h [IS_IN_build] (_): Define.
16478 [IS_IN_build] (_libc_intl_domainname): Likewise.
16479
c8c59454
L
164802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16481
16482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16483 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16484 and R_X86_64_TPOFF64.
16485
6f27cd16
JM
164862012-05-10 Joseph Myers <joseph@codesourcery.com>
16487
16488 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16489 sysdeps/unix/sysv/syscalls.list.
16490 (stime): Likewise.
16491 (utime): Likewise.
16492 * sysdeps/unix/sysv/syscalls.list: Remove file.
16493
02467e1c
PE
164942012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16495
16496 [BZ #3440]
16497 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16498 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16499 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16500 (__LC_IDENTIFICATION): Make these macros useful in #if
16501 expressions, as required by C99.
16502
da392631
AS
165032012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16504
16505 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16506 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16507 after this.
16508
8115f29b
L
165092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16510
16511 * stdlib/longlong.h: Updated from GCC.
16512
bdd74070
AJ
165132012-05-09 Andreas Jaeger <aj@suse.de>
16514
edfe0dbe
AJ
16515 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16516 default is first entry.
16517 (run_mode): Set type.
16518 (main): Remove informal message about syslog.
16519 (options): Fix typo.
16520
bcfe3a54
ST
16521 [BZ #14053]
16522 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 16523 to asm.
bcfe3a54
ST
16524 (lrint): Likewise.
16525 (llrintf): Likewise.
16526 (llrint): Likewise.
16527 (rint): Likewise.
16528 (rintf): Likewise.
16529 (nearbyint): Likewise.
16530 (nearbyintf): Likewise.
bdd74070 16531
91d8d69e
AJ
165322012-05-09 Andreas Jaeger <aj@suse.de>
16533 Pedro Alves <palves@redhat.com>
16534
16535 * nscd/nscd.c (run_mode): Use enum.
16536 (main): Cleanup coding style issue.
16537
bb90b80b
AJ
165382012-05-09 Alexandre Oliva <aoliva@redhat.com>
16539 Andreas Jaeger <aj@suse.de>
16540
bcfe3a54
ST
16541 * nscd/nscd.c (go_background): Replaced with...
16542 (run_mode): ... this.
bb90b80b 16543 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
16544 (options): Add -F --foreground.
16545 (main): Implement it.
16546 (parse_opt): Parse it.
bb90b80b 16547
1a4b75a1
AJ
165482012-05-09 Andreas Jaeger <aj@suse.de>
16549
16550 [BZ #14083]
16551 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16552 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16553 -Wconversion warning.
16554 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16555 Likewise.
16556
b1cc2472
JM
165572012-05-09 Joseph Myers <joseph@codesourcery.com>
16558
16559 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16560 == 0.
16561 (LC_ALL): Use macro-int-constant.
16562 (LC_COLLATE): Likewise.
16563 (LC_CTYPE): Likewise.
16564 (LC_MESSAGES): Likewise.
16565 (LC_MONETARY): Likewise.
16566 (LC_NUMERIC): Likewise.
16567 (LC_TIME): Likewise.
16568 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16569 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16571 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16572 Specify type.
16573 [C99-based standards] (float_t): Expect type.
16574 [C99-based standards] (double_t): Expect type.
16575 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16576 type.
16577 [C99-based standards] (HUGE_VALL): Likewise.
16578 [C99-based standards] (INFINITY): Likewise.
16579 [C99-based standards] (NAN): Likewise.
16580 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16581 [C99-based standards] (FP_NAN): Likewise.
16582 [C99-based standards] (FP_NORMAL): Likewise.
16583 [C99-based standards] (FP_SUBNORMAL): Likewise.
16584 [C99-based standards] (FP_ZERO): Likewise.
16585 [C99-based standards] (FP_FAST_FMA): Use
16586 optional-macro-int-constant. Specify type. Require == 1.
16587 [C99-based standards] (FP_FAST_FMAF): Likewise.
16588 [C99-based standards] (FP_FAST_FMAL): Likewise.
16589 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16590 [C99-based standards] (FP_ILOGBNAN): Likewise.
16591 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16592 Specify type.
16593 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16594 [C99-based standards] (math_errhandling): Specify type.
16595 [ISO99 || ISO11] (signgam): Do not allow.
16596 [non-C99-based standards] (copysignf): Do not allow.
16597 [non-C99-based standards] (exp2f): Likewise.
16598 [non-C99-based standards] (log2f): Likewise.
16599 [non-C99-based standards] (modff): Allow.
16600 [non-C99-based standards] (erff): Do not allow.
16601 [non-C99-based standards] (erfcf): Likewise.
16602 [non-C99-based standards] (gammaf): Likewise.
16603 [non-C99-based standards] (hypotf): Likewise.
16604 [non-C99-based standards] (j0f): Likewise.
16605 [non-C99-based standards] (j1f): Likewise.
16606 [non-C99-based standards] (jnf): Likewise.
16607 [non-C99-based standards] (lgammaf): Likewise.
16608 [non-C99-based standards] (tgammaf): Likewise.
16609 [non-C99-based standards] (y0f): Likewise.
16610 [non-C99-based standards] (y1f): Likewise.
16611 [non-C99-based standards] (ynf): Likewise.
16612 [non-C99-based standards] (isnanf): Likewise.
16613 [non-C99-based standards] (acoshf): Likewise.
16614 [non-C99-based standards] (asinhf): Likewise.
16615 [non-C99-based standards] (atanhf): Likewise.
16616 [non-C99-based standards] (cbrtf): Likewise.
16617 [non-C99-based standards] (expm1f): Likewise.
16618 [non-C99-based standards] (ilogbf): Likewise.
16619 [non-C99-based standards] (log1pf): Likewise.
16620 [non-C99-based standards] (logbf): Likewise.
16621 [non-C99-based standards] (nextafterf): Likewise.
16622 [non-C99-based standards] (remainderf): Likewise.
16623 [non-C99-based standards] (rintf): Likewise.
16624 [non-C99-based standards] (scalbf): Likewise.
16625 [non-C99-based standards] (copysignl): Likewise.
16626 [non-C99-based standards] (exp2l): Likewise.
16627 [non-C99-based standards] (log2l): Likewise.
16628 [non-C99-based standards] (modfl): Allow.
16629 [non-C99-based standards] (erfl): Do not allow.
16630 [non-C99-based standards] (erfcl): Likewise.
16631 [non-C99-based standards] (gammal): Likewise.
16632 [non-C99-based standards] (hypotl): Likewise.
16633 [non-C99-based standards] (j0l): Likewise.
16634 [non-C99-based standards] (j1l): Likewise.
16635 [non-C99-based standards] (jnl): Likewise.
16636 [non-C99-based standards] (lgammal): Likewise.
16637 [non-C99-based standards] (tgammal): Likewise.
16638 [non-C99-based standards] (y0l): Likewise.
16639 [non-C99-based standards] (y1l): Likewise.
16640 [non-C99-based standards] (ynl): Likewise.
16641 [non-C99-based standards] (isnanl): Likewise.
16642 [non-C99-based standards] (acoshl): Likewise.
16643 [non-C99-based standards] (asinhl): Likewise.
16644 [non-C99-based standards] (atanhl): Likewise.
16645 [non-C99-based standards] (cbrtl): Likewise.
16646 [non-C99-based standards] (expm1l): Likewise.
16647 [non-C99-based standards] (ilogbl): Likewise.
16648 [non-C99-based standards] (log1pl): Likewise.
16649 [non-C99-based standards] (logbl): Likewise.
16650 [non-C99-based standards] (nextafterl): Likewise.
16651 [non-C99-based standards] (remainderl): Likewise.
16652 [non-C99-based standards] (rintl): Likewise.
16653 [non-C99-based standards] (scalbl): Likewise.
16654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16655 [non-C99-based standards] (FP_*): Do not allow.
16656 [C99-based standards] (FP_*): Change to
16657 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16658 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16659 allow.
16660 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16661 (SIG_ERR): Likewise.
16662 [X/Open-based standards] (SIG_HOLD): Likewise.
16663 (SIG_IGN): Likewise.
16664 (SIGABRT): Use macro-int-constant. Specify type. Require
16665 positive value.
16666 (SIGFPE): Likewise.
16667 (SIGILL): Likewise.
16668 (SIGINT): Likewise.
16669 (SIGSEGV): Likewise.
16670 (SIGTER): Likewise.
16671 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16672 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16673 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16674 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16675 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16676 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16677 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16678 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16679 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16680 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16681 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16682 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16683 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16684 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16685 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16686 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16687 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16688 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16689 [X/Open-based standards] (SIGTRAP): Likewise.
16690 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16691 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16692 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16693 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16694 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16695 allow.
16696
b9f1922d
IW
166972012-05-08 Ian Wienand <ianw@vmware.com>
16698
16699 [BZ #14080]
16700 * time/tzset.c (__tzset_parse_tz): Update default rules for
16701 daylight time changes in the Energy Policy Act of 2005.
16702
1db86e88
AJ
167032012-05-09 Andreas Jaeger <aj@suse.de>
16704
16705 [BZ #13983]
16706 * elf/ldconfig.c (parse_conf): Change string to make clear that
16707 ldconfig only issued a warning if ld.so.conf does not exist.
16708
dee4a4e3
DM
167092012-05-08 David S. Miller <davem@davemloft.net>
16710
ee0db190
DM
16711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16712 movxtod instead of popping the value on the stack.
16713
dee4a4e3
DM
16714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16715
6a43ec98
CD
167162012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16717
16718 * config.h.in: Add HAVE_ARM_PCS_VFP.
16719
05c2c961
RMG
167202012-05-08 Roland Mc Grath <roland@hack.frob.com>
16721
bcfe3a54
ST
16722 [BZ #13979]
16723 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16724 checking but the checks are disabled for any reason.
05c2c961 16725
4b30f61a
L
167262012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16729 and ELF64_R_TYPE with ELFW(R_TYPE).
16730
eee2bc67
JM
167312012-05-08 Joseph Myers <joseph@codesourcery.com>
16732
7ea5391a
JM
16733 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16734 (ulimit): Likewise.
16735
eee2bc67
JM
16736 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16737 (settimeofday): Likewise.
16738
abb66a67
MF
167392012-05-08 Mike Frysinger <vapier@gentoo.org>
16740
16741 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16742 a struct th_u2 inside the union, and move tu_block/tu_code into
16743 a new th_u3 union of tu_block/tu_code inside of that. Move
16744 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16745 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16746 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16747 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16748 (th_stuff): Change to th_u1.tu_stuff.
16749 (th_data): Define.
16750 (th_msg): Change to th_u1.th_u2.tu_data.
16751
7f18b530
DM
167522012-05-07 David S. Miller <davem@davemloft.net>
16753
05760585
DM
16754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16755
7f18b530
DM
16756 [BZ #14074]
16757 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16758 (SETUP_PIC_REG): Use it.
16759 (SETUP_PIC_REG_LEAF): Use it.
16760
495fd99f
JM
167612012-05-07 Joseph Myers <joseph@codesourcery.com>
16762
16763 [BZ #13885]
16764 [BZ #13923]
16765 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16766 USE_AS_EXPM1L.
16767 (EXPL_FINITE): Likewise.
16768 (FLDLOG): Likewise.
16769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16770 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16771 e_expl.S.
16772 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16773 USE_AS_EXPM1L.
16774 (EXPL_FINITE): Likewise.
16775 (FLDLOG): Likewise.
16776 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16777 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16778 e_expl.S.
16779 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16780 test of -max_value argument for long double.
16781 * sysdeps/i386/fpu/libm-test-ulps: Update.
16782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16783
6693d694
DM
167842012-05-06 David S. Miller <davem@davemloft.net>
16785
16786 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16787 quad soft-float symbols whose references which are compiler
16788 generated.
16789 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16790
6c23e11c
JM
167912012-05-06 Joseph Myers <joseph@codesourcery.com>
16792
d8b82cad
JM
16793 [BZ #13884]
16794 [BZ #13914]
16795 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16796 USE_AS_EXP10L.
16797 (EXPL_FINITE): Likewise.
16798 (FLDLOG): Likewise.
16799 (c0): Likewise.
16800 (c1): Likewise.
16801 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16802 Adjust comments for base varying.
16803 (__expl_finite): Change alias to EXPL_FINITE.
16804 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16805 e_expl.S.
16806 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16807 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16809 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16810 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16811 USE_AS_EXP10L.
16812 (EXPL_FINITE): Likewise.
16813 (FLDLOG): Likewise.
16814 (c0): Likewise.
16815 (c1): Likewise.
16816 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16817 Adjust comments for base varying.
16818 (__expl_finite): Change alias to EXPL_FINITE.
16819 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16820 tests for bugs.
16821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16822
6c23e11c
JM
16823 [BZ #14064]
16824 * math/libm-test.inc (check_float_internal): Correct ulp
16825 calculation for subnormal expected results.
16826
29ba805c
AJ
168272012-05-06 Andreas Jaeger <aj@suse.de>
16828
16829 * Makeconfig (+math-flags): New, set to -frounding-math.
16830 (+cflags): Add +math-flags so that all of glibc gets compiled with
16831 it.
16832
16833 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16834
7b17aeda
JM
168352012-05-05 Joseph Myers <joseph@codesourcery.com>
16836
5779f134
JM
16837 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16838 Disable one test.
16839
41498f4d
JM
16840 [BZ #13787]
16841 [BZ #13922]
16842 [BZ #14036]
16843 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16844 (__ieee754_expl): Allow for and saturate large arguments.
16845 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16846 (u_threshold): Likewise.
16847 (__exp): Call __ieee754_exp before checking for overflow and
16848 underflow.
16849 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16850 (u_threshold): Likewise.
16851 (__expf): Call __ieee754_expf before checking for overflow and
16852 underflow.
16853 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16854 (u_threshold): Likewise.
16855 (__expl): Call __ieee754_expl before checking for overflow and
16856 underflow.
16857 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16858 (__ieee754_expl): Allow for and saturate large arguments.
16859 * math/libm-test.inc (exp_test): Add another test. Do not allow
16860 missing overflow exception on overflow.
16861 (expm1_test): Do not allow missing overflow exception on overflow.
16862
6698b8bf
JM
16863 * sysdeps/i386/fpu/e_expl.c: Move to ...
16864 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16865 rather than using inline asm.
16866 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16867 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16868 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16869
7b17aeda
JM
16870 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16871 (nice): Likewise.
16872 (poll): Likewise.
16873 (signal): Likewise.
16874 (time): Likewise.
16875 (times): Likewise.
16876
f7c85819
JM
168772012-05-04 Joseph Myers <joseph@codesourcery.com>
16878
16879 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16880 sysdeps/unix/common/syscalls.list.
16881 (fchmod): Likewise.
16882 (fchown): Likewise.
16883 (ftruncate): Likewise.
16884 (getrusage): Likewise.
16885 (gettimeofday): Likewise.
16886 (setpgid): Likewise.
16887 (setregid): Likewise.
16888 (setreuid): Likewise.
16889 (sigaction): Likewise.
16890 (truncate): Likewise.
16891 (vhangup): Likewise.
16892 * sysdeps/unix/common/syscalls.list: Remove file.
16893 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16894 * sysdeps/unix/sysv/linux/Implies: Likewise.
16895
336270d0
L
168962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16897
16898 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16900 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16901 Moved to ...
16902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16903 Here.
16904 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16905 to ...
16906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16907 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16908 to ...
16909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16910 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16911 to ...
16912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16913 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16914 to ...
16915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16916 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16917 to ...
16918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16919 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16920 to ...
16921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16922 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16923 to ...
16924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16925 Here.
16926 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16927 to ...
16928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16929 Here.
16930 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16931 to ...
16932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16933 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16934 Moved to ...
16935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16936 Here.
16937 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16938 to ...
16939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16940
d128e450
JM
169412012-05-04 Joseph Myers <joseph@codesourcery.com>
16942
fa8ee516
JM
16943 * sysdeps/unix/common/bits/dirent.h: Remove file.
16944 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16945
d128e450
JM
16946 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16947 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16948 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16949 * sysdeps/unix/bsd/isatty.c: Likewise.
16950 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16951 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16952 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16953
ff8faaf0 169542012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16955
62881be4 16956 [BZ #13563]
31dc8730
AZ
16957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16958 long double comparison inaccuracies.
16959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16961
6fef930c
AS
169622012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16963
16964 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16966
8f203e6c
JM
169672012-05-04 Joseph Myers <joseph@codesourcery.com>
16968
16969 [BZ #14049]
16970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16971 nonzero digits before rounding a hex value.
16972 * stdlib/tst-strtod.c (tests): Add another test.
16973
5197d9c2
AK
169742012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16975
16976 * sysdeps/s390/fpu/libm-test-ulps: Update.
16977
f0c1dedf
AJ
169782012-05-03 Andreas Jaeger <aj@suse.de>
16979
16980 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16981 does not get optimized out.
16982 (malloc_opt_barrier): New.
16983
a65ef2ae 169842012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16985 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16986
2b942cb7 16987 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16988 intermediate file deletion.
2b942cb7 16989 (generated): Add .symlist files.
a65ef2ae 16990
54b71e02
JM
169912012-05-03 Joseph Myers <joseph@codesourcery.com>
16992
16993 [BZ #13775]
16994 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16995 Redirect under this condition.
16996 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16997 [__USE_GNU] (__dprintf_chk): Not under this condition.
16998 [__USE_GNU] (__vdprintf_chk): Likewise.
16999 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17000 under this condition.
17001 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17002 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17003 [__USE_XOPEN2K8] (vdprintf): Likewise.
17004 [__USE_GNU] (__dprintf_chk): Not under this condition.
17005 [__USE_GNU] (__vdprintf_chk): Likewise.
17006 [__USE_GNU] (dprintf): Likewise.
17007 [__USE_GNU] (vdprintf): Likewise.
17008
d3dfcc41
RM
170092012-05-03 Roland McGrath <roland@hack.frob.com>
17010
17011 * elf/Makefile (common-generated): Set this instead of generated for
17012 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17013 $(all-built-dso)-derived lists.
17014
7ac30cc5
AJ
170152012-05-03 Andreas Jaeger <aj@suse.de>
17016
0c51e550
AJ
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018
7ac30cc5
AJ
17019 * FAQ: Removed.
17020 * FAQ.in: Likewise.
17021 * scripts/gen-FAQ.pl: Likewise.
17022 * manual/install.texi (Installation): Point to online location of
17023 FAQ.
17024 * Makefile (files-for-dist): Remove FAQ.
17025 (FAQ): Remove.
17026
d4c2917f
AM
170272012-05-02 Allan McRae <allan@archlinux.org>
17028
17029 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17030 (LDFLAGS-reldepmod5.so): Likewise.
17031 (LDFLAGS-reldep6mod1.so): Likewise.
17032 (LDFLAGS-reldep6mod4.so): Likewise.
17033 (LDFLAGS-reldep8mod3.so): Likewise.
17034 (LDFLAGS-unload4mod1.so): Likewise.
17035 (LDFLAGS-unload4mod2.so): Likewise.
17036 (LDFLAGS-tst-initorder): Likewise.
17037 (LDFLAGS-tst-initordera2.so): Likewise.
17038 (LDFLAGS-tst-initordera3.so): Likewise.
17039 (LDFLAGS-tst-initordera4.so): Likewise.
17040 (LDFLAGS-tst-initorderb2.so): Likewise.
17041 (LDFLAGS-noload): Likewise.
17042 (LDFLAGS-next): Likewise.
17043 (LDFLAGS-order2mod1.so): Likewise.
17044 (LDFLAGS-order2mod2.so): Likewise.
17045 (LDFLAGS-tst-initorder2): Likewise.
17046 (LDFLAGS-tst-initorder2a.so): Likewise.
17047 (LDFLAGS-tst-initorder2b.so): Likewise.
17048 (LDFLAGS-tst-initorder2c.so): Likewise.
17049 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17050
d77f993f
DM
170512012-05-02 David S. Miller <davem@davemloft.net>
17052
17053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17054
171a70b4
PP
170552012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17056
17057 [BZ #14055]
17058 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17059
0be196ad
AJ
170602012-05-02 Andreas Jaeger <aj@suse.de>
17061
17062 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17063 since we manipulate rounding mode.
17064 (CPPFLAGS-test-idouble.c): Likewise.
17065 (CPPFLAGS-test-ifloat.c): Likewise.
17066 (CFLAGS-test-ldouble.c): Likewise.
17067 (CFLAGS-test-double.c): Likewise.
17068 (CFLAGS-test-float.c): Likewise.
17069 (CFLAGS-test-misc.c): Likewise.
17070 (CFLAGS-test-test-fenv.c): Likewise.
17071
4f9d04aa
AZ
170722012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17073
2b942cb7
RM
17074 [BZ #2550]
17075 [BZ #2570]
17076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17077 comparisons to determine direction to adjust input.
4f9d04aa 17078
82a79e7d
RM
170792012-05-01 Roland McGrath <roland@hack.frob.com>
17080
f5a01ca9
RM
17081 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17082 output to the target.
17083
90fe4186
RM
17084 * scripts/localplt.awk: New file.
17085 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17086 (check-localplt-CFLAGS): Variable removed.
17087 ($(all-built-dso:=.jmprel)): New static pattern rule.
17088 (generated): Add those targets.
17089 (localplt-built-dso): New variable.
17090 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17091
17092 * elf/check-localplt.c: File removed.
17093
82397ed6
RM
17094 * scripts/check-execstack.awk: New file.
17095 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17096 (check-execstack-CFLAGS): Variable removed.
17097 ($(objpfx)check-execstack.h): Target removed.
17098 ($(objpfx)execstack-default): New target.
17099 (generated): Add that instead of check-execstack.h.
17100 ($(all-built-dso:=.phdr)): New static pattern rule.
17101 (generated): Add those targets.
17102 * elf/check-execstack.c: File removed.
17103
82a79e7d
RM
17104 * scripts/check-textrel.awk: New file.
17105 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17106 (check-textrel-CFLAGS): Variable removed.
17107 (all-built-dso): Use := to define.o
17108 ($(all-built-dso:=.dyn)): New static pattern rule.
17109 (generated): Add those targets.
17110 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17111 * config.make.in (READELF): New substituted variable.
17112 * elf/check-textrel.c: File removed.
17113
62fde54f 171142012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17115
615605c9
JM
17116 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17117 allow.
17118 * conform/data/ctype.h-data [C99-based standards] (isblank):
17119 Expect function.
17120 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17121 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17123 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17124 Specify type. Require positive value.
17125 (EILSEQ): Likewise.
17126 (ERANGE): Likewise.
17127 [ISO || POSIX] (EILSEQ): Do not expect.
17128 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17129 Specify type. Require positive value.
17130 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17134 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17135 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17136 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17137 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17138 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17139 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17142 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17143 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17144 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17145 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17146 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17147 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17148 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17149 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17150 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17151 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17152 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17153 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17154 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17155 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17156 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17157 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17158 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17159 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17160 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17161 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17162 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17163 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17164 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17165 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17166 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17167 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17168 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17169 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17170 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17171 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17172 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17173 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17174 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17175 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17176 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17177 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17178 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17179 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17180 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17181 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17182 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17183 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17184 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17185 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17186 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17187 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17188 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17189 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17190 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17191 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17192 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17193 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17194 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17195 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17196 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17197 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17198 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17199 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17200 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17201 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17202 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17203 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17204 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17205 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17206 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17207 Require >= 2.
17208 (FLT_ROUNDS): Expect as macro, not constant.
17209 (FLT_MANT_DIG): Use macro-int-constant.
17210 (DBL_MANT_DIG): Likewise.
17211 (LDBL_MANT_DIG): Likewise.
17212 (FLT_DIG): Likewise.
17213 (DBL_DIG): Likewise.
17214 (LDBL_DIG): Likewise.
17215 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17216 (DBL_MIN_EXP): Likewise.
17217 (LDBL_MIN_EXP): Likewise.
17218 (FLT_MAX_EXP): Use macro-int-constant.
17219 (DBL_MAX_EXP): Likewise.
17220 (LDBL_MAX_EXP): Likewise.
17221 (FLT_MAX_10_EXP): Likewise.
17222 (DBL_MAX_10_EXP): Likewise.
17223 (LDBL_MAX_10_EXP): Likewise.
17224 (FLT_MAX): Use macro-constant.
17225 (DBL_MAX): Likewise.
17226 (LDBL_MAX): Likewise.
17227 (FLT_EPSILON): Use macro-constant. Give upper bound.
17228 (DBL_EPSILON): Likewise.
17229 (LDBL_EPSILON): Likewise.
17230 (FLT_MIN): Likewise.
17231 (DBL_MIN): Likewise.
17232 (LDBL_MIN): Likewise.
17233 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17234 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17235 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17236 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17237 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17238 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17239 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17240 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17241 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17242 [ISO11] (FLT_TRUE_MIN): Likewise.
17243 [ISO11] (LDBL_TRUE_MIN): Likewise.
17244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17245 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17246 (SCHAR_MIN): Use macro-int-constant. Specify type.
17247 (SCHAR_MAX): Likewise.
17248 (UCHAR_MAX): Likewise.
17249 (CHAR_MIN): Likewise.
17250 (CHAR_MAX): Likewise.
17251 (MB_LEN_MAX): Use macro-int-constant.
17252 (SHRT_MIN): Use macro-int-constant. Specify type.
17253 (SHRT_MAX): Likewise.
17254 (USHRT_MAX): Likewise.
17255 (INT_MAX): Likewise.
17256 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17257 bound negative.
17258 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17259 bound with "U".
17260 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17261 bound with "L".
17262 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17263 bound negative. Suffix upper bound with "L".
17264 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17265 bound with "UL".
17266 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17267 Specify type.
17268 [C99-based standards] (LLONG_MAX): Likewise.
17269 [C99-based standards] (ULLONG_MAX): Likewise.
17270 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17271 == 0.
17272 [ISO11] (max_align_t): Require type.
17273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17274
c9140a62
JM
17275 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17276 from $CFLAGS, without defining away __attribute__ calls.
17277 (checknamespace): Use $CFLAGS_namespace.
17278
9af0bf29
JM
17279 * conform/conformtest.pl (@keywords): Only include C99 keywords
17280 for standards based on C99 or C11.
17281
343222a2
JM
17282 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17283 Disable tests.
17284 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17285 UNIX98]: Likewise.
17286
661f8cf0
JM
17287 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17288 usability of symbols in #if.
17289
ee74b9cb
JM
17290 * conform/conformtest.pl: If macro or constant types start
17291 "promoted:", expect the symbol to be of the following type
17292 promoted by the integer promotions.
62fde54f 17293
aafc49b3
JM
17294 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17295 in one place. Also handle "macro-constant".
17296
fefdf574
JM
17297 * conform/conformtest.pl: Only accept expected macro values with
17298 "==". Parse all "macro" lines in one place.
17299 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17300
f2d922fe
JM
17301 * conform/conformtest.pl: Handle braced types on "constant" lines
17302 instead of handling "typed-constant".
17303 * conform/data/signal.h-data: Use "constant" instead of
17304 "typed-constant".
17305
d22956c9
JM
17306 * conform/conformtest.pl: Handle "optional-" at start of lines in
17307 one place rather than duplicating several cases. Handle each
17308 format of "macro" line with initial "optional-".
17309
028e2e38
JM
17310 * conform/conformtest.pl: Only accept expected constant or
17311 optional-constant values with "==". Parse all "constant" lines in
17312 one place. Parse all "optional-constant" lines in one place.
17313 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17314 * conform/data/fmtmsg.h-data: Likewise.
17315 * conform/data/netinet/in.h-data: Likewise.
17316 * conform/data/tar.h-data: Likewise.
17317 * conform/data/limits.h-data: Use "==" form on "constant" and
17318 "optional-constant" lines.
17319
1b8f2850
JM
17320 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17321 Use -std=c99 for XOPEN2K.
17322 (@knownproblems): Remove.
17323 (newtoken): Don't check %isknown.
17324
a05a144b
JM
17325 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17326 Do not expect macro.
17327 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17328 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17329 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17330 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17331 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17332 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17333 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17334 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17335 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17336 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17337 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17338 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17339 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17340 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17341 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17342 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17343 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17344 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17345 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17346 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17347 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17348 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17349 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17350 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17351 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17352 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17353 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17354 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17355 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17356 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17357 [XPG3] (acosh): Likewise.
17358 [XPG3] (asinh): Likewise.
17359 [XPG3] (atanh): Likewise.
17360 [XPG3] (cbrt): Likewise.
17361 [XPG3] (expm1): Likewise.
17362 [XPG3] (ilogb): Likewise.
17363 [XPG3] (log1p): Likewise.
17364 [XPG3] (logb): Likewise.
17365 [XPG3] (nextafter): Likewise.
17366 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17367 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17368 [XPG3] (remainder): Likewise.
17369 [XPG3] (rint): Likewise.
17370 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17371 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17372 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17373 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17375 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17376 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17377 [UNIX98 || XOPEN2K] (scalb): Expect.
17378 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17379 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17380 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17381 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17382 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17384 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17385 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17386 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17387 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17388 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17389 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17390 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17391 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17392 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17393 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17394 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17395 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17396 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17397 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17398 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17399 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17400 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17402 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17403 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17404 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17405 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17406 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17407 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17408 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17409 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17412 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17413 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17414 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17415 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17416 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17417 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17418 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17419 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17421 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17422 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17424 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17425 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17426 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17427 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17428 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17429 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17430 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17431 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17433 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17434 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17435 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17436 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17437 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17438 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17439 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17440 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17441 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17443 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17444 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17445 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17446 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17447 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17448 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17449 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17450 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17451 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17452 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17453 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17454 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17455 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17456 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17457 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17458 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17459 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17460 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17461 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17462 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17463 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17464 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17465 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17466 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17467 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17468 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17469 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17470 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17471 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17472 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17473 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17474 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17475 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17476 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17477 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17478 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17479 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17480 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17481 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17482 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17483 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17484 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17485 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17486 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17487 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17488 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17489 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17490 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17491 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17492 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17493 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17494 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17495 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17496 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17497 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17498 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17499 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17500 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17501 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17502 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17503 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17504 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17505 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17506 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17507 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17508 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17509 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17510 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17511 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17512 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17513 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17514 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17515
73c5ebe3
JM
17516 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17517 _XOPEN_SOURCE_EXTENDED for XPG4.
17518
39c33b6c
JM
17519 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17520
62fde54f
JM
17521 * Makeconfig (localtime): Remove variable.
17522 (inst_localtime-file): Likewise.
17523
0741d64c
AS
175242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17525
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17527 Update.
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17529 Update.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17531 Update.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17533 Update.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17535 Update.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17537 Update.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17539 Update.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17541 Update.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17543 Update.
17544
7cb029ee
JM
175452012-05-01 Joseph Myers <joseph@codesourcery.com>
17546
17547 [BZ #2550]
17548 [BZ #2570]
17549 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17550 comparisons to determine direction to adjust input.
17551 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17552 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17554 Likewise.
17555 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17556 Likewise.
17557 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17558 Likewise.
17559 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17560 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17561 Likewise.
17562 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17563 Likewise.
17564 * math/libm-test.inc (nexttoward_test): Add more tests.
17565
412bd966
AS
175662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17567
17568 [BZ #14040]
17569 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17570 in version GLIBC_2.1, not GLIBC_2.0.
17571 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17572 Likewise.
17573
9568c0c2
JM
175742012-04-30 Joseph Myers <joseph@codesourcery.com>
17575
adfbc8ac
JM
17576 [BZ #13942]
17577 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17578 (1 - x) * (1 + x).
17579 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17580 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17581 * math/libm-test.inc (acos_test): Add more tests.
17582 (asin_test): Likewise.
17583 * sysdeps/i386/fpu/libm-test-ulps: Update.
17584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585
5ba3cc69
JM
17586 [BZ #14034]
17587 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17588 of square root.
17589 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17590 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17591 * math/libm-test.inc (acos_test_tonearest): New function.
17592 (acos_test_towardzero): Likewise.
17593 (acos_test_downward): Likewise.
17594 (acos_test_upward): Likewise.
17595 (asin_test_tonearest): Likewise.
17596 (asin_test_towardzero): Likewise.
17597 (asin_test_downward): Likewise.
17598 (asin_test_upward): Likewise.
17599 (main): Call the new functions.
17600 * sysdeps/i386/fpu/libm-test-ulps: Update.
17601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17602
9568c0c2
JM
17603 [BZ #13884]
17604 [BZ #13924]
17605 * math/e_exp10.c: Include <float.h>.
17606 (__ieee754_exp10): Handle underflow here rather than multiplying
17607 large negative argument by M_LN10.
17608 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17609 of __ieee754_expf.
17610 * math/e_exp10l.c: Include <float.h>.
17611 (__ieee754_exp10l): Handle underflow here rather than multiplying
17612 large negative argument by M_LN10l.
17613 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17614 spurious overflow exception on underflow.
17615
5ac3ea17
MP
176162012-04-29 Marek Polacek <polacek@redhat.com>
17617
17618 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17619 (__fortify_function): New macro.
17620 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17621 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17622 __extern_always_inline.
17623 * libio/bits/stdio2.h: Likewise.
17624 * libio/bits/stdio.h: Likewise.
17625 * string/string.h: Likewise.
17626 * string/bits/string3.h: Likewise.
17627 * include/stdio.h: Likewise.
17628 * stdlib/bits/stdlib.h: Likewise.
17629 * stdlib/stdlib.h: Likewise.
17630 * rt/bits/mqueue2.h: Likewise.
17631 * rt/mqueue.h: Likewise.
17632 * posix/bits/unistd.h: Likewise.
17633 * posix/unistd.h: Likewise.
17634 * io/bits/poll2.h: Likewise.
17635 * io/bits/fcntl2.h: Likewise.
17636 * io/fcntl.h: Likewise.
17637 * io/sys/poll.h: Likewise.
17638 * misc/bits/syslog.h: Likewise.
17639 * misc/bits/syslog-ldbl.h: Likewise.
17640 * misc/sys/syslog.h: Likewise.
17641 * socket/bits/socket2.h: Likewise.
17642 * socket/sys/socket.h: Likewise.
17643 * debug/tst-chk1.c: Likewise.
17644 * wcsmbs/bits/wchar2.h: Likewise.
17645 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17646 * wcsmbs/wchar.h: Likewise.
17647
ecf0ebfb
AJ
176482012-04-29 Andreas Jaeger <aj@suse.de>
17649
17650 * Makerules (tests): Remove enable-check-abi protection.
17651 (check-abi-warn): Remove.
17652 (check-abi-%): Remove check-abi-warn usage.
17653
17654 * configure.in: Remove check-abi configure option.
17655 * configure: Regenerated.
17656 * config.make.in (enable-check-abi): Remove.
17657
6d5c57fa
AS
176582012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17659
24c5d07e 17660 [BZ #14033]
ded5180a
AS
17661 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17662 double functions to double *_finite functions.
17663
7e0d315d
AS
17664 [BZ #13941]
17665 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17666 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17667 LDBL_MIN_EXP.
17668 * stdio-common/Makefile (tests): Add tst-sprintf3.
17669 * stdio-common/tst-sprintf3.c: New file.
17670
6d5c57fa
AS
17671 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17672 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17673
0749ff8b
JM
176742012-04-28 Joseph Myers <joseph@codesourcery.com>
17675
17676 * conform/conformtest.pl: Remove duplicate typed-constant
17677 handling.
17678
8dbd5d7b
DM
176792012-04-28 David S. Miller <davem@davemloft.net>
17680
17681 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17682 (check-abi-%): Remove AWK script prerequisite and explicit
17683 abilist directory.
17684 (check-abi): Rewrite to just diff the symlist with the abilist.
17685 (config-tls, config-abi-config): Delete, no longer used.
17686 (update-abi-%): Remove AWK script and explicit abilist directory.
17687 (update-abi): Rewrite to simply compare and conditionally copy the
17688 symlist and the sysdep abilist file. Remove update-abi-config
17689 checks.
17690 * abilist/ld.abilist: Remove.
17691 * abilist/libBrokenLocale.abilist: Remove.
17692 * abilist/libanl.abilist: Remove.
17693 * abilist/libcrypt.abilist: Remove.
17694 * abilist/libdl.abilist: Remove.
17695 * abilist/librt.abilist: Remove.
17696 * abilist/libthread_db.abilist: Remove.
17697 * abilist/libutil.abilist: Remove.
17698 * scripts/extract-abilist.awk: Remove.
17699 * scripts/merge-abilist.awk: Remove.
17700 * sysdeps/generic/libcidn.abilist: New file.
17701 * sysdeps/generic/libnss_compat.abilist: New file.
17702 * sysdeps/generic/libnss_db.abilist: New file.
17703 * sysdeps/generic/libnss_dns.abilist: New file.
17704 * sysdeps/generic/libnss_files.abilist: New file.
17705 * sysdeps/generic/libnss_hesiod.abilist: New file.
17706 * sysdeps/generic/libnss_nis.abilist: New file.
17707 * sysdeps/generic/libnss_nisplus.abilist: New file.
17708 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17709 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17710 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17711 file.
17712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17713 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17714 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17715 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17716 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17717 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17718 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17719 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17720 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17721 file.
17722 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17723 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17724 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17725 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17726 file.
17727 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17728 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17729 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17730 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17731 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17732 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17733 file.
17734 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17735 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17736 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17737 file.
17738 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17740 New file.
17741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17742 New file.
17743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17744 New file.
17745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17746 New file.
17747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17748 New file.
17749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17750 New file.
17751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17752 New file.
17753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17754 New file.
17755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17756 New file.
17757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17758 New file.
17759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17760 New file.
17761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17762 New file.
17763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17764 New file.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17766 file.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17768 New file.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17770 New file.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17772 file.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17774 New file.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17776 New file.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17778 file.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17780 New file.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17782 New file.
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17784 New file.
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17786 New file.
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17788 New file.
17789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17790 New file.
17791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17793 file.
17794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17795 New file.
17796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17797 file.
17798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17799 file.
17800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17801 file.
17802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17803 file.
17804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17805 file.
17806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17807 New file.
17808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17809 file.
17810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17811 file.
17812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17813 New file.
17814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17815 file.
17816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17818 file.
17819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17820 New file.
17821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17822 file.
17823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17824 file.
17825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17826 file.
17827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17828 file.
17829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17830 file.
17831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17832 New file.
17833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17834 file.
17835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17836 file.
17837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17838 New file.
17839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17840 file.
17841 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17842 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17843 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17844 file.
17845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17846 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17847 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17848 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17849 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17850 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17851 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17852 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17853 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17854 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17857 file.
17858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17859 New file.
17860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17861 file.
17862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17863 file.
17864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17865 file.
17866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17867 file.
17868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17869 file.
17870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17871 New file.
17872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17873 New file.
17874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17875 file.
17876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17877 New file.
17878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17879 file.
17880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17882 file.
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17884 New file.
17885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17886 file.
17887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17888 file.
17889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17890 file.
17891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17892 file.
17893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17894 file.
17895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17896 New file.
17897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17898 New file.
17899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17900 file.
17901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17902 New file.
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17904 file.
17905
41d73a1b
JM
179062012-04-28 Joseph Myers <joseph@codesourcery.com>
17907
17908 * conform/conformtest.pl: Fix typo in handling typed-constant from
17909 allow-header.
17910
28aeeda4
JM
179112012-04-27 Joseph Myers <joseph@codesourcery.com>
17912
adae8f5e
JM
17913 * README: Cut down references to pre-2.6 Linux kernels and
17914 Linuxthreads. Update lists of configurations in libc and ports
17915 and sort alphabetically. Say "or newer" with Linux kernel version
17916 requirements.
17917
28aeeda4
JM
17918 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17919
a462cb63
RA
179202012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17921
17922 [BZ #887]
17923 * math/libm-test.inc (logb_test_downward): New test to expose
17924 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17925 rounding mode.
17926
6ad3493e
JM
179272012-04-27 Joseph Myers <joseph@codesourcery.com>
17928
17929 [BZ #14027]
17930 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17931 to be done.
17932 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17933 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17934
2ce4f015
JM
179352012-04-26 Joseph Myers <joseph@codesourcery.com>
17936
5aeb141a
JM
17937 * sysdeps/unix/i386/brk.S: Remove file.
17938 * sysdeps/unix/i386/dl-brk.S: Likewise.
17939 * sysdeps/unix/i386/pipe.S: Likewise.
17940 * sysdeps/unix/i386/sigreturn.S: Likewise.
17941 * sysdeps/unix/i386/syscall.S: Likewise.
17942 * sysdeps/unix/i386/vfork.S: Likewise.
17943 * sysdeps/unix/i386/wait.S: Likewise.
17944
7143acae
JM
17945 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17946 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17947
2ce4f015
JM
17948 * configure.in (arm*-none*): Do not allow without
17949 --enable-hacker-mode.
17950 (netbsd*): Remove case setting base_os.
17951 (386bsd*): Likewise.
17952 (freebsd*): Likewise.
17953 (bsdi*): Likewise.
17954 (osf*): Likewise.
17955 (sunos*): Likewise.
17956 (ultrix*): Likewise.
17957 (newsos*): Likewise.
17958 (dynix*): Likewise.
17959 (*bsd*): Likewise.
17960 (sysv*): Likewise.
17961 (isc*): Likewise.
17962 (esix*): Likewise.
17963 (sco*): Likewise.
17964 (minix*): Likewise.
17965 (irix4*): Likewise.
17966 (irix6*): Likewise.
17967 (solaris[2-9]*): Likewise.
17968 (none): Likewise.
17969 * configure: Regenerated.
17970
0ac229c8
AZ
179712012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17972
17973 [BZ #11521]
17974 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17975 overflow or cancellation in calculating denominator.
17976 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17978 down expression to avoid unexpected rounding in newer GCCs.
17979 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17980
33f244f4
DM
179812012-04-26 David S. Miller <davem@davemloft.net>
17982
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17984 long-double compat symbols.
17985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17998
cfa1f3e8
DM
179992012-04-25 David S. Miller <davem@davemloft.net>
18000
18001 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18002 HWCAP_* values only after the memory barriers have been defined.
18003 (atomic_full_barrier): Define.
18004 (atomic_read_barrier): Define.
18005 (atomic_write_barrier): Define.
18006
6e236b92
SP
180072012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18008
18009 * shlib-versions: Add libgcc_s version information.
18010 * sysdeps/generic/libgcc_s.h: Remove.
18011 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18012 libgcc_s.h.
18013 * sysdeps/gnu/unwind-resume.c: Likewise.
18014 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18015
aab39a09
DM
180162012-04-25 David S. Miller <davem@davemloft.net>
18017
18018 * sysdeps/unix/sparc/brk.S: Delete.
18019 * sysdeps/unix/sparc/dl-brk.S: Delete.
18020 * sysdeps/unix/sparc/pipe.S: Delete.
18021 * sysdeps/unix/sparc/sysdep.S: Delete.
18022 * sysdeps/unix/sparc/sysdep.h: Delete.
18023 * sysdeps/unix/sparc/vfork.S: Delete.
18024 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18025 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18027 ret_ERRVAL, r0, r1, MOVE): Define.
18028 (JUMPTARGET): Remove.
18029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18030 sysdeps/unix/sparc/sysdep.h
18031 (ENTRY, END): Remove.
18032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18033
a3cc4f48
JM
180342012-04-25 Joseph Myers <joseph@codesourcery.com>
18035
2ed8cda2
JM
18036 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18037 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18038 -DIS_IN_build.
18039
35d76d59
JM
18040 * timezone/README: Update upstream location and email address for
18041 tzcode and tzdata.
18042 * timezone/zdump.c: Update from tzcode 2012b.
18043 * timezone/zic.c: Likewise.
18044
a3cc4f48
JM
18045 * configure.in (libc_cv_as_needed): Remove test.
18046 * configure: Regenerated.
18047 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18048 conditional definition.
18049 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18050 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18051 * config.make.in (have-as-needed): Remove variable.
18052
ceab42c3
SP
180532012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18054 Paul Pluzhnikov <ppluzhnikov@google.com>
18055
18056 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18057 strings correctly.
18058
3ce2865f
CLT
180592012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18060
18061 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18062 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18063 * sysdeps/sh/strlen.S: Likewise.
18064
f37e0d68
JM
180652012-04-24 Joseph Myers <joseph@codesourcery.com>
18066
ae186e9a
JM
18067 * sysdeps/unix/fork.S: Remove file.
18068 * sysdeps/unix/i386/fork.S: Likewise.
18069 * sysdeps/unix/sparc/fork.S: Likewise.
18070
b96914af
JM
18071 * sysdeps/unix/system.c: Remove file.
18072 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18073
f37e0d68
JM
18074 * sysdeps/unix/getegid.S: Remove file.
18075 * sysdeps/unix/geteuid.S: Likewise.
18076
87ef29ca
RM
180772012-04-24 Roland McGrath <roland@hack.frob.com>
18078
83bcd236
RM
18079 * scripts/check-localplt.awk: New file.
18080 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18081 of diff.
18082 * scripts/data/localplt-generic.data: Add a comment.
18083
87ef29ca
RM
18084 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18085 NODE when __dir_mkfile failed.
18086 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18087 Reported by Ludovic Courtès <ludo@gnu.org>.
18088
e5a6e567
AJ
180892012-04-24 Andreas Jaeger <aj@suse.de>
18090
18091 * Makerules (common-clean): Also remove gen-as-const-headers
18092 files.
18093
c1820385
JM
180942012-04-24 Joseph Myers <joseph@codesourcery.com>
18095
18096 * Makerules (native-compile): Do not change working directory for
18097 build. Use $(OUTPUT_OPTION) in command.
18098 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18099
94e02fc4
AZ
181002012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18101
18102 [BZ #13886]
18103 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18104 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18105 * math/libm-test.inc (floor_test): Add more tests.
18106 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18107
3a533ca3
JM
181082012-04-24 Joseph Myers <joseph@codesourcery.com>
18109
940ab4b3
JM
18110 * sysdeps/unix/getdents.c: Remove file.
18111 * sysdeps/unix/sysv/getdents.c: Likewise.
18112 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18113
90e037bd
JM
18114 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18115 sysdeps/unix/mman/syscalls.list.
18116 (mmap): Likewise.
18117 (mprotect): Likewise.
18118 (msync): Likewise.
18119 (munmap): Likewise.
18120 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18121 * sysdeps/unix/mman/syscalls.list: Remove.
18122 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18123
3a533ca3
JM
18124 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18125 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18126 * configure: Regenerated.
18127 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18128 $(libgcc_s_suffix).
18129 * config.make.in (libgcc_s_suffix): Remove variable.
18130
1ad743de
JM
181312012-04-23 Joseph Myers <joseph@codesourcery.com>
18132
4ad451e2
JM
18133 * sysdeps/unix/sysv/gethostname.c: Move to ...
18134 * sysdeps/posix/gethostname.c: ... here.
18135
5e37ce39
JM
18136 * sysdeps/unix/execve.S: Remove file.
18137
1ad743de
JM
18138 * sysdeps/unix/_exit.S: Remove file.
18139
4e681b5b
AJ
181402012-04-23 Andreas Jaeger <aj@suse.de>
18141
18142 [BZ #13739]
18143 * manual/Makefile: Remove make dist support, there's no
18144 need for a stand-alone documentation tar ball.
18145 (TEXI2DVI): Define always, it's not in Makeconfig.
18146 (dist): Removed.
18147 (tar-it): Removed.
18148 (edition): Removed.
18149 (glibc-doc-$(edition).tar): Removed
18150 (%.Z): Removed.
18151 (%.gz): Removed.
18152 (%.uu): Removed.
18153 (ETAGS): Remove, it's in Makeconfig.
18154 (move-if-change): Remove, it's in Makeconfig.
18155
38686a03 181562012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18157
18158 [BZ #13970]
18159 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18160 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18161 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18162 (strtod_l, strtof_l, strtold_l): Remove __wur.
18163 It is not necessarily an error to ignore strtol's return value.
18164 One can reliably look at the stored endptr to decide whether
18165 the number had valid syntax.
18166
7c0616fa
AJ
181672012-04-21 Andreas Jaeger <aj@suse.de>
18168
803cb6b7 18169 [BZ #13739]
7c0616fa
AJ
18170 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18171
b0fe253f
JM
181722012-04-21 Joseph Myers <joseph@codesourcery.com>
18173
18174 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18175 * sysdeps/unix/sysv/Versions: Remove file.
18176
8280f22d
MT
181772012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18178
18179 [BZ #13927]
18180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18181
75ce411f 181822012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18183
18184 [BZ #7064]
18185 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18186 version from __vm86.
18187
097d59fa
JM
181882012-04-20 Joseph Myers <joseph@codesourcery.com>
18189
a90f3bcb
JM
18190 * sysdeps/unix/common/lxstat.c: Remove file.
18191 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18192
edc7ea78
JM
18193 * sysdeps/unix/sysv/Makefile: Remove file.
18194
cb78c221
JM
18195 * sysdeps/unix/sysv/direct.h: Remove file.
18196
efa6a45f
JM
18197 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18198 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18199 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18200 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18201 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18202 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18203 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18204
9c9f2d0c
JM
18205 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18206
4541c83b
JM
18207 * sysdeps/unix/xmknod.c: Remove file.
18208 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18209
f5d153a0
JM
18210 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18211
aa746595
JM
18212 * sysdeps/unix/sysv/i386/time.S: Remove file.
18213
cce5905e
JM
18214 * sysdeps/unix/fxstat.c: Remove file.
18215 * sysdeps/unix/xstat.c: Likewise.
18216 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18217
37fa3841
JM
18218 * sysdeps/unix/sysv/sigaction.c: Remove file.
18219
ff1962a3
JM
18220 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18221 (sysdep_headers): Remove variable.
18222 [termio.h not in sysdep_headers] (generated): Likewise.
18223 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18224 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18225 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18226 * sysdeps/unix/sysv/tcflow.c: Likewise.
18227 * sysdeps/unix/sysv/tcflush.c: Likewise.
18228 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18229 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18230 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18231 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18232 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18233
e7740d31
JM
18234 * sysdeps/unix/siglist.c: Remove file.
18235
ee06f18b
JM
18236 * sysdeps/unix/getppid.S: Remove file.
18237
097d59fa
JM
18238 * sysdeps/unix/mkdir.c: Remove file.
18239 * sysdeps/unix/rmdir.c: Likewise.
18240
ff3d51ec
AS
182412012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18242
18243 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18244 ERR_MAX value.
18245 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18246 errlist-compat value.
18247
50f81fd7
DM
182482012-04-18 David S. Miller <davem@davemloft.net>
18249
18250 * sysdeps/generic/memcopy.h (reg_char): Delete.
18251 * debug/strcat_chk.c: Use char, not reg_char.
18252 * debug/strcpy_chk.c: Likewise.
18253 * debug/strncat_chk.c: Likewise.
18254 * debug/strncpy_chk.c: Likewise.
18255 * string/memchr.c: Likewise.
18256 * string/memrchr.c: Likewise.
18257 * string/rawmemchr.c: Likewise.
18258 * string/strcat.c: Likewise.
18259 * string/strchr.c: Likewise.
18260 * string/strchrnul.c: Likewise.
18261 * string/strcmp.c: Likewise.
18262 * string/strcpy.c: Likewise.
18263 * string/strncat.c: Likewise.
18264 * string/strncmp.c: Likewise.
18265 * string/strncpy.c: Likewise.
18266
8ff41c46
WS
182672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18268
18269 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18270 __builtin_memcopy is called when src and dest ranges are known to not
18271 overlap.
18272
6b652f46
WS
182732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18274
18275 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18276 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18277 fwd_align_merge macro call.
18278 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18279 bwd_align_merge macro call.
18280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18281
b282631e
WS
182822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18283
18284 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18285 bwd_align_merge macros.
18286 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18287 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18288 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18289
95aa737c
DM
182902012-04-18 David S. Miller <davem@davemloft.net>
18291
18292 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18293
7a99a614
AJ
182942012-04-18 Andreas Jaeger <aj@suse.de>
18295
18296 [BZ# 6794]
18297 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18298 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18299 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18300
18301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18302 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18303 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18304
18305 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18306 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18307 Adjust for changed ldbl-128 files.
18308
18309 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18310 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18311 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18312
e5270c23
DM
183132012-04-17 David S. Miller <davem@davemloft.net>
18314
18315 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18316
fb5e92c9
AS
183172012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18318
18319 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18320 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18321 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18322 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18323 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18324 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18325
76da7265
AZ
183262012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18327
18328 [BZ #6794]
18329 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18330 * math/libm-test.inc: Add ilogb errno and exception tests.
18331 * math/w_ilogb.c: New file: ilogb wrapper.
18332 * math/w_ilogbf.c: New file: ilogbf wrapper.
18333 * math/w_ilogbl.c: New file: ilogbl wrapper.
18334 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18335 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18336 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18337 exception being thrown with 0.0 as argument.
18338 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18339 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18340 exception being thrown with 0.0 as argument.
18341 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18342 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18343 exception being thrown with 0.0 as argument.
18344 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18345 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18346 exception being thrown with 0.0 as argument.
18347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18348 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18349 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18350 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18352 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18353 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18354 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18355 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18356
0396e69d
PB
183572012-04-17 Petr Baudis <pasky@ucw.cz>
18358
18359 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18360 with altivec.
18361
750b5926
MP
183622012-04-16 Marek Polacek <polacek@redhat.com>
18363
18364 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18365
751728a1
MP
183662012-04-16 Marek Polacek <polacek@redhat.com>
18367
18368 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18369 operands of fdivp instruction.
18370
34a27407
L
183712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18372
18373 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18374 * elf/tst-auditmod3b.c: Likewise.
18375 * elf/tst-auditmod4b.c: Likewise.
18376 * elf/tst-auditmod5b.c: Likewise.
18377 * elf/tst-auditmod6b.c: Likewise.
18378 * elf/tst-auditmod6c.c: Likewise.
18379 * elf/tst-auditmod7b.c: Likewise.
18380 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18381 * sysdeps/x86_64/preconfigure.in: Likewise.
18382 * sysdeps/x86_64/preconfigure: Regenerated.
18383
7e73e17d
L
183842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18385
18386 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18387 __ILP32__.
18388
c7a6ab72
AB
183892012-04-13 Antoine Balestrat <merkil33@gmail.com>
18390
18391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18392 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18393
a9e8e0e0
CL
183942012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18395
18396 [BZ #13973]
18397 * locale/iso-639.def: Fix gl language name. Spotted by
18398 Yaron Shahrabani.
18399
ec98af7d
RM
184002012-04-12 Roland McGrath <roland@hack.frob.com>
18401
18402 [BZ #2074]
18403 * libio/libio.h (__io_write_fn): Update comment.
18404
247c3ede
PB
184052012-04-12 Petr Baudis <pasky@ucw.cz>
18406
18407 [BZ #2074]
18408 * stdio.texi (Hook Functions): The user provided writer function
18409 is not allowed to return -1.
18410
55939d6d
DM
184112012-04-11 David S. Miller <davem@davemloft.net>
18412
18413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18414
90020f5a
MF
184152012-04-11 Mike Frysinger <vapier@gentoo.org>
18416
18417 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18418 Add a leading slash to rtkaio.
18419
288f9098
JM
184202012-04-11 Jim Meyering <meyering@redhat.com>
18421
90020f5a
MF
18422 [BZ #11959]
18423 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18424 It is not necessarily an error to ignore fwrite's return
18425 value. One can reliably use ferror to test for errors after
18426 the fact.
288f9098 18427
4be2b570
L
184282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18429
18430 * bits/types.h (__snseconds_t): New type.
18431 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18432
18433 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18435 (__SNSECONDS_T_TYPE): Likewise.
18436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18437 (__SNSECONDS_T_TYPE): Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18439 (__SNSECONDS_T_TYPE): Likewise.
18440
288f9098 184412012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18442
18443 [BZ #2636]
18444 * manual/time.texi (Processor Time): Return type of times is
18445 elapsed real time since an arbitrary point in the past.
18446 (CPU Time): Move CLK_TCK from here...
18447 (Processor Time): ...to here. Correct description.
18448 * manual/conf.texi (Constants for Sysconf): Correct description of
18449 _SC_CLK_TCK.
18450
d7dd4413
DM
184512012-04-10 David S. Miller <davem@davemloft.net>
18452
18453 [BZ #13967]
18454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18455 where the is a gap between DT_REL(A) and DT_JMPREL.
18456
b46068fc
L
184572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18458
18459 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18460 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18461 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18462
73d65cc3
SP
184632012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18464
18465 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18466 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18467 (dl_main): Handle --inhibit-cache.
18468 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18469 _dl_inhibit_cache.
18470 * elf/dl-load.c (_dl_map_object): Use it.
18471 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18472
bcc8d661
JM
184732012-04-09 Joseph Myers <joseph@codesourcery.com>
18474
8f9a2fae
JM
18475 [BZ #13872]
18476 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18477 (__ieee754_powl): Saturate large exponents rather than testing for
18478 overflow of y*log2(x).
18479 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18480 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18481 exceptions.
18482
bcc8d661
JM
18483 [BZ #11521]
18484 * math/s_ctan.c: Include <float.h>.
18485 (__ctan): Avoid internal overflow or cancellation in calculating
18486 denominator.
18487 * math/s_ctanf.c: Likewise.
18488 * math/s_ctanl.c: Likewise.
18489 * math/s_ctanh.c: Likewise.
18490 * math/s_ctanhf.c: Likewise.
18491 * math/s_ctanhl.c: Likewise.
18492 * math/libm-test.inc (ctan_test): Add more tests.
18493 (ctanh_test): Likewise.
18494 * sysdeps/i386/fpu/libm-test-ulps: Update.
18495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18496
823fbbb4
AJ
184972012-04-09 Andreas Jaeger <aj@suse.de>
18498
03879793
AJ
18499 [BZ #6894]
18500 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18501 is an optional BSD extension.
18502
823fbbb4
AJ
18503 [BZ #10254]
18504 * manual/stdio.texi (Opening Streams): Document additional fopen
18505 parameters.
18506
8de131cb
RM
185072012-04-09 Roland McGrath <roland@hack.frob.com>
18508
18509 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18510 %eax without telling the compiler.
18511
c0ed9d7d
CD
185122012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18513
18514 [BZ # 13963]
18515 * manual/install.texi: Use sourceware.org.
18516
c483f6b4
JM
185172012-04-09 Joseph Myers <joseph@codesourcery.com>
18518
d7dd9453
JM
18519 [BZ #13873]
18520 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18521 (__ieee754_pow): Generate overflow and underflow using huge*huge
18522 and tiny*tiny rather than just returning constant infinity or zero
18523 for large exponents.
18524 * math/libm-test.inc (pow_test): Require overflow exceptions for
18525 applicable cases of large exponents.
18526
c483f6b4
JM
18527 [BZ #706]
18528 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18529 (__ieee754_pow): Use iterative multiplication algorithm only for
18530 integer exponents with absolute value below 1024. Check for odd
18531 integer exponents when using algorithm for real exponents.
18532 * math/libm-test.inc (pow_test): Add more tests.
18533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18534
d2de7579
JM
185352012-04-08 Joseph Myers <joseph@codesourcery.com>
18536
18537 [BZ #13705]
18538 * math/libm-test.inc (exp_test): Do not allow overflow exception
18539 on underflow test.
18540
f77f1232
AJ
185412012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18542
18543 [BZ #13705]
18544 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18545 instead of __kernel_standard_f.
18546
3884932b
MF
185472012-04-08 Mike Frysinger <vapier@gentoo.org>
18548
18549 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18550 * sysdeps/x86_64/memset_chk.S: Likewise.
18551
54472e9c
AJ
185522012-04-08 Andreas Jaeger <aj@suse.de>
18553
6ab0fbfc
AJ
18554 [BZ #10153]
18555 * manual/startup.texi (Environment Access): Describe return value
18556 for putenv and setenv.
18557
61efba8c
AJ
18558 [BZ #6895]
18559 * manual/filesys.texi (Directory Entries): Add description for
18560 DT_LNK.
18561
95c3f29a
AJ
18562 [BZ #6890]
18563 * manual/filesys.texi (Directory Entries): Clarify that it's file
18564 system not operating system in the description of DT_UNKNOWN.
18565
54472e9c
AJ
18566 [BZ #6578]
18567 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18568
624254b1
SC
185692012-04-08 Stephen Compall <s11@member.fsf.org>
18570
18571 [BZ #6649]
18572 * manual/llio.texi (Opening and Closing Files): Add cross
18573 reference to explain mode argument.
18574
1e4920e0
MF
185752012-04-07 Mike Frysinger <vapier@gentoo.org>
18576
18577 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18578 * sysdeps/x86_64/memset_chk.S: Likewise.
18579
5ed848f3
DM
185802012-04-07 David S. Miller <davem@davemloft.net>
18581
18582 * elf/elf.h (R_SPARC_WDISP10): Define.
18583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18584 R_SPARC_SIZE32.
18585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18586 R_SPARC_SIZE64 and R_SPARC_H34.
18587
96154cd8
CD
185882012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18589
18590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18591 conditions and remove no longer applicable assertion.
18592
9904dc47
L
185932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * bits/byteswap.h: Include <features.h>.
18596 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18597 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18598
f8887d0a
L
185992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18600
18601 * bits/byteswap.h (__bswap_16): Removed.
18602 Include <bits/byteswap-16.h> to get __bswap_16.
18603 * sysdeps/i386/bits/byteswap.h: Likewise.
18604 * sysdeps/s390/bits/byteswap.h: Likewise.
18605 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18606 * bits/byteswap-16.h: New file.
18607 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18608 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18609 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18610 * string/Makefile (headers): Add bits/byteswap-16.h.
18611
62470f60
PP
186122012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18613
18614 [BZ #13895]
18615 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18616 extra indirection.
18617 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18618 * nss/tst-nss-static.c: New.
18619
4dad7bab
RM
186202012-04-06 Robert Millan <rmh@gnu.org>
18621
18622 [BZ #6486]
18623 * manual/llio.texi (File Position Primitive): lseek
18624 refers to WHENCE when it really means OFFSET.
18625
e9142a17
AJ
186262012-04-06 Andreas Jaeger <aj@suse.de>
18627
2c040eff
AJ
18628 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18629 strncmp declarations.
18630
e9142a17
AJ
18631 * abilist/libc.abilist: Add __poll and __ppoll.
18632
ff9f1c5f
DM
186332012-04-05 David S. Miller <davem@davemloft.net>
18634
dcd2ae90
DM
18635 * scripts/check-local-headers.sh: Accept a host triplet in the
18636 path matched by the exclude regexp.
18637
993eb054
DM
18638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18639 definition.
18640 * sysdeps/powerpc/powerpc32/dl-machine.h
18641 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18642 * sysdeps/s390/s390-32/dl-machine.h
18643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18644 * sysdeps/sparc/sparc32/dl-machine.h
18645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18646 * sysdeps/sparc/sparc64/dl-machine.h
18647 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18648
ff9f1c5f
DM
18649 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18650 lazy binding.
48e2e132 18651 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
18652 undefined symbol errors.
18653
48e2e132 18654 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
18655 DT_NEEDED entries.
18656
e80d6f94
MM
186572012-04-05 Michael Matz <matz@suse.de>
18658
18659 [BZ #13592]
18660 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18661
349fa79f
AJ
186622012-04-05 Andreas Jaeger <aj@suse.de>
18663
18664 [BZ #13908]
18665 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18666 comment.
18667
f402708f
KK
186682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18669
18670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18671 which ROUND is no valid rounding mode.
18672
2ecccfc9
KK
186732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18674
18675 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18676 read again.
18677 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18678
8a53f50f
KK
186792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18680
18681 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18682 an exception using FPU order intentionally.
18683
186842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18685
18686 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18687 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18688 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18689 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18690
d653abb7
SJ
186912012-04-05 Simon Josefsson <simon@josefsson.org>
18692
18693 [BZ #12340]
18694 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18695 EINVAL when BUFLEN is too smal.
18696
c3b1bf7d
TS
186972012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18698
18699 [BZ #13553]
18700 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18701 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18702
b1aa60f3
AJ
187032012-04-03 Andreas Jaeger <aj@suse.de>
18704
c3b1bf7d 18705 [BZ #13938]
67f60a26
AJ
18706 * manual/setjmp.texi (System V contexts): Fix sentence.
18707
b1aa60f3
AJ
18708 [BZ #13926]
18709 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18710 New macro for this case.
18711 [!__GNUC__] (__bswap_64): New inline function for this case.
18712 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18713 * bits/byteswap.h: Likewise.
18714 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18715 ull, guard with __GLIBC_HAVE_LONG_LONG.
18716
18717 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18718 __GLIBC_HAVE_LONG_LONG.
18719
18720 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18721 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18722
39c59c35
TMQMF
187232012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18724
18725 [BZ #13691]
18726 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18727 inptr and inend, rather than using last_ch.
18728
135ffda8
DM
187292012-04-02 David S. Miller <davem@davemloft.net>
18730
18731 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18732 * stdio-common/printf-parse.h (read_int): Change return type to
18733 'int', return -1 on INT_MAX overflow.
18734 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18735 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18736 overflows INT_MAX. Check for overflow of in-format-string precision
18737 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18738 SIZE_MAX not INT_MAX for integer overflow test.
18739 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18740 skip the construct in the format string but do not record anything.
18741 * stdio-common/bug22.c: Adjust to test both width/prevision
18742 INT_MAX overflow as well as total length INT_MAX overflow. Check
18743 explicitly for proper errno values.
18744
228c019e
TS
187452012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18746
302cadd3
TS
18747 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18748 CHAR_MAX.
18749 * string/test-strcmp.c [! WIDE]: Likewise.
18750 * time/tst-mktime2.c: Likewise for INT_MAX.
18751 * string/test-string.h: #include <sys/param.h> for MIN.
18752
228c019e
TS
18753 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18754 * sysdeps/i386/init-first.c (init): Likewise.
18755 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18756 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18757 * sysdeps/sh/init-first.c (init): Likewise.
18758
cfa633f5
UD
187592012-04-01 Ulrich Drepper <drepper@gmail.com>
18760
18761 * po/ru.po: Update from translation team.
d1635ef8 18762 * po/vi.po: Likewise.
cfa633f5 18763
6cd0a5ea
SP
187642012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18765
18766 * resolv/nss_dns/dns-host.c: Merge copyright years.
18767
4b43400f
LD
187682012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18769
18770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18771 Optimize memcpy with prefetch if
18772 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18773 src, dst pointers have unequal 16 byte alignments.
18774
48c41d04
SP
187752012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18776
18777 [BZ #13928]
18778 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18779 from a CNAME entry and return the minimum ttl for the query.
18780 (gaih_getanswer_slice): Likewise.
18781
b8dc394d
JL
187822012-03-30 Jeff Law <law@redhat.com>
18783
18784 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18785 due to long keys.
18786 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18787 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18788
2f5a5ed0
JL
18789 * resolv/nss_dns/dns-host.c: Update copyright year.
18790
1d39e359
UD
187912012-03-30 Ulrich Drepper <drepper@gmail.com>
18792
c030f70c 18793 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 18794 requests to save a system call. Fix check that all bytes are sent.
c030f70c 18795
1d39e359
UD
18796 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18797 comments for sendmmsg.
18798
187992012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
18800
18801 [BZ #13691]
18802 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18803 with only 1 character between 0x0041 and 0x01b0.
18804 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18805 * wcsmbs/tst-mbsnrtowcs.c: New file.
18806
20fde227
DM
188072012-03-29 David S. Miller <davem@davemloft.net>
18808
18809 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18810 small copies by hand.
18811
984a4237
JL
188122012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18813
18814 [BZ #13761]
18815 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18816 _nss_compat_initgroups_dyn): Fall back to malloc/free
18817 for large group memberships.
18818
18c9d62b
DM
188192012-03-28 David S. Miller <davem@davemloft.net>
18820
88d85d4f
DM
18821 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18822 that branches into memcpy.
18823 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18825 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18826 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18828 bits.
18829 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18830 implementation too.
18831 * sysdeps/sparc/mempcpy.S: New file.
18832
e5aa83e1
DM
18833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18834 the IFUNC routine in the libc case.
18835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18836
88570753
DM
18837 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18838 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18839 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18840 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18841 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18842 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18843 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18844 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18845
249d7567
DM
18846 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18847 loop to 256 bytes instead of 64 bytes and fix test signedness.
18848
18c9d62b
DM
18849 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18850 * sysdeps/sparc/sparc32/Makefile: rather than here...
18851 * sysdeps/sparc/sparc64/Makefile: and here.
18852
05f3d1f6
UD
188532012-03-28 Ulrich Drepper <drepper@gmail.com>
18854
18855 * malloc/mallocbug.c: Avoid warnings about unused variables.
18856
86ae07a8
JL
188572012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18858
18859 [BZ #13760]
18860 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18861 in the right place. Discard and retry query if response is
18862 larger than input buffer size.
18863
41bf21a1
JM
188642012-03-28 Joseph Myers <joseph@codesourcery.com>
18865
d6270972
JM
18866 [BZ #369]
18867 [BZ #2678]
18868 [BZ #3866]
18869 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18870 x for large integer exponent.
18871 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18872 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18873 sign of result as needed afterwards.
18874 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18875 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18876 result for underflowing pow the same as for overflow.
18877 (__kernel_standard_l): Handle powl overflow and underflow here
18878 rather than calling __kernel_standard.
18879 * math/libm-test.inc (pow_test): Add more tests.
18880
414fca03 18881 [BZ #3868]
41bf21a1
JM
18882 [BZ #13879]
18883 [BZ #13910]
18884 [BZ #13911]
18885 [BZ #13912]
18886 [BZ #13913]
18887 [BZ #13915]
18888 [BZ #13916]
18889 [BZ #13917]
18890 [BZ #13918]
18891 [BZ #13919]
18892 [BZ #13920]
18893 [BZ #13921]
18894 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18895 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18896 (__kernel_standard_l): New function.
18897 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18898 __kernel_standard.
18899 * math/w_acosl.c (__acosl): Likewise.
18900 * math/w_asinl.c (__asinl): Likewise.
18901 * math/w_atan2l.c (__atan2l): Likewise.
18902 * math/w_atanhl.c (__atanhl): Likewise.
18903 * math/w_coshl.c (__coshl): Likewise.
18904 * math/w_exp10l.c (__exp10l): Likewise.
18905 * math/w_exp2l.c (__exp2l): Likewise.
18906 * math/w_fmodl.c (__fmodl): Likewise.
18907 * math/w_hypotl.c (__hypotl): Likewise.
18908 * math/w_j0l.c (__j0l, __y0l): Likewise.
18909 * math/w_j1l.c (__j1l, __y1l): Likewise.
18910 * math/w_jnl.c (__jnl, __ynl): Likewise.
18911 * math/w_lgammal.c (__lgammal): Likewise.
18912 * math/w_log10l.c (__log10l): Likewise.
18913 * math/w_log2l.c (__log2l): Likewise.
18914 * math/w_logl.c (__logl): Likewise.
18915 * math/w_powl.c (__powl): Likewise.
18916 * math/w_remainderl.c (__remainderl): Likewise.
18917 * math/w_scalbl.c (sysv_scalbl): Likewise.
18918 * math/w_sinhl.c (__sinhl): Likewise.
18919 * math/w_sqrtl.c (__sqrtl): Likewise.
18920 * math/w_tgammal.c (__tgammal): Likewise.
18921 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18922 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18923 * math/libm-test.inc (acos_test): Add more tests.
18924 (acosh_test): Likewise.
18925 (asin_test): Likewise.
18926 (atanh_test): Likewise.
18927 (exp_test): Likewise.
18928 (exp10_test): Likewise.
18929 (exp2_test): Likewise.
18930 (expm1_test): Likewise.
18931 (lgamma_test): Likewise.
18932 (log_test): Likewise.
18933 (log10_test): Likewise.
18934 (log1p_test): Likewise.
18935 (log2_test): Likewise.
18936 (pow_test): Do not allow some spurious overflow exceptions.
18937 (sqrt_test): Add more tests.
18938 (tgamma_test): Likewise.
18939 (y0_test): Likewise.
18940 (y1_test): Likewise.
18941 (yn_test): Likewise.
18942
dd62fda6
AB
189432012-03-27 Anton Blanchard <anton@samba.org>
18944
18945 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18946 MAP_HUGETLB.
18947 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18948 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18949 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18950
1e3cdfda
AJ
189512012-03-27 David S. Miller <davem@davemloft.net>
18952
b855ab85
DM
18953 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18954
1e3cdfda
AJ
18955 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18956 have-as-vis3 check.
18957
189582012-03-27 Andreas Jaeger <aj@suse.de>
18959
18960 * sysdeps/x86_64/elf/configure.in: Moved to ...
18961 * sysdeps/x86_64/configure.in: ... here.
18962 * sysdeps/x86_64/elf/start.S: Moved to ...
18963 * sysdeps/x86_64/start.S: ... here.
18964 * sysdeps/x86_64/elf/configure: Delete.
18965
18966 * sysdeps/x86_64/configure.in: Merge contents from
18967 sysdeps/i386/configure.in (without i686 check).
18968
18969 * sysdeps/i386/elf/Versions: Merge into ...
18970 * sysdeps/i386/Versions: ... this.
18971 * sysdeps/i386/elf/Versions: Delete file.
18972 * sysdeps/i386/elf/start.S: Moved to ...
18973 * sysdeps/i386/start.S: ...here.
18974 * sysdeps/i386/elf/configure.in: Merge into...
18975 * sysdeps/i386/configure.in: ...here.
18976 * sysdeps/i386/elf/configure.in: Delete file.
18977 * sysdeps/i386/elf/configure: Delete file.
18978
18979 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18980 * debug/backtracesyms.c: ... here.
18981 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18982 * debug/backtracesymsfd.c: ... here.
18983 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18984 * sysdeps/generic/ifunc-sel.h: ... here.
18985
18986 * sysdeps/unix/i386/start.c: Delete file.
18987 * sysdeps/unix/sparc/start.c: Delete file.
18988 * sysdeps/unix/start.c: Delete file.
18989
18990 * sysdeps/sh/elf/configure.in: Moved to ...
18991 * sysdeps/sh/configure.in: ... here.
18992 * sysdeps/sh/elf/start.S: Moved to ...
18993 * sysdeps/sh/start.S: ... here.
18994 * sysdeps/sh/elf/configure: Delete file.
18995
18996 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18997 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18998 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18999 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19000 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19001 * sysdeps/powerpc/powerpc64/start.S: here.
19002 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19003 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19004 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19005 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19006 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19007
19008 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19009 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19010 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19011 * sysdeps/powerpc/powerpc32/start.S: ... here.
19012 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19013 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19014 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19015
19016 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19017 * sysdeps/powerpc/ifunc-sel.h: ... here.
19018 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19019 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19020
19021 * sysdeps/sparc/elf/configure.in: Moved to ...
19022 * sysdeps/sparc/configure.in: ... here.
19023 * sysdeps/sparc/elf/configure: Delete file.
19024 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19025 * sysdeps/sparc/sparc32/start.S: ... here.
19026 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19027 * sysdeps/sparc/sparc64/start.S: ... here.
19028 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19029 * sysdeps/sparc/sparc32/Makefile: ... this.
19030 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19031 * sysdeps/sparc/sparc64/Makefile: ... this.
19032
19033 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19034 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19035 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19036 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19037 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19038 * sysdeps/s390/s390-32/setjmp.S: ... here.
19039 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19040 * sysdeps/s390/s390-32/configure.in: ... here.
19041 * sysdeps/s390/s390-32/elf/configure: Delete file.
19042 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19043 * sysdeps/s390/s390-32/start.S: ... here.
19044
19045 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19046 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19047 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19048 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19049 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19050 * sysdeps/s390/s390-64/setjmp.S: ... here.
19051 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19052 * sysdeps/s390/s390-64/configure.in: ... here
19053 * sysdeps/s390/s390-64/elf/configure: Delete file.
19054 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19055 * sysdeps/s390/s390-64/start.S: ... here.
19056 * sysdeps/s390/s390-64/elf/configure: Delete.
19057
19058 * configure.in: Remove support for elf directories in sysdeps.
19059
19060 * configure: Regenerated.
19061 * sysdeps/i386/configure: Regenerated.
19062 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19063 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19064 * sysdeps/s390/s390-32/configure: Regenerated.
19065 * sysdeps/s390/s390-64/configure: Regenerated.
19066 * sysdeps/sh/configure: Regenerated.
19067 * sysdeps/sparc/configure: Regenerated.
19068 * sysdeps/x86_64/configure: Regenerated.
19069
a3f61311
AS
190702012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19071
c876e002
AS
19072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19073
a3f61311
AS
19074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19075 denormal result into account.
19076
ac4c54f0
RM
190772012-03-25 Roland McGrath <roland@hack.frob.com>
19078
19079 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19080 Reported by Allan McRae <allan@archlinux.org>.
19081
6a9b9c02
JL
190822012-03-23 Jeff Law <law@redhat.com>
19083
19084 * nss/getnssent.c (__nss_getent): Fix typo.
19085
4c42a0c1
DM
190862012-03-23 David S. Miller <davem@davemloft.net>
19087
19088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19089
1532c7ac
L
190902012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19091
19092 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19093 to pad to uint64_t for each field.
19094 (dl_tls_index): Replace unsigned long with uint64_t.
19095
3ff42526
PP
190962012-03-23 Daniel Jacobowitz <dmj@google.com>
19097 Paul Pluzhnikov <ppluzhnikov@google.com>
19098
19099 [BZ #6528]
19100 * grp/Makefile (otherlibs): Don't set it.
19101 * inet/Makefile (otherlibs): Likewise.
19102 * login/Makefile (otherlibs): Likewise.
19103 * nscd/Makefile (otherlibs): Likewise.
19104 * posix/Makefile (otherlibs): Likewise.
19105 * pwd/Makefile (otherlibs): Likewise.
19106 * rt/Makefile (otherlibs): Likewise.
19107 * sunrpc/Makefile (otherlibs): Likewise.
19108 * nss/Makefile (otherlibs): Likewise.
19109 Add libnss_files to routines and static-only-routines.
19110 ($(objpfx)getent): Remove rule.
19111 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19112 static-only-routines.
19113
7c69cd14
JM
191142012-03-22 Joseph Myers <joseph@codesourcery.com>
19115
19116 [BZ #13892]
19117 * math/s_cexp.c: Include <float.h>.
19118 (__cexp): Handle exp result overflowing not necessarily
19119 overflowing both real and imaginary parts of result.
19120 * math/s_cexpf.c: Likewise.
19121 * math/s_cexpl.c: Likewise.
19122 * math/libm-test.inc (cexp_test): Add more tests.
19123 * sysdeps/i386/fpu/libm-test-ulps: Update.
19124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19125
81b035fe
L
191262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 * include/link.h (ELFW): New macro.
19129 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19130 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19131
1da7940c
L
191322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19135 with uint64_t.
19136
b749dbb9
L
191372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19138
19139 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19140 declaration.
19141 (struct La_x32_retval): Likewise.
19142
2ff87f3f
L
191432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 * sysdeps/x86_64/preconfigure.in: New file.
19146 * sysdeps/x86_64/preconfigure: New generated file.
19147
c0df8e69
JM
191482012-03-22 Joseph Myers <joseph@codesourcery.com>
19149
48e44791
JM
19150 [BZ #13824]
19151 * math/e_exp2l.c: Include <float.h>.
19152 (__ieee754_exp2l): Handle overflow and underflow cases
19153 separately. Only pass fractional part of argument to
19154 __ieee754_expl.
19155 * math/libm-test.inc (exp2_test): Add more tests.
19156
c0df8e69
JM
19157 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19158 negating x to take absolute value.
19159 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19160 Likewise.
19161 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19163 Likewise.
19164 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19165 computing low part if x was negated.
19166 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19167
c8e43ba7
L
191682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19169
19170 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19171 la_x32_gnu_pltexit.
19172 (pltexit): Cast int_retval to ptrdiff_t.
19173 * elf/tst-auditmod3b.c: Likewise.
19174 * elf/tst-auditmod4b.c: Likewise.
19175 * elf/tst-auditmod5b.c: Likewise.
19176 * elf/tst-auditmod6b.c: Likewise.
19177 * elf/tst-auditmod6c.c: Likewise.
19178 * elf/tst-auditmod7b.c: Likewise.
19179
19180 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19181 and x32_gnu_pltexit.
19182
19183 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19184 __ELF_NATIVE_CLASS.
19185 (La_x32_regs): New macro.
19186 (La_x32_retval): Likewise.
19187 (la_x32_gnu_pltenter): New function prototype.
19188 (la_x32_gnu_pltexit): Likewise.
19189
7998fa78
AS
191902012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19191
dcb33988
AS
19192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19193 exponent.
19194
233fc563
AS
19195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19196
7998fa78
AS
19197 * configure.in (libc_cv_cc_nofma): Check for option to disable
19198 generation of FMA instructions.
19199 * configure: Regenerate.
19200 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19201 * sysdeps/ieee754/dbl-64/Makefile: New file.
19202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19203 Remove brandred-fma4.
19204 (CFLAGS-brandred-fma4.c): Remove.
19205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19206 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19207 define.
19208 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19209 define.
19210
8e95c99a
L
192112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19212
19213 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19214 LLONG_MAX != LONG_MAX.
19215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19216 (_fitoa_word): Likewise.
19217 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19218 LLONG_MAX != LONG_MAX.
19219 * stdio-common/_itowa.h: Include <_itoa.h>.
19220 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19221 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19222 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19223 only if not defined.
19224 (_ITOA_WORD_TYPE): Likewise.
19225 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19226 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19227
6f4db457
DM
192282012-03-21 David S. Miller <davem@davemloft.net>
19229
19230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19231
7785fe5a
L
192322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19233
19234 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19235 of x86_64 when setting libc_cv_slibdir, libdir and
19236 libc_cv_localedir.
19237 * sysdeps/unix/sysv/linux/configure: Regenerated.
19238
4535cd55
JM
192392012-03-21 Joseph Myers <joseph@codesourcery.com>
19240
19241 * manual/lang.texi (Old Varargs): Remove section.
19242 (How Variadic): Update menu.
19243 (va_start): Do not mention varargs.h.
19244
17228132
TS
192452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19246 Joseph Myers <joseph@codesourcery.com>
19247
19248 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19249 link test.
19250 * configure: Regenerated.
19251
8149f976
TS
192522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19253
05f3d1f6
UD
19254 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19255 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19256 conformtest.pl
8149f976 19257
1a4ac776
JM
192582012-03-21 Joseph Myers <joseph@codesourcery.com>
19259
be22ce65
JM
19260 * NOTES: Remove.
19261 * Makefile (files-for-dist): Remove NOTES.
19262 (NOTES): Remove rule.
19263 * README: Don't refer to NOTES.
19264 * manual/creature.texi: Don't include macros.texi.
19265 * manual/intro.texi (creature.texi): Remove comment referring to
19266 NOTES.
19267
40b601fb
JM
19268 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19269 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19270 * configure: Regenerated.
19271 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19272 LIBC_TRY_CC_OPTION.
19273 (libc_cv_as_i686): Likewise.
19274 (libc_cv_cc_avx): Likewise.
19275 (libc_cv_cc_sse2avx): Likewise.
19276 (libc_cv_cc_fma4): Likewise.
19277 (libc_cv_cc_novzeroupper): Likewise.
19278 * sysdeps/i386/configure: Regenerated.
19279
1a4ac776
JM
19280 [BZ #13883]
19281 * sysdeps/i386/fpu/s_cexp.S: Remove.
19282 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19283 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19284 * math/libm-test.inc (cexp_test): Add more tests.
19285 * sysdeps/i386/fpu/libm-test-ulps: Update.
19286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19287
a458e7fe
AM
192882012-03-21 Allan McRae <allan@archlinux.org>
19289
19290 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19291
0cb7efc5
JM
192922012-03-21 Joseph Myers <joseph@codesourcery.com>
19293
19294 [BZ #13871]
19295 * math/w_exp2.c: Do not include <float.h>.
19296 (o_threshold, u_threshold): Remove.
19297 (__exp2): Calculate result before checking finiteness and calling
19298 __kernel_standard.
19299 * math/w_exp2f.c: Likewise.
19300 * math/w_exp2l.c: Likewise.
19301 * math/libm-test.inc (exp2_test): Require overflow exception for
19302 1e6 input.
2460d3aa
JM
19303
19304 [BZ #3866]
19305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19306 range of signed 64-bit integers before using fistpll. Remove
19307 checks for whether integers fit in mantissa bits.
19308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19309 the range of signed 32-bit integers before using fistpl. Remove
19310 checks for whether integers fit in mantissa bits.
19311 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19312 (__ieee754_powl): Test for y outside the range of signed 64-bit
19313 integers before using fistpll. Reduce 64-bit values to 63-bit
19314 ones as needed.
19315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19316 divide-by-zero is raised for zero to large negative powers.
19317 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19318 (__ieee754_powl): Test for y outside the range of signed 64-bit
19319 integers before using fistpll. Reduce 64-bit values to 63-bit
19320 ones as needed.
19321 * math/libm-test.inc (pow_test): Add more tests.
19322
eb96ffb0
L
193232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19326 <stdio-common/_itoa.h>.
19327 * debug/segfault.c: Likewise.
19328 * elf/dl-cache.c: Likewise.
19329 * elf/dl-minimal.c: Likewise.
19330 * elf/dl-misc.c: Likewise.
19331 * elf/dl-sysdep.c: Likewise.
19332 * elf/dl-version.c: Likewise.
19333 * elf/rtld.c: Likewise.
19334 * hurd/hurdsock.c: Likewise.
19335 * hurd/lookup-retry.c: Likewise.
19336 * malloc/malloc.c: Likewise.
19337 * malloc/mtrace.c: Likewise.
19338 * nscd/nscd_getgr_r.c: Likewise.
19339 * nscd/nscd_getpw_r.c: Likewise.
19340 * nscd/nscd_getserv_r.c: Likewise.
19341 * posix/getopt_init.c: Likewise.
19342 * posix/wordexp.c: Likewise.
19343 * stdio-common/_itoa.c: Likewise.
19344 * stdio-common/printf_fphex.c: Likewise.
19345 * stdio-common/vfprintf.c: Likewise.
19346 * string/_strerror.c: Likewise.
19347 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19348 * sysdeps/i386/i686/hp-timing.h: Likewise.
19349 * sysdeps/mach/_strerror.c: Likewise.
19350 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19351 * sysdeps/mach/hurd/sethostid.c: Likewise.
19352 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19353 * sysdeps/mach/xpg-strerror.c: Likewise.
19354 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19355 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19356 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19357 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19358 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19359 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19360 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19361 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19362 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19363 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19364 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19365 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19366 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19367 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19368 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19369 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19370 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19372 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19373 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19375
19376 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19377
19378 * stdio-common/_itoa.h: Moved to ...
19379 * sysdeps/generic/_itoa.h: Here.
19380
19381 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19382
19383 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19384 instead of "_itoa.h" and "_itowa.h".
19385 * stdio-common/vfprintf.: Likewise.
19386
d1af992d
L
193872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19388
19389 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19390 <bits/wordsize.h>.
19391 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19392 (__signbit): Likwise.
19393 (llrintf): Likwise.
19394 (llrint): Likwise.
19395
114883e0
L
193962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19397
19398 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19399 __WORDSIZE != 64.
19400
c135cc1b
JM
194012012-03-20 Joseph Myers <joseph@codesourcery.com>
19402
19403 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19404 OVERFLOW_EXCEPTION_OK.
19405 * math/libm-test.inc ("Philosophy"): Update comment about
19406 exception testing.
19407 (OVERFLOW_EXCEPTION): Define.
19408 (OVERFLOW_EXCEPTION_OK): Likewise.
19409 (INVALID_EXCEPTION_OK): Renumber.
19410 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19411 (IGNORE_ZERO_INF_SIGN): Likewise.
19412 (test_exceptions): Handle FE_OVERFLOW.
19413 (exp10_test): Expect overflow exceptions.
19414 (exp2_test): Likewise.
19415 (expm1_test): Likewise.
19416 (nextafter_test): Likewise.
19417 (pow_test): Likewise.
19418 (scalbn_test): Likewise.
19419 (scalbln_test): Likewise.
19420
95443d88
L
194212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19422
19423 * sysdeps/x86_64/bits/atomic.h
19424 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19425 64bit integer.
19426 (atomic_exchange_acq): Likewise.
19427 (__arch_exchange_and_add_body): Likewise.
19428 (__arch_add_body): Likewise.
19429 (atomic_add_negative): Likewise.
19430 (atomic_add_zero): Likewise.
19431
490df6c4
L
194322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19433
c2722551 19434 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19435 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19436
5e52b189
L
194372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19438
19439 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19440 Check __x86_64__ instead of __WORDSIZE.
19441
a9879d4c
L
194422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19443
19444 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19445
5df98260
DM
194462012-03-19 David S. Miller <davem@davemloft.net>
19447
e1497744
DM
19448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19449
5df98260
DM
19450 * sysdeps/sparc/fpu/fenv_private.h: New file.
19451 * sysdeps/sparc/fpu/math_private.h: Use it.
19452 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19453 Remove.
19454 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19455 (libc_feholdexcept_setroundl): Remove.
19456 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19457 Remove.
19458 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19459 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19460
b4c35121
L
194612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19462
19463 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19464 int64_t instead of long int.
19465 (INSERT_WORDS64): Likwise.
19466
56965fd7
L
194672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19468
19469 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19470 _Unwind_GetCFA return to _Unwind_Ptr first.
19471
83d1aec8
JM
194722012-03-19 Joseph Myers <joseph@codesourcery.com>
19473
1897ad44
JM
19474 [BZ #13629]
19475 * math/s_clog.c: Include <float.h>.
19476 (__clog): Scale large or subnormal inputs.
19477 * math/s_clogf.c: Likewise.
19478 * math/s_clogl.c: Likewise.
19479 * math/s_clog10.c: Include <float.h>.
19480 (M_LOG10_2): Define.
19481 (__clog10): Scale large or subnormal inputs.
19482 * math/s_clog10f.c: Likewise.
19483 * math/s_clog10l.c: Likewise.
19484 * math/libm-test.inc (clog_test): Add more tests.
19485 (clog10_test): Likewise.
19486 * sysdeps/i386/fpu/libm-test-ulps: Update.
19487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19488
7726d6a9
JM
19489 [BZ #11451]
19490 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19491 x and y.
19492 * math/libm-test.inc (atan2_test): Add another test.
19493
83d1aec8
JM
19494 * Makerules (common-objdir-compile): Remove.
19495 * sysdeps/unix/Makefile (config-generated): Do not add
19496 $(unix-generated) to variable.
19497 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19498 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19499 Remove rule.
19500 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19501 Likewise.
19502 [generic bits/local_lim.h] (before-compile): Do not append to
19503 variable.
19504 [generic bits/local_lim.h] (common-generated): Likewise.
19505 [generic sys/param.h] (before-compile): Do not append to variable.
19506 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19507 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19508 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19509 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19510 include.
19511 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19512 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19513 [generic sys/param.h] ($(addprefix
19514 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19515 [generic sys/param.h] (common-generated): Do not append to
19516 variable.
19517 [generic sys/param.h] (sysdep_headers): Likewise.
19518 [generic bits/errno.h] (before-compile): Do not append to
19519 variable.
19520 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19521 rule.
19522 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19523 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19524 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19525 [generic bits/errno.h] (common-generated): Do not append to
19526 variable.
19527 [generic bits/ioctls.h] (before-compile): Do not append to
19528 variable.
19529 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19530 rule.
19531 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19532 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19533 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19534 rule.
19535 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19536 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19537 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19538 [generic bits/ioctls.h] (common-generated): Do not append to
19539 variable.
19540 [generic sys/syscall.h] (syscall.h): Remove variable.
19541 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19542 rule.
19543 [generic sys/syscall.h] (before-compile): Do not append to
19544 variable.
19545 [generic sys/syscall.h] (common-generated): Likewise.
19546 * sysdeps/unix/errnos-tmpl.c: Remove file.
19547 * sysdeps/unix/errnos.awk: Likewise.
19548 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19549 * sysdeps/unix/ioctls.awk: Likewise.
19550 * sysdeps/unix/mk-local_lim.c: Likewise.
19551 * sysdeps/unix/snarf-ioctls: Likewise.
19552
4851a949
RH
195532012-03-19 Richard Henderson <rth@twiddle.net>
19554
bd37f2ee
RH
19555 * sysdeps/i386/fpu/fenv_private.h: New file.
19556 * sysdeps/i386/fpu/math_private.h: Use it.
19557 (math_opt_barrier, math_force_eval): Remove.
19558 (libc_feholdexcept_setround_53bit): Remove.
19559 (libc_feupdateenv_53bit): Remove.
19560 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19561 (math_opt_barrier, math_force_eval): Remove.
19562 (libc_feholdexcept): Remove.
19563 (libc_feholdexcept_setround): Remove.
19564 (libc_fetestexcept, libc_fesetenv): Remove.
19565 (libc_feupdateenv_test): Remove.
19566 (libc_feupdateenv, libc_feholdsetround): Remove.
19567 (libc_feresetround): Remove.
19568
d0adc922
RH
19569 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19570 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19571
0fe0f1f8
RH
19572 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19573 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19574 (libc_feupdateenv_testl): New.
19575 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19576 (libc_feupdateenv_testf): New.
19577 (libc_feupdateenv): Use libc_feupdateenv_test.
19578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19579 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19580
eb92c487
RH
19581 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19582 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19583 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19584 (libc_feresetround_noex): New.
19585 (libc_feresetround_noexf): New.
19586 (libc_feresetround_noexl): New.
19587 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19588 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19589 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19590 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19591 SET_RESTORE_ROUND.
19592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19594 (__cos): Likewise.
19595 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19596 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19597 SET_RESTORE_ROUND_NOEX.
19598 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19599 SET_RESTORE_ROUND_NOEXF.
19600 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19601 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19602 (libc_feholdsetroundf): New.
19603 (libc_feresetround, libc_feresetroundf): New.
19604
7d2e8012
RH
19605 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19606 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19607 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19608
b4dabbb4
RH
19609 * sysdeps/generic/math_private.h: Include <fenv.h>.
19610 (default_libc_feholdexcept): New.
19611 (default_libc_feholdexcept_setround): New.
19612 (default_libc_fesetenv, default_libc_feupdateenv): New.
19613 (libc_feholdexcept): Only define if undefined.
19614 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19615 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19616 (libc_feholdexcept_setroundl): Likewise.
19617 (libc_feholdexcept_setround_53bit): Likewise.
19618 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19619 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19620 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19621 (libc_feupdateenv_53bit): Likewise.
19622 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19623 (libc_feholdexcept): Convert from macro to inline function.
19624 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19625 (libc_fesetenv, libc_feupdateenv): Likewise.
19626
4851a949
RH
19627 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19628 not previously defined.
19629 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19630 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19631 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19632 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19633 * sysdeps/ieee754/flt-32/math_private.h: New file.
19634 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19635 math_private.h below SET_FLOAT_WORD.
19636 (__isnan, __isinf_ns, __finite): Remove.
19637 (__isnanf, __isinf_nsf, __finitef): Remove.
19638
e79d442e
AS
196392012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19640
19641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19642
90b80344
DM
196432012-03-17 David S. Miller <davem@davemloft.net>
19644
19645 [BZ #6471]
19646 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19647 for 2.16.
19648
edc21804
DM
196492012-03-16 David S. Miller <davem@davemloft.net>
19650
77e927af
DM
19651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19652 warnings.
19653
374976dd
DM
19654 [BZ #6471]
19655 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19656 properly.
19657 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19658 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19659 sysdep_routines when subdir is sysvipc.
19660 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19661 __getshmlba helper.
19662
edc21804
DM
19663 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19664
473c3ef3
L
196652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19666
19667 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19668 [__LP64__].
19669
eb0f39b6
L
196702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19673 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19674 (__lround): Renamed to ...
19675 (__llround): This. Replace long int with long long int.
19676 Define lround functions as aliases of llround functions.
19677 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19678
6b6cd74b
L
196792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19680
19681 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19682 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19683 adresses to uintptr_t. Replace "long int" and "unsigned long
19684 int" with "greg_t" on va_arg.
19685
f1a77b01
L
196862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19687
19688 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19689 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19690
19691 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19692 Move e_machine check before EI_CLASS check. Handle x32
19693 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19694 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19695 SKIP_EM_IA_64 and include
19696 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19697
19698 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19699 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19700 (add_system_dir): New macro.
19701
19702 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19703 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19704
11b90b9f
JM
197052012-03-16 Joseph Myers <joseph@codesourcery.com>
19706
c36e1d23
JM
19707 [BZ #2551]
19708 [BZ #2552]
19709 [BZ #2553]
19710 [BZ #2554]
19711 [BZ #2562]
19712 [BZ #2563]
19713 [BZ #2565]
19714 [BZ #2566]
19715 [BZ #2576]
19716 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19717 (y0): Likewise.
19718 * math/w_j0f.c (j0f): Likewise.
19719 (y0f): Likewise.
19720 * math/w_j0l.c (__j0l): Likewise.
19721 (__y0l): Likewise.
19722 * math/w_j1.c (j1): Likewise.
19723 (y1): Likewise.
19724 * math/w_j1f.c (j1f): Likewise.
19725 (y1f): Likewise.
19726 * math/w_j1l.c (__j1l): Likewise.
19727 (__y1l): Likewise.
19728 * math/w_jn.c (jn): Likewise.
19729 (yn): Likewise.
19730 * math/w_jnf.c (jnf): Likewise.
19731 (ynf): Likewise.
19732 * math/w_jnl.c (__jnl): Likewise.
19733 (__ynl): Likewise.
19734 * math/libm-test.inc (j0_test): Add more tests.
19735 (j1_test): Likewise.
19736 (jn_test): Likewise. Add trailing semicolon to existing test.
19737 (y0_test): Likewise.
19738 (y1_test): Likewise.
19739 * sysdeps/i386/fpu/libm-test-ulps: Update.
19740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19741
11b90b9f
JM
19742 [BZ #13851]
19743 [BZ #13854]
19744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19745 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19746 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19747 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19748 (__tanl): Set errno for infinite argument.
19749 * sysdeps/i386/fpu/mptan.c: Remove.
19750 * sysdeps/i386/fpu/s_tan.S: Likewise.
19751 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19752 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19753 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19754 * math/libm-test.inc (tan_test): Add more tests and enable more
19755 tests for double and long double.
19756 * sysdeps/i386/fpu/libm-test-ulps: Update.
19757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758
6a1bd2a1
JK
197592012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19760
19761 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19762 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19763
10a803e0
RM
197642012-03-16 Roland McGrath <roland@hack.frob.com>
19765
19766 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19767 * configure.in: Use it for both main tree and add-ons.
19768 * configure: Regenerated.
19769
f196c7f7
L
197702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19771
19772 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19773
8848d99d
JM
197742012-03-16 Joseph Myers <joseph@codesourcery.com>
19775
96cbe7f4
JM
19776 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19777 in comment.
19778
8848d99d
JM
19779 [BZ #13851]
19780 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19781 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19782 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19785 infinite argument.
19786 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19788 != 0 for prec == 2.
19789 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19790 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19791 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19792 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19793 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19794 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19795 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19796 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19797 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19798 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19799 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19800 * math/libm-test.inc (cos_test): Add more tests and enable more
19801 tests for long double.
19802 (sin_test): Likewise.
19803 (sincos_test): Likewise.
19804 * sysdeps/i386/fpu/libm-test-ulps: Update.
19805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19806
dd7f4703
DM
198072012-03-16 David S. Miller <davem@davemloft.net>
19808
19809 * sysdeps/sparc/fpu/math_private.h: New file.
19810
006f1daa
DM
198112012-03-15 David S. Miller <davem@davemloft.net>
19812
c0c83bc8
DM
19813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19814 file.
e6a62e18 19815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19817 file.
e6a62e18
DM
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19824 sysdep routines.
19825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19826
88cb87d9
DM
19827 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19828 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19829
006f1daa 19830 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19832 sparc-ifunc.h
006f1daa 19833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19835 Likewise.
19836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19837 Likewise.
006f1daa
DM
19838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19842 Likewise.
006f1daa
DM
19843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19848 Likewise.
19849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19850 Likewise.
006f1daa
DM
19851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19875
11e0098e
AS
198762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19877
19878 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19879 scaling.
19880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19881
e85b09d0
AJ
198822012-03-15 Andreas Jaeger <aj@suse.de>
19883
19884 [BZ #13852]
19885 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19886 ieee754/flt-32 implementation for sin, cos and sincos.
19887 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19888 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19889 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19890 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19891 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19892 ieee754/flt-32 implementation for tan.
19893
19894 * math/libm-test.inc (cos_test): Enable some large input tests for
19895 float as well
19896 (sin_test): Likewise.
19897 (sincos_test): Likewise.
19898 (tan_test): Add tests for large input.
19899
19900 * sysdeps/i386/fpu/libm-test-ulps: Update.
19901
81c64153
AJ
199022012-03-15 Andreas Jaeger <aj@suse.de>
19903
19904 [BZ #13658]
19905 * math/libm-test.inc (cos_test): Add more test cases.
19906 (sin_test): Likewise.
19907 (sincos_test): Likewise.
19908
7bbfa5c6
AJ
199092012-03-15 Andreas Jaeger <aj@suse.de>
19910
19911 [BZ #13837]
19912 * math/libm-test.inc (cos_test): Add a test case for large input
19913 value.
19914 (sin_test): Likewise.
19915 (sincos_test): Likewise.
19916
199172012-03-15 Andreas Jaeger <aj@suse.de>,
19918 Joseph Myers <joseph@codesourcery.com>
19919
19920 [BZ #13658]
0671f479 19921 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19922 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19923 * sysdeps/i386/fpu/branred.c: Likewise.
19924 * sysdeps/i386/fpu/dosincos.c: Likewise.
19925 * sysdeps/i386/fpu/mpa.c: Likewise.
19926 * sysdeps/i386/fpu/s_cos.S: Likewise.
19927 * sysdeps/i386/fpu/s_sin.S: Likewise.
19928 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19929 * sysdeps/i386/fpu/sincos32.c: Likewise.
19930
19931 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19932 Define.
19933 (libc_feupdateenv_53bit): Define.
19934 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19935 Define.
19936 (libc_feupdateenv_53bit): Define.
19937
19938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19939 53 bit (without extend i386 double precision).
19940
19941 * math/libm-test.inc (sincos_test): Add tests for large input.
19942 (sin): Likewise.
19943 (cos): Likewise.
19944
19945 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19946
9cad04ea
AS
199472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19948
19949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19950
f7062b9a
DM
199512012-03-15 David S. Miller <davem@davemloft.net>
19952
19953 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19954 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19955 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19956 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19969 file.
f7062b9a 19970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19972 file.
f7062b9a 19973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19975 file.
f7062b9a 19976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19978 file.
f7062b9a
DM
19979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19981 fmin/fmax sysdep routines.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19983
7bd951ff
DM
199842012-03-14 David S. Miller <davem@davemloft.net>
19985
559398ab
DM
19986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20011 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20015 routines.
20016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20017 file.
559398ab 20018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20020 file.
559398ab 20021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20023 file.
559398ab 20024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20026 file.
559398ab 20027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20029 file.
559398ab 20030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20032 file.
20033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20034 file.
20035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20036 file.
20037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20038 file.
20039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20040 New file.
20041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20042 file.
20043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20044 file.
559398ab 20045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20047 file.
559398ab 20048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20050 file.
559398ab 20051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20053 file.
559398ab 20054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20056 VIS3 routines.
559398ab
DM
20057
20058 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20059 New file.
20060
5a1c1e32
DM
20061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20062
eae47a36
DM
20063 * sysdeps/sparc/configure.in: New file.
20064 * sysdeps/sparc/configure: Generate.
20065 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20066 * configure: Regenerate.
20067 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20068 * config.make.in (have-as-vis3): New.
20069 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20070 available use -Av9d instead of -Av9a.
20071 * sysdeps/sparc/sparc64/Makefile: Likewise.
20072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20074 New file.
20075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20076 file.
20077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20078 New file.
20079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20080 file.
eae47a36
DM
20081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20086
c0c83bc8
DM
20087 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20088 fzeros/fnegs to load 0x80000000 into a float register instead of
20089 using the stack.
7bd951ff
DM
20090 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20091
bd951ccb
JM
200922012-03-14 Joseph Myers <joseph@codesourcery.com>
20093
20094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20095 bits/syscall.h.
20096 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20097 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20098 ($(inst_includedir)/bits/syscall.h): Remove rule.
20099 ($(objpfx)bits/syscall.d): Include instead of
20100 $(objpfx)syscall-list.d.
20101 (generated): Change syscall-list.h and syscall-list.d to
20102 bits/syscall.h and bits/syscall.d.
20103
bb4e6db2
RM
201042012-03-14 Roland McGrath <roland@hack.frob.com>
20105
20106 [BZ #13846]
20107 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20108
aa4a2ae1
JM
201092012-03-14 Joseph Myers <joseph@codesourcery.com>
20110
e456826d
JM
20111 [BZ #13841]
20112 * math/s_csqrt.c: Include <float.h>.
20113 (__csqrt): Scale large or subnormal inputs.
20114 * math/s_csqrtf.c: Likewise.
20115 * math/s_csqrtl.c: Likewise.
20116 * math/libm-test.inc (csqrt_test): Add more tests.
20117 * sysdeps/i386/fpu/libm-test-ulps: Update.
20118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20119
aa4a2ae1
JM
20120 [BZ #13840]
20121 * math/libm-test.inc (hypot_test): Add more tests.
20122
7c10fd35
DM
201232012-03-13 David S. Miller <davem@davemloft.net>
20124
20125 [BZ #13840]
20126 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20127 double-precision for the calculation instead of scaling.
20128
f453b98b
JM
201292012-03-13 Joseph Myers <joseph@codesourcery.com>
20130
20131 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20132 manipulate bits before adding and subtracting TWO52[sx].
20133 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20134 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20135 Likewise.
20136 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20137
09a3453f
DM
201382012-03-13 David S. Miller <davem@davemloft.net>
20139
8e59da90
DM
20140 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20141 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20143 rtld-global-offsets.h
20144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20145
2a8ab7f2
DM
20146 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20147 large parameters.
20148
10f62770
DM
20149 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20150
5f0bdb18
DM
20151 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20152 'err' in the ifdef scope in which it is actually used.
20153
09a3453f
DM
20154 * nss/nss_db/db-init.c: Include string.h
20155
b4b2eb5e
DM
201562012-03-12 David S. Miller <davem@davemloft.net>
20157
98bb2f1c
DM
20158 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20159 masking out of the most significant byte of random value used.
20160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20161 Fix coding style in previous change.
20162
b4b2eb5e
DM
20163 * sysdeps/unix/sysv/linux/kernel-features.h
20164 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20165 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20166 expression.
20167 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20168 later.
20169
6e226b09
DM
201702012-03-11 David S. Miller <davem@davemloft.net>
20171
a1bcbd40
DM
20172 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20173 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20174 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20175 for 'resultvar' otherwise things get truncated on 64-bit.
20176
cb9d6174
DM
20177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20178 Fix masking out of the most significant byte of random value used.
20179
6e226b09
DM
20180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20181
058c132d
AS
201822012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20183
20184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20185
2d2cd515
DM
201862012-03-09 David S. Miller <davem@davemloft.net>
20187
20188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20189 variables with appropriate CPP guards.
20190 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20191 frame pointer, not the stack pointer. Correct layout comments. Fix test
20192 on resulting framesize and the management of the outregs buffer for pltexit.
20193 Preserve floating point return values across _dl_call_pltexit call.
20194 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20195 framesize and the management of the outregs buffer for pltexit.
20196 Preserve floating point return values across _dl_call_pltexit
20197 call.
20198 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20199 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20200 (print_exit): Fix format string for return register value.
20201
9a07f9d0
JM
202022012-03-10 Joseph Myers <joseph@codesourcery.com>
20203
20204 * sunrpc/Makefile (others): Add rpcgen.
20205 ($(objpfx)rpcgen): Remove special build rule and dependency on
20206 libc.
20207 * sunrpc/rpcgen.c: New file.
20208
547b5e30
PE
202092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20210
c524201a
PE
20211 [BZ #13673]
20212 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20213 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20214 * sysdeps/i386/crti.S: Likewise.
20215 * sysdeps/i386/crtn.S: Likewise.
20216 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20217 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20218 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20219 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20220 * sysdeps/sh/crti.S: Likewise.
20221 * sysdeps/sh/crtn.S: Likewise.
20222 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20223
7b6235f2
PE
20224 [BZ #13673]
20225 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20226 with URL.
20227 * locale/programs/locfile-kw.gperf: Likewise.
20228 * locale/programs/charmap-kw.h: Regenerated.
20229 * locale/programs/locfile-kw.h: Likewise.
20230
547b5e30
PE
20231 [BZ #13673]
20232 * intl/plural.y: Replace FSF snail mail address with URL.
20233 * intl/plural.c: Regenerated.
20234
5f0a5dae
RH
202352012-03-09 Richard Henderson <rth@twiddle.net>
20236
20237 * include/math_private.h: Remove file.
20238 * math/math_private.h: Move file ...
20239 * sysdeps/generic/math_private.h: ... here.
20240
b8c03620
RH
20241 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20242 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20243 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20244
4e234f5d 20245 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20246 and <math_private.h>.
20247 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20248 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20249 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20250 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20251 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20284 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20285 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20310 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20311 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20312 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20313 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20314 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20321 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20325 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20326 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20329 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20330 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20335 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20338 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20339 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20340 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20341 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20342 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20343 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20344 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20345 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20347 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20348 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20349 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20350 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20351 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20352 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20353 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20354 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20355 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20356 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20357 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20358 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20359 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20360 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20363 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20364 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20365 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20366 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20367 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20368 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20370 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20371 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20373 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20374 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20375 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20376 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20377 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20378 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20379 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20380 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20381 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20382 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20383 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20384 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20385 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20386 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20387 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20388 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20389 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20390 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20391 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20392 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20393 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20394 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20395 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20396 * sysdeps/ieee754/k_standard.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20460 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20464 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20470 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20471 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20474 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20475 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20496 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20498 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20500 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20501 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20502 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20503 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20504 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20505 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20506 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20508 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20509 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20510 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20511 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20512 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20513 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20519 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20520 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20522 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20523 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20524 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20525 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20526 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20527 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20528 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20529 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20530 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20531 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20532 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20533 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20534 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20535 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20537 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20538 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20541 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20543 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20544 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20545 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20546 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20547 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20548 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20551 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20552 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20553 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20554 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20555 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20556 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20557 * sysdeps/ieee754/s_lib_version.c: Likewise.
20558 * sysdeps/ieee754/s_matherr.c: Likewise.
20559 * sysdeps/ieee754/s_signgam.c: Likewise.
20560 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20561 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20562 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20563 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20564 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20565 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20566 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20567 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20568 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20569 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20570 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20571 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20572 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20573 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20574 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20576 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20577 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20578 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 20581
1991fa03
JM
205822012-03-09 Joseph Myers <joseph@codesourcery.com>
20583
20584 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20585 * sunrpc/rpc_main.c: Likewise.
20586 * sunrpc/rpc_svcout.c: Likewise.
20587
60d6f5a6
DM
205882012-03-09 David S. Miller <davem@davemloft.net>
20589
20590 * include/math_private.h: New file.
20591
4962050e
JM
205922012-03-09 Joseph Myers <joseph@codesourcery.com>
20593
02a6f887
JM
20594 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20595 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20596 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20597 from <bits/socket_type.h>.
20598 (enum __socket_type): Don't define here.
20599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20601 bits/socket_type.h.
20602
c6e013c1
JM
20603 [BZ #13566]
20604 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20605 checking __USE_GNU.
20606
4962050e
JM
20607 * Makerules ($(inst_includedir)/%.h): New rule.
20608 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20609 (install-others): Remove variable setting.
20610 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20611
38842f45
RH
206122012-03-08 Richard Henderson <rth@twiddle.net>
20613
67bb6da6
RH
20614 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20615 from macro to inline function; merge with the
20616 !__LIBC_INTERNAL_MATH_INLINES version.
20617 (__ieee754_sqrtf): Likewise.
20618
15194b4b
RH
20619 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20620 to inline function.
20621 (__rintf, __floor, __floorf): Likewise.
20622
64e21ede
RH
20623 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20624 macro to inline function.
20625 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20626
38842f45
RH
20627 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20628 not <math/math_private.h>.
20629
c64bf5fe
DM
206302012-03-08 David S. Miller <davem@davemloft.net>
20631
20632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20633 copyright year.
20634 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20635
82d86f28
TS
206362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20637
20638 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20639 normalization.
20640 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20641 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20642
aea5d727
UD
206432012-03-08 Ulrich Drepper <drepper@gmail.com>
20644
20645 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20646 be defined individually, they must be defined as a block. Define
20647 S for printing a string instead of hidint the different by using a
20648 macro for adding the 'l'.
20649 * stdio-common/tst-fphex-wide.c: Adjust.
20650
70bca0a3
MP
206512012-03-07 Marek Polacek <polacek@redhat.com>
20652
20653 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20654
65b81130
MP
206552012-03-08 Marek Polacek <polacek@redhat.com>
20656
20657 [BZ #13806]
20658 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20659 * stdio-common/tst-fphex.c: Define a few macros to make the
20660 test reusable. Use them.
20661 * stdio-common/tst-fphex-wide.c: New file.
20662
07037eeb
JM
206632012-03-08 Joseph Myers <joseph@codesourcery.com>
20664
a7a93d50
JM
20665 [BZ #6911]
20666 * manual/macros.texi (gnusystems): New macro.
20667 (nongnusystems): Likewise.
20668 (gnulinuxhurdsystems): Likewise.
20669 (gnuhurdsystems): Likewise..
20670 (gnulinuxsystems): Likewise.
20671 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20672 variants of the GNU system, not "GNU system".
20673 * manual/conf.texi: Likewise.
20674 * manual/errno.texi: Likewise. Update example of errno macro
20675 expansion.
20676 * manual/filesys.texi: Likewise.
20677 (getumask): Document as specific to GNU/Hurd.
20678 * manual/install.texi: Likewise. Reword some references to
20679 GNU/Linux.
20680 * manual/intro.texi: Likewise.
20681 * manual/io.texi: Likewise.
20682 (File Name Portability): Detail which constraints are inapplicable
20683 to all GNU systems and which are only inapplicable to GNU/Hurd.
20684 * manual/job.texi: Likewise.
20685 * manual/llio.texi: Likewise.
20686 (O_NOCTTY): Document as present on GNU/Linux.
20687 * manual/maint.texi: Likewise.
20688 * manual/memory.texi: Likewise.
20689 * manual/pattern.texi: Likewise.
20690 * manual/pipe.texi: Likewise.
20691 * manual/process.texi: Likewise.
20692 * manual/resource.texi: Likewise.
20693 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20694 child on GNU/Hurd.
20695 * manual/setjmp.texi: Likewise.
20696 * manual/signal.texi: Likewise.
20697 * manual/startup.texi: Likewise.
20698 * manual/stdio.texi: Likewise.
20699 * manual/terminal.texi: Likewise.
20700 (ONLCR): Document as POSIX.
20701 (OXTABS): Document availability on GNU/Linux as XTABS.
20702 (ONOEOT): Document availability separately from other bits.
20703 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20704 * manual/time.texi: Likewise.
20705 * manual/users.texi: Likewise.
20706 * INSTALL: Regenerated.
20707 * sysdeps/gnu/errlist.c: Regenerated.
20708
07037eeb
JM
20709 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20710 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20711 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20712 puts.
20713 * configure: Regenerated.
20714
d1d3431a
JM
207152012-03-07 Joseph Myers <joseph@codesourcery.com>
20716
af6a1e37
JM
20717 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20718 default includes instead of AC_HEADER_CHECK.
20719 * sysdeps/i386/configure: Regenerated.
20720
d1d3431a
JM
20721 [BZ #10716]
20722 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20723 * math/s_cacoshf.c (__cacoshf): Likewise.
20724 * math/s_cacoshl.c (__cacoshl): Likewise.
20725 * math/s_casinh.c (__casinh): Set signs of result from argument.
20726 * math/s_casinhf.c (__casinhf): Likewise.
20727 * math/s_casinhl.c (__casinhl): Likewise.
20728 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20729 (casinh_test): Add more tests.
20730 * sysdeps/i386/fpu/libm-test-ulps: Update.
20731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20732
482ff4da
UD
207332012-03-07 Ulrich Drepper <drepper@gmail.com>
20734
872fda05
UD
20735 * po/zh_TW.po: Update from translation team.
20736
a4300c7a
UD
20737 * login/Makefile (distribute): Remove variable.
20738 * catgets/Makefile: Likewise.
20739 * mach/Makefile: Likewise.
20740 * malloc/Makefile: Likewise.
20741 * misc/Makefile: Likewise.
20742 * iconv/Makefile: Likewise.
20743 * nscd/Makefile: Likewise.
20744 * hurd/Makefile: Likewise.
20745 * manual/Makefile: Likewise.
20746 * locale/Makefile: Likewise.
20747 * intl/Makefile: Likewise.
20748 * conform/Makefile: Likewise.
20749 * nss/Makefile: Likewise.
20750 * time/Makefile: Likewise.
20751 * soft-fp/Makefile: Likewise.
20752 * dirent/Makefile: Likewise.
20753 * gmon/Makefile: Likewise.
20754 * po/Makefile: Likewise.
20755 * rt/Makefile: Likewise.
20756 * socket/Makefile: Likewise.
20757 * math/Makefile: Likewise.
20758 * signal/Makefile: Likewise.
20759 * debug/Makefile: Likewise.
20760 * elf/Makefile: Likewise.
20761 * timezone/Makefile: Likewise.
20762 * stdlib/Makefile: Likewise.
20763 * iconvdata/Makefile: Likewise.
20764 * sunrpc/Makefile: Likewise.
20765 * io/Makefile: Likewise.
20766 * argp/Makefile: Likewise.
20767 * inet/Makefile: Likewise.
20768 * hesiod/Makefile: Likewise.
20769 * grp/Makefile: Likewise.
20770 * csu/Makefile: Likewise.
20771 * wctype/Makefile: Likewise.
20772 * crypt/Makefile: Likewise.
20773 * libio/Makefile: Likewise.
20774 * string/Makefile: Likewise.
20775 * nis/Makefile: Likewise.
20776 * resolv/Makefile: Likewise.
20777 * stdio-common/Makefile: Likewise.
20778 * wcsmbs/Makefile: Likewise.
20779 * dlfcn/Makefile: Likewise.
20780 * posix/Makefile: Likewise.
20781
3b7c4e74 20782 [BZ #6959]
482ff4da
UD
20783 * timezone/Makefile: Don't install timezone files, just the programs
20784 and scripts.
20785
f72ed77d
UD
207862012-03-06 Ulrich Drepper <drepper@gmail.com>
20787
a000466f
UD
20788 * nss/databases.def: Add missing gshadow entry.
20789
f72ed77d
UD
20790 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20791
a53b7a4e
MP
207922012-03-06 Marek Polacek <polacek@redhat.com>
20793
20794 [BZ #13726]
20795 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20796 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20797 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20798 * stdio-common/tst-long-dbl-fphex.c: New file.
20799
e9258400
DM
208002012-03-06 David S. Miller <davem@davemloft.net>
20801
20802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20803 (set_obp_int): New function.
20804 (get_obp_int): New function.
20805 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
20806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20807 Avoid unused variable warnings on 'val' and use builtin_expect.
20808 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20809 __builtin_expect.
e9258400
DM
20810 (INLINE_CLONE_SYSCALL): Likewise.
20811
3bd2c723
DM
208122012-03-05 David S. Miller <davem@davemloft.net>
20813
20814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20815
bbb78d03
AS
208162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20817
884c5db4
AS
20818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20819
bbb78d03
AS
20820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20821 only for |x| >= 40.
20822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20823
1c9f702a 208242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20825
20826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20827 Replace gettimeofday with __vdso_gettimeofday.
20828
7be16f82
RM
20829 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20830 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20831 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20832
20833 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20834 time with __vdso_time.
20835
ed58a00f
JM
208362012-03-05 Joseph Myers <joseph@codesourcery.com>
20837
20838 * manual/lang.texi (size_t): Note types to which size_t may be
20839 equivalent with the GNU C Library, but do not describe when
20840 differences between them are significant.
20841
30ee4ced
AJ
208422012-03-05 Andreas Jaeger <aj@suse.de>
20843
20844 * sysdeps/i386/fpu/libm-test-ulps: Update.
20845
b7cd39e8
JM
208462012-03-05 Joseph Myers <joseph@codesourcery.com>
20847
20848 [BZ #3976]
20849 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20850 (__ieee754_pow): Save and restore rounding mode and use
20851 round-to-nearest for main computations.
20852 * math/libm-test.inc (pow_test_tonearest): New function.
20853 (pow_test_towardzero): Likewise.
20854 (pow_test_downward): Likewise.
20855 (pow_test_upward): Likewise.
20856 (main): Call the new functions.
20857 * sysdeps/i386/fpu/libm-test-ulps: Update.
20858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20859
20860 [BZ #3976]
20861 * math/libm-test.inc (cosh_test_tonearest): New function.
20862 (cosh_test_towardzero): Likewise.
20863 (cosh_test_downward): Likewise.
20864 (cosh_test_upward): Likewise.
20865 (sinh_test_tonearest): Likewise.
20866 (sinh_test_towardzero): Likewise.
20867 (sinh_test_downward): Likewise.
20868 (sinh_test_upward): Likewise.
20869 (main): Call the new functions.
20870 * sysdeps/i386/fpu/libm-test-ulps: Update.
20871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20872
6c6a98c9
TV
208732012-03-05 Tom de Vries <tom@codesourcery.com>
20874
20875 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20876 default stack guard is set in last bytes.
20877 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20878
21bb2d2e 208792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20880
21bb2d2e 20881 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20882
21bb2d2e
AJ
20883 [BZ #13656]
20884 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20885 possibly allocate from heap instead of stack.
20886 * stdio-common/bug-vfprintf-nargs.c: New file.
20887 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20888
c6922934
AS
208892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20890
20891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20892
bc957d53
MP
208932012-03-03 Marek Polacek <polacek@redhat.com>
20894
20895 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20896 * math/math_private.h: Likewise.
20897 * stdlib/tst-strtod.c: Likewise.
20898 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20899 * sysdeps/x86_64/bits/atomic.h: Likewise.
20900
6358490d
DM
209012012-03-02 David S. Miller <davem@davemloft.net>
20902
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20907 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20908 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20909 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20910 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20911
01ae168d
RM
209122012-03-02 Roland McGrath <roland@hack.frob.com>
20913
d9a17c07
RM
20914 [BZ #13792]
20915 * manual/examples/README: New file, says the example source files
20916 can be used under GPL>=2.
20917 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20918 line containing just "*/".
20919 * manual/examples/add.c: Add copyright header (GPL>=2).
20920 * manual/examples/argp-ex1.c: Likewise.
20921 * manual/examples/argp-ex2.c: Likewise.
20922 * manual/examples/argp-ex3.c: Likewise.
20923 * manual/examples/argp-ex4.c: Likewise.
20924 * manual/examples/atexit.c: Likewise.
20925 * manual/examples/db.c: Likewise.
20926 * manual/examples/dir.c: Likewise.
20927 * manual/examples/dir2.c: Likewise.
20928 * manual/examples/execinfo.c: Likewise.
20929 * manual/examples/filecli.c: Likewise.
20930 * manual/examples/filesrv.c: Likewise.
20931 * manual/examples/fmtmsgexpl.c: Likewise.
20932 * manual/examples/genpass.c: Likewise.
20933 * manual/examples/inetcli.c: Likewise.
20934 * manual/examples/inetsrv.c: Likewise.
20935 * manual/examples/isockad.c: Likewise.
20936 * manual/examples/longopt.c: Likewise.
20937 * manual/examples/memopen.c: Likewise.
20938 * manual/examples/memstrm.c: Likewise.
20939 * manual/examples/mkfsock.c: Likewise.
20940 * manual/examples/mkisock.c: Likewise.
20941 * manual/examples/mygetpass.c: Likewise.
20942 * manual/examples/pipe.c: Likewise.
20943 * manual/examples/popen.c: Likewise.
20944 * manual/examples/rprintf.c: Likewise.
20945 * manual/examples/search.c: Likewise.
20946 * manual/examples/select.c: Likewise.
20947 * manual/examples/setjmp.c: Likewise.
20948 * manual/examples/sigh1.c: Likewise.
20949 * manual/examples/sigusr.c: Likewise.
20950 * manual/examples/stpcpy.c: Likewise.
20951 * manual/examples/strdupa.c: Likewise.
20952 * manual/examples/strftim.c: Likewise.
20953 * manual/examples/strncat.c: Likewise.
20954 * manual/examples/subopt.c: Likewise.
20955 * manual/examples/swapcontext.c: Likewise.
20956 * manual/examples/termios.c: Likewise.
20957 * manual/examples/testopt.c: Likewise.
20958 * manual/examples/testpass.c: Likewise.
20959 * manual/examples/timeval_subtract.c: Likewise.
20960
01ae168d
RM
20961 [BZ #13792]
20962 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20963 function to ...
20964 * manual/timeval_subtract.c.texi: ... here, new file.
20965
49efa33d
DM
209662012-03-02 David S. Miller <davem@davemloft.net>
20967
20968 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20969
28afd92d
JM
209702012-03-02 Joseph Myers <joseph@codesourcery.com>
20971
804360ed
JM
20972 [BZ #3976]
20973 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20974 (__sin): Save and restore rounding mode and use round-to-nearest
20975 for all computations.
20976 (__cos): Save and restore rounding mode and use round-to-nearest
20977 for all computations.
20978 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20979 <fenv.h>.
20980 (tan): Save and restore rounding mode and use round-to-nearest for
20981 all computations.
20982 * math/libm-test.inc (cos_test_tonearest): New function.
20983 (cos_test_towardzero): Likewise.
20984 (cos_test_downward): Likewise.
20985 (cos_test_upward): Likewise.
20986 (sin_test_tonearest): Likewise.
20987 (sin_test_towardzero): Likewise.
20988 (sin_test_downward): Likewise.
20989 (sin_test_upward): Likewise.
20990 (tan_test_tonearest): Likewise.
20991 (tan_test_towardzero): Likewise.
20992 (tan_test_downward): Likewise.
20993 (tan_test_upward): Likewise.
20994 (main): Call the new functions.
20995 * sysdeps/i386/fpu/libm-test-ulps: Update.
20996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20997
a6d06d7b
JM
20998 [BZ #10135]
20999 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21000 small n, then large n, before computing and testing k+n.
21001 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21003 Likewise.
21004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21005 Likewise.
21006 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21007 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21008 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21009 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21014 * math/libm-test.inc (scalbn_test): Add more tests.
21015 (scalbln_test): Likewise.
21016
07e12bb3
JM
21017 * manual/filesys.texi (mode_t): Describe constraints on size and
21018 signedness, not exact equivalence to a particular type.
21019 (ino_t): Likewise.
21020 (ino64_t): Likewise.
21021 (dev_t): Likewise.
21022 (nlink_t): Likewise.
21023 (blkcnt_t): Likewise.
21024 (blkcnt64_t): Likewise.
21025 * manual/llio.texi (off_t): Likewise.
21026
28afd92d
JM
21027 [BZ #3976]
21028 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21029 (__ieee754_exp): Save and restore rounding mode and use
21030 round-to-nearest for all computations.
21031 * math/libm-test.inc (exp_test_tonearest): New function.
21032 (exp_test_towardzero): Likewise.
21033 (exp_test_downward): Likewise.
21034 (exp_test_upward): Likewise.
21035 (main): Call the new functions.
21036 * sysdeps/i386/fpu/libm-test-ulps: Update.
21037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21038
b1eeb65d
CD
210392012-03-01 Chris Demetriou <cgd@google.com>
21040
21041 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21042 have predictable order.
21043
53362a4b
DM
210442012-03-01 David S. Miller <davem@davemloft.net>
21045
3c969083
DM
21046 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21047
759707de
DM
21048 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21049 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21050 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21051 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21052
dfdb8ff2
DM
21053 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21054 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21055 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21057 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21058 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21059 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21060 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21061 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21062
ead89f96
DM
21063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21064
7f66bd07
DM
21065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21066 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21067 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21068
53362a4b
DM
21069 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21071 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21072 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21073 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21074 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21076 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21077 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21078 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21079 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21082 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21083 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21085 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21086 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21087 * sysdeps/sparc/elf/configure: Regenerated.
21088
7b1902cb
JM
210892012-03-01 Joseph Myers <joseph@codesourcery.com>
21090
bec039bc
JM
21091 * configure.in (AS, LD): Require binutils 2.20 or later.
21092 * configure: Regenerated.
21093 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21094 as required minimum version.
21095 * INSTALL: Regenerated.
21096
7b1902cb
JM
21097 [BZ #2541]
21098 [BZ #4108]
21099 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21100 before squaring exponent.
21101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21102 bottom long double and 27 bits of top long double before squaring
21103 exponent.
21104 * math/libm-test.inc (erfc_test): Add more tests.
21105 * sysdeps/i386/fpu/libm-test-ulps: Update.
21106 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21108
f775c276
KT
211092012-03-01 Kai Tietz <ktietz@redhat.com>
21110
21111 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21112 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21113 containing bit-fields.
21114 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21115 * soft-fp/single.h (_FP_UNION_S): Likewise.
21116 * soft-fp/double.h (_FP_UNION_D): Likewise.
21117
5b8a4d4a
JM
211182012-02-29 Joseph Myers <joseph@codesourcery.com>
21119
0bab47b6
JM
21120 [BZ #13786]
21121 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21122 not include ../strcmp.S.
21123 [USE_AS_STRNCASECMP_L]: Likewise.
21124 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21125 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21126 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21127 (__strncasecmp_l_ia32): Define as alias to
21128 __strncasecmp_l_nonascii.
21129
0fcad3e2
JM
21130 [BZ #5794]
21131 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21132 * sysdeps/i386/fpu/libm-test-ulps: Update.
21133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21134
5b8a4d4a
JM
21135 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21137
8fdceb2e
JL
211382012-02-29 Jeff Law <law@redhat.com>
21139
21140 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21141 out of bounds read.
21142
1f393a11
MP
211432012-02-29 Marek Polacek <polacek@redhat.com>
21144
21145 [BZ #13706]
21146 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21147 * elf/Makefile: Add rules to run tst-unused-dep.out.
21148
8847f037
DM
211492012-02-28 David S. Miller <davem@davemloft.net>
21150
21151 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21152 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21155 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21156 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21157
169d7f11
JM
211582012-02-29 Joseph Myers <joseph@codesourcery.com>
21159
21160 * math/libm-test.inc (llround_test): Move one test from
21161 lround_test. Use TEST_f_L in moved test.
21162 (lround_test): Move misplaced test to llround_test. Add testcase
21163 from bug 2561.
21164
39adf059
UD
211652012-02-28 Ulrich Drepper <drepper@gmail.com>
21166
21167 * sysdeps/x86_64/fpu/e_expf.S: New file.
21168 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21169
71b5d1c5
SB
211702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21171
21172 [BZ #13637]
21173 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21174 of remain_len that may cause incomplete multi-byte character and
21175 false match.
21176 * posix/bug-regex33.c: New file.
21177 * posix/Makefile (tests): Add bug-regex33.
21178
1f77f049
JM
211792012-02-28 Joseph Myers <joseph@codesourcery.com>
21180
21181 * manual/macros.texi: New file.
21182 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21183 * manual/libc.texinfo: Include macros.texi.
21184 * manual/creatute.texi: Likewise.
21185 * manual/install.texi: Likewise.
21186 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21187 @glibcadj{} in references to the GNU C Library.
21188 * manual/charset.texi: Likewise.
21189 * manual/conf.texi: Likewise.
21190 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21191 when not using those macros.
21192 * manual/creature.texi: Likewise.
21193 * manual/crypt.texi: Likewise.
21194 * manual/errno.texi: Likewise.
21195 * manual/filesys.texi: Likewise.
21196 * manual/header.texi: Likewise.
21197 * manual/install.texi: Likewise.
21198 * manual/intro.texi: Likewise.
21199 * manual/io.texi: Likewise.
21200 * manual/job.texi: Likewise.
21201 * manual/lang.texi: Likewise.
21202 * manual/libc.texiinfo: Likewise.
21203 * manual/llio.texi: Likewise.
21204 * manual/locale.texi: Likewise.
21205 * manual/maint.texi: Likewise.
21206 * manual/math.texi: Likewise.
21207 * manual/memory.texi: Likewise.
21208 * manual/message.texi: Likewise.
21209 * manual/nss.texi: Likewise.
21210 * manual/pattern.texi: Likewise.
21211 * manual/process.texi: Likewise.
21212 * manual/resource.texi: Likewise.
21213 * manual/search.texi: Likewise.
21214 * manual/setjmp.texi: Likewise.
21215 * manual/signal.texi: Likewise.
21216 * manual/socket.texi: Likewise.
21217 * manual/startup.texi: Likewise.
21218 * manual/stdio.texi: Likewise.
21219 * manual/string.texi: Likewise.
21220 * manual/sysinfo.texi: Likewise.
21221 * manual/syslog.texi: Likewise.
21222 * manual/terminal.texi: Likewise.
21223 * manual/time.texi: Likewise.
21224 * manual/users.texi: Likewise.
21225 * INSTALL: Regenerated.
21226 * NOTES: Regenerated.
d40c5d54 21227 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21228
450bf206
AS
212292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21230
21231 * include/dirent.h: Include <dirstream.h> before
21232 <dirent/dirent.h>.
21233
741a235b
DM
212342012-02-28 David S. Miller <davem@davemloft.net>
21235
21236 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21237 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21238 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21239 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21240
d6b5aa58
DM
212412012-02-27 David S. Miller <davem@davemloft.net>
21242
1aff59a3
DM
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21245 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21246 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21247
d6b5aa58
DM
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21249 frame pointer instead of stack pointer relative arg slot.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21251 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21252 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21253
433f48bf
CD
212542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21255
21256 [BZ #3992]
21257 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21258
d674b76d
DM
212592012-02-27 David S. Miller <davem@davemloft.net>
21260
21261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21265 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21266 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21267 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21268 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21269
0e7727f7
JM
212702012-02-27 Joseph Myers <joseph@codesourcery.com>
21271
21272 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21273 later. Allow versions 5-9.
43be4ca2 21274 * configure: Regenerated.
0e7727f7
JM
21275 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21276 required minimum version and 4.6 as recommended version. Do not
21277 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21278 * INSTALL: Regenerated.
0e7727f7 21279
a78bc654
DM
212802012-02-27 David S. Miller <davem@davemloft.net>
21281
428d5830
DM
21282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21286 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21287 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21288 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21289 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21290
a78bc654
DM
21291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21292 manipulate bits before adding and subtracting TWO112[sx].
21293 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21294
4579f81c
RM
212952012-02-27 Roland McGrath <roland@hack.frob.com>
21296
36c8acb4
RM
21297 [BZ #13775]
21298 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21299 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21300 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21301 being in POSIX, because they are in 1003.1-2008.
21302
84ad622b
RM
21303 * rt/tst-aio.c: Include <fcntl.h>.
21304 * rt/tst-aio7.c: Likewise.
21305 * rt/tst-aio64.c: Likewise.
21306
4579f81c
RM
21307 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21308
abd923db
JM
213092012-02-27 Joseph Myers <joseph@codesourcery.com>
21310
21311 * manual/install.texi (--with-headers): Describe headers as
21312 interface headers, not private headers.
21313 (Specific advice for GNU/Linux systems): Describe use of headers
21314 from "make headers_install", not private headers from older
21315 kernels.
43be4ca2 21316 * INSTALL: Regenerated.
abd923db
JM
21317 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21318 Change to 2.6.19.
21319 * sysdeps/unix/sysv/linux/configure: Regenerated.
21320
6664049b
JM
21321 * manual/llio.texi (fclean): Remove documentation.
21322
bb8b6697
JM
21323 * manual/Makefile (libc-texi-generated): New variable. Include
21324 version.texi.
21325 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21326 $(libc-texi-generated), not duplicated list of files.
21327 (version.texi, stamp-version): New rules.
21328 (realclean): Remove $(libc-texi-generated), not individual files
21329 from that list. Do not remove dir-add.texinfo.
21330 * manual/libc.texinfo: Comment out uses of edition numbers and
21331 references to printed manual. Remove last-updated dates.
21332 (EDITION): Comment out.
21333 (ISBN): Likewise.
21334 (VERSION, UPDATED): Remove.
21335 (version.texi): Include.
21336
12e5c3b9
AS
213372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21338
21339 * sysdeps/posix/spawni.c: Include <signal.h>.
21340 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21341 * sysdeps/pthread/aio_fsync.c: Likewise.
21342
4efeffc1 213432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21344
ba63ba08
UD
21345 * conform/Makefile (tests): Run only when not cross-compiling and
21346 when fast-check is not defined.
21347
d94a4670
UD
21348 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21349 * conform/data/limits.h-data: Fixes for POSIX2008.
21350 * conform/run-conformtest.sh: Run all tests.
21351 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21352 headers.
21353 * include/bits/dlfcn.h: Likewise.
21354 * include/langinfo.h: Likewise.
21355 * include/monetary.h: Likewise.
21356 * include/sys/poll.h: Likewise.
21357
21358 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21359 for __USE_GNU.
21360 * posix/spawn.h: Define __need_sigset_t.
21361 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21362 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21363 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21364 to get sigevent_t only.
21365 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21366 only for __USE_GNU.
21367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21368 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21369 process_vm_writev only for __USE_GNU.
21370 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21371
21372 * conform/Makefile: For now ignore errors from run-conformtest.
21373 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21374 POSIX to avoid namespace pollution. Don't prepend headers.
21375 * conform/data/aio.h-data: Fixes for POSIX testing.
21376 * conform/data/fcntl.h-data: Likewise.
21377 * conform/data/glob.h-data: Likewise.
21378 * conform/data/grp.h-data: Likewise.
21379 * conform/data/pthread.h-data: Likewise.
21380 * conform/data/pwd.h-data: Likewise.
21381 * conform/data/signal.h-data: Likewise.
21382 * conform/data/spawn.h-data: Likewise.
21383 * conform/data/stdio.h-data: Likewise.
21384 * conform/data/stdlib.h-data: Likewise.
21385 * conform/data/stropts.h-data: Likewise.
21386 * conform/data/sys/mman.h-data: Likewise.
21387 * conform/data/sys/stat.h-data: Likewise.
21388 * conform/data/sys/types.h-data: Likewise.
21389 * conform/data/sys/wait.h-data: Likewise.
21390 * conform/data/time.h-data: Likewise.
21391 * conform/data/unistd.h-data: Likewise.
21392 * conform/data/utime.h-data: Likewise.
21393
21394 * io/sys/stat.h: fchmod was always in POSIX.
21395 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21396 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21397 * rt/aio.h: Define __need_timespec before including <time.h>.
21398 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21399 struct. Add forward declaration of pthread_attr_t and use it in
21400 sigevent.
21401 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21402 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21403 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21404 always remove CLK_TCK definition.
21405
c20105c3
AS
214062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21407
21408 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21409
7a270350
UD
214102012-02-25 Ulrich Drepper <drepper@gmail.com>
21411
31341567
UD
21412 * conform/run-conformtest.sh: New file.
21413 * conform/Makefile: Run run-conformtest for tests.
21414 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21415 support.
21416
21417 * conform/data/uchar.h-data: New file.
21418 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21419 * conform/data/arpa/inet.h-data: Likewise.
21420 * conform/data/assert.h-data: Likewise.
21421 * conform/data/complex.h-data: Likewise.
21422 * conform/data/cpio.h-data: Likewise.
21423 * conform/data/ctype.h-data: Likewise.
21424 * conform/data/dirent.h-data: Likewise.
21425 * conform/data/dlfcn.h-data: Likewise.
21426 * conform/data/errno.h-data: Likewise.
21427 * conform/data/fcntl.h-data: Likewise.
21428 * conform/data/float.h-data: Likewise.
21429 * conform/data/fmtmsg.h-data: Likewise.
21430 * conform/data/fnmatch.h-data: Likewise.
21431 * conform/data/ftw.h-data: Likewise.
21432 * conform/data/glob.h-data: Likewise.
21433 * conform/data/grp.h-data: Likewise.
21434 * conform/data/iconv.h-data: Likewise.
21435 * conform/data/inttypes.h-data: Likewise.
21436 * conform/data/langinfo.h-data: Likewise.
21437 * conform/data/libgen.h-data: Likewise.
21438 * conform/data/limits.h-data: Likewise.
21439 * conform/data/locale.h-data: Likewise.
21440 * conform/data/math.h-data: Likewise.
21441 * conform/data/monetary.h-data: Likewise.
21442 * conform/data/mqueue.h-data: Likewise.
21443 * conform/data/ndbm.h-data: Likewise.
21444 * conform/data/net/if.h-data: Likewise.
21445 * conform/data/netdb.h-data: Likewise.
21446 * conform/data/netinet/in.h-data: Likewise.
21447 * conform/data/nl_types.h-data: Likewise.
21448 * conform/data/poll.h-data: Likewise.
21449 * conform/data/pthread.h-data: Likewise.
21450 * conform/data/pwd.h-data: Likewise.
21451 * conform/data/regex.h-data: Likewise.
21452 * conform/data/sched.h-data: Likewise.
21453 * conform/data/search.h-data: Likewise.
21454 * conform/data/semaphore.h-data: Likewise.
21455 * conform/data/setjmp.h-data: Likewise.
21456 * conform/data/signal.h-data: Likewise.
21457 * conform/data/spawn.h-data: Likewise.
21458 * conform/data/stdarg.h-data: Likewise.
21459 * conform/data/stdio.h-data: Likewise.
21460 * conform/data/stdlib.h-data: Likewise.
21461 * conform/data/string.h-data: Likewise.
21462 * conform/data/strings.h-data: Likewise.
21463 * conform/data/stropts.h-data: Likewise.
21464 * conform/data/sys/ipc.h-data: Likewise.
21465 * conform/data/sys/mman.h-data: Likewise.
21466 * conform/data/sys/msg.h-data: Likewise.
21467 * conform/data/sys/resource.h-data: Likewise.
21468 * conform/data/sys/select.h-data: Likewise.
21469 * conform/data/sys/sem.h-data: Likewise.
21470 * conform/data/sys/shm.h-data: Likewise.
21471 * conform/data/sys/socket.h-data: Likewise.
21472 * conform/data/sys/stat.h-data: Likewise.
21473 * conform/data/sys/statvfs.h-data: Likewise.
21474 * conform/data/sys/time.h-data: Likewise.
21475 * conform/data/sys/timeb.h-data: Likewise.
21476 * conform/data/sys/times.h-data: Likewise.
21477 * conform/data/sys/types.h-data: Likewise.
21478 * conform/data/sys/uio.h-data: Likewise.
21479 * conform/data/sys/un.h-data: Likewise.
21480 * conform/data/sys/utsname.h-data: Likewise.
21481 * conform/data/sys/wait.h-data: Likewise.
21482 * conform/data/syslog.h-data: Likewise.
21483 * conform/data/tar.h-data: Likewise.
21484 * conform/data/termios.h-data: Likewise.
21485 * conform/data/utime.h-data: Likewise.
21486 * conform/data/utmpx.h-data: Likewise.
21487 * conform/data/varargs.h-data: Likewise.
21488 * conform/data/wchar.h-data: Likewise.
21489 * conform/data/wctype.h-data: Likewise.
21490 * conform/data/wordexp.h-data: Likewise.
21491
21492 * include/stropts.h: New file.
21493 * include/uchar.h: New file.
21494 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21495 * include/assert.h: Likewise.
21496 * include/ctype.h: Likewise.
21497 * include/dirent.h: Likewise.
21498 * include/dlfcn.h: Likewise.
21499 * include/fcntl.h: Likewise.
21500 * include/fnmatch.h: Likewise.
21501 * include/glob.h: Likewise.
21502 * include/grp.h: Likewise.
21503 * include/libio.h: Likewise.
21504 * include/locale.h: Likewise.
21505 * include/math.h: Likewise.
21506 * include/net/if.h: Likewise.
21507 * include/netdb.h: Likewise.
21508 * include/netinet/in.h: Likewise.
21509 * include/pthread.h: Likewise.
21510 * include/pwd.h: Likewise.
21511 * include/regex.h: Likewise.
21512 * include/sched.h: Likewise.
21513 * include/search.h: Likewise.
21514 * include/setjmp.h: Likewise.
21515 * include/signal.h: Likewise.
21516 * include/stdio.h: Likewise.
21517 * include/stdlib.h: Likewise.
21518 * include/string.h: Likewise.
21519 * include/sys/cdefs.h: Likewise.
21520 * include/sys/mman.h: Likewise.
21521 * include/sys/msg.h: Likewise.
21522 * include/sys/resource.h: Likewise.
21523 * include/sys/select.h: Likewise.
21524 * include/sys/socket.h: Likewise.
21525 * include/sys/stat.h: Likewise.
21526 * include/sys/statvfs.h: Likewise.
21527 * include/sys/time.h: Likewise.
21528 * include/sys/times.h: Likewise.
21529 * include/sys/uio.h: Likewise.
21530 * include/sys/utsname.h: Likewise.
21531 * include/sys/wait.h: Likewise.
21532 * include/termios.h: Likewise.
21533 * include/time.h: Likewise.
21534 * include/ulimit.h: Likewise.
21535 * include/unistd.h: Likewise.
21536 * include/utime.h: Likewise.
21537 * include/wchar.h: Likewise.
21538 * include/wctype.h: Likewise.
21539 * include/wordexp.h: Likewise.
21540
21541 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21542
7a270350
UD
21543 * time/time.h: TIME_UTC must be a macro.
21544 Make timespec_get available for ISO C11 only as well.
21545
7724defc
UD
215462012-02-24 Ulrich Drepper <drepper@gmail.com>
21547
21548 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21549 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21550
6b1d1d46
JM
215512012-02-24 Joseph Myers <joseph@codesourcery.com>
21552
21553 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 21554
0f8bbd69
JM
215552012-02-24 Joseph Myers <joseph@codesourcery.com>
21556
21557 * manual/texinfo.tex: Update to version 2012-01-19.16.
21558
66ab80bc
JM
215592012-02-24 Joseph Myers <joseph@codesourcery.com>
21560
21561 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21562
74981cc5
RM
215632012-02-24 Roland McGrath <roland@hack.frob.com>
21564
ee968201
RM
21565 [BZ #13738]
21566 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21567 * manual/fdl-1.3.texi: New file.
21568 * manual/fdl-1.1.texi: File removed.
21569
74981cc5
RM
21570 [BZ #13738]
21571 * manual/libc.texinfo (FDL_VERSION): New @set.
21572 Use it for mention of FDL in cover text.
21573 (Documentation License): Use it in @include file name.
21574
7bb764bc
JM
215752012-02-22 Joseph Myers <joseph@codesourcery.com>
21576 Roland McGrath <roland@hack.frob.com>
21577
21578 [BZ #5461]
21579 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21580 not LONG_LONG_MAX and LONG_LONG_MIN.
21581 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21582 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21583 name.
21584 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21585
6cbeae47
JM
215862012-02-22 Joseph Myers <joseph@codesourcery.com>
21587
21588 [BZ #2547]
21589 [BZ #11365]
21590 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21591 manipulate bits before adding and subtracting TWO23[sx].
21592 * math/libm-test.inc (nearbyint_test): Add more tests.
21593
fe45ce09
JM
215942012-02-22 Joseph Myers <joseph@codesourcery.com>
21595
21596 [BZ #2548]
21597 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21598 bits before adding and subtracting TWO23[sx].
21599 * math/libm-test.inc (rint_test): Add more tests.
21600 (rint_test_tonearest): Likewise.
21601 (rint_test_towardzero): Likewise.
21602 (rint_test_downward): Likewise.
21603 (rint_test_upward: Likewise.
21604
ff3b3d82
JM
216052012-02-22 Joseph Myers <joseph@codesourcery.com>
21606
21607 [BZ #10110]
21608 * include/stdc-predef.h: New file. Extracted from features.h.
21609 * include/features.h: Include stdc-predef.h.
21610 * Makefile (headers): Add stdc-predef.h.
21611 * CONFORMANCE (Compiler limitations): Update.
21612
ef0aab35
JM
216132012-02-22 Joseph Myers <joseph@codesourcery.com>
21614
21615 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21616
58639409
DM
216172012-02-21 David S. Miller <davem@davemloft.net>
21618
21619 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21620 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21621
c0e70b25
DM
216222012-02-20 David S. Miller <davem@davemloft.net>
21623
21624 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21625 using a normal save/restore sequence, rather than allocating a
21626 dummy stack frame just to store a frame pointer and restore.
21627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21628
fb06851d
JM
216292012-02-21 Joseph Myers <joseph@codesourcery.com>
21630
21631 * manual/install.texi: Fix stray word in line-wrapped comment.
21632
7a8b71c3
DM
216332012-02-20 David S. Miller <davem@davemloft.net>
21634
d510c123
DM
21635 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21636 both binutils and gcc support GOTDATA.
21637
0722d7c2
DM
21638 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21639 "rd %pc" in the PIC register setup sequences.
21640
3d2b3019
DM
21641 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21642 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21643 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21644 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21645 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21647 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21650 (SYSCALL_ERROR_HANDLER): Likewise.
21651 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21652 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21654 (SYSCALL_ERROR_HANDLER): Likewise.
21655
c80098a9
DM
21656 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21657 (HAVE_GCC_GOTDATA): New.
21658 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21659 relocation support in both binutils and gcc.
21660 * sysdeps/sparc/elf/configure: Regenerate.
21661
3a2545a0
DM
21662 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21663 * sysdeps/sparc/sparc32/elf/configure: Delete.
21664 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21665 * sysdeps/sparc/sparc64/elf/configure: Delete.
21666 * sysdeps/sparc/elf/configure.in: New file.
21667 * sysdeps/sparc/elf/configure: Generate.
21668
7a8b71c3
DM
21669 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21670 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21671 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21672 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21673 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21674
f1e86fca
JM
216752012-02-21 Joseph Myers <joseph@codesourcery.com>
21676
21677 * manual/install.texi: Do not mention specific glibc version
21678 numbers.
21679 * manual/libc.texinfo (VERSION, UPDATED): Update.
21680 (@copying): Use @copyright{} and range of years.
21681
0e7dfaef
JM
216822012-02-21 Joseph Myers <joseph@codesourcery.com>
21683
21684 [BZ #13695]
21685 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21686 [crti.S not in sysdirs] (generated): Do not append.
21687 [crti.S not in sysdirs] (omit-deps): Likewise.
21688 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21689 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21690 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21691 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21692 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21693 Likewise.
21694 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21695 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21696 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21697 * csu/defs.awk: Remove file.
21698 * sysdeps/generic/initfini.c: Likewise.
21699 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21700 variable.
21701 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21702 Likewise.
21703
599af3ca
JM
217042012-02-20 Joseph Myers <joseph@codesourcery.com>
21705
21706 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21707 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21708 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21709 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21711 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21712 <bits/epoll.h>.
21713 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21714 (__EPOLL_PACKED): Define to empty if not defined by
21715 <bits/epoll.h>.
21716 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21718 bits/epoll.h.
21719
0e499750
JM
217202012-02-20 Joseph Myers <joseph@codesourcery.com>
21721
21722 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21723 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21725 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21726 <bits/timerfd.h>.
21727 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21729 bits/timerfd.h.
21730
5ad91f6e
JM
217312012-02-20 Joseph Myers <joseph@codesourcery.com>
21732
21733 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21734 in C locale.
21735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21736 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21739
06b99b02
AJ
217402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21741
21742 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21743 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21744
7638c0fd
AS
217452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21746
21747 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21748 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21749 defined.
21750 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21751 Likewise.
21752 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21753 entry for 2.16.
21754
92221550
AJ
217552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21756
21757 * math/w_acos.c: Use non-signaling floating-point comparisons.
21758 * math/w_acosf.c: Likewise.
21759 * math/w_acosh.c: Likewise.
21760 * math/w_acoshf.c: Likewise.
21761 * math/w_acoshl.c: Likewise.
21762 * math/w_acosl.c: Likewise.
21763 * math/w_asin.c: Likewise.
21764 * math/w_asinf.c: Likewise.
21765 * math/w_asinl.c: Likewise.
21766 * math/w_atanh.c: Likewise.
21767 * math/w_atanhf.c: Likewise.
21768 * math/w_atanhl.c: Likewise.
21769 * math/w_exp2.c: Likewise.
21770 * math/w_exp2f.c: Likewise.
21771 * math/w_exp2l.c: Likewise.
21772 * math/w_j0.c: Likewise.
21773 * math/w_j0f.c: Likewise.
21774 * math/w_j0l.c: Likewise.
21775 * math/w_j1.c: Likewise.
21776 * math/w_j1f.c: Likewise.
21777 * math/w_j1l.c: Likewise.
21778 * math/w_jn.c: Likewise.
21779 * math/w_jnf.c: Likewise.
21780 * math/w_log.c: Likewise.
21781 * math/w_log10.c: Likewise.
21782 * math/w_log10f.c: Likewise.
21783 * math/w_log10l.c: Likewise.
21784 * math/w_log2.c: Likewise.
21785 * math/w_log2f.c: Likewise.
21786 * math/w_log2l.c: Likewise.
21787 * math/w_logf.c: Likewise.
21788 * math/w_logl.c: Likewise.
21789 * math/w_sqrt.c: Likewise.
21790 * math/w_sqrtf.c: Likewise.
21791 * math/w_sqrtl.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21794 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21797
ebaf36eb
JM
217982012-02-19 Joseph Myers <joseph@codesourcery.com>
21799
21800 [BZ #9739]
21801 * manual/string.texi (strnlen): Use correct parameter name in
21802 equivalent expression.
21803
71c254a6
JM
218042012-02-19 Joseph Myers <joseph@codesourcery.com>
21805
21806 [BZ #11174]
21807 * manual/users.texi (seteuid): Consistently use neweuid for
21808 argument name.
21809
16d2c631
JM
218102012-02-19 Joseph Myers <joseph@codesourcery.com>
21811
21812 [BZ #13704]
21813 * manual/nss.texi (Services in the NSS configuration): Correct
21814 list of services in example configuration file.
21815
cd837b09
NB
218162012-02-19 Nick Bowler <nbowler@draconx.ca>
21817
21818 [BZ #11322]
21819 * manual/arith.texi: Remove statements about negative zero
21820 behaving identically to zero.
21821
02c4bbad
JM
218222012-02-18 Joseph Myers <joseph@codesourcery.com>
21823
21824 [BZ #5993]
21825 * manual/install.texi: Do not document upgrading from libc5.
21826
366842e7
JM
218272012-02-18 Joseph Myers <joseph@codesourcery.com>
21828
21829 [BZ #4596]
21830 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21831
dd54084d
DM
218322012-02-18 David S. Miller <davem@davemloft.net>
21833
21834 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21835 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21836 %o7 across the call.
21837 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21838 instead.
21839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21840 SETUP_PIC_REG_LEAF.
21841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21842 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21843 * sysdeps/sparc/crtn.S: Likewise.
21844
2bcc53a3
UD
218452012-02-17 Ulrich Drepper <drepper@gmail.com>
21846
21847 * aout/Makefile: Remove.
21848
09c093b5
RK
218492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21850
21851 [BZ #13058]
21852 * manual/examples/argp-ex1.c (main): Format definition in GNU
21853 style.
21854 * manual/examples/argp-ex2.c (main): Likewise.
21855 * manual/examples/argp-ex3.c (main): Likewise.
21856 * manual/examples/argp-ex4.c (main): Likewise.
21857 * manual/examples/longopt.c (main): Use new-style prototype
21858 definition.
21859 * manual/examples/strncat.c (main): Specify return type and use
21860 (void) for arguments.
21861 * manual/examples/subopt.c (main): Use char **argv argument.
21862
2ee633a2
JM
218632012-02-17 Joseph Myers <joseph@codesourcery.com>
21864
21865 [BZ #5077]
21866 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21867 rounding modes.
21868
0520adde
FB
218692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21870
21871 [BZ #6907]
21872 * manual/string.texi (strchr): Change when strchrnul is
21873 recommended.
21874
3f4081cd
DGM
218752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21876
21877 [BZ #174]
21878 * manual/locale.texi (setlocale): Document LOCPATH.
21879
d1b10e78
JM
218802012-02-17 Joseph Myers <joseph@codesourcery.com>
21881
21882 [BZ #10210]
21883 * manual/process.texi (execle): Move @dots{} before last argument.
21884
79c6869c
PB
218852012-02-17 Paul Bolle <pebolle@tiscali.nl>
21886
21887 [BZ #12047]
21888 * manual/charset.texi (Generic Charset Conversion): Fix typo
21889 (LC_TYPE -> LC_CTYPE).
21890
cc6e48bc
NB
218912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21892
21893 [BZ #5805]
21894 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21895 (scalbnf): Likewise.
21896 (scalbnl): Likewise.
21897 (scalbln): Likewise.
21898 (scalblnf): Likewise.
21899 (scalblnl): Likewise.
21900 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21901 (vwarnx): Likewise.
21902 (verr): Likewise.
21903 (verrx): Likewise.
21904 * manual/filesys.texi (telldir): Use braces around return type.
21905 * manual/llio.texi (mmap): Add space after comma.
21906 (mmap64): Likewise.
21907 * manual/math.texi (jn): Use @var{} on parameter names.
21908 (jnf): Likewise.
21909 (jnl): Likewise.
21910 (yn): Likewise.
21911 (ynf): Likewise.
21912 (ynl): Likewise.
21913 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21914 line.
21915 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21916 "...".
21917 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21918 (sched_get_priority_max): Likewise.
21919 * manual/signal.texi (sigvec): Add space after comma.
21920 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21921 names.
21922 (if_indextoname): Likewise.
21923 (if_freenameindex): Likewise.
21924 (sendto): Use ',' instead of '.' in prototype.
21925 * manual/startup.texi (syscall): Use @dots{} instead of literal
21926 "...".
21927 * manual/stdio.texi (__fpending): Separate initial words of
21928 paragraph from @deftypefun line.
21929 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21930 "...".
21931 (vsyslog): Use @var{} on parameter names.
21932 * manual/terminal.texi (stty): Use @var{} on parameter names.
21933 * manual/users.texi (getutmp): Use @var{} on parameter names.
21934 (getutmpx): Likewise.
21935
5b23062f
JM
219362012-02-17 Joseph Myers <joseph@codesourcery.com>
21937
21938 [BZ #6884]
21939 * manual/stdio.texi (fopen): Fix typos in description of
21940 ",ccs=STRING".
21941
8dee4833
AJ
219422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21943
21944 [BZ #4026]
21945 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21946 get clock_id definition.
21947
9078ce93
TS
219482012-02-17 Thomas Schwinge <thomas@schwinge.name>
21949
21950 [BZ #4822]
21951 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21952 (madvise): Cast every argument to void on its own.
21953
3835c55f
JM
219542012-02-17 Joseph Myers <joseph@codesourcery.com>
21955
21956 [BZ #9902]
21957 * manual/startup.texi (Exit Status): Fix typo.
21958
35c47e37
JM
219592012-02-17 Joseph Myers <joseph@codesourcery.com>
21960
21961 [BZ #10140]
21962 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21963 * manual/examples/argp-ex2.c: Likewise.
21964 * manual/examples/argp-ex3.c: Likewise.
21965
e3b69ca7
RH
219662012-02-16 Richard Henderson <rth@redhat.com>
21967
21968 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21969 * sysdeps/s390/s390-32/initfini.c: Remove.
21970 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21971 * sysdeps/s390/s390-64/initfini.c: Remove.
21972
df83af67
KK
219732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21974
21975 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21976 compiler output for sysdeps/generic/initfini.c.
21977 * sysdeps/sh/elf/initfini.c: Remove file.
21978
f63f3380
DM
219792012-02-16 David S. Miller <davem@davemloft.net>
21980
fb59b3a4
DM
21981 [BZ #11494]
21982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21983
f63f3380
DM
21984 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21985 * sysdeps/sparc/crti.S: New file.
21986 * sysdeps/sparc/crtn.S: New file.
21987 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21988 * sysdeps/sparc/sparc64/Makefile: Likewise.
21989
df6a4a4a
MF
219902012-02-15 Mike Frysinger <vapier@gentoo.org>
21991
6dd8f3dc 21992 [BZ #3335]
df6a4a4a
MF
21993 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21994
1cac7236
RM
219952012-02-15 Roland McGrath <roland@hack.frob.com>
21996
d2c736f8
RM
21997 [BZ #4822]
21998 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21999
1cac7236
RM
22000 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22001 (write, read, close): Likewise.
22002 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22003
8e475601
JM
220042012-02-15 Joseph Myers <joseph@codesourcery.com>
22005
22006 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22007 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22008 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22009 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22010 <bits/signalfd.h>.
22011 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22013 bits/signalfd.h.
22014
ed656b40
MP
220152012-02-14 Marek Polacek <polacek@redhat.com>
22016
22017 * sysdeps/x86_64/crti.S: New file.
22018 * sysdeps/x86_64/crtn.S: New file.
22019 * sysdeps/x86_64/elf/initfini.c: Remove file.
22020
2a979d3a
JM
220212012-02-13 Joseph Myers <joseph@codesourcery.com>
22022
22023 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22024 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22025 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22026 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22027 <bits/inotify.h>.
22028 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22030 bits/inotify.h.
22031
2a418ac3
JM
220322012-02-13 Joseph Myers <joseph@codesourcery.com>
22033
22034 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22035 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22036 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22037 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22038 <bits/eventfd.h>.
22039 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22041 bits/eventfd.h.
22042
fb779be7
TS
220432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22044
e19e83c5
RM
22045 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22046 __feraiseexcept instead of feraiseexcept.
7c35ffed 22047
fb779be7
TS
22048 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22049 nanosleep invocations.
22050 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22051 strings, and add error checking for a nanosleep invocations.
22052
59ba27a6
PE
220532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22054
22055 Replace FSF snail mail address with URLs, as per GNU coding standards.
22056 Most of the snail mail addresses were wrong anyway, and omitting
22057 them makes the source code easier to maintain. Almost all of the
22058 changes are to license notices and to locale LC_IDENTIFICATION
22059 addresses, except for this one:
22060 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22061 not its snail mail address.
22062
57b957eb
RH
220632012-02-09 Richard Henderson <rth@twiddle.net>
22064
af850b1c
RH
22065 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22066 of kernel-features.h.
22067
57b957eb
RH
22068 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22069
6b73181a
MP
220702012-02-08 Marek Polacek <polacek@redhat.com>
22071
22072 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22073 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22074 * sysdeps/gnu/_G_config.h: Likewise.
22075 * sysdeps/generic/_G_config.h: Likewise.
22076
26ecc33a
AS
220772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22078
6c6dbc63
AS
22079 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22080 tests.
22081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22082
e216c012
AS
22083 * sysdeps/powerpc/powerpc32/crti.S: New file.
22084 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22085 * sysdeps/powerpc/powerpc64/crti.S: New file.
22086 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22087
26ecc33a
AS
22088 * Makeconfig (have-initfini): Don't set.
22089 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22090 * configure.in (nopic_initfini): Don't substitute.
22091 * config.h.in (HAVE_INITFINI): Don't #undef.
22092 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22093 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22094
3add8e13
JM
220952012-02-08 Joseph Myers <joseph@codesourcery.com>
22096
22097 Support crti.S and crtn.S provided directly by architectures.
22098 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22099 [crti.S in sysdirs] (omit-deps): Likewise.
22100 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22101 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22102 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22103 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22104 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22105 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22106 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22107 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22108 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22109 compiler output for sysdeps/generic/initfini.c.
22110 * sysdeps/i386/elf/Makefile: Remove file.
22111 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22112
a22f12b4
MP
221132012-02-07 Marek Polacek <polacek@redhat.com>
22114
22115 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22116 * sysdeps/gnu/_G_config.h: Likewise.
22117 * sysdeps/mach/hurd/_G_config.h: Likewise.
22118
148cf100
MP
221192012-02-07 Marek Polacek <polacek@redhat.com>
22120
22121 * math/Makefile (tests): Add tst-CMPLX2.
22122 * math/tst-CMPLX2.c: New file.
22123
cfdc0dd7
AS
221242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22125
84ba42c4
AS
22126 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22127
cfdc0dd7
AS
22128 * math/libm-test.inc (jn_test): Add missing L suffix.
22129
622c86f4
MP
221302012-02-06 Marek Polacek <polacek@redhat.com>
22131
22132 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22133 * sysdeps/i386/fpu/e_powf.S: Likewise.
22134 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22135 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22136 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22137 * sysdeps/i386/fpu/e_pow.S: Likewise.
22138 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22139 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22140 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22141 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22142 * sysdeps/i386/fpu/e_log2.S: Likewise.
22143 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22144 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22145 * sysdeps/i386/fpu/e_powl.S: Likewise.
22146 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22147 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22148 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22149 * sysdeps/i386/fpu/e_logl.S: Likewise.
22150 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22151 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22152 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22153 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22154 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22155 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22156 * sysdeps/i386/fpu/e_log.S: Likewise.
22157 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22158 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22159 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22160 * sysdeps/i386/fpu/e_logf.S: Likewise.
22161 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22162 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22163 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22164 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22165 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22166 * sysdeps/i386/fpu/e_log10.S: Likewise.
22167 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22168 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22169 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22170 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22171 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22172 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22173 * sysdeps/i386/asm-syntax.h: Likewise.
22174 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22175 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22176 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22177 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22178 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22179 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22180 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22181 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22182 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22183 * sysdeps/powerpc/sysdep.h: Likewise.
22184 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22185 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22186
d4a54ac6
JM
221872012-02-06 Joseph Myers <joseph@codesourcery.com>
22188
22189 [BZ #411]
22190 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22191
314054ea
JM
221922012-02-06 Joseph Myers <joseph@codesourcery.com>
22193
22194 * sysdeps/i386/sysdep.h: Include <features.h>.
22195 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22196 version.
22197
d8e0ca50
JM
221982012-02-05 Joseph Myers <joseph@codesourcery.com>
22199
22200 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22201 Define.
22202 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22203 LOAD_PIC_REG_STR.
22204
b1da7dd9
JM
222052012-02-03 Joseph Myers <joseph@codesourcery.com>
22206
22207 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22208 (SETUP_PIC_REG): Use GET_PC_THUNK.
22209 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22210 macro.
22211
9a1d9254
JM
222122012-02-03 Joseph Myers <joseph@codesourcery.com>
22213
22214 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22215 for non-PIC compilation.
22216 (SETUP_PIC_REG): Add .p2align directive.
22217 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22218 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22219 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22220 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22221 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22222 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22225 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22226 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22227 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22228 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22229 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22230 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22231 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22232 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22233 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22234 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22235 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22236 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22238 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22239 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22240 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22241 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22243 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22245 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22246 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22247 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22248 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22249 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22250 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22251 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22252 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22253 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22254 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22255 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22256 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22257 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22258
65dc3b75
JM
222592012-02-03 Joseph Myers <joseph@codesourcery.com>
22260
22261 * math/tst-CMPLX.c: Include <stdio.h>.
22262
d55bf177
JM
222632012-01-31 Joseph Myers <joseph@codesourcery.com>
22264
22265 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22266 float.
22267 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22268 * sysdeps/sparc/bits/mathdef.h: Likewise.
22269
69db4f8f
MP
222702012-01-31 Marek Polacek <polacek@redhat.com>
22271
22272 * libio/libio.h: Don't define _PARAMS.
22273 * locale/programs/config.h: Don't define PARAMS.
22274 * stdlib/strtol_l.c: Likewise.
22275 (__strtol_l): Remove PARAMS from the prototype.
22276
41b81892
UD
222772012-01-31 Ulrich Drepper <drepper@gmail.com>
22278
3b49edc0
UD
22279 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22280 names. Just use the correct names. Remove unnecessary wrapper
22281 functions.
22282 * malloc/arena.c: Likewise.
22283 * malloc/hooks.c: Likewise.
22284
41b81892
UD
22285 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22286 ARENA_TEST says not to. Simplify test for creation of a new arena.
22287 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22288
27a25b6e
UD
222892012-01-30 Ulrich Drepper <drepper@gmail.com>
22290
22291 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22292 into tail calls.
22293 (update_get_addr): New function.
22294 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22295 GET_ADDR_MODULE parameter.
22296
c8a89e7d
JM
222972012-01-30 Joseph Myers <joseph@codesourcery.com>
22298
22299 * crypt/cert.c: Remove __STDC__ conditionals.
22300 * crypt/crypt-entry.c: Likewise.
22301 * crypt/crypt_util.c: Likewise.
22302 * libio/filedoalloc.c: Likewise.
22303 * libio/fileops.c: Likewise.
22304 * libio/genops.c: Likewise.
22305 * libio/iofclose.c: Likewise.
22306 * libio/iofdopen.c: Likewise.
22307 * libio/iofopen.c: Likewise.
22308 * libio/iofopen64.c: Likewise.
22309 * libio/iogetdelim.c: Likewise.
22310 * libio/iopopen.c: Likewise.
22311 * libio/obprintf.c: Likewise.
22312 * libio/oldfileops.c: Likewise.
22313 * libio/oldiofclose.c: Likewise.
22314 * libio/oldiofdopen.c: Likewise.
22315 * libio/oldiofopen.c: Likewise.
22316 * libio/oldiopopen.c: Likewise.
22317 * libio/wfiledoalloc.c: Likewise.
22318 * libio/wgenops.c: Likewise.
22319 * locale/programs/xmalloc.c: Likewise.
22320 * misc/syslog.c: Likewise.
22321 * stdio-common/xbug.c: Likewise.
22322 * string/memchr.c: Likewise.
22323 * string/memcmp.c: Likewise.
22324 * string/memrchr.c: Likewise.
22325 * string/rawmemchr.c: Likewise.
22326 * sysdeps/posix/getcwd.c: Likewise.
22327 * time/strftime_l.c: Likewise.
22328
3b100462
JM
223292012-01-30 Joseph Myers <joseph@codesourcery.com>
22330
22331 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22332 * config.make.in (config-cflags-sse2avx): Define.
22333 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22334 Fix typo.
22335
607998af
CM
223362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22337
22338 * scripts/config.guess: Update from upstream config git repository.
22339 * scripts/config.sub: Likewise.
22340
3601428f
CM
223412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22342
3ac8b282
CM
22343 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22344 (EM_NUM): Update.
22345 (R_TILEPRO_*, R_TILEGX_*): New macros.
22346
e034841e
CM
22347 * scripts/firstversions.awk: Fix bug in version range handling.
22348
540d7568
CM
22349 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22350
3601428f
CM
22351 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22352
463de862
CM
22353 * include/sys/epoll.h: New file.
22354 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22355 libc_hidden_def.
22356
73139a76
UD
223572012-01-28 Ulrich Drepper <drepper@gmail.com>
22358
96bc5b45
UD
22359 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22360 Avoid unnecessary __WORDSIZE == 64 test.
22361 (fmaxf): Use VEX format if possible.
22362 (fmax): Likewise.
22363 (fminf): Likewise.
22364 (fmin): Likewise.
22365
56f6f6a2
UD
22366 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22367 * math/math_private.h: Remove libc_fegetround* and
22368 libc_fesetround*.
22369 * sysdeps/i386/configure.in: Check for -msse2avx.
22370 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22371 also if SSE2AVX is defined.
22372 Remove libc_fegetround* and libc_fesetround*.
22373 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22374 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22376 of HAS_YMM_USABLE.
22377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22382
73139a76
UD
22383 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22384
d73f93a4
AZ
223852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22386
22387 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22388 size is not set.
22389 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22390
6ee65ed6
UD
223912012-01-27 Ulrich Drepper <drepper@gmail.com>
22392
22393 [BZ #13618]
22394 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22395 relocation.
22396 * Makeconfig (libm): Define.
22397 * elf/Makefile: Add rules to build and run tst-relsort1.
22398 * elf/tst-relsort1.c: New file.
22399 * elf/tst-relsort1mod1.c: New file.
22400 * elf/tst-relsort1mod2.c: New file.
22401
8db21882
JM
224022012-01-27 Joseph Myers <joseph@codesourcery.com>
22403
22404 * math/s_ldexp.c: Remove __STDC__ conditionals.
22405 * math/s_ldexpf.c: Likewise.
22406 * math/s_ldexpl.c: Likewise.
22407 * math/s_nextafter.c: Likewise.
22408 * math/s_nexttowardf.c: Likewise.
22409 * math/s_significand.c: Likewise.
22410 * math/s_significandf.c: Likewise.
22411 * math/s_significandl.c: Likewise.
22412 * math/w_jnl.c: Likewise.
22413 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22414 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22415 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22416 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22417 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22432 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22433 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22434 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22435 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22437 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22438 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22439 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22440 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22441 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22442 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22444 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22445 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22446 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22447 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22448 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22449 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22450 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22451 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22452 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22453 * sysdeps/ieee754/k_standard.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22458 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22502 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22503 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22504 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22507 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22510 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22511 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22512 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22514 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22515 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22516 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22517 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22519 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22520 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22521 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22524 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22525 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22529 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22532 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22533 * sysdeps/ieee754/s_matherr.c: Likewise.
22534 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22535 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22538
965a54a4
JM
225392012-01-26 Joseph Myers <joseph@codesourcery.com>
22540
22541 * crypt/md5.h: Remove __STDC__ conditionals.
22542 * libio/libioP.h: Likewise.
22543 * locale/programs/config.h: Likewise.
22544 * sysdeps/generic/sysdep.h: Likewise.
22545 * sysdeps/i386/asm-syntax.h: Likewise.
22546 * sysdeps/s390/asm-syntax.h: Likewise.
22547 * sysdeps/unix/sysdep.h: Likewise.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22550
7071ad79
JM
225512012-01-26 Joseph Myers <joseph@codesourcery.com>
22552
22553 * libio/libio.h: Remove __STDC__ conditionals.
22554 * malloc/obstack.h: Likewise.
22555 * math/complex.h: Likewise.
22556 * math/math.h: Likewise.
22557 * sysdeps/generic/_G_config.h: Likewise.
22558 * sysdeps/gnu/_G_config.h: Likewise.
22559 * sysdeps/mach/hurd/_G_config.h: Likewise.
22560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22562 * sysdeps/sparc/bits/mathdef.h: Likewise.
22563
afc5ed09
UD
225642012-01-26 Ulrich Drepper <drepper@gmail.com>
22565
22566 [BZ #13583]
22567 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 22568 Clean up HAS_* macros.
afc5ed09 22569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
22570 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22571 possible.
22572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22573 HAS_AVX.
22574 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22575 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22576 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22577 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22578 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 22579
bdb6de1d
JM
225802012-01-25 Joseph Myers <joseph@codesourcery.com>
22581
22582 * elf/tst-unique3.cc (gets): Remove declaration.
22583 * elf/tst-unique3lib.cc (gets): Likewise.
22584 * elf/tst-unique3lib2.cc (gets): Likewise.
22585 * elf/tst-unique4.cc (gets): Likewise.
22586
b15549e6
UD
225872012-01-24 Ulrich Drepper <drepper@gmail.com>
22588
22589 * include/stdio.h: Add C++ protection. Add gets declarations and
22590 definitions.
22591 * debug/tst-chk1.c: Don't declare gets here.
22592 * stdio-common/tst-gets.c: Likewise.
22593
a037381f
JM
225942012-01-24 Joseph Myers <joseph@codesourcery.com>
22595
22596 * posix/glob: Remove directory.
22597
f1d4aa75
JM
225982012-01-24 Joseph Myers <joseph@codesourcery.com>
22599
22600 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22601
81c0c964
PT
226022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22603
22604 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22605 of the non-standard EPFNOSUPPORT.
22606
0ea698ae
ST
226072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22608
22609 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22610 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22611 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22612
d220b117
UD
226132012-01-21 Ulrich Drepper <drepper@gmail.com>
22614
22615 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22616
3e1aa84e
UD
226172012-01-20 Ulrich Drepper <drepper@gmail.com>
22618
22619 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22620 transient errors.
22621 * nscd/grpcache.c (cache_addgr): Likewise.
22622 * nscd/hstcache.c (cache_addhst): Likewise.
22623 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22624 * nscd/pwdcache.c (cache_addpw): Likewise.
22625 * nscd/servicescache.c (cache_addserv): Likewise.
22626
400aa020
UD
226272012-01-16 Ulrich Drepper <drepper@gmail.com>
22628
d77e7869
UD
22629 * malloc/malloc.c: Various cleanups.
22630 * malloc/hooks.c: Likewise.
22631
400aa020
UD
22632 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22633 * stdlib/bug-fmtmsg1.c: New file.
22634
22635 * stdlib/fmtmsg.c (init): Add missing unlock.
22636 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22637
e0a309cf
MP
226382012-01-12 Marek Polacek <polacek@redhat.com>
22639
22640 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22641 and _GNU_SOURCE.
22642
929d11c7
WS
226432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22644
22645 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22646 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22647 macro to ensure uniqueness of label name.
22648 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22649 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22650
41d0e869
UD
226512012-01-11 Ulrich Drepper <drepper@gmail.com>
22652
0cc5ed3b
UD
22653 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22654
41d0e869
UD
22655 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22656 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22659
a47a831a
UD
226602012-01-10 Ulrich Drepper <drepper@gmail.com>
22661
daa891c0
UD
22662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22663
22664 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22665 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22667
e58ef0f2
UD
22668 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22669
a47a831a 22670 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
22671 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22672 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 22673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
22674
22675 * math/bits/math-finite.h: Add ldexp support.
22676
a0bfc9c7
MP
226772012-01-10 Marek Polacek <polacek@redhat.com>
22678
22679 * locale/programs/localedef.h (show_archive_content): Add noreturn
22680 attribute.
22681
d6e97a1d
UD
226822012-01-09 Ulrich Drepper <drepper@gmail.com>
22683
22684 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22685
d5835c26
UD
226862012-01-08 Ulrich Drepper <drepper@gmail.com>
22687
e5f484c6
UD
22688 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22689
d5835c26
UD
22690 * io/Makefile (headers): Add bits/poll2.h.
22691
d1f741e9
WS
226922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22693
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22695 typo #include statement.
22696
ec09c1c4
UD
226972012-01-08 Ulrich Drepper <drepper@gmail.com>
22698
22699 * include/sys/cdefs.h: Define __attribute_alloc_size.
22700 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22701 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22702 * elf/pldd.c: Likewise.
22703 * iconv/iconv_charmap.c: Likewise.
22704 * iconv/iconvconfig.c: Likewise.
22705 * iconv/strtab.c: Likewise.
22706 * locale/programs/locale.c: Likewise.
22707 * locale/programs/localedef.h: Likewise.
22708 * locale/programs/simple-hash.c: Likewise.
22709 * nscd/nscd.h: Likewise.
22710 * nss/makedb.c: Likewise.
22711 * sysdeps/generic/ldconfig.h: Likewise.
22712 * locale/programs/localedef.c: Remove xmalloc prototype.
22713 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22714
20b38e03
PP
227152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22716
22717 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22718 appropriate.
22719
a0da5fe1
UD
227202012-01-08 Ulrich Drepper <drepper@gmail.com>
22721
1d5a644a 22722 * math/Makefile (tests): Add tst-CMPLX.
669704fd 22723 * math/tst-CMPLX.c: New file.
1d5a644a 22724
8784a6db
UD
22725 * math/complex.h (CMPLXL): Fix typo.
22726
d9a216c0
UD
22727 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22728 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22729 GLIBC_2.16.
22730 * debug/tst-chk1.c: Add poll and ppoll tests.
22731 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22732 * include/sys/poll.h: Add hidden proto for ppoll.
22733 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22734 * sysdeps/mach/hurd/ppoll.c: Likewise.
22735 * io/ppoll.c: Likewise.
22736 * debug/poll_chk.c: New file.
22737 * debug/ppoll_chk.c: New file.
22738 * include/bits/poll2.h: New file.
22739 * io/bits/poll2.h: New file.
22740
ac097f5c
UD
22741 [BZ #1350]
22742 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22743
2119dcfa
UD
22744 * configure.in: static is always set to yes. Remove.
22745 * config.make.in: Don't set build-static.
22746 * Makeconfig: Remove use of build-static.
22747 * dlfcn/Makefile: Likewise.
22748 * elf/Makefile: Likewise.
22749 * math/Makefile: Likewise.
22750 * misc/Makefile: Likewise.
22751 * nptl/Makefile: Likewise.
22752 * sysdeps/mach/hurd/Makefile: Likewise.
22753
121766a9
UD
22754 * configure.in: PWD_P is not used anymore.
22755 * config.make.in: Remove PWD_P entry.
22756
51a1d39c 22757 * configure.in: Remove last remnants of RANLIB.
8720d066 22758 No need to check for signed size_t anymore.
215f4bdc
UD
22759 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22760 and IA-64.
3857022a 22761 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
22762 * aclocal.m4: Likewise.
22763
d3ed7225
UD
22764 * wcsmbs/mbrtoc16.c: Implement using towc function.
22765 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22766 * wcsmbs/wcsmbsload.c: Likewise.
22767 * iconv/gconv_simple.c: Likewise.
22768 * iconv/gconv_int.h: Likewise.
22769 * iconv/gconv_builtin.h: Likewise.
22770 * iconv/iconv_prog.c: Remove CHAR16 handling.
22771
22772 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22773
22774 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22775
a0da5fe1
UD
22776 * configure.in: Remove --with-elf and --enable-bounded options.
22777 Dont set base_machine for ia64. More non-ELF conditions removed.
22778 Remove testing and setting of leading underscore information.
22779 * config.make.in (build-bounded): Set to no.
22780 * config.h.in: Remove NO_UNDERSCORES entry.
22781 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22782 them.
22783 * csu/start.c: Remove !NO_UNDERSCORE code.
22784 * locale/localeinfo.h: Likewise.
22785 * sysdeps/generic/machine-gmon.h: Likewise.
22786 * sysdeps/generic/sysdep.h: Likewise.
22787 * sysdeps/i386/sysdep.h: Likewise.
22788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22789 * sysdeps/mach/sysdep.h: Likewise.
22790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22792 * sysdeps/sh/sysdep.h: Likewise.
22793 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22794 * sysdeps/unix/i386/sysdep.S: Likewise.
22795 * sysdeps/unix/sparc/start.c: Likewise.
22796 * sysdeps/unix/sparc/sysdep.S: Likewise.
22797 * sysdeps/unix/sparc/sysdep.h: Likewise.
22798 * sysdeps/unix/start.c: Likewise.
22799 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22800 * sysdeps/x86_64/sysdep.h: Likewise.
22801
df78418a
UD
228022012-01-07 Ulrich Drepper <drepper@gmail.com>
22803
a784e502
UD
22804 [BZ #13553]
22805 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22806 for non-gcc.
22807 * argp/argp-fmtstream.h: Use const instead __const.
22808 * argp/argp.h: Likewise.
22809 * assert/assert.h: Likewise.
22810 * bits/fenv.h: Likewise.
22811 * bits/sched.h: Likewise.
22812 * bits/sigset.h: Likewise.
22813 * bits/sigthread.h: Likewise.
22814 * catgets/nl_types.h: Likewise.
22815 * conform/data/pthread.h-data: Likewise.
22816 * crypt/crypt-private.h: Likewise.
22817 * crypt/crypt.h: Likewise.
22818 * crypt/crypt_util.c: Likewise.
22819 * ctype/ctype.h: Likewise.
22820 * debug/execinfo.h: Likewise.
22821 * debug/mbsnrtowcs_chk.c: Likewise.
22822 * debug/mbsrtowcs_chk.c: Likewise.
22823 * debug/wcsnrtombs_chk.c: Likewise.
22824 * debug/wcsrtombs_chk.c: Likewise.
22825 * debug/wcstombs_chk.c: Likewise.
22826 * dirent/dirent.h: Likewise.
22827 * dlfcn/dlfcn.h: Likewise.
22828 * elf/neededtest4.c: Likewise.
22829 * grp/grp.h: Likewise.
22830 * gshadow/gshadow.h: Likewise.
22831 * iconv/gconv.h: Likewise.
22832 * iconv/gconv_int.h: Likewise.
22833 * iconv/gconv_simple.c: Likewise.
22834 * iconv/iconv.h: Likewise.
22835 * iconv/loop.c: Likewise.
22836 * iconv/skeleton.c: Likewise.
22837 * include/aio.h: Likewise.
22838 * include/aliases.h: Likewise.
22839 * include/argz.h: Likewise.
22840 * include/arpa/inet.h: Likewise.
22841 * include/assert.h: Likewise.
22842 * include/dirent.h: Likewise.
22843 * include/dlfcn.h: Likewise.
22844 * include/execinfo.h: Likewise.
22845 * include/fcntl.h: Likewise.
22846 * include/fenv.h: Likewise.
22847 * include/glob.h: Likewise.
22848 * include/grp.h: Likewise.
22849 * include/libintl.h: Likewise.
22850 * include/mntent.h: Likewise.
22851 * include/netdb.h: Likewise.
22852 * include/pwd.h: Likewise.
22853 * include/rpc/netdb.h: Likewise.
22854 * include/sched.h: Likewise.
22855 * include/search.h: Likewise.
22856 * include/shadow.h: Likewise.
22857 * include/signal.h: Likewise.
22858 * include/stdio.h: Likewise.
22859 * include/stdlib.h: Likewise.
22860 * include/string.h: Likewise.
22861 * include/sys/socket.h: Likewise.
22862 * include/sys/stat.h: Likewise.
22863 * include/sys/statfs.h: Likewise.
22864 * include/sys/statvfs.h: Likewise.
22865 * include/sys/syslog.h: Likewise.
22866 * include/sys/time.h: Likewise.
22867 * include/sys/uio.h: Likewise.
22868 * include/time.h: Likewise.
22869 * include/unistd.h: Likewise.
22870 * include/utmp.h: Likewise.
22871 * include/wchar.h: Likewise.
22872 * include/wctype.h: Likewise.
22873 * inet/aliases.h: Likewise.
22874 * inet/arpa/inet.h: Likewise.
22875 * inet/netinet/ether.h: Likewise.
22876 * inet/netinet/in.h: Likewise.
22877 * intl/libintl.h: Likewise.
22878 * io/bits/fcntl2.h: Likewise.
22879 * io/fcntl.h: Likewise.
22880 * io/ftw.h: Likewise.
22881 * io/sys/poll.h: Likewise.
22882 * io/sys/stat.h: Likewise.
22883 * io/sys/statfs.h: Likewise.
22884 * io/sys/statvfs.h: Likewise.
22885 * io/utime.h: Likewise.
22886 * libio/bits/stdio.h: Likewise.
22887 * libio/bits/stdio2.h: Likewise.
22888 * libio/libio.h: Likewise.
22889 * libio/libioP.h: Likewise.
22890 * libio/stdio.h: Likewise.
22891 * locale/lc-ctype.c: Likewise.
22892 * locale/locale.h: Likewise.
22893 * login/utmp.h: Likewise.
22894 * malloc/arena.c: Likewise.
22895 * malloc/malloc.c: Likewise.
22896 * malloc/malloc.h: Likewise.
22897 * malloc/mcheck.c: Likewise.
22898 * malloc/mtrace.c: Likewise.
22899 * math/bits/mathcalls.h: Likewise.
22900 * math/fenv.h: Likewise.
22901 * math/math_private.h: Likewise.
22902 * misc/bits/error.h: Likewise.
22903 * misc/bits/syslog.h: Likewise.
22904 * misc/err.h: Likewise.
22905 * misc/error.h: Likewise.
22906 * misc/fstab.h: Likewise.
22907 * misc/mntent.h: Likewise.
22908 * misc/regexp.h: Likewise.
22909 * misc/search.h: Likewise.
22910 * misc/sgtty.h: Likewise.
22911 * misc/sys/mman.h: Likewise.
22912 * misc/sys/syslog.h: Likewise.
22913 * misc/sys/uio.h: Likewise.
22914 * misc/sys/xattr.h: Likewise.
22915 * misc/ttyent.h: Likewise.
22916 * nis/rpcsvc/ypclnt.h: Likewise.
22917 * nss/nss.h: Likewise.
22918 * posix/bits/unistd.h: Likewise.
22919 * posix/fnmatch.h: Likewise.
22920 * posix/glob.h: Likewise.
22921 * posix/sched.h: Likewise.
22922 * posix/spawn.h: Likewise.
22923 * posix/sys/wait.h: Likewise.
22924 * posix/unistd.h: Likewise.
22925 * posix/wordexp.h: Likewise.
22926 * pwd/pwd.h: Likewise.
22927 * resolv/netdb.h: Likewise.
22928 * resource/sys/resource.h: Likewise.
22929 * rt/aio.h: Likewise.
22930 * rt/bits/mqueue2.h: Likewise.
22931 * rt/mqueue.h: Likewise.
22932 * shadow/shadow.h: Likewise.
22933 * signal/signal.h: Likewise.
22934 * socket/send.c: Likewise.
22935 * socket/sendto.c: Likewise.
22936 * socket/sys/socket.h: Likewise.
22937 * stdio-common/printf.h: Likewise.
22938 * stdlib/bits/stdlib.h: Likewise.
22939 * stdlib/fmtmsg.h: Likewise.
22940 * stdlib/monetary.h: Likewise.
22941 * stdlib/stdlib.h: Likewise.
22942 * stdlib/ucontext.h: Likewise.
22943 * streams/stropts.h: Likewise.
22944 * string/argz.h: Likewise.
22945 * string/bits/string2.h: Likewise.
22946 * string/string.h: Likewise.
22947 * string/strings.h: Likewise.
22948 * sunrpc/rpc/auth.h: Likewise.
22949 * sunrpc/rpc/auth_des.h: Likewise.
22950 * sunrpc/rpc/clnt.h: Likewise.
22951 * sunrpc/rpc/netdb.h: Likewise.
22952 * sunrpc/rpc/pmap_clnt.h: Likewise.
22953 * sunrpc/rpc/xdr.h: Likewise.
22954 * sysdeps/generic/inttypes.h: Likewise.
22955 * sysdeps/generic/net/if.h: Likewise.
22956 * sysdeps/generic/sys/swap.h: Likewise.
22957 * sysdeps/gnu/net/if.h: Likewise.
22958 * sysdeps/gnu/utmpx.h: Likewise.
22959 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22960 * sysdeps/i386/i486/bits/string.h: Likewise.
22961 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22962 * sysdeps/s390/bits/string.h: Likewise.
22963 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22964 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22965 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22966 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22967 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22968 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22969 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22970 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22971 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22972 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22973 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22974 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22975 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22976 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22977 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22978 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22979 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22981 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22983 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22984 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22985 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22986 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22987 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22988 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22989 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22990 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22991 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22992 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22993 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22994 * sysvipc/sys/ipc.h: Likewise.
22995 * sysvipc/sys/msg.h: Likewise.
22996 * sysvipc/sys/sem.h: Likewise.
22997 * sysvipc/sys/shm.h: Likewise.
22998 * termios/termios.h: Likewise.
22999 * time/sys/time.h: Likewise.
23000 * time/time.h: Likewise.
23001 * wcsmbs/bits/wchar2.h: Likewise.
23002 * wcsmbs/uchar.h: Likewise.
23003 * wcsmbs/wchar.h: Likewise.
23004 * wctype/wctype.h: Likewise.
23005
0269750c
UD
23006 [BZ #13551]
23007 * Makeconfig: Remove all but ELF support including AIX support.
23008 * Makerules: Likewise.
23009 * config.h.in: Likewise.
23010 * config.make.in: Likewise.
23011 * configure: Likewise.
23012 * configure.in: Likewise.
23013 * csu/Makefile: Likewise.
23014 * csu/version.c: Likewise.
23015 * debug/Makefile: Likewise.
23016 * dlfcn/Makefile: Likewise.
23017 * elf/Makefile: Likewise.
23018 * extra-lib.mk: Likewise.
23019 * iconv/Makefile: Likewise.
23020 * include/libc-symbols.h: Likewise.
23021 * include/shlib-compat.h: Likewise.
23022 * resolv/Makefile: Likewise.
23023 * resolv/res_libc.c: Likewise.
23024 * rt/Makefile: Likewise.
23025 * sysdeps/i386/asm-syntax.h: Likewise.
23026 * sysdeps/i386/sysdep.h: Likewise.
23027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23028 * sysdeps/mach/sysdep.h: Likewise.
23029 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23030 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23031 * sysdeps/s390/asm-syntax.h: Likewise.
23032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23033 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23034 * sysdeps/sh/sysdep.h: Likewise.
23035 * sysdeps/unix/sparc/sysdep.h: Likewise.
23036 * sysdeps/wordsize-32/divdi3.c: Likewise.
23037 * sysdeps/x86_64/sysdep.h: Likewise.
23038
00bbd29b
UD
23039 * argp/Versions: Remove _argp_unlock_xxx.
23040
23041 [BZ #13559]
23042 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23043 * abilist/libBrokenLocale.abilist: Likewise.
23044 * abilist/libanl.abilist: Likewise.
23045 * abilist/libc.abilist: Likewise.
23046 * abilist/libcrypt.abilist: Likewise.
23047 * abilist/libdl.abilist: Likewise.
23048 * abilist/libm.abilist: Likewise.
23049 * abilist/libnsl.abilist: Likewise.
23050 * abilist/libpthread.abilist: Likewise.
23051 * abilist/libresolv.abilist: Likewise.
23052 * abilist/librt.abilist: Likewise.
23053 * abilist/libthread_db.abilist: Likewise.
23054 * abilist/libutil.abilist: Likewise.
23055 * abilist/libnss_db.abilist: New file.
23056
23057 * scripts/abilist.awk: Add support for indirect functions.
23058
a2693a0e
UD
23059 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23060
3f05895f
UD
23061 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23062
ecb6fb48
UD
23063 * shlib-versions: Remove entries for ports architectures.
23064
664f8cb9
UD
23065 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23066 files in ports.
23067 * elf/stackguard-macros.h: Remove support for IA-64.
23068 * elf/tst-auditmod1.c: Likewise.
23069 * sysdeps/generic/ldsodefs.h: Likewise.
23070
7ae81d88
UD
23071 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23072 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23073 configure files.
23074
bdeba135
UD
23075 [BZ #13552]
23076 * configure.in: Remove --enable-omitfp support.
23077 * FAQ.in: Adjust.
23078 * config.make.in: Likewise.
23079 * Makeconfig: Likewise.
23080 * manual/install.texi: Likewise.
23081
d75a0a62
UD
23082 In case anyone cares, the IA-64 architecture could move to ports.
23083 * sysdeps/ia64/*: Removed.
23084 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23085 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23086
dcc9756b
UD
23087 [BZ #13555]
23088 * configure.in: Remove entries for unsupported architectures.
23089
d3761ebc 23090 [BZ #13533]
9954432e
UD
23091 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23092 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23093 routines.
23094 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23095 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23096 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23097 fall back to using wcrtomb.
23098 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23099 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23100 renaming.
23101 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23102 * wcsmbs/tst-c16c32-1.c: New file.
23103
23104 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23105 local variable.
23106
c3a87236
UD
23107 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23108
28926a1b
UD
23109 * elf/tst-unique3.cc: Add explicit declaration of gets.
23110 * elf/tst-unique3lib.cc: Likewise.
23111 * elf/tst-unique3lib2.cc: Likewise.
23112 * elf/tst-unique4.cc: Likewise.
23113
df78418a
UD
23114 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23115
8ecd6b2a
JM
231162012-01-06 Joseph Myers <joseph@codesourcery.com>
23117
23118 [BZ #13566]
23119 * assert/assert.h (static_assert): Don't define for C++.
23120 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23121 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23122
9f115170
UD
231232012-01-03 Ulrich Drepper <drepper@gmail.com>
23124
5e0d0300
UD
23125 * iconv/loop.c (single loop): Fix assertion in storing of
23126 remaining bytes.
23127
9f115170
UD
23128 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23129
81fb02b0
UD
231302012-01-01 Ulrich Drepper <drepper@gmail.com>
23131
23132 * posix/getconf.c: Update copyright year.
23133 * nss/getent.c: Likewise.
a316c1f6 23134 * nss/makedb.c: Likewise.
81fb02b0
UD
23135 * iconv/iconvconfig.c: Likewise.
23136 * iconv/iconv_prog.c: Likewise.
23137 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23138 * elf/pldd.c: Likewise.
23139 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23140 * catgets/gencat.c: Likewise.
23141 * csu/version.c: Likewise.
23142 * elf/ldd.bash.in: Likewise.
23143 * elf/sprof.c (print_version): Likewise.
23144 * locale/programs/locale.c: Likewise.
23145 * locale/programs/localedef.c: Likewise.
a316c1f6 23146 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23147 * nscd/nscd.c (print_version): Likewise.
23148 * debug/xtrace.sh: Likewise.
23149 * malloc/memusage.sh: Likewise.
23150 * malloc/mtrace.pl: Likewise.
23151 * debug/catchsegv.sh: Likewise.
23152
2ba92745
JJ
231532011-12-30 Jakub Jelinek <jakub@redhat.com>
23154
23155 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23156 pure attribute.
23157
dadebdae
UD
231582011-12-24 Ulrich Drepper <drepper@gmail.com>
23159
d3761ebc 23160 [BZ #13533]
db6af3eb
UD
23161 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23162 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23163 transformations.
23164 * iconv/gconv_int.h: Likewise.
23165 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23166 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23167 from libc for GLIBC_2.16.
23168 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23169 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23170 * wcsmbs/uchar.h: Really define mbstate_t.
23171 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23172 * wcsmbs/c16rtomb.c: New file.
23173 * wcsmbs/mbrtoc16.c: New file.
23174 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23175 for C/POSIX locale.
23176 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23177 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23178
dadebdae
UD
23179 * wcsmbs/wchar.h: Add missing __restrict.
23180
67371b56
UD
231812011-12-23 Ulrich Drepper <drepper@gmail.com>
23182
74033a25
UD
23183 [BZ #13532]
23184 * time/Makefile (routines): Add timespec_get.
23185 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23186 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23187 timespec for ISO C11.
23188 * time/timespec_get.c: New file.
23189 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23190 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23191
380d7e87
UD
23192 [BZ #13531]
23193 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23194 * stdlib/stdlib.h: Declare aligned_alloc.
23195 * Versions.def: Add GLIBC_2.16 for libc.
23196 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23197
4e9e7a35
UD
23198 [BZ 13527]
23199 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23200 ISO C11.
23201
380d7e87 23202 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23203 code.
23204
03a71829
UD
23205 [BZ #13528]
23206 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23207
839e283e
UD
23208 [BZ #13529]
23209 * assert/assert.h (static_assert): Define.
23210
ce5294e2 23211 * version.h: Update for 2.16 development version.
90fa7312 23212
8d44e150 23213 [BZ #13526]
d7809905
UD
23214 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23215 _ISOC11_SOURCE.
23216
c0da14cd
UD
23217 * version.h (RELEASE): Bump for 2.15 release.
23218 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23219
530a3249
MP
23220 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23221 Patch by Marek Polacek <mpolacek@redhat.com>.
23222
67371b56
UD
23223 * bits/byteswap.h: Protect long long constants with __extension__.
23224 * sysdeps/i386/bits/byteswap.h: Likewise.
23225 * sysdeps/ia64/bits/byteswap.h: Likewise.
23226 * sysdeps/s390/bits/byteswap.h: Likewise.
23227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23228
15db4de1
LD
232292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23230
23231 [BZ #13540]
bbe315ea
LD
23232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23233 destination buffer.
15db4de1
LD
23234 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23235
2b2596b1
MP
232362011-12-23 Marek Polacek <polacek@redhat.com>
23237
23238 * elf/dl-addr.c (determine_info): Add inline keyword.
23239 * elf/tst-auditmod4b.c (check_avx): Likewise.
23240 * elf/tst-auditmod6b.c (check_avx): Likewise.
23241 * elf/tst-auditmod6c.c (check_avx): Likewise.
23242 * elf/tst-auditmod7b.c (check_avx): Likewise.
23243
70c6c246
UD
232442011-12-23 Ulrich Drepper <drepper@gmail.com>
23245
23246 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23247 !__SSE_MATH__.
23248
c044cf14
LD
232492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23250
15db4de1 23251 [BZ #13540]
c044cf14
LD
23252 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23253 processing for last bytes.
23254
6b13d9d9
BH
232552011-08-06 Bruno Haible <bruno@clisp.org>
23256
d455f537
BH
23257 [BZ #13061]
23258 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23259 U+0385, not to U+1FEE.
23260
6b13d9d9
BH
23261 [BZ #13062]
23262 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23263 entry for U+00A5 U+0301.
23264
db910efd
UD
232652011-12-22 Ulrich Drepper <drepper@gmail.com>
23266
27deeafc
UD
23267 [BZ #13166]
23268 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23269 buffer for the output is too small.
23270
aed9d171
UD
23271 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23272 optimization.
23273
db910efd
UD
23274 [BZ #13185]
23275 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23276 SSE flags if possible.
23277
2bd779ae
LD
232782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23279
e7f9dac3 23280 [BZ #13540]
2bd779ae
LD
23281 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23282 processing for last bytes.
23283
154bfc16
JM
232842011-12-22 Joseph Myers <joseph@codesourcery.com>
23285
23286 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23287 (syscall-list-default-options, syscall-list-default-condition)
23288 (syscall-list-includes): Define.
23289 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23290 list of ABIs and options and #if conditions for each ABI. Do not
23291 handle common syscalls between ABIs specially.
23292 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23293 Remove.
23294 (syscall-list-variants, syscall-list-32bit-options)
23295 (syscall-list-32bit-condition, syscall-list-64bit-options)
23296 (syscall-list-64bit-condition): Define.
23297 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23298 (syscall-list-variants, syscall-list-32bit-options)
23299 (syscall-list-32bit-condition, syscall-list-64bit-options)
23300 (syscall-list-64bit-condition): Define.
23301 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23302 Remove.
23303 (syscall-list-variants, syscall-list-32bit-options)
23304 (syscall-list-32bit-condition, syscall-list-64bit-options)
23305 (syscall-list-64bit-condition): Define.
23306 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23307 Remove.
23308 (syscall-list-variants, syscall-list-32bit-options)
23309 (syscall-list-32bit-condition, syscall-list-64bit-options)
23310 (syscall-list-64bit-condition): Define.
23311
21eaf3a5
UD
233122011-12-22 Ulrich Drepper <drepper@gmail.com>
23313
16c6f992
UD
23314 * locale/iso-639.def: Add brx entry.
23315
41043168
UD
23316 [BZ #13328]
23317 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23318 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23319
21eaf3a5
UD
23320 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23321 __feraiseexcept_renamed.
23322
e3a851a2
UD
233232011-12-21 Ulrich Drepper <drepper@gmail.com>
23324
4920765e
UD
23325 [BZ #13538]
23326 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23327 EPOLLET with unsigned values.
23328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23330
e3a851a2
UD
23331 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23332 to large cancellation.
23333 * math/s_cacoshf.c: Likewise.
23334 * math/s_cacoshl.c: Likewise.
23335
b27e24b8
RK
233362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23337
23338 [BZ #13305]
aebefeee 23339 [BZ #12786]
b27e24b8
RK
23340 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23341 * math/s_cacoshf.c: Likewise.
23342 * math/s_cacoshl.c: Likewise.
23343
ee190f67
UD
233442011-12-21 Ulrich Drepper <drepper@gmail.com>
23345
23346 [BZ #13439]
23347 * iconv/gconv.h: Define __GCONV_SWAP.
23348 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23349 * iconvdata/utf-16.c: Likewise.
23350 * iconvdata/utf-32.c: Likewise.
23351
707f25df
AS
233522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23353
23354 [BZ #13524]
23355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23356 numerator after shifting it by one limb.
23357
d2daaa1e
RÁE
233582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23359
23360 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23361 under [__USE_EXTERN_INLINES].
23362
a4647e72
UD
233632011-12-17 Ulrich Drepper <drepper@gmail.com>
23364
23365 [BZ #13446]
23366 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23367
f0b264f1
AZ
233682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23369
23370 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23371 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23372 optimized code.
23373 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23374 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23375 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23376 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23377 for strncasecmp/strncasecmp_l compilation.
23378 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23379 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23380
8ef4f244
MP
233812011-12-08 Marek Polacek <mpolacek@redhat.com>
23382
23383 [BZ #13484]
23384 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23385 of __asm__.
23386
97ac2654
UD
233872011-12-17 Ulrich Drepper <drepper@gmail.com>
23388
23389 [BZ #13506]
23390 * time/tzfile.c (__tzfile_read): Check values from file header.
23391
91d2a845
WS
233922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23393
23394 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23395 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23396 * powerpc/powerpc32/dl-start.S: Likewise.
23397 * powerpc/powerpc32/elf/start.S: Likewise.
23398 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23399 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23400 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23401 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23402 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23403 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23404 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23405 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23406 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23407 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23408 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23409 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23410 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23411 * powerpc/powerpc32/memset.S: Likewise.
23412 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23413 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23414 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23415 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23416 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23417 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23418 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23419 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23420 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23421 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23422 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23423 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23424 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23425
a1267ba1
AZ
234262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23427
23428 * math/libm-test.inc: Added more nearbyint tests.
23429 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23433
ad8ac1bd
RL
234342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23435
23436 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23437 FD_CLOEXEC.
23438
1d3e4b61
UD
234392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23440
23441 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23442 Add wcscpy-ssse3 wcscpy-c.
23443 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23444 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23445 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23446 * sysdeps/x86_64/wcschr.S: New file.
23447 * sysdeps/x86_64/wcsrchr.S: New file.
23448 * string/test-strcmp.c: Remove checking of wcscmp function for
23449 wrong alignments.
23450 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23451 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23452 wcsrchr-sse2 wcsrchr-c.
23453 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23454 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23455 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23456 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23457 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23458 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23459 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23460 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23461 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23462 * wcsmbc/wcschr.c (WCSCHR): New macro.
23463
5b330a2d
UD
234642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23465
23466 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23467 * wcsmbs/test-wcsrchr.c: New file.
23468 * string/test-strrchr.c: Add wcsrchr support.
23469 (WIDE): New macro.
23470 * wcsmbs/test-wcscpy.c: New file.
23471 * string/test-strcpy.c: Add wcscpy support.
23472 (WIDE): New macro.
26428b7c 23473
f039c043
UD
234742011-12-10 Ulrich Drepper <drepper@gmail.com>
23475
23476 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23477 the inner loop.
23478
850fb039
AS
234792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23480
23481 [BZ #13472]
23482 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23483
4efbd5cb
UD
234842011-12-04 Ulrich Drepper <drepper@gmail.com>
23485
52ff5dd0 23486 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 23487 Minor optimizations.
52ff5dd0 23488
4efbd5cb
UD
23489 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23490 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23491 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23492
8a426e12
UD
234932011-12-03 Ulrich Drepper <drepper@gmail.com>
23494
aff2453d
UD
23495 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23496 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23497 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23498 for gcc to avoid warnings.
23499 * inet/Makefile (tests): Add tst-checks.
23500 * inet/tst-checks.c: New file.
23501
23502 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23503 warning.
23504
23505 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23506 __wmemcmp_sse2.
23507
23508 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23509 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23510
8a426e12
UD
23511 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23512
9bea3473
UD
235132011-12-02 Ulrich Drepper <drepper@gmail.com>
23514
3a965496
UD
23515 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23516 problem.
23517
9bea3473
UD
23518 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23519
f101631b
UD
235202011-11-29 Joseph Myers <joseph@codesourcery.com>
23521
23522 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23523 conditional on GCC version.
23524 (__arch_compare_and_exchange_val_8_acq)
23525 (__arch_compare_and_exchange_val_16_acq)
23526 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23527 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23528 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23529
a98275aa
UD
235302011-12-02 Joseph Myers <joseph@codesourcery.com>
23531
23532 * sysdeps/sh/backtrace.c: New file.
23533
d4cc29a2
AS
235342011-12-02 Andreas Schwab <schwab@redhat.com>
23535
23536 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23537 parenthesis.
23538
6257af2d
AS
235392011-12-01 Andreas Schwab <schwab@redhat.com>
23540
23541 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23542 falling back to utime.
23543
b5f44c1a
AS
235442011-11-30 Andreas Schwab <schwab@redhat.com>
23545
23546 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23547 expectations for float.
23548
f3a6cc0a
AS
235492011-11-29 Andreas Schwab <schwab@redhat.com>
23550
23551 * locale/weight.h (findidx): Add parameter len.
23552 * locale/weightwc.h (findidx): Likewise.
23553 * posix/fnmatch_loop.c (FCT): Adjust caller.
23554 * posix/regcomp.c (build_equiv_class): Likewise.
23555 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23556 * posix/regexec.c (check_node_accept_bytes): Likewise.
23557 * string/strcoll_l.c (STRCOLL): Likewise.
23558 * string/strxfrm_l.c (STRXFRM): Likewise.
23559
9d65ea3a
UD
235602011-11-17 Ulrich Drepper <drepper@gmail.com>
23561
23562 * Makefile.in: Remove CVSOPT handling.
23563 * configure.in: Remove use of AC_REVISION.
23564 * iconvdata/Makefile (distribute): No need to filter out CVS.
23565 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23566 handling.
23567
5583a086
AS
235682011-11-16 Andreas Schwab <schwab@redhat.com>
23569
23570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23571 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23572 [USE_AS_STRNCASECMP_L]: Likewise.
23573 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23574 NO_TLS_DIRECT_SEG_REFS.
23575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23576 Fix argument offsets for non-PIC.
23577 [USE_AS_STRNCASECMP_L]: Likewise.
23578 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23579 NO_TLS_DIRECT_SEG_REFS.
23580
d62a8200
UD
235812011-11-15 Ulrich Drepper <drepper@gmail.com>
23582
9d65ea3a 23583 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
23584 O_CLOEXEC.
23585 * locale/loadlocale.c (_nl_load_locale): Likewise.
23586
09f93bd3
AS
235872011-11-15 Andreas Schwab <schwab@redhat.com>
23588
446514f9
AS
23589 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23590 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23591 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23592 (SYSCALL_GETTIME): Set errno on error.
23593
09f93bd3
AS
23594 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23595 count references to noai6ai_cached.
23596
312be3f9
UD
235972011-11-15 Ulrich Drepper <drepper@gmail.com>
23598
23599 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23600
23601 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23602 FD_CLOEXEC for /proc/self/maps.
23603
23604 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23605 FD_CLOEXEC for /proc/meminfo.
23606
23607 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23608 gai.conf.
23609
23610 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23611 FD_CLOEXEC for given file.
23612
23613 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23614
23615 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23616 FD_CLOEXEC for /etc/hosts.
23617 (_gethtent): Likewise.
23618
23619 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23620
23621 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23622 cancellation and set FD_CLOEXEC for /etc/netgroup.
23623
23624 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23625 reading /etc/publickey.
23626
23627 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23628 allow cancellation when reading /etc/group.
23629
23630 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23631 cancellation.
23632 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23633
23634 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23635 when using data file.
23636
23637 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23638
23639 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23640 (write_nis_obj): Use "c" and "e" in fopen.
23641
23642 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23643
23644 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23645
23646 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23647
23648 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23649
23650 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23651 locale.alias.
23652
23653 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23654
23655 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23656
23657 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23658
23659 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23660 file parsing and set FD_CLOEXEC.
23661
82af0fa8
UD
236622011-11-14 Ulrich Drepper <drepper@gmail.com>
23663
23664 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23665
a5fb313c
AS
236662011-11-14 Andreas Schwab <schwab@redhat.com>
23667
23668 * malloc/arena.c (arena_get2): Don't call reused_arena when
23669 _int_new_arena failed.
23670
6abf3465
UD
236712011-11-14 Ulrich Drepper <drepper@gmail.com>
23672
23673 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23674 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23677 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23679 to compile strcasecmp and strncasecmp.
23680 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23681 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23682
23683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23684
76e3966e
UD
236852011-11-13 Ulrich Drepper <drepper@gmail.com>
23686
23687 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23688 locale-defines.sym to gen-as-const-headers.
23689 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23690 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23692 to compile strcasecmp and strncasecmp.
23693 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23694 strcasecmp_l and strncasecmp_l.
23695 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23696 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23697 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23698 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23699 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23700 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23701 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23702 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23703 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23704 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23705 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23706
ab26144e
UD
237072011-11-12 Ulrich Drepper <drepper@gmail.com>
23708
7edb22ef
UD
23709 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23710 result of SYSDEP_GETTIME_CPU to retval.
23711 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23712 parameter list to macro. Remove trailing semicolon. Adjust users.
23713
9694fc44
UD
23714 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23715 variable.
23716
8ad89ef8
UD
23717 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23718 mantissa words.
23719 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23720
0c822ef9
UD
23721 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23722 from unused variable.
23723
874e0564
UD
23724 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23725 DWARF definitions.
23726 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23727 for assembling.
23728
3a2edc79
UD
23729 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23730 over namespaces.
23731
f3c2577f
UD
23732 * sunrpc/rpc_prot.c (rejected): Fix case value.
23733
294ce126
UD
23734 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23735 unsigned long long int to avoid warnings in shift.
23736
5e2b63c6
UD
23737 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23738 of use of trans.
23739 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23740 variable tmp.
23741
e7f4b08e
UD
23742 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23743 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23744 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23745
ab26144e
UD
23746 * nis/nis_table.c (nis_list): Use variable of correct type for
23747 result of __follow_path call.
23748
8a6d5255
AZ
237492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23750
23751 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23752 of math functions ceil, trunc, floor, round, and sqrt, when
23753 avaliable on the platform.
23754 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23755 name clash.
23756 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23757 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23758 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23759
aaddc98c
MP
237602011-10-30 Marek Polacek <mpolacek@redhat.com>
23761
23762 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23763 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23764
95b7042b
RM
237652011-11-11 Roland McGrath <roland@hack.frob.com>
23766
23767 * include/unistd.h: Fix __readlink return type.
23768 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23769
57769839
UD
237702011-11-11 Ulrich Drepper <drepper@gmail.com>
23771
23772 * stdlib/ucontext.h: Undo last change for makecontext.
23773
edc5984d
AS
237742011-11-11 Andreas Schwab <schwab@redhat.com>
23775
98591e58
AS
23776 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23777
edc5984d
AS
23778 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23779 * setjmp/setjmp.h: Mark functions as non-leaf.
23780 * setjmp/bits/setjmp2.h: Likewise.
23781 * stdlib/ucontext.h: Likewise.
23782
77cdc054
AS
237832011-11-10 Andreas Schwab <schwab@redhat.com>
23784
23785 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23786 (reused_arena): Don't check arena limit.
23787 (arena_get2): Atomically check arena limit.
23788
fe72eebd
UD
237892011-11-08 Ulrich Drepper <drepper@gmail.com>
23790
5f078c32
UD
23791 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23792 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23793
fe72eebd
UD
23794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23795 instructions.
23796
ae1bc2fa
AS
237972011-11-07 Andreas Schwab <schwab@redhat.com>
23798
7583a88d
AS
23799 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23800 handler when locking.
23801
ae1bc2fa
AS
23802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23803 Fix size of allocated buffer.
23804
10fb0bfa
AS
238052011-11-04 Andreas Schwab <schwab@redhat.com>
23806
998832a4
AS
23807 [BZ #10103]
23808 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23809 declarations for long double functions.
23810 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23811
10fb0bfa
AS
23812 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23813
3d7ba52b
AS
238142011-11-03 Andreas Schwab <schwab@redhat.com>
23815
a9ae54a1
AS
23816 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23817 installed.
23818
3d7ba52b
AS
23819 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23820 is disabled.
23821
bc8db248
ST
238222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23823
23824 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23825
45b96dd6
AS
238262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23827
647776f6
AS
23828 * include/alloca.h (stackinfo_alloca_round): Define.
23829 (extend_alloca): Use it.
23830 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23831 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23832 here.
23833
d91a8b93
AS
23834 * scripts/check-local-headers.sh: Ignore libaudit.h.
23835
45b96dd6
AS
23836 * nscd/Makefile (extra-objs): Make recursively expanded.
23837
432d41ce
UD
238382011-11-01 Ulrich Drepper <drepper@gmail.com>
23839
34372fc6
UD
23840 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23841 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23842
fadb59f8
UD
23843 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23844 * posix/tst-rfc3484-2.c: Likewise.
23845 * posix/tst-rfc3484-3.c: Likewise.
23846
78239589
UD
23847 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23848 process_vm_writev.
23849 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23850 process_vm_writev.
23851 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23852 process_vm_writev from libc using GLIBC_2.15 version.
23853
432d41ce
UD
23854 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23855
02f9c6cf
PP
238562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23857
23858 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23859 stack usage.
23860
3a2c0242
UD
238612011-10-31 Ulrich Drepper <drepper@gmail.com>
23862
f4ec4833
UD
23863 [BZ #13367]
23864 * nss/getent.c (initgroups_keys): Show error message in case no group
23865 names are given.
23866
3a2c0242
UD
23867 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23868 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23869 __bump_nl_timestamp.
23870 * nscd/connections (nscd_init): When host database is served open
23871 netlink socket and request notification about configuration changes.
23872 (main_loop_poll): Track netlink file descriptor and bump timestamp
23873 in case data becomes available.
23874 (main_loop_epoll): Likewise.
23875 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23876 (database_pers_head): Add extra_data fileds.
23877 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23878 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23879 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23880 Adjust caller.
23881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23882 in6ai data, call __free_in6ai.
23883 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23884 Add -DHAVE_NETLINK.
23885 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23886 interface information. Reuse previous data if netlink timestamp
23887 is not changed.
23888 (__bump_nl_timestamp): New function.
23889 (__free_in6ai): New function.
23890
636064eb
UD
238912011-10-30 Ulrich Drepper <drepper@gmail.com>
23892
23893 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23894 close_not_cancel_no_status here.
23895 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23896
9beb2334
UD
238972011-10-29 Ulrich Drepper <drepper@gmail.com>
23898
6ef76f3b
UD
23899 [BZ #13276]
23900 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23901 return value.
23902
0ffc4f3e 23903 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23904 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23905 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23906
cb95113e
UD
239072011-07-03 Andreas Jaeger <aj@suse.de>
23908
23909 [BZ #10709]
23910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23911 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23912 * math/libm-test.inc (sin_test): Add test case.
23913
a1b560ff
UD
239142011-10-29 Ulrich Drepper <drepper@gmail.com>
23915
c9aaface
UD
23916 [BZ #13337]
23917 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23918 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23919
d272e7f1
UD
23920 * elf/chroot_canon.c (chroot_canon): Cleanups.
23921
1bc33071
UD
23922 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23923
1760874d
TJ
23924 [BZ #13335]
23925 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23926 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23927
51d91b18
UD
23928 * string/test-strchr.c: Make usable for strchrnul testing.
23929 * string/test-strchrnul.c: New file.
23930 * string/Makefile (strop-tests): Add strchrnul.
23931
a1b560ff 23932 * po/it.po: Update from translation team.
b611fb81 23933 * po/es.po: Likewise.
a1b560ff 23934
a5b81e1f
UD
239352011-10-28 Ulrich Drepper <drepper@gmail.com>
23936
fd52bc6d
UD
23937 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23938 the three constants needed as parameters. Drop the others.
23939 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23940 __m128i_strloadu_tolower.
52e4b9eb
UD
23941 Create and initialize variable zero and use it in all the places
23942 where _mm_setzero_si128 was used.
fd52bc6d 23943
a5b81e1f
UD
23944 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23945 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23946 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23947 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23948 anymore.
23949 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23950 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23951 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23952 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23953 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23954 __mpranred, __mptan.
23955 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23956 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23957 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23958 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23959 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23960 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23961 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23962 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23963 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23964
b4343346
AS
239652011-10-28 Andreas Schwab <schwab@redhat.com>
23966
0c92d8a8
AS
23967 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23968 redefine if SHARED.
23969 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23970
b4343346
AS
23971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23972 wide char related routines to wcsmbs subdir.
23973
3871f58f
AS
239742011-10-27 Andreas Schwab <schwab@redhat.com>
23975
23976 [BZ #13344]
23977 * misc/sys/cdefs.h (__THROWNL): Define.
23978 * posix/unistd.h: Use __THREADNL instead of __THREAD
23979 for memory synchronization functions.
23980
94d44d9f
RM
239812011-10-26 Roland McGrath <roland@hack.frob.com>
23982
21b64b15 23983 [BZ #13349]
94d44d9f
RM
23984 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23985 doesn't exist.
23986 * manual/stdio.texi (Obstack Streams): Node removed.
23987
f6ce9294
AS
239882011-10-26 Andreas Schwab <schwab@redhat.com>
23989
80479147
AS
23990 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23991 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23993
f6ce9294
AS
23994 * math/math_private.h (math_force_eval): Allow non-addressable
23995 arguments.
23996 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23997
618280a1
UD
239982011-10-25 Ulrich Drepper <drepper@gmail.com>
23999
e0016b11
UD
24000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24001 file is not needed.
24002
24003 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24006 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24007 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24010 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24011 Add AVX variants.
24012 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24013 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24014 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24015 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24016 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24017 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24018 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24020 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24021 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24022 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24023 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24024 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24025 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24026 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24027 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24028 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24029 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24030 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24031
24032 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24033 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24034
618280a1
UD
24035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24036 place. Use VEX encoding when compiling for AVX.
24037
37822576
AS
240382011-10-25 Andreas Schwab <schwab@redhat.com>
24039
1f1e1947
AS
24040 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24041 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24042
37822576
AS
24043 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24044
31ea014d
UD
240452011-10-25 Ulrich Drepper <drepper@gmail.com>
24046
d7826aa1 24047 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24048 useless if() expression.
d7826aa1
UD
24049 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24050 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24052 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24054 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24055 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24057 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24059 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24060 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24061 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24063 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24064 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24065 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24068
31ea014d
UD
24069 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24070
16437fec
AS
240712011-10-25 Andreas Schwab <schwab@redhat.com>
24072
24073 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24074 condition.
24075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24076
31d3cc00
UD
240772011-10-25 Ulrich Drepper <drepper@gmail.com>
24078
24079 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24080 .text section. Avoid duplicate constants.
24081 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24091 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24092 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24093 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24096 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24098 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24104 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24105 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24106 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24107 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24108 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24109 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24110 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24111 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24112 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24113 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24114 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24115 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24116 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24117 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24119 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24120 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24121 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24122 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24123 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24124 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24125 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24126
58985aa9
UD
241272011-10-24 Ulrich Drepper <drepper@gmail.com>
24128
202c9deb
UD
24129 * sysdeps/x86_64/dla.h: Move to ...
24130 * sysdeps/x86_64/fpu/dla.h: ...here.
24131 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24132 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24133
af968f62
UD
24134 * config.make.in: Add have-mfma4 entry.
24135 * configure.in: Substitute libc_cv_cc_fma4.
24136 * math/Makefile (dbl-only-routines): Add sincostab.
24137 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24138 Use __sincostab not sincos.
24139 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24140 name is a macro.
24141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24145 using __copysign.
24146 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24147 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24148 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24149 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24150 and __inv.
24151 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24152 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24153 __copysign.
24154 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24155 define aliases when function name is a macro.
24156 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24157 sysdeps/ieee754/dbl-64/sincos.tbl.
24158 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24159 fma4-enabled routines.
24160 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24161 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24162 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24163 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24164 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24165 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24167 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24169 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24170 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24171 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24172 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24173 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24175 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24176 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24177 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24178 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24180 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24181 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24183 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24185 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24187 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24189 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24190
58985aa9
UD
24191 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24192 rename.
24193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24201
a201fbcf
AS
242022011-10-24 Andreas Schwab <schwab@redhat.com>
24203
24204 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24205
fc2ee42a
LD
242062011-10-23 Ulrich Drepper <drepper@gmail.com>
24207
bb3129bd
UD
24208 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24209
0275fff8
UD
24210 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24211 prediction.
24212 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24213
2fa2ae85
UD
24214 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24215 Remove unused variable magic_bits.
24216 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24217
fc2ee42a
LD
24218 * string/strnlen.c: Define and use STRNLEN macro.
24219 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24220 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24221 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24222 * wcsmbs/wcslen.c: Define and use WCSLEN.
24223 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24224 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24225 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24226 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24227 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24228 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24229 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24230
ce7dd29f
LD
242312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24232
24233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24234 strnlen-sse2-no-bsf.
24235 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24237 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24238 Add strnlen support.
24239 (USE_AS_STRNLEN): New macro.
24240 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24241 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24242 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24243 * sysdeps/x86_64/wcslen.S: New file.
24244
979c70a3
MZ
242452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24246
24247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24248 XMM-moves are used for copying on small sizes.
24249
2d09f82f
LD
242502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24251
24252 * wcsmbs/Makefile (strop-tests): Add wcschr.
24253 * wcsmbs/test-wcschr.c: New file.
24254 * string/test-strchr.c: Update.
24255 Add wcschr support.
24256 (WIDE): New macro.
24257
619fccca
LD
242582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24259
2d09f82f 24260 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24261 * wcsmbs/test-wcslen.c: New file.
24262 * string/test-strlen.c: Update.
24263 Add wcslen support.
24264 (WIDE): New macro.
24265
09f699ea
UD
242662011-10-23 Ulrich Drepper <drepper@gmail.com>
24267
24268 * po/it.po: Update from translation team.
24269
95584d3b
LD
242702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24271
24272 * sysdeps/x86_64/wcscmp.S: Update.
24273 Fix wrong comparison semantics.
24274 wcscmp shall use signed comparison not unsigned.
24275 Don't use substraction to avoid overflow bug.
24276 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24277 * wcsmbc/wcscmp.c: Likewise.
24278 * string/test-strcmp.c: Likewise.
24279 Add new tests to check cases with negative values.
24280
c8b3296b
UD
242812011-10-23 Ulrich Drepper <drepper@gmail.com>
24282
24283 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24284 * sysdeps/x86_64/dla.h: ...here. New file.
24285 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24292 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24294
246ad57a
AS
242952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24296
24297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24298 __ynl_finite aliases.
24299
a1a87169
UD
243002011-10-22 Ulrich Drepper <drepper@gmail.com>
24301
0d355eb7
UD
24302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24303
a1a87169
UD
24304 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24305 define DLA_FMA.
24306 [DLA_FMA] (EMULV): Use DLA_FMA.
24307 [DLA_FMA] (MUL12): Use EMULV.
24308 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24309 that are not needed.
24310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24317
ee2aafe0
AS
243182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24319
24320 * math/s_nan.c: Undef __nan.
24321 * math/s_nanf.c: Undef __nanf.
24322 * math/s_nanl.c: Undef __nanl.
24323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24324 "math_private.h".
24325
bc62c2fb
UD
243262011-10-22 Ulrich Drepper <drepper@gmail.com>
24327
77425c63
UD
24328 * math/s_catan.c: Add branch predictions.
24329 * math/s_catanf.c: Likewise.
24330 * math/s_catanh.c: Likewise.
24331 * math/s_catanhf.c: Likewise.
24332 * math/s_catanhl.c: Likewise.
24333 * math/s_catanl.c: Likewise.
24334 * math/s_cexp.c: Likewise.
24335 * math/s_cexpf.c: Likewise.
24336 * math/s_cexpl.c: Likewise.
24337 * math/s_clog.c: Likewise.
24338 * math/s_clog10.c: Likewise.
24339 * math/s_clog10f.c: Likewise.
24340 * math/s_clog10l.c: Likewise.
24341 * math/s_clogf.c: Likewise.
24342 * math/s_clogl.c: Likewise.
24343 * math/s_csqrt.c: Likewise.
24344 * math/s_csqrtf.c: Likewise.
24345 * math/s_csqrtl.c: Likewise.
24346 * math/s_ctanf.c: Likewise.
24347 * math/s_ctanh.c: Likewise.
24348 * math/s_ctanhf.c: Likewise.
24349 * math/s_ctanhl.c: Likewise.
24350 * math/s_ctanl.c: Likewise.
24351
bc62c2fb
UD
24352 * math/math_private.h: Define __nan, __nanf, __nanl.
24353 * math/s_cacosh.c: Include <math_private.h>.
24354 * math/s_cacoshl.c: Likewise.
24355 * math/s_casinh.c: Likewise.
24356 * math/s_casinhf.c: Likewise.
24357 * math/s_casinhl.c: Likewise.
24358 * math/s_ccos.c: Rely entire on ccosh.
24359 * math/s_ccosf.c: Rely entire on ccoshf.
24360 * math/s_ccosl.c: Rely entirely on ccoshl.
24361 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24362 Remove tests for FE_INVALID.
24363 * math/s_ccoshf.c: Likewise.
24364 * math/s_ccoshl.c: Likewise.
24365 * math/s_csin.c: Likewise.
24366 * math/s_csinf.c: Likewise.
24367 * math/s_csinh.c Likewise.
24368 * math/s_csinhf.c: Likewise.
24369 * math/s_csinhl.c: Likewise.
24370 * math/s_csinl.c: Likewise.
24371 * math/s_ctan.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24373 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24374 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24375
8ec250a4
UD
243762011-10-21 Ulrich Drepper <drepper@gmail.com>
24377
c196fed8
UD
24378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24379 compilation problems.
24380
8ec250a4
UD
24381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24382 __builtin_expect.
24383
8d4f46c6
UD
243842011-10-20 Ulrich Drepper <drepper@gmail.com>
24385
ed72b654
UD
24386 * sysdeps/i386/configure.in: Test for -mfma4 option.
24387 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24388 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24389 COMMON_CPUID_INDEX_80000001.
24390 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24391 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24392 use it if FMA3 is not supported.
24393 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24394
8d4f46c6
UD
24395 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24396 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24397
d45c60c2
AS
243982011-10-20 Andreas Schwab <schwab@redhat.com>
24399
24400 [BZ #12892]
24401 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24402 it would create a cycle with a link time dependency.
24403
d9a4d2ab
UD
244042011-10-19 Ulrich Drepper <drepper@gmail.com>
24405
855d1560
UD
24406 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24407 instruction.
24408 * string/Makefile (strop-tests): Add rawmemchr.
24409 * string/test-rawmemchr.c: New file.
24410
d9a4d2ab
UD
24411 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24413 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24414 when compiling str{,n}casecmp and when AVX is available. Hook up
24415 new optimized code in initializers.
24416
8f3b1ffe
AS
244172011-10-19 Andreas Schwab <schwab@redhat.com>
24418
24419 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24420 __feraiseexcept instead of feraiseexcept.
24421
d38f1dba
UD
244222011-10-18 Ulrich Drepper <drepper@gmail.com>
24423
d9a8d0ab
UD
24424 * math/math_private.h: Define defaults for libc_fetestexcept and
24425 libc_feupdateenv.
24426 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24427 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24428 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24429 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24430 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24431 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24432 libc_fetestexcept and libc_feupdateenv.
24433
4855e3dd
UD
24434 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24435 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24436 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24437 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24438 libc_feholdexcept_setround.
24439
581d30e3
UD
24440 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24441 Add s_nearbyint-c and s_nearbyintf-c.
24442 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24443 nearbyintf inlines.
24444 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24445 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24446 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24447 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24448
d38f1dba
UD
24449 * math/math_private.h: Define defaults for libc_fegetround,
24450 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24451 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24452 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24453 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24454 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24455 standard functions.
24456 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24457 Remove comments and hacks for old compiler versions.
24458 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24459 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24460 libc_feholdexceptl.
24461
caa6c9d8
AS
244622011-10-18 Andreas Schwab <schwab@redhat.com>
24463
24464 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
24465 (__feraiseexcept_renamed): Add __NTH.
24466 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
24467 namespace violations.
24468
97c066e6
UD
244692011-10-17 Ulrich Drepper <drepper@gmail.com>
24470
99ce7b04
UD
24471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24472
1004d182
UD
24473 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24474
228a984d
UD
24475 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24476 recently added interfaces.
24477 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24478
c8553a6a
UD
24479 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24480 about macro parameter expansion.
24481
ed22dcf6
UD
24482 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24483 __NO_MATH_INLINES is defined. Cleanups.
24484
24485 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24486 and __floorf is target has SSE4.1.
24487 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24488 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24489 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24490 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24491
b171c137
UD
24492 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24493 name.
24494 (floorf): Likewise.
24495
97c066e6
UD
24496 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24497
629f62ef
AS
244982011-10-17 Andreas Schwab <schwab@redhat.com>
24499
49a43d80
AS
24500 * misc/sys/cdefs.h: Fix last change.
24501
629f62ef
AS
24502 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24503 database lookup.
24504
e453f6cd
UD
245052011-10-16 Ulrich Drepper <drepper@gmail.com>
24506
aa78043a
UD
24507 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24508
ad0f5cad
UD
24509 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24510 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24511 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24512 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24514 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24515 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24517 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24518 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24519 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24520 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24521 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24522 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24523 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24524 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24525 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24526 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24527 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24528 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24529 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24530 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24531
24532 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24533 ceil, ceilf, floor, floorf.
24534
24535 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24536 Perform IRELATIVE relocations last.
24537
e453f6cd
UD
24538 * elf/do-rel.h: Add another parameter nrelative, replacing the
24539 local variable with the same name. Change name of the function
24540 to end in Rel or Rela (uppercase).
24541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24542 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24543 elf_dynamic_do_##reloc function.
24544
fd5bdc09
UD
245452011-10-15 Ulrich Drepper <drepper@gmail.com>
24546
79b195b5
UD
24547 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24548 is sufficient, at least on modern CPUs.
24549
d4a28569
UD
24550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24551
b61099b5
UD
24552 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24553 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24554
bcf01e6d
UD
24555 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24556 __expl_finite.
24557 * math/bits/math-finite.h: Add entries for exp.
24558 * math/e_expl.c: Add __*_finite alias.
24559 * sysdeps/i386/fpu/e_exp.S: Likewise.
24560 * sysdeps/i386/fpu/e_expf.S: Likewise.
24561 * sysdeps/i386/fpu/e_expl.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24563 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24567 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24568 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24569
ba1a0d59
UD
24570 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24571 is sufficient, at least on modern CPUs.
24572
fd5bdc09
UD
24573 * ctype/ctype-info.c (__ctype_init): Define.
24574 * include/ctype.h (__ctype_init): Declare.
24575 (__ctype_b_loc): The variable is always initialized.
24576 (__ctype_toupper_loc): Likewise.
24577 (__ctype_tolower_loc): Likewise.
24578 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24579 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24580
7872cfb0
AS
245812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24582
b468825a
AS
24583 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24584
7872cfb0
AS
24585 * configure.in: Also look in $cxxmachine/include for C++ system
24586 headers.
24587
be13f7bf
LD
245882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24589
24590 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24591 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24592 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24593 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24594 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24595 (USE_AS_WMEMCMP): New macro.
24596 Fixing indents.
24597 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24598 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24599 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24600 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24602 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24603 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24604 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24605 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24606 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24607 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24608 (USE_AS_WMEMCMP): New macro.
24609 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24610 * sysdeps/string/test-memcmp.c: Update.
24611 Fix simple_wmemcmp.
24612 Add new tests.
24613 * wcsmbs/wmemcmp.c: Update.
24614 (WMEMCMP): New macro.
24615 Fix overflow bug.
24616
556a2007
AJ
246172011-10-12 Andreas Jaeger <aj@suse.de>
24618
24619 [BZ #13268]
24620 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24621
538faaa7
UD
246222011-10-15 Ulrich Drepper <drepper@gmail.com>
24623
ab6737ff
UD
24624 * libio/iofwide.c (do_length): Avoid warning.
24625
538faaa7
UD
24626 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24627
396a21b1
UD
246282011-10-14 Ulrich Drepper <drepper@gmail.com>
24629
cdf2901f
UD
24630 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24631
38ad40ce
UD
24632 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24633 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24634 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24635 * sysdeps/i386/i686/fpu/e_log.S: New file.
24636 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24637 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24638
396a21b1
UD
24639 * ctype/ctype.h: Add support for inlined isXXX functions when
24640 compiling C++ code.
24641
6b1f68c9
AS
246422011-10-14 Andreas Schwab <schwab@redhat.com>
24643
349290c0
AS
24644 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24645
6b1f68c9
AS
24646 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24647
f2282d42
RM
246482011-10-13 Roland McGrath <roland@hack.frob.com>
24649
24650 [BZ #13291]
24651 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24652
5298ffa8
AS
246532011-10-13 Andreas Schwab <schwab@redhat.com>
24654
714fad23
AS
24655 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24656 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24657 feraiseexcept.
24658
81dcc7fb
AS
24659 * sysdeps/x86_64/memrchr.S: Check for zero size.
24660
5298ffa8
AS
24661 * string/stratcliff.c: Add memrchr tests.
24662
951fbcec
LD
246632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24664
24665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24666 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24667 rawmemchr-sse2 rawmemchr-sse2-bsf.
24668 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24669 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24670 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24671 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24672 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24673 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24674 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24675 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24676 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24677 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24678 * string/memrchr.c (MEMRCHR): New macro.
24679
0ac5ae23
UD
246802011-10-12 Ulrich Drepper <drepper@gmail.com>
24681
24682 Add integration with gcc's -ffinite-math-only and optimize wrapper
24683 functions in libm.
24684 * Versions.def: Define GLIBC_2.15 version for libm.
24685 * math/Makefile (headers): Add bits/math-finite.h.
24686 * math/bits/math-finite.h: New file.
24687 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24688 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24689 * math/e_acoshl.c: Add __*_finite alias.
24690 * math/e_acosl.c: Likewise.
24691 * math/e_asinl.c: Likewise.
24692 * math/e_atan2l.c: Likewise.
24693 * math/e_atanhl.c: Likewise.
24694 * math/e_coshl.c: Likewise.
24695 * math/e_exp10.c: Likewise.
24696 * math/e_exp10f.c: Likewise.
24697 * math/e_exp10l.c: Likewise.
24698 * math/e_exp2l.c: Likewise.
24699 * math/e_fmodl.c: Likewise.
24700 * math/e_gammal_r.c: Likewise.
24701 * math/e_hypotl.c: Likewise.
24702 * math/e_j0l.c: Likewise.
24703 * math/e_j1l.c: Likewise.
24704 * math/e_jnl.c: Likewise.
24705 * math/e_lgammal_r.c: Likewise.
24706 * math/e_log10l.c: Likewise.
24707 * math/e_log2l.c: Likewise.
24708 * math/e_logl.c: Likewise.
24709 * math/e_powl.c: Likewise.
24710 * math/e_sinhl.c: Likewise.
24711 * math/e_sqrtl.c: Likewise.
24712 * math/e_scalb.c: Completely rewritten and optimized.
24713 * math/e_scalbf.c: Likewise.
24714 * math/e_scalbl.c: Likewise.
24715 * math/w_acos.c: Likewise.
24716 * math/w_acosf.c: Likewise.
24717 * math/w_acosl.c: Likewise.
24718 * math/w_acosh.c: Likewise.
24719 * math/w_acoshf.c: Likewise.
24720 * math/w_acoshl.c: Likewise.
24721 * math/w_asin.c: Likewise.
24722 * math/w_asinf.c: Likewise.
24723 * math/w_asinl.c: Likewise.
24724 * math/w_atan2.c: Likewise.
24725 * math/w_atan2f.c: Likewise.
24726 * math/w_atan2l.c: Likewise.
24727 * math/w_atanh.c: Likewise.
24728 * math/w_atanhf.c: Likewise.
24729 * math/w_atanhl.c: Likewise.
24730 * math/w_exp10.c: Likewise.
24731 * math/w_exp10f.c: Likewise.
24732 * math/w_exp10l.c: Likewise.
24733 * math/w_fmod.c: Likewise.
24734 * math/w_fmodf.c: Likewise.
24735 * math/w_fmodl.c: Likewise.
24736 * math/w_j0.c: Likewise.
24737 * math/w_j0f.c: Likewise.
24738 * math/w_j0l.c: Likewise.
24739 * math/w_j1.c: Likewise.
24740 * math/w_j1f.c: Likewise.
24741 * math/w_j1l.c: Likewise.
24742 * math/w_jn.c: Likewise.
24743 * math/w_jnf.c: Likewise.
24744 * math/w_log.c: Likewise.
24745 * math/w_logf.c: Likewise.
24746 * math/w_logl.c: Likewise.
24747 * math/w_log10.c: Likewise.
24748 * math/w_log10f.c: Likewise.
24749 * math/w_log10l.c: Likewise.
24750 * math/w_log2.c: Likewise.
24751 * math/w_log2f.c: Likewise.
24752 * math/w_log2l.c: Likewise.
24753 * math/w_pow.c: Likewise.
24754 * math/w_powf.c: Likewise.
24755 * math/w_powl.c: Likewise.
24756 * math/w_remainder.c: Likewise.
24757 * math/w_remainderf.c: Likewise.
24758 * math/w_remainderl.c: Likewise.
24759 * math/w_scalb.c: Likewise.
24760 * math/w_scalbf.c: Likewise.
24761 * math/w_scalbl.c: Likewise.
24762 * math/w_sqrt.c: Likewise.
24763 * math/w_sqrtf.c: Likewise.
24764 * math/w_sqrtl.c: Likewise.
24765 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24766 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24767 used.
24768 * math/math_private.h: Declare __kernel_standard_f.
24769 * math/w_cosh.c: Remove cruft and optimize a bit.
24770 * math/w_coshf.c: Likewise.
24771 * math/w_coshl.c: Likewise.
24772 * math/w_exp2.c: Likewise.
24773 * math/w_exp2f.c: Likewise.
24774 * math/w_exp2l.c: Likewise.
24775 * math/w_hypot.c: Likewise.
24776 * math/w_hypotf.c: Likewise.
24777 * math/w_hypotl.c: Likewise.
24778 * math/w_lgamma.c: Likewise.
24779 * math/w_lgamma_r.c: Likewise.
24780 * math/w_lgammaf.c: Likewise.
24781 * math/w_lgammaf_r.c: Likewise.
24782 * math/w_lgammal.c: Likewise.
24783 * math/w_lgammal_r.c: Likewise.
24784 * math/w_sinh.c: Likewise.
24785 * math/w_sinhf.c: Likewise.
24786 * math/w_sinhl.c: Likewise.
24787 * math/w_tgamma.c: Likewise.
24788 * math/w_tgammaf.c: Likewise.
24789 * math/w_tgammal.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24792 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24793 Minor optimizations. Pretty printing. Remove cruft.
24794 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24795 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24796 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24798 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24799 * sysdeps/i386/fpu/e_asin.S: Likewise.
24800 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24801 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24802 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24803 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24804 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24805 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24807 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24808 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24809 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24810 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24811 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24812 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24813 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24814 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24815 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24816 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24817 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24818 * sysdeps/i386/fpu/e_log.S: Likewise.
24819 * sysdeps/i386/fpu/e_log10.S: Likewise.
24820 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24821 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24822 * sysdeps/i386/fpu/e_log2.S: Likewise.
24823 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24824 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24825 * sysdeps/i386/fpu/e_logf.S: Likewise.
24826 * sysdeps/i386/fpu/e_logl.S: Likewise.
24827 * sysdeps/i386/fpu/e_pow.S: Likewise.
24828 * sysdeps/i386/fpu/e_powf.S: Likewise.
24829 * sysdeps/i386/fpu/e_powl.S: Likewise.
24830 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24831 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24832 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24834 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24835 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24836 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24837 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24838 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24846 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24860 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24861 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24862 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24863 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24864 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24865 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24866 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24867 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24868 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24869 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24870 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24871 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24872 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24873 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24874 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24875 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24876 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24877 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24878 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24879 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24880 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24884 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24904 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24910 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24911 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24919 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24922 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24924 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24926 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24927 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24932 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24933 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24934 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24935 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24936 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24937 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24938 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24939 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24940 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24941 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24942 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24943 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24945 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24946 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24947 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24948 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24949 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24950 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24951 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24952 (__isnanf): Likewise.
24953 (__isinf_ns): Likewise.
24954 (__isinf_nsf): Likewise.
24955 (__finite): Likewise.
24956 (__finitef): Likewise.
24957 (__ieee754_sqrt): Define as macro.
24958 (__ieee754_sqrtf): Define as macro.
24959 (__ieee754_sqrtl): Define as macro.
24960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24961 inlined copy.
24962 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24963 __FINITE_MATH_ONLY__ consistent.
24964 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24965
12cc2fcd
AS
249662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24967
a843a204
AS
24968 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24969 of rawmemchr.
24970
12cc2fcd
AS
24971 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24972
c853acd5
UD
249732011-10-09 Ulrich Drepper <drepper@gmail.com>
24974
24975 * po/ja.po: Update from translation team.
24976
c658d255
RM
249772011-10-08 Roland McGrath <roland@hack.frob.com>
24978
110946e4
RM
24979 * locale/programs/locarchive.c (prepare_address_space): New function.
24980 (create_archive, enlarge_archive, open_archive): Use it.
24981
50604220
RM
24982 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24983 inside [SHARED], where it is used.
24984
c658d255
RM
24985 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24986
24987 * nss/getent.c (netgroup_keys): Remove unused variable.
24988 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24989
6a621eb7
UD
249902011-10-08 Ulrich Drepper <drepper@gmail.com>
24991
7edb55ce
UD
24992 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24993 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24995 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24996 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24997 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24998 * math/Makefile (libm-calls): Add s_isinf_ns.
24999 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25000 * math/multc3.c: Likewise.
25001 * math/s_casin.c: Likewise.
25002 * math/s_casinf.c: Likewise.
25003 * math/s_casinl.c: Likewise.
25004 * math/s_ccos.c: Likewise.
25005 * math/s_ccosf.c: Likewise.
25006 * math/s_ccosl.c: Likewise.
25007 * math/s_ctan.c: Likewise.
25008 * math/s_ctanf.c: Likewise.
25009 * math/s_ctanh.c: Likewise.
25010 * math/s_ctanhf.c: Likewise.
25011 * math/s_ctanhl.c: Likewise.
25012 * math/s_ctanl.c: Likewise.
25013 * math/w_fmod.c: Likewise.
25014 * math/w_fmodf.c: Likewise.
25015 * math/w_fmodl.c: Likewise.
25016 * math/w_remainder.c: Likewise.
25017 * math/w_remainderf.c: Likewise.
25018 * math/w_remainderl.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25020 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25023 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25024 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25025 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25026 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25027
187da0ae
UD
25028 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25029 of the number.
25030 * stdio-common/printf_fphex.c: Likewise.
25031 * stdio-common/printf_size.c: Likewise.
25032
9277c064
UD
25033 * math/e_exp10.c: Include math_private.h using <...> not "...".
25034 * math/e_exp10f.c: Likewise.
25035 * math/e_exp10l.c: Likewise.
25036 * math/e_exp2l.c: Likewise.
25037 * math/e_j0l.c: Likewise.
25038 * math/e_j1l.c: Likewise.
25039 * math/e_jnl.c: Likewise.
25040 * math/e_lgammal_r.c: Likewise.
25041 * math/e_rem_pio2l.c: Likewise.
25042 * math/e_scalb.c: Likewise.
25043 * math/e_scalbf.c: Likewise.
25044 * math/e_scalbl.c: Likewise.
25045 * math/k_cosl.c: Likewise.
25046 * math/k_sinl.c: Likewise.
25047 * math/k_tanl.c: Likewise.
25048 * math/s_cacoshf.c: Likewise.
25049 * math/s_catan.c: Likewise.
25050 * math/s_catanf.c: Likewise.
25051 * math/s_catanh.c: Likewise.
25052 * math/s_catanhf.c: Likewise.
25053 * math/s_catanhl.c: Likewise.
25054 * math/s_catanl.c: Likewise.
25055 * math/s_ccosh.c: Likewise.
25056 * math/s_ccoshf.c: Likewise.
25057 * math/s_ccoshl.c: Likewise.
25058 * math/s_cexp.c: Likewise.
25059 * math/s_cexpf.c: Likewise.
25060 * math/s_cexpl.c: Likewise.
25061 * math/s_clog.c: Likewise.
25062 * math/s_clog10.c: Likewise.
25063 * math/s_clog10f.c: Likewise.
25064 * math/s_clog10l.c: Likewise.
25065 * math/s_clogf.c: Likewise.
25066 * math/s_clogl.c: Likewise.
25067 * math/s_csin.c: Likewise.
25068 * math/s_csinf.c: Likewise.
25069 * math/s_csinh.c: Likewise.
25070 * math/s_csinhf.c: Likewise.
25071 * math/s_csinhl.c: Likewise.
25072 * math/s_csinl.c: Likewise.
25073 * math/s_csqrt.c: Likewise.
25074 * math/s_csqrtf.c: Likewise.
25075 * math/s_csqrtl.c: Likewise.
25076 * math/s_ctan.c: Likewise.
25077 * math/s_ctanf.c: Likewise.
25078 * math/s_ctanh.c: Likewise.
25079 * math/s_ctanhf.c: Likewise.
25080 * math/s_ctanhl.c: Likewise.
25081 * math/s_ctanl.c: Likewise.
25082 * math/s_ldexp.c: Likewise.
25083 * math/s_ldexpf.c: Likewise.
25084 * math/s_ldexpl.c: Likewise.
25085 * math/s_significand.c: Likewise.
25086 * math/s_significandf.c: Likewise.
25087 * math/s_significandl.c: Likewise.
25088 * math/w_acos.c: Likewise.
25089 * math/w_acosf.c: Likewise.
25090 * math/w_acosh.c: Likewise.
25091 * math/w_acoshf.c: Likewise.
25092 * math/w_acoshl.c: Likewise.
25093 * math/w_acosl.c: Likewise.
25094 * math/w_asin.c: Likewise.
25095 * math/w_asinf.c: Likewise.
25096 * math/w_asinl.c: Likewise.
25097 * math/w_atan2.c: Likewise.
25098 * math/w_atan2f.c: Likewise.
25099 * math/w_atan2l.c: Likewise.
25100 * math/w_atanh.c: Likewise.
25101 * math/w_atanhf.c: Likewise.
25102 * math/w_atanhl.c: Likewise.
25103 * math/w_cosh.c: Likewise.
25104 * math/w_coshf.c: Likewise.
25105 * math/w_coshl.c: Likewise.
25106 * math/w_dremf.c: Likewise.
25107 * math/w_exp10.c: Likewise.
25108 * math/w_exp10f.c: Likewise.
25109 * math/w_exp10l.c: Likewise.
25110 * math/w_exp2.c: Likewise.
25111 * math/w_exp2f.c: Likewise.
25112 * math/w_fmod.c: Likewise.
25113 * math/w_fmodf.c: Likewise.
25114 * math/w_fmodl.c: Likewise.
25115 * math/w_hypot.c: Likewise.
25116 * math/w_hypotf.c: Likewise.
25117 * math/w_hypotl.c: Likewise.
25118 * math/w_j0.c: Likewise.
25119 * math/w_j0f.c: Likewise.
25120 * math/w_j0l.c: Likewise.
25121 * math/w_j1.c: Likewise.
25122 * math/w_j1f.c: Likewise.
25123 * math/w_j1l.c: Likewise.
25124 * math/w_jn.c: Likewise.
25125 * math/w_jnf.c: Likewise.
25126 * math/w_jnl.c: Likewise.
25127 * math/w_lgamma.c: Likewise.
25128 * math/w_lgamma_r.c: Likewise.
25129 * math/w_lgammaf.c: Likewise.
25130 * math/w_lgammaf_r.c: Likewise.
25131 * math/w_lgammal.c: Likewise.
25132 * math/w_lgammal_r.c: Likewise.
25133 * math/w_log.c: Likewise.
25134 * math/w_log10.c: Likewise.
25135 * math/w_log10f.c: Likewise.
25136 * math/w_log10l.c: Likewise.
25137 * math/w_log2.c: Likewise.
25138 * math/w_log2f.c: Likewise.
25139 * math/w_log2l.c: Likewise.
25140 * math/w_logf.c: Likewise.
25141 * math/w_logl.c: Likewise.
25142 * math/w_pow.c: Likewise.
25143 * math/w_powf.c: Likewise.
25144 * math/w_powl.c: Likewise.
25145 * math/w_remainder.c: Likewise.
25146 * math/w_remainderf.c: Likewise.
25147 * math/w_remainderl.c: Likewise.
25148 * math/w_scalb.c: Likewise.
25149 * math/w_scalbf.c: Likewise.
25150 * math/w_scalbl.c: Likewise.
25151 * math/w_sinh.c: Likewise.
25152 * math/w_sinhf.c: Likewise.
25153 * math/w_sinhl.c: Likewise.
25154 * math/w_sqrt.c: Likewise.
25155 * math/w_sqrtf.c: Likewise.
25156 * math/w_sqrtl.c: Likewise.
25157 * math/w_tgamma.c: Likewise.
25158 * math/w_tgammaf.c: Likewise.
25159 * math/w_tgammal.c: Likewise.
25160
6a621eb7
UD
25161 * po/ja.po: Update from translation team.
25162
bf582445
AJ
251632011-09-29 Andreas Jaeger <aj@suse.de>
25164
f9efbf3a
AJ
25165 [BZ #13179]
25166 * sunrpc/netname.c (netname2host): Fix logic.
25167
bf582445
AJ
25168 [BZ #6779]
25169 [BZ #6783]
25170 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25171 correctly.
25172 * math/w_remainder.c (__remainder): Likewise.
25173 * math/w_remainderf.c (__remainderf): Likewise.
25174 * math/libm-test.inc (remainder_test): Add test cases.
25175
48693bea
AK
251762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25177
25178 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25179 sdiv_qrnnd.
25180
42622229
LD
251812011-10-07 Ulrich Drepper <drepper@gmail.com>
25182
25183 * string/test-memcmp.c: Avoid unncessary #defines.
25184 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25185
093ecf92
LD
251862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25187
25188 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25189 Use new sse2 version for core i3 - i7 as it's faster
25190 than sse42 version.
25191 (bit_Prefer_PMINUB_for_stringop): New.
25192 * sysdeps/x86_64/rawmemchr.S: Update.
25193 Replace with faster SSE2 version.
25194 * sysdeps/x86_64/memrchr.S: New file.
25195 * sysdeps/x86_64/memchr.S: Update.
25196 Replace with faster SSE2 version.
25197
fde56e5c
MP
251982011-09-12 Marek Polacek <mpolacek@redhat.com>
25199
25200 * elf/dl-load.c (lose): Add cast to avoid warning.
25201
21fd49a9
UD
252022011-10-07 Ulrich Drepper <drepper@gmail.com>
25203
5a06e643
UD
25204 * po/ca.po: Update from translation team.
25205
684ae515
UD
25206 * inet/getnetgrent_r.c: Hook up nscd.
25207 * nscd/Makefile (routines): Add nscd_netgroup.
25208 (nscd-modules): Add netgroupcache.
25209 (CFLAGS-netgroupcache.c): Define.
25210 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25211 (cache_search): Add const to second parameter.
25212 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25213 INNETGR.
25214 (dbs): Add netgrdb entry.
25215 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25216 (verify_persistent_db): Handle netgrdb.
25217 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25218 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25219 GETFDNETGR.
25220 (netgroup_response_header): Define.
25221 (innetgroup_response_header): Define.
25222 (datahead): Add netgroup_response_header and innetgroup_response_header
25223 elements.
25224 * nscd/nscd.conf: Add entries for netgroup cache.
25225 * nscd/nscd.h (dbtype): Add netgrdb.
25226 (_PATH_NSCD_NETGROUP_DB): Define.
25227 (netgroup_iov_disabled): Declare.
25228 (xmalloc, xcalloc, xrealloc): Move declarations here.
25229 (cache_search): Adjust prototype.
25230 Add netgroup-related prototypes.
25231 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25232 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25233 (__nscd_innetgr): Declare.
25234 * nscd/selinux.c (perms): Use access_vector_t as element type and
25235 add netgroup-related initializers.
25236 * nscd/netgroupcache.c: New file.
25237 * nscd/nscd_netgroup.c: New file.
25238 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25239 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25240 For four parameters use innetgr.
25241 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25242 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25243 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25244 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25245
21fd49a9
UD
25246 * nscd/connections.c (register_traced_file): Don't register file
25247 for disabled databases.
25248
054c0457
UD
252492011-10-06 Ulrich Drepper <drepper@gmail.com>
25250
32b63198
UD
25251 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25252
054c0457
UD
25253 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25254 from tree and freeing node.
25255
64031225
JO
252562011-09-25 Jiri Olsa <jolsa@redhat.com>
25257
25258 * nss/nsswitch.c (__nss_database_lookup): Handle
25259 nss_parse_service_list out of memory case.
25260
0490345c
JO
252612011-09-15 Jiri Olsa <jolsa@redhat.com>
25262
25263 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25264 out of memory case.
25265
3a62d00d
AS
252662011-10-04 Andreas Schwab <schwab@redhat.com>
25267
25268 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25269 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25270 pass it down.
25271 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25272 elf_machine_rela, elf_machine_lazy_rel.
25273 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25274 (ELF_DYNAMIC_DO_REL): Likewise.
25275 (ELF_DYNAMIC_DO_RELA): Likewise.
25276 (ELF_DYNAMIC_RELOCATE): Likewise.
25277 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25278 to ELF_DYNAMIC_DO_REL.
25279 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25280 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25281 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25282 elf_machine_rela.
25283 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25284 skip_ifunc, don't call ifunc function if non-zero.
25285 (elf_machine_rela): Likewise.
25286 (elf_machine_lazy_rel): Likewise.
25287 (elf_machine_lazy_rela): Likewise.
25288 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25289 (elf_machine_lazy_rel): Likewise.
25290 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25291 Likewise.
25292 (elf_machine_lazy_rel): Likewise.
25293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25294 Likewise.
25295 (elf_machine_lazy_rel): Likewise.
25296 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25297 (elf_machine_lazy_rel): Likewise.
25298 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25299 (elf_machine_lazy_rel): Likewise.
25300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25301 (elf_machine_lazy_rel): Likewise.
25302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25303 (elf_machine_lazy_rel): Likewise.
25304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25305 (elf_machine_lazy_rel): Likewise.
25306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25307 (elf_machine_lazy_rel): Likewise.
25308
68577918
UD
253092011-09-28 Ulrich Drepper <drepper@gmail.com>
25310
25311 * nss/nss_files/files-init.c (_nss_files_init): Use static
25312 initialization for all the *_traced_file variables.
25313
68822d74
AS
253142011-09-28 Andreas Schwab <schwab@redhat.com>
25315
25316 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25317
2056100b
RM
253182011-09-27 Roland McGrath <roland@hack.frob.com>
25319
25320 [BZ #13226]
25321 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25322
32c76b63
AS
253232011-09-27 Andreas Schwab <schwab@redhat.com>
25324
25325 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25326 Reread the line before reparsing it.
25327
bf972c9d
AS
253282011-09-26 Andreas Schwab <schwab@redhat.com>
25329
25330 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25331
e057a1b5
JM
253322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25333 Maxim Kuvyrkov <maxim@codesourcery.com>
25334 Joseph Myers <joseph@codesourcery.com>
25335
25336 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25337 if needed for __stack_chk_guard.
25338
bc7e1c36
RM
253392011-09-19 Roland McGrath <roland@hack.frob.com>
25340
ecb1482f
RM
25341 * sysdeps/posix/spawni.c (script_execute): Always define it.
25342 It will be optimized away if unused.
25343 (maybe_script_execute): New function.
25344 (__spawni): Call it.
25345
bc7e1c36
RM
25346 * Makerules: Don't include tls.make.
25347 (config-tls): Always set to thread.
25348 * tls.make.c: File removed.
25349
1c3b002b
MF
253502011-09-19 Mike Frysinger <vapier@gentoo.org>
25351
25352 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25353 * config.make.in (CPPFLAGS-config): New substituted variable.
25354
2840865d
UD
253552011-09-15 Ulrich Drepper <drepper@gmail.com>
25356
88738eb6
UD
25357 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25358
cbf645a6 25359 [BZ #13192]
2840865d
UD
25360 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25361 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25362
b402e91a
RM
253632011-09-15 Roland McGrath <roland@hack.frob.com>
25364
25365 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25366 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25368 (CALL_FAIL): Likewise.
25369 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25370 (CALL_FAIL): Macro removed.
25371 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25372
4c1a1f71
UD
253732011-09-15 Ulrich Drepper <drepper@gmail.com>
25374
25375 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25376 for __FINITE_MATH_ONLY__ == 1.
25377
edc121be
AS
253782011-09-15 Andreas Schwab <schwab@redhat.com>
25379
25380 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25381 __ieee754_sqrt instead of sqrt.
25382 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25383 __ieee754_sqrtf instead of sqrtf.
25384 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25385 __floorf instead of floorf.
25386 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25387 __floorf, __truncf instead of floorf, truncf.
25388
cd205654
UD
253892011-09-14 Ulrich Drepper <drepper@gmail.com>
25390
ee4d0315
UD
25391 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25392
cd205654
UD
25393 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25394 __extern_always_inline.
25395 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25396 32-bit.
25397
48b67d71
AS
253982011-09-14 Andreas Schwab <schwab@redhat.com>
25399
25400 * elf/rtld.c (dl_main): Also relocate in dependency order when
25401 doing symbol dependency testing.
25402
1ae12c75
AS
254032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25404
25405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25406 Always define `refsym'.
25407
995a80df
AS
254082011-09-13 Andreas Schwab <schwab@redhat.com>
25409
e529793b
AS
25410 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25411 (__FD_ELT): Renamed from __FDELT.
25412 * misc/bits/select2.h (__FD_ELT): Likewise.
25413 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25414 __FD_MASK instead of __FDELT, __FDMASK.
25415 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25416 Likewise.
25417 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25418 Likewise.
25419
52d4fef8
AS
25420 * elf/Makefile (gen-ldd): Fix pattern.
25421
995a80df
AS
25422 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25423 (init_tls): Likewise.
25424
8682f8b0
UD
254252011-09-12 Ulrich Drepper <drepper@gmail.com>
25426
25427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25428
de82006d
AS
254292011-09-12 Andreas Schwab <schwab@redhat.com>
25430
a7c8e6a1
AS
25431 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25432 `struct cmsghdr *' instead of `void *'.
25433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25434 Likewise.
25435
0f31fe77
AS
254362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25437
25438 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25439 if non-absolute.
25440 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25441 ldd_rewrite_script.
0f31fe77 25442
32b4c839
UD
254432011-09-11 Ulrich Drepper <drepper@gmail.com>
25444
83cd1420
UD
25445 * configure.in: Remove --with-tls option.
25446 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25447 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25448 out in case it is missing.
25449 * sysdeps/ia64/elf/configure.in: Likewise.
25450 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25451 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25452 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25453 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25454 * sysdeps/sh/elf/configure.in: Likewise.
25455 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25456 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25457 * sysdeps/x86_64/elf/configure.in: Likewise.
25458 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25459 * sysdeps/mach/hurd/tls.h: Likewise.
25460
633f745d
UD
25461 [BZ #13067]
25462 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25463
f318beb8
UD
25464 [BZ #13090]
25465 * configure.in: Fix use of AC_INIT.
25466
32b4c839
UD
25467 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25468
3ce1f295
UD
254692011-09-10 Ulrich Drepper <drepper@gmail.com>
25470
bb016596
UD
25471 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25472 __set_errno.
8e58439c
UD
25473 * malloc/hooks.c: Likewise.
25474
aebae053 25475 [BZ #11929]
02d46fc4
UD
25476 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25477 variables statically.
25478 (narenas): Initialize.
25479 (list_lock): Initialize.
bb016596
UD
25480 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25481 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
25482 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25483 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25484 Add initializers to main_arena and mp_.
25485 (malloc_state): Remove pagesize member. Change all users to use
25486 GLRO(dl_pagesize).
25487
25488 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25489 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25490 is always initialized.
25491
22a89187
UD
25492 * malloc/malloc.c: Removed unused configurations and dead code.
25493 * malloc/arena.c: Likewise.
25494 * malloc/hooks.c: Likewise.
02d46fc4 25495 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 25496
d063d164
UD
25497 * include/tls.h: Removed. USE___THREAD must always be defined.
25498 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25499 * elf/dl-libc.c: Likewise.
25500 * elf/dl-tsd.c: Likewise.
25501 * include/errno.h: Likewise.
25502 * include/netdb.h: Likewise.
25503 * include/resolv.h: Likewise.
25504 * inet/herrno-loc.c: Likewise.
25505 * inet/herrno.c: Likewise.
25506 * malloc/arena.c: Likewise.
25507 * malloc/hooks.c: Likewise.
25508 * malloc/malloc.c: Likewise.
25509 * resolv/res-state.c: Likewise.
25510 * resolv/res_libc.c: Likewise.
25511 * sysdeps/i386/dl-machine.h: Likewise.
25512 * sysdeps/ia64/dl-machine.h: Likewise.
25513 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25514 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25515 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25516 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25517 * sysdeps/sh/dl-machine.h: Likewise.
25518 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25519 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25520 * sysdeps/unix/i386/sysdep.S: Likewise.
25521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25522 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25525 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25527 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25531 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25532 * sysdeps/x86_64/dl-machine.h: Likewise.
25533 * tls.make.c: Likewise.
25534
3ce1f295
UD
25535 * configure.in: Remove --with-__thread option. Make tests for
25536 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25537 tls_model attribute fail if no support is available. Remove
25538 USE_IN_LIBIO.
25539 * Makeconfig: Adjust for dropped configure option. All features are
25540 now mandatory.
25541 * Makerules: Likewise.
25542 * Versions.def: Likewise.
25543 * argp/argp-fmtstream.c: Likewise.
25544 * argp/argp-fmtstream.h: Likewise.
25545 * argp/argp-help.c: Likewise.
25546 * assert/assert.c: Likewise.
25547 * config.h.in: Likewise.
25548 * config.make.in: Likewise.
25549 * configure: Likewise.
25550 * configure.in: Likewise.
25551 * csu/Versions: Likewise.
25552 * csu/init.c: Likewise.
25553 * elf/tst-audit2.c: Likewise.
25554 * elf/tst-tls10.c: Likewise.
25555 * elf/tst-tls10.h: Likewise.
25556 * elf/tst-tls11.c: Likewise.
25557 * elf/tst-tls12.c: Likewise.
25558 * elf/tst-tls14.c: Likewise.
25559 * elf/tst-tlsmod11.c: Likewise.
25560 * elf/tst-tlsmod12.c: Likewise.
25561 * elf/tst-tlsmod13.c: Likewise.
25562 * elf/tst-tlsmod13a.c: Likewise.
25563 * elf/tst-tlsmod14a.c: Likewise.
25564 * elf/tst-tlsmod15b.c: Likewise.
25565 * elf/tst-tlsmod16a.c: Likewise.
25566 * elf/tst-tlsmod16b.c: Likewise.
25567 * elf/tst-tlsmod7.c: Likewise.
25568 * elf/tst-tlsmod8.c: Likewise.
25569 * elf/tst-tlsmod9.c: Likewise.
25570 * gmon/gmon.c: Likewise.
25571 * grp/fgetgrent_r.c: Likewise.
25572 * grp/putgrent.c: Likewise.
25573 * hurd/fopenport.c: Likewise.
25574 * include/libc-symbols.h: Likewise.
25575 * include/tls.h: Likewise.
25576 * intl/gettextP.h: Likewise.
25577 * intl/loadinfo.h: Likewise.
25578 * locale/global-locale.c: Likewise.
25579 * locale/localeinfo.h: Likewise.
25580 * mach/devstream.c: Likewise.
25581 * malloc/arena.c: Likewise.
25582 * malloc/set-freeres.c: Likewise.
25583 * misc/err.c: Likewise.
25584 * misc/getttyent.c: Likewise.
25585 * misc/mntent_r.c: Likewise.
25586 * posix/getopt.c: Likewise.
25587 * posix/wordexp.c: Likewise.
25588 * pwd/fgetpwent_r.c: Likewise.
25589 * resolv/Versions: Likewise.
25590 * resolv/res_hconf.c: Likewise.
25591 * shadow/fgetspent_r.c: Likewise.
25592 * shadow/putspent.c: Likewise.
25593 * stdio-common/printf_fphex.c: Likewise.
25594 * stdio-common/tmpfile.c: Likewise.
25595 * stdlib/abort.c: Likewise.
25596 * stdlib/fmtmsg.c: Likewise.
25597 * sunrpc/auth_unix.c: Likewise.
25598 * sunrpc/clnt_perr.c: Likewise.
25599 * sunrpc/clnt_tcp.c: Likewise.
25600 * sunrpc/clnt_udp.c: Likewise.
25601 * sunrpc/clnt_unix.c: Likewise.
25602 * sunrpc/openchild.c: Likewise.
25603 * sunrpc/svc_simple.c: Likewise.
25604 * sunrpc/svc_tcp.c: Likewise.
25605 * sunrpc/svc_udp.c: Likewise.
25606 * sunrpc/svc_unix.c: Likewise.
25607 * sunrpc/xdr.c: Likewise.
25608 * sunrpc/xdr_array.c: Likewise.
25609 * sunrpc/xdr_rec.c: Likewise.
25610 * sunrpc/xdr_ref.c: Likewise.
25611 * sunrpc/xdr_stdio.c: Likewise.
25612
1248c1c4
PB
256132011-09-09 Ulrich Drepper <drepper@gmail.com>
25614
25615 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25616
256172011-07-03 Andreas Jaeger <aj@suse.de>
25618
25619 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25620 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25621 regenerate with gen-libm-tests.pl.
25622
256232010-05-12 Petr Baudis <pasky@suse.cz>
25624
25625 [BZ #11589]
25626 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25627 around j0() zero points by switching to j1().
25628 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25632
f22e1074
UD
256332011-09-09 Ulrich Drepper <drepper@gmail.com>
25634
f19009c1
UD
25635 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25636 instead of 0.
25637 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 25638 instead of 0.
f19009c1
UD
25639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25640 Patch in part by Pavel Roskin <proski@gnu.org>.
25641
3f8cc204
UD
25642 [BZ #13138]
25643 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25644 realloc.
25645 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25646 Free memory block if necessary.
25647
f22e1074
UD
25648 [BZ #12847]
25649 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25650 be NULL. Don't lock in this case.
25651
0a2349f9
RM
256522011-09-09 Roland McGrath <roland@hack.frob.com>
25653
25654 * elf/elf.h (ELFOSABI_GNU): New macro.
25655 (ELFOSABI_LINUX): Define to that.
25656
f3cdd467
DZ
256572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25658
25659 * string/strncat.c (strncat): Undef the symbol in case it has been
25660 defined in bits/string.h.
25661
74718d13
UD
256622011-09-09 Ulrich Drepper <drepper@gmail.com>
25663
633e9e0f
UD
25664 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25665
0a2349f9 25666 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
25667 link map.
25668
f9924780
AJ
256692011-08-17 Andreas Jaeger <aj@suse.de>
25670
25671 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25672
7f5517aa
PP
256732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25674 Ian Lance Taylor <iant@google.com>
25675
25676 * math/libm-test.inc (lround_test): New testcase.
25677 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25678
762011fe
UD
256792011-09-08 Ulrich Drepper <drepper@gmail.com>
25680
92963737
UD
25681 * Makefile: Remove support for automatic cvs check-ins.
25682 * Makerules: Likewise.
25683 * config.make.in: Likewise.
25684 * configure.in: Likewise.
25685 * intl/Makefile: Likewise.
25686 * locale/Makefile: Likewise.
25687 * po/Makefile: Likewise.
25688 * posix/Makefile: Likewise.
25689 * sysdeps/gnu/Makefile: Likewise.
25690 * sysdeps/mach/hurd/Makefile: Likewise.
25691 * sysdeps/sparc/sparc32/Makefile: Likewise.
25692
b0727fd8
JS
25693 [BZ #13118]
25694 * posix/Makefile (bug-regex32-ENV): Define.
25695 Patch by John Stanley <jpsinthemix@verizon.net>.
25696
a0f33f99
UD
25697 * misc/Makefile (headers): Add bits/select2.h.
25698 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25699 * misc/bits/select2.h: New file.
25700 * include/bits/select2.h: New file.
25701 * debug/Makefile (routines): Add fdelt_chk.
25702 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25703 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25704 FD_ISSET.
25705 * debug/fdelt_chk.c: New file.
25706
762011fe
UD
25707 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25708 * wcsmbs/test-wmemcmp.c: Likewise.
25709 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 25710 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
25711
257122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25713
25714 * string/Makefile (strop-tests): Add memcmp.
25715 * string/test-wmemcmp.c: New file.
25716 * string/test-memcmp.c: Add wmemcmp support.
25717
7f513ec8
RM
257182011-09-08 Roland McGrath <roland@hack.frob.com>
25719
0442afb4
RM
25720 [BZ #13153]
25721 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25722 2011-07-19 change.
25723
7f513ec8
RM
25724 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25725 garbage value in a __mach_port_mod_refs call in the cases of the
25726 task-self and thread-self ports.
25727
a12b2239
ST
257282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25729
25730 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25731
610f9ab4
AS
257322011-09-08 Andreas Schwab <schwab@redhat.com>
25733
7f513ec8 25734 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 25735
48882a1a
LD
257362011-09-07 Ulrich Drepper <drepper@gmail.com>
25737
b49865be
UD
25738 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25739
fdc86bc9
UD
25740 * elf/dl-libc.c (dlerror_run): Pass back error code from
25741 dl_catch_error.
25742
c966526a
UD
25743 [BZ #13123]
25744 * elf/dl-load.c (lose): Free l_origin if it is valid.
25745
48882a1a
LD
25746 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25747 names.
25748 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25749 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25751 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25752 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25753 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25754
77a2a8b4
AZ
257552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25756
25757 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25758 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25759 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25760 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25761 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25762 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25763 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25764 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25765 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25766 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25767
24f579d8
AM
257682011-08-15 Alan Modra <amodra@gmail.com>
25769
25770 [BZ #13092]
25771 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25772 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25773 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25774 ppc_mcount to static-only-routines.
25775 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25776 __mcount_internal.
25777 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25778 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25779
3d4837df
UD
257802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25781
25782 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25783 for finite and infinity parameters.
25784
22700377
WS
257852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25786
25787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25788 and add nop instructions for throughput optimization.
25789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25790
5025581e
WS
257912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25792
25793 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25794 aligned copy for power7 with vector-scalar instructions.
25795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25796
08a300c9
L
257972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25798
25799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25800 AVX check.
25801
59178ef9
AS
258022011-09-07 Andreas Schwab <schwab@redhat.com>
25803
25804 [BZ #13144]
25805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25806 last change.
25807
e38ba7ab
UD
258082011-09-07 Ulrich Drepper <drepper@gmail.com>
25809
25810 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25811 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25812 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25813 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25814 clock_gettime.
25815
d53a73ac
UD
258162011-09-06 Ulrich Drepper <drepper@gmail.com>
25817
fc8bffcc
UD
25818 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25819 Forgot to demangle the pointer.
25820
ceaa0c5d
UD
25821 * sysdeps/i386/sysdep.h: Define atom_text_section.
25822 * sysdeps/x86_64/sysdep.h: Likewise.
25823 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25824 section with atom_text_section.
25825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25826 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25827 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25829 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25830
a77d3c17
UD
25831 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25833 already be defined. Change to take two parameters and don't assign
25834 result to variable. Adjust all users.
25835 Define INTERNAL_GETTIME if not already defined.
25836 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25837 call.
25838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25839 HAVE_CLOCK_GETTIME_VSYSCALL.
25840 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25841
d53a73ac
UD
25842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25843 gettimeofday vsyscall, just use time.
25844
a8f84144
AS
258452011-09-06 Andreas Schwab <schwab@redhat.com>
25846
25847 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25848 <errno.h>.
25849
ef606249
UD
258502011-09-06 Ulrich Drepper <drepper@gmail.com>
25851
25852 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25853 syscall on x86-64.
25854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25855 syscall.
25856 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25857 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25858 syscall if possible.
25859
6585cb60
UD
258602011-09-05 Ulrich Drepper <drepper@gmail.com>
25861
25862 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25863 e_ident. Don't pass to find_mapsXX.
25864 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25865
a5f524e4
LD
258662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25867
25868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25869 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25870 * sysdeps/x86_64/multiarch/strchr.S: Update.
25871 Check bit_slow_BSF bit.
25872 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25873 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25874 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25875
554881ef
UD
258762011-09-05 Ulrich Drepper <drepper@gmail.com>
25877
d96de963
UD
25878 [BZ #13134]
25879 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25880 before glibc 2.15.
25881 (tryshell): Define.
25882 (__spawni): Change last parameter to be flag. Test
25883 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25884 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25885 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25886 * posix/spawni.c: Likewise.
25887 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25888 * posix/spawnp.c: Likewise. Change normal version to use
25889 SPAWN_XFLAGS_USE_PATH.
25890 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25891 SPAWN_XFLAGS_TRY_SHELL.
25892
d48e5868
UD
25893 [BZ #13150]
25894 * posix/glob.h: Remove gcc 1.x support.
25895
554881ef
UD
25896 [BZ #13068]
25897 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25898
693fb948
LD
258992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25900
25901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25902 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25903 strrchr-sse2-bsf
25904 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25905 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25906 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25908 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25909 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25910
1b48c537
UD
259112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25912
49d42c37
UD
25913 * sysdeps/x86_64/wcscmp.S: New file.
25914
1b48c537
UD
25915 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25916 wcscmp-c wcscmp-sse2
25917 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25918 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25919 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25920 * wcsmbs/wcscmp.c: Allow renaming.
25921
15c95c5d
DM
259222011-09-05 David S. Miller <davem@davemloft.net>
25923
25924 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25925 stack slot, rather than the struct return pointer slot.
25926 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25927 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25929 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25930
2f0ad8f3
UD
259312011-09-05 Ulrich Drepper <drepper@gmail.com>
25932
d88ae418
UD
25933 * po/ja.po: Update from translation team.
25934
2f0ad8f3
UD
25935 [BZ #13144]
25936 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25937 kernel in 64-bit binaries.
25938
5f4318d1
DM
259392011-09-01 David S. Miller <davem@davemloft.net>
25940
25941 * elf/elf.h (HWCAP_SPARC_*): Move to..
25942 * sysdeps/sparc/sysdep.h: this new file and add new values.
25943 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25944 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25945 _DL_HWCAP_COUNT to 24.
25946 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25947 entries.
25948 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25949 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25950 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25952 instead of magic constants.
25953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25954
3ba57516
DM
259552011-08-31 David S. Miller <davem@davemloft.net>
25956
25957 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25959 Reimplement to do errno handling inline.
25960 (SYSCALL_ERROR_HANDLER): New macro.
25961 (__SYSCALL_STRING): Do not do errno handling in asm.
25962 (__CLONE_SYSCALL_STRING): Delete.
25963 (__INTERNAL_SYSCALL_STRING): Delete.
25964 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25965 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25966 (PSEUDO): Reimplement to do errno handling inline.
25967 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25968 (SYSCALL_ERROR_HANDLER): New macro.
25969 (__SYSCALL_STRING): Do not do errno handling in asm.
25970 (__CLONE_SYSCALL_STRING): Delete.
25971 (__INTERNAL_SYSCALL_STRING): Delete.
25972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25973 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25974 i386.
25975 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25976 (inline_syscall*): Add 'err' argument.
25977 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25978 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25979 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25980 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25981
25982 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25983 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25984
2bc17433
AS
259852011-08-30 Andreas Schwab <schwab@redhat.com>
25986
25987 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25988
fbeb5f4d
JO
259892011-08-29 Jiri Olsa <jolsa@redhat.com>
25990
25991 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25992 directive.
25993
ad69cc26
DM
259942011-08-24 David S. Miller <davem@davemloft.net>
25995
25996 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25997
39dd69df
AS
259982011-08-24 Andreas Schwab <schwab@redhat.com>
25999
26000 * elf/Makefile: Add rules to build and run unload8 test.
26001 * elf/unload8.c: New file.
26002 * elf/unload8mod1.c: New file.
26003 * elf/unload8mod1x.c: New file.
26004 * elf/unload8mod2.c: New file.
26005 * elf/unload8mod3.c: New file.
26006
26007 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26008 it wasn't used.
26009
2c0b250a
DM
260102011-08-23 David S. Miller <davem@davemloft.net>
26011
26012 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26013 subtract stack bias.
26014 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26015 %sp not %fp in calculations.
26016 (_JMPBUF_UNWINDS_ADJ): Likewise.
26017
22044b48
DM
26018 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26019 (aio_suspend): Call it to force an exception region around the
26020 AIO_MISC_WAIT() invocation.
26021
2cae4995
AS
260222011-08-23 Andreas Schwab <schwab@redhat.com>
26023
26024 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26025 backslash.
26026
873a772e
AJ
260272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26028
26029 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26030 protection macro.
26031 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26032 and <dl-machine.h>.
26033 (Elf64_FuncDesc): Remove.
26034
25ad0df1
DM
260352011-08-22 David S. Miller <davem@davemloft.net>
26036
26037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26038 sigaltstack check, add missing cfi directives.
26039 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26040 missing cfi directives, and sigaltstack handling.
26041
e888bcbe
AS
260422011-08-16 Andreas Schwab <schwab@redhat.com>
26043
26044 [BZ #11724]
26045 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26046 object is seen twice.
26047 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26048
26049 * elf/Makefile (distribute): Add tst-initorder2.c.
26050 (tests): Add tst-initorder2.
26051 (modules-names): Add tst-initorder2a tst-initorder2b
26052 tst-initorder2c tst-initorder2d. Add rules to build them.
26053 ($(objpfx)tst-initorder2.out): New rule.
26054 * elf/tst-initorder2.c: New file.
26055 * elf/tst-initorder2.exp: New file.
26056
87162f46
AS
260572011-08-22 Andreas Schwab <schwab@redhat.com>
26058
70538b7f
AS
26059 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26060
f55ffe58
AS
26061 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26062 dependencies back to end of function.
26063
87162f46
AS
26064 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26065 $(elfobjdir)/ld.so.
26066
91b392a4
UD
260672011-08-21 Ulrich Drepper <drepper@gmail.com>
26068
26069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26070 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26072 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26073 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26074 of __vdso_gettimeofday.
26075 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26076 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26077 attribute_hidden.
26078 (_libc_vdso_platform_setup): Remove initialization of
26079 __vdso_gettimeofday and __vdso_time.
26080
5c43483f
UD
260812011-08-20 Ulrich Drepper <drepper@gmail.com>
26082
775a77e7
UD
26083 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26084 and fgetc_unlocked.
26085 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26086 getc_unlocked.
89f447ed 26087
49c74ba9
UD
26088 * elf/dl-open.c (add_to_global): Report additions to the global scope
26089 for LD_DEBUG=scopes.
26090 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26091 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26092
5c43483f
UD
26093 [BZ #13114]
26094 * stdio-common/Makefile (tests): Add bug24.
26095 * stdio-common/bug24.c: New file.
26096
a101b025
AJ
260972011-08-19 Andreas Jaeger <aj@suse.de>
26098
26099 [BZ #13114]
26100 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26101 non-existant file when using close-on-exec mode.
26102
c88f1766
UD
261032011-08-20 Ulrich Drepper <drepper@gmail.com>
26104
0276a718
UD
26105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26106 the very first instruction.
26107
c88f1766
UD
26108 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26109 the CFI state in the end.
26110 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26111 inclusion of dl-trampoline.h.
26112 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26113
51ccffa0
AS
261142011-08-19 Andreas Schwab <schwab@redhat.com>
26115
94d7165f
AS
26116 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26117 expectations for long double.
26118
51ccffa0
AS
26119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26120 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26121
fd708658 261222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26123
26124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26125 artificual limit depends upon the system page size.
26126
44f0a71e
UD
261272011-08-17 Ulrich Drepper <drepper@gmail.com>
26128
26129 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26130 * resolv/Makefile: Define CFLAGS-libresolv.
26131
8de79a24
AS
261322011-08-17 Andreas Schwab <schwab@redhat.com>
26133
26134 * nss/makedb.c (compute_tables): Make variables used in nested
26135 function static.
26136
27724598
UD
261372011-08-17 Ulrich Drepper <drepper@gmail.com>
26138
c5305d88
UD
26139 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26140 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26141 if buffer was too small.
26142
27724598
UD
26143 * elf/pldd.c (main): Attach to all threads in the process.
26144 Rewrite /proc handling to use *at functions.
26145
076fe015
UD
261462011-08-16 Ulrich Drepper <drepper@gmail.com>
26147
174baab3
UD
26148 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26149 specifies first scope to show.
26150 (dl_open_worker): Update callers. Move printing scope of new
26151 object to before the relocation.
44f0a71e 26152 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26153 * sysdeps/generic/ldsodefs.h: Update declaration.
26154
076fe015
UD
26155 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26156 string for the scope number.
26157
a60df2c3
UD
261582011-08-14 Ulrich Drepper <drepper@gmail.com>
26159
26160 * nscd/servicescache.c (cache_addserv): Make sure written is always
26161 initialized.
26162
5e4287d1
RM
261632011-08-14 Roland McGrath <roland@hack.frob.com>
26164
85ae0589
RM
26165 * sysdeps/i386/i486/bits/atomic.h
26166 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26167 statement expression, so as to suppress "set but not used" warning.
26168 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26169
69f63097
RM
26170 * string/strncat.c (STRNCAT): Use prototype definition.
26171
675456ef
RM
26172 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26173 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26174 -Iprograms here.
26175 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26176 (localedef-modules): Add localedef.
26177 (locale-modules): Add locale.
26178
5e4287d1
RM
26179 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26180 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26181 to avoid a warning.
26182
9c96ff23
DM
261832011-08-14 David S. Miller <davem@davemloft.net>
26184
26185 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26186 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26187
f9ddf089
UD
261882011-08-13 Ulrich Drepper <drepper@gmail.com>
26189
44f0a71e 26190 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26191 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26192 * elf/rtld.c (dl_main): Set l_name of vDSO.
26193 Call _dl_show_scope when DL_DEBUG_SCOPES.
26194 (process_dl_debug): Recognize scopes flag and also set it for all.
26195 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26196 Declare _dl_show_scope.
26197
1dc27704
UD
26198 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26199 (do_dlopen): Pass caller_dlopen to dl_open.
26200 (__libc_dlopen_mode): Initialize caller_dlopen.
26201
f9ddf089
UD
26202 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26203 of libc. Make tolower call locale-independent. Optimize a bit by
26204 using isdigit instead of isalnum.
26205 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26206
9ac533d3
UD
262072011-08-12 Ulrich Drepper <drepper@gmail.com>
26208
26209 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26210 was a dependency or dynamically loaded.
26211
89edf2e9
UD
262122011-08-11 Ulrich Drepper <drepper@gmail.com>
26213
8e999d29
UD
26214 * intl/l10nflist.c: Allow architecture-specific pop function.
26215 * sysdeps/x86_64/l10nflist.c: New file.
26216
89edf2e9
UD
26217 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26218 classification.
26219
14d96785
AS
262202011-08-10 Andreas Schwab <schwab@redhat.com>
26221
26222 * include/dirent.h: Add libc_hidden_proto for scandirat and
26223 scandirat64. Don't declare __scandirat64.
26224 * dirent/scandirat.c: Add libc_hidden_def.
26225 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26226 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26227
6761ac04
DM
262282011-08-10 David S. Miller <davem@davemloft.net>
26229
26230 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26231 enum.
26232 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26233 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26235
c55fbd1e
UD
262362011-08-09 Ulrich Drepper <drepper@gmail.com>
26237
26238 * Versions.def [libc]: Add GLIBC_2.15.
26239 * dirent/Makefile (routines): Add scandirat and scandirat64.
26240 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26241 GLIBC_2.15.
26242 * dirent/dirent.h: Declare scandirat and scandirat64.
26243 * dirent/scandirat.c: New file.
26244 * dirent/scandirat64.c: New file.
26245 * sysdeps/wordsize-64/scandirat.c: New file.
26246 * sysdeps/wordsize-64/scandirat64.c: New file.
26247 * dirent/opendir.c: Define opendirat.
26248 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26249 using scandirat.
26250 * dirent/scandir64.c: Adjust for scandir.c change.
26251 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26252 __scandirat64, and __scandir_cancel_handler.
26253 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26254 additional parameter and use openat instead of open (outside of ld.so).
26255 Add new __opendir as wrapper around __opendirat.
26256 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26257 here without requiring old scandirat implementation.
26258
879165f2
UD
262592011-08-08 Ulrich Drepper <drepper@gmail.com>
26260
26261 * dirent/scandir.c (cancel_handler): Renamed to
26262 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26263 defined. Adjust users.
26264 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26265 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26266
cb7e923b
UD
262672011-08-04 Ulrich Drepper <drepper@gmail.com>
26268
16292edd
UD
26269 * string/test-string.h (IMPL): Use __STRING to expand name and then
26270 stringify it.
26271
cb7e923b
UD
26272 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26273 of cleanups.
26274
cff82933
LD
262752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26276
26277 * string/Makefile: Update.
26278 (strop-tests): Append strncat.
26279 * string/test-wcscmp.c: New file.
26280 New comprehensive test for wcscmp.
26281 * string/test-strcmp.c: Update.
26282 (WIDE): New define.
26283
9be9bfcc
AS
262842011-07-22 Andreas Schwab <schwab@redhat.com>
26285
26286 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26287 line.
26288
2e96f1c7
AS
262892011-07-26 Andreas Schwab <schwab@redhat.com>
26290
26291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26292 encoding to ACE if AI_IDN.
26293
85188888
JJ
262942011-08-01 Jakub Jelinek <jakub@redhat.com>
26295
26296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26297 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26298
5fa16e9b
LD
262992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26300
26301 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26302 Fix overflow bug in strncat.
26303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26304
26305 * string/test-strncat.c: Update.
26306 Add new tests for checking overflow bugs.
26307
263082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26309
26310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26311 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26312 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26313 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26315 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26316 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26317 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26318 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26319
26320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26321 (USE_AS_STRCAT): Define.
26322 Add strcat and strncat support.
26323 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26324
8c1a459f
AS
263252011-07-25 Andreas Schwab <schwab@redhat.com>
26326
26327 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26328 __n bigger than INT_MAX+1.
26329 (__strncmp_g): Likewise.
26330
bba33c28
UD
263312011-07-23 Ulrich Drepper <drepper@gmail.com>
26332
798be72d
UD
26333 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26334 * libio/stido.h: Likewise.
26335
8accd4dc
UD
26336 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26337 (AF_NFC): Define.
26338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26339 (AF_NFC): Define.
26340
cbff0d96
UD
26341 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26343 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26344 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26346
9191c04a
UD
26347 [BZ #13021]
26348 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26349 installed.
26350
bba33c28
UD
26351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26352 typo.
26353 (_dl_x86_64_save_sse): Likewise.
26354
90f139dd
UD
263552011-07-22 Ulrich Drepper <drepper@gmail.com>
26356
1aae088a
UD
26357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26358 OSXSAVE.
26359 (_dl_x86_64_save_sse): Likewise.
26360
8e2045f5
UD
26361 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26362
90f139dd
UD
26363 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26364
1d002f25
AS
263652011-07-21 Andreas Schwab <schwab@redhat.com>
26366
26367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26368 change.
26369 (_dl_x86_64_save_sse): Use correct AVX check.
26370
21137f89
UD
263712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26372
26373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26374 bug in strncpy/strncat.
26375 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26376
a65c0b7a
UD
263772011-07-21 Ulrich Drepper <drepper@gmail.com>
26378
26379 * string/tester.c (test_strcat): Add tests for different alignments
26380 of source and destination.
26381 (test_strncat): Likewise.
26382
6986b98a
UD
263832011-07-20 Ulrich Drepper <drepper@gmail.com>
26384
90bb2039
UD
26385 [BZ #12852]
26386 * posix/glob.c (glob): Check passed in values before using them in
26387 expressions to avoid some overflows.
26388 (glob_in_dir): Likewise.
26389
5644ef54
UD
26390 [BZ #13007]
26391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26392 check for AVX enablement so that we don't crash with old kernels and
26393 new hardware.
26394 * elf/tst-audit4.c: Add same checks here.
26395 * elf/tst-audit6.c: Likewise.
26396
26397 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26398
bfc9dc9b
AS
263992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26400
26401 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26402
702e64bb
UD
264032011-07-20 Ulrich Drepper <drepper@gmail.com>
26404
26405 * po/cs.po: Update from translation team.
26406 * po/bg.po: Likewise.
26407
295e904f
MP
264082011-07-12 Marek Polacek <mpolacek@redhat.com>
26409
26410 * misc/sys/cdefs.h: Add support for const attribute.
26411 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26412 to gnu_dev_{major,minor,makedev} functions.
26413
3ff94596
MP
264142011-07-20 Marek Polacek <mpolacek@redhat.com>
26415
26416 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26417
28b59fca
AS
264182011-07-20 Andreas Schwab <schwab@redhat.com>
26419
26420 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26421 strlen results.
26422
19df733e
AK
264232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26424
26425 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26426 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26427 register in order to avoid conflicts with the soft frame pointer
26428 being held in r11 when necessary.
26429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26430 (INTERNAL_VSYSCALL_NCS): Likewise.
26431
c8835729
MP
264322011-07-14 Marek Polacek <mpolacek@redhat.com>
26433
26434 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26435 * elf/dl-fini.c (_dl_fini): Adjust caller.
26436 * elf/dl-close.c (_dl_close_worker): Likewise.
26437 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26438
b902330c
MP
264392011-07-15 Marek Polacek <mpolacek@redhat.com>
26440
8991e135
MP
26441 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26442 "aux_cache->nlibs < 0".
26443
b902330c
MP
26444 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26445 in the reload-count case.
26446
99710781
LD
264472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26448
26449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26450 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26451 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26452 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26453 * sysdeps/x86_64/multiarch/strcat.S: New file.
26454 * sysdeps/x86_64/multiarch/strncat.S: New file.
26455 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26456 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26457 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26458 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26460 (USE_AS_STRCAT): Define.
26461 Add strcat and strncat support.
26462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26464 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26465 * string/strncat.c: Update.
26466 (USE_AS_STRNCAT): Define.
26467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26468 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26469 and i7.
26470 * sysdeps/x86_64/multiarch/init-arch.h
26471 (bit_Prefer_PMINUB_for_stringop): New.
26472 (index_Prefer_PMINUB_for_stringop): Likewise.
26473 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26474 bit_Prefer_PMINUB_for_stringop.
26475
7dc6bd90
UD
264762011-07-19 Ulrich Drepper <drepper@gmail.com>
26477
26478 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26479 buffer64.
26480 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26481 of casting of buffer.
26482 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26483 buffer32 and buffer64.
26484 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26485 writes instead of casting of buffer.
26486 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26487 buffer32.
26488 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26489 casting of buffer.
26490
e0e72284
AS
264912011-07-19 Andreas Schwab <schwab@redhat.com>
26492
26493 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26494
feb1eb0b
UD
264952011-07-19 Ulrich Drepper <drepper@gmail.com>
26496
26497 * nscd/nscd.c (termination_handler): Don't do anything for a database
26498 if it has not yet been initialized.
26499
298711ff
UD
265002011-07-18 Ulrich Drepper <drepper@gmail.com>
26501
26502 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26503
265042011-07-15 Marek Polacek <mpolacek@redhat.com>
26505
26506 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26507
f9d68389
UD
265082011-07-18 Ulrich Drepper <drepper@gmail.com>
26509
26510 * po/nl.po: Update from translation team.
26511 * po/sv.po: Likewise.
26512
db290cf5
RM
265132011-07-16 Roland McGrath <roland@hack.frob.com>
26514
26515 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26516 now disallowed by GCC.
5c550700 26517
fd5e21c7
RM
26518 * configure.in (use-default-link): Default to yes if a test -shared
26519 link meets our qualifications.
26520 * configure: Regenerated.
26521
5c550700
RM
26522 * config.make.in (output-format): New variable.
26523 * configure.in: Check for ld --print-output-format support.
26524 * configure: Regenerated.
26525 * Makerules ($(common-objpfx)format.lds)
26526 [$(output-format) != unknown]: Just use $(output-format),
26527 instead of the linker-script munging.
26528
9fa2c032
RM
265292011-07-14 Roland McGrath <roland@hack.frob.com>
26530
a6928d51
RM
26531 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26532 of $(common-objpfx)shlib.lds.
26533 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26534
661607b3
RM
26535 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26536 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26537
9fa2c032
RM
26538 * configure.in (-z relro check): Adjust test code to add a large
26539 writable data section after it.
26540 * configure: Regenerated.
26541
defe9061
RM
265422011-07-11 Roland McGrath <roland@hack.frob.com>
26543
26544 * configure.in (-z relro check): Fix test code to make the variable
26545 truly const.
26546 * configure: Regenerated.
26547
319b9ad4
UD
265482011-07-11 Ulrich Drepper <drepper@gmail.com>
26549
26550 * nscd/nscd.h (struct traced_file): Define.
26551 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26552 elements. Add traced_files.
26553 (inotify_fd): Declare.
26554 (register_traced_file): Declare.
26555 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26556 (inotify_fd): Export.
26557 (resolv_conf_descr): Remove.
26558 (nscd_init): Move inotify descriptor creation to main.
26559 Don't register files for notification here.
26560 (register_traced_file): New function.
26561 (invalidate_cache): Don't use reset_res to determine whether to call
26562 res_init, go through the list of registered files.
26563 (main_loop_poll): The inotify descriptors are now stored in the
26564 structures for the traced files.
26565 (main_loop_epoll): Likewise
26566 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26567 to __nss_disable_nscd.
26568 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26569 for a database anymore. Check the records for all the registered
26570 files instead.
26571 * nss/Makefile (libnss_files-routines): Add files-init.
26572 (libnss_db-routines): Add db-init.
26573 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26574 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26575 * nss/nss_db/db-init.c: New file.
26576 * nss/nss_files/files-init.c: New file.
26577 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26578 __nss_lookup_function.
26579 (__nss_lookup_function): Call nss_load_library.
26580 (nss_load_all_libraries): New function.
26581 (__nss_disable_nscd): Take parameter with callback function for files
26582 to register. Set is_nscd. Load all the DSOs for the NSS modules
26583 used for the cached services.
26584 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26585 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26586 options for features to all the files in nscd.
26587
26588 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26589
23bee3e8
RM
265902011-07-10 Roland McGrath <roland@hack.frob.com>
26591
26592 * csu/elf-init.c (__libc_csu_init): Comment typo.
26593
46a5b7f0
UD
265942011-07-09 Ulrich Drepper <drepper@gmail.com>
26595
26596 * po/pl.po: Update from translation team.
26597 * po/ja.po: Likewise.
26598 * po/ru.po: Likewise.
26599 * po/ko.po: Likewise.
26600 * po/fr.po: Likewise.
26601
d30cf5bb
RM
266022011-07-09 Roland McGrath <roland@hack.frob.com>
26603
113ddea4
RM
26604 * configure.in (.ctors/.dtors header and trailer check):
26605 Use an empirical test on a built program.
26606 * configure: Regenerated.
26607
574920b4
RM
26608 * configure.in (-z relro check): Use an empirical test on a built DSO.
26609 Detect, but do not require, on ia64.
26610 * configure: Regenerated.
26611
d30cf5bb
RM
26612 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26613 Update tests that use readelf to use $READELF instead.
26614 * configure: Regenerated.
26615
8538fdb3
UD
266162011-07-08 Ulrich Drepper <drepper@gmail.com>
26617
26618 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26619 if the result is not used.
26620
04d08991
AJ
266212011-07-05 Andreas Jaeger <aj@suse.de>
26622
26623 [BZ#9696]
26624 * stdlib/tst-strtod.c: Add testcase.
26625
de283087
AD
266262011-07-07 Ulrich Drepper <drepper@gmail.com>
26627
4e5f31c8 26628 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 26629 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
26630 The latter has a higher limit. Take additional parameter to pass to
26631 the new function.
26632 (__pathconf): Pass file to __statfs_link_max.
26633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26634 __statfs_link_max.
26635 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26636 __statfs_link_max.
26637
de283087
AD
26638 [BZ #12868]
26639 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26640 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26641 Handle Lustre.
26642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26643 (__statfs_filesize_max): Likewise.
26644 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26645
c75fa153
AJ
266462011-07-05 Andreas Jaeger <aj@suse.de>
26647
26648 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26649
1a544854
UD
266502011-07-06 Marek Polacek <mpolacek@redhat.com>
26651
26652 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26653 `status' variable.
26654 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26655 Likewise.
26656
6f0eec67
UD
266572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26658
26659 * Makefile (strop-tests): Add strncat.
26660 * string/test-strncat.c: New file.
26661
aae30307
UD
266622011-06-30 Marek Polacek <mpolacek@redhat.com>
26663
26664 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26665
c0cfb5eb
UD
266662011-06-21 Andreas Jaeger <aj@suse.de>
26667
26668 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26669 Copy rule from iconvdata/Makefile.
26670
01636b21
UD
266712011-07-06 Ulrich Drepper <drepper@gmail.com>
26672
26673 [BZ #12922]
26674 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26675 but no long options are defined, just return 'W'.
26676
9895c8bc
UD
266772011-06-22 Marek Polacek <mpolacek@redhat.com>
26678
26679 [BZ #9696]
26680 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26681
5d4cf042
UD
266822011-07-06 Ulrich Drepper <drepper@gmail.com>
26683
26684 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26685 netgroups to read.
960e5535 26686 (innetgr): Likewise.
5d4cf042 26687
751eb97e
RM
266882011-07-05 Roland McGrath <roland@hack.frob.com>
26689
26690 * config.make.in (install_root): Default to $(DESTDIR).
26691
f15f1e45
UD
266922011-07-05 Ulrich Drepper <drepper@gmail.com>
26693
26694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26695
4e34ac6a
RM
266962011-07-02 Roland McGrath <roland@hack.frob.com>
26697
5e9b6af4
RM
26698 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26699
84f9ea0f
RM
26700 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26701 containing directory rather than embedding absolute directory names.
26702
ea5ee9f7
RM
26703 * scripts/check-local-headers.sh: Rewritten using awk.
26704 Match by word, not by line. Print error messages for matches.
26705 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26706
1b74661a
RM
26707 * Makerules [shlib-lds-flags empty]:
26708 ($(common-objpfx)libc_pic.opts): New target.
26709 ($(common-objpfx)libc_pic.os.clean): New target.
26710 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26711
26712 * config.make.in (OBJCOPY): New variable.
26713 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26714 * configure: Regenerated.
26715
f781ef40
RM
26716 * config.make.in (use-default-link): New variable.
26717 * configure.in (use_default_link): Grok --with-default-link to set it.
26718 * configure: Regenerated.
26719 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26720 (shlib-lds, shlib-lds-flags): Define to empty.
26721
2d4fa81e
RM
26722 * Makerules (shlib-lds): New variable.
26723 (shlib-lds-flags): New variable.
26724 (build-shlib, build-moduile, build-module-asneeded): Use it.
26725 ($(common-objpfx)libc.so): Use $(shlib-lds).
26726 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26727 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26728
31fffa6b
RM
26729 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26730 DT_FLAGS/DT_FLAGS_1 with zero flags.
26731
4e34ac6a
RM
26732 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26733 linker script munging.
26734
fcfc776b
UD
267352011-07-02 Ulrich Drepper <drepper@gmail.com>
26736
26737 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26738 as 128-bit value.
26739 * crypt/sha512.c (sha512_process_block): Perform total addition using
26740 128-bit if possible.
26741 (__sha512_finish_ctx): Likewise.
26742 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26743 as 64-bit value.
26744 * crypt/sha256.c (SWAP64): Define.
26745 (sha256_process_block): Perform total addition using 64-bit if
26746 possible.
26747 (__sha256_finish_ctx): Likewise.
26748
99231d9a
UD
267492011-07-01 Ulrich Drepper <drepper@gmail.com>
26750
26751 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26753 * nscd/hstcache.c (cache_addhst): Likewise.
26754 * nscd/grpcache.c (cache_addgr): Likewise.
26755 * nscd/aicache.c (addhstaiX): Likewise
26756 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26757
445b4a53
TK
267582011-07-01 Thorsten Kukuk <kukuk@suse.de>
26759
26760 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26762 * nscd/hstcache.c (cache_addhst): Likewise.
26763 * nscd/grpcache.c (cache_addgr): Likewise.
26764 * nscd/aicache.c (addhstaiX): Likewise
26765
6d4d8e8e
AS
267662011-07-01 Andreas Schwab <schwab@redhat.com>
26767
26768 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26769 domain only when needed.
26770
89f654c5
AS
267712011-06-30 Andreas Schwab <schwab@redhat.com>
26772
26773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26774 is always restored.
26775
cf3b23ff
UD
267762011-06-29 Ulrich Drepper <drepper@gmail.com>
26777
26778 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26779 are re-adding the entry.
26780 * nscd/servicescache.c (cache_addserv): Likewise.
26781
751626f9
AJ
267822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26783
26784 * sysdeps/generic/dl-irel.h: fix protection against multiple
26785 inclusions.
26786 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26787
9113ea1f
UD
267882011-06-28 Ulrich Drepper <drepper@gmail.com>
26789
5c0b8d90
UD
26790 [BZ #12935]
26791 * malloc/memusage.sh: Fix quoting in message.
26792 * debug/xtrace.sh: Likewise.
26793
9113ea1f
UD
26794 * configure.in: Remove support for --experimental-malloc option, make
26795 it the default.
26796 * config.make.in: Likewise.
26797 * malloc/Makefile: Likewise.
26798
a4172181
AS
267992011-06-27 Andreas Schwab <schwab@redhat.com>
26800
26801 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26802 two-byte characters.
26803
78a7eee7
RM
268042011-06-27 Roland McGrath <roland@hack.frob.com>
26805
62bede13
RM
26806 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26807 AC_CACHE_CHECK invocation.
26808 * configure: Regenerated.
26809
78a7eee7
RM
26810 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26811
5ce33a62
UD
268122011-06-27 Ulrich Drepper <drepper@gmail.com>
26813
034807a9
UD
26814 [BZ #12350]
26815 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26816 bit from old_res_options.
26817
4902da17
UD
26818 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26819
5ce33a62
UD
26820 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26821 value type for setfct.
26822
c2344f56
L
268232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26826 __gettimeofday instead of gettimeofday.
26827
68468076
UD
268282011-06-26 Ulrich Drepper <drepper@gmail.com>
26829
26830 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26831
acb0d739
L
268322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26833
26834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26835
26836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26837 info.
26838
8912479f
L
268392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26842 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26843 strcpy-sse2-unaligned strncpy-sse2-unaligned
26844 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26845 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26846 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26847 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26848 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26849 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26850 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26851 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26852 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26853 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26854 (STRCPY): Support SSE2 and SSSE3 versions.
26855
d5495a11
UD
268562011-06-24 Ulrich Drepper <drepper@gmail.com>
26857
26858 [BZ #12874]
26859 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26860 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26861 kernels which artificially limit size of requests.
26862
0b1cbaae
L
268632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26864
26865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26866 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26867 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26868 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26869 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26870 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26871 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26872 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26874 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26875 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26876 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26877 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26878 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26879 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26881 Enable unaligned load optimization for Intel Core i3, i5 and i7
26882 processors.
26883 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26884 Define.
26885 (index_Fast_Unaligned_Load): Define.
26886 (HAS_FAST_UNALIGNED_LOAD): Define.
26887
07f494a0
MP
268882011-06-23 Marek Polacek <mpolacek@redhat.com>
26889
26890 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26891
fa3fc0fe
UD
268922011-06-22 Ulrich Drepper <drepper@gmail.com>
26893
26894 [BZ #12907]
26895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26896 until it is clear that the information is realy needed.
26897 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26898
e12df166
AS
268992011-06-22 Andreas Schwab <schwab@redhat.com>
26900
26901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26902
852eb34d
UD
269032011-06-22 Ulrich Drepper <drepper@gmail.com>
26904
84e2a551
UD
26905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26906 /sys/devices/system/cpu/online if it is usable.
26907
852eb34d
UD
26908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26909 reading the information from the /proc filesystem to once a second.
26910
6e502e19
UD
269112011-06-21 Andreas Jaeger <aj@suse.de>
26912
26913 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26914 NULL after inclusion of kernel headers.
26915
75d39ff2
UD
269162011-06-21 Ulrich Drepper <drepper@gmail.com>
26917
51f9aa6a
UD
26918 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26919 calls to internal_setent.
26920
c0244a9d
UD
26921 [BZ #12885]
26922 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26923 addresses using gethostbyname4_r ignore IPv4 addresses.
26924
c5e3c2ae
UD
26925 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26926 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26927
75d39ff2
UD
26928 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26929
42675c6f
DM
269302011-06-20 David S. Miller <davem@davemloft.net>
26931
26932 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26933 inclusions.
26934 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26935
26936 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26937 (elf_irel): Use it.
26938 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26939 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26940 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26941 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26942 * sysdeps/x86_64/dl-irel.h: Likewise.
26943
26944 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26945 * elf/dl-sym.c: Likewise.
26946
57912a71
UD
269472011-06-15 Ulrich Drepper <drepper@gmail.com>
26948
26949 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26950 need to dereference resplen2.
26951
ee22793d
AS
269522011-06-14 Andreas Schwab <schwab@redhat.com>
26953
26954 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26955
a9e836b0
UD
269562011-06-15 Ulrich Drepper <drepper@gmail.com>
26957
77fb9117
UD
26958 * Makeconfig: Define vardbdir and inst_vardbdir.
26959 * nss/Makefile: Add rules to install db-Makefile.
26960
40c1b22c
UD
26961 * nss/nss_db/db-XXX.c: Cleanup.
26962
9f2da732
UD
26963 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26964 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26965 GLIBC_PRIVATE.
26966 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26967 * nss/makedb.c: Implement -g option to specify that value strings
26968 are generated and should not be added to table iterated over for
26969 get*ent calls.
26970 * nss/nss_db/db-initgroups.c: New file.
26971
82e9a1f7
UD
26972 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26973 interface.
26974
c41af17e
UD
26975 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26976 (internal_getgrouplist): Adjust to name change.
26977 Update use_initgroups_entry if this is not the first call.
26978 * nss/databases.def: Add initgroups entry.
26979
a9e836b0
UD
26980 * nss/makedb.c (compute_tables): Check result of multiple hash table
26981 sizes to minimize maximum chain length.
26982
2666d441
UD
269832011-06-14 Ulrich Drepper <drepper@gmail.com>
26984
26985 * Versions.def: Add entry for libnss_db.
26986 * shlib-versions: Likewise.
26987 * nss/Makefile: Add rules to build libnss_db.
26988 * nss/Versions: Add libnss_db information. Organize libnss_files
26989 entries better.
26990 * nss/db-Makefile: Add gshadow support. Change rules for the new
26991 makedb progra. Some minor improvements to generate smaller files.
26992 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26993 here from...
26994 * nss/makedb.c: ...here.
26995 Improve database format to be smaller and require less memory at
26996 runtime.
26997 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26998 db anymore.
26999 * nss/nss_db/db-netgrp.c: Likewise.
27000 * nss/nss_db/db-open.c: Likewise.
27001 * nss/nss_files/flies-XXX.x: Adjust comments.
27002 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27003 * nss/nss_files/files-grp.c: Likewise.
27004 * nss/nss_files/files-hosts.c: Likewise.
27005 * nss/nss_files/files-network.c: Likewise.
27006 * nss/nss_files/files-proto.c: Likewise.
27007 * nss/nss_files/files-pwd.c: Likewise.
27008 * nss/nss_files/files-rpc.c: Likewise.
27009 * nss/nss_files/files-service.c: Likewise.
27010 * nss/nss_files/files-sgrp.c: Likewise.
27011 * nss/nss_files/files-spwd.c: Likewise.
27012 * nss/nss_db/db-alias.c: Removed.
27013 * nss/nss_db/dummy-db.h: Removed.
27014
9ee76b5a
UD
270152011-06-02 Ulrich Drepper <drepper@gmail.com>
27016
27017 * nss/makedb.c: Rewritten to not use database library.
27018 * nss/Makefile: Update to build new makedb program.
27019
c71ca1f8
AJ
270202011-06-14 Andreas Jaeger <aj@suse.de>
27021
27022 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27023 memset declaration.
27024
3154bfb8
UD
270252011-06-10 Andreas Schwab <schwab@redhat.com>
27026
27027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27028 tmpbuf.
27029
b350afab
RM
270302011-06-10 Roland McGrath <roland@hack.frob.com>
27031
decd4e50
RM
27032 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27033 * elf/Makefile ($(objpfx)ld.so): Likewise.
27034
5615eaf2
RM
27035 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27036 Don't list ld.so twice in dependencies.
27037
27038 * posix/bug-regex31.c: Include <stdlib.h>.
27039
27040 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27041
27042 * nis/nss_compat/compat-spwd.c
27043 (getspent_next_nss_netgr): Remove unused variable.
27044 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27045
27046 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27047 nonmembers" output to use the right array.
27048
27049 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27050
27051 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27052
27053 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27054 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27055 * catgets/gencat.c (read_input_file): Likewise.
27056 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27057
27058 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27059 variable definition inside #if's controlling its use.
27060
27061 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27062
27063 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27064
27065 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27066
27067 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27068 unreachable code.
27069
27070 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27071
b68e08db
RM
27072 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27073 * configure: Regenerated.
27074
b350afab
RM
27075 * Makerules: Revert last change.
27076 * elf/Makefile: Likewise.
27077
28368601
RM
270782011-06-09 Roland McGrath <roland@hack.frob.com>
27079
27080 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27081 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27082 (reloc-link): Likewise.
27083
11988f8f
UD
270842011-06-09 Ulrich Drepper <drepper@gmail.com>
27085
27086 * elf/Makefile: Add rules to build pldd.
27087 * elf/pldd.c: New file.
27088 * elf/pldd-xx.c: New file.
27089
e80fab37
UD
270902011-06-07 Ulrich Drepper <drepper@gmail.com>
27091
27092 * version.h: Update for 2.15 development version.
27093
9b849836
DM
270942011-06-07 David S. Miller <davem@davemloft.net>
27095
27096 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27097 ifuncs.
27098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27099 elf_machine_lazy_rel): Likewise.
27100 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27102 elf_machine_lazy_rel): Likewise.
27103 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27104 dl_hwcap via passed in argument.
27105 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27106 Likewise.
27107
5a31b283
AK
271082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27109
27110 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27111
069e52f8
RM
271122011-06-06 Roland McGrath <roland@hack.frob.com>
27113
27114 [BZ #12849]
27115 * manual/fdl-1.1.texi: New file, verbatim from:
27116 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27117 * manual/lgpl-2.1.texi: New file, verbatim from:
27118 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27119 * manual/Makefile (licenses): New variable, list those new file names.
27120 (texis): Use it.
27121 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27122
27123 * manual/fdl.texi: File removed.
27124 * manual/lesser.texi: File removed.
27125 * manual/libc.texinfo (Copying, Documentation License):
27126 Use new @include file names, put @appendix directive before @include.
27127
f16846a5
JJ
271282011-06-04 Jakub Jelinek <jakub@redhat.com>
27129
27130 [BZ #12841]
27131 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27132 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27133 (mq_open): Add __NTH.
27134
3d29045b
L
271352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27136
27137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27138 Assume Intel Core i3/i5/i7 processor if AVX is available.
27139
8c297311
UD
271402011-05-31 Ulrich Drepper <drepper@gmail.com>
27141
27142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27143 typo.
27144
c8fc0c91
UD
271452011-05-31 Andreas Schwab <schwab@redhat.com>
27146
27147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27148 memory. Use alloca_account. Fix memory leak when retrying.
27149
5b27a807
UD
271502011-05-31 Ulrich Drepper <drepper@gmail.com>
27151
356f8bc6
UD
27152 * version.h (RELEASE): Bump for 2.14 release.
27153 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27154
5b27a807
UD
27155 * config.make.in (RANLIB): Remove entry.
27156
01f16ab0
UD
271572011-05-30 Ulrich Drepper <drepper@gmail.com>
27158
41fce8bd
UD
27159 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27160 (libc.pot): Work around missing support for .ksh extension in xgettext.
27161
4769ae77
UD
27162 [BZ #12684]
27163 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27164 if both request failed.
27165 (send_dg): In case of server errors clear resplen or *resplen2.
27166
6b1e7d19
UD
27167 [BZ #12454]
27168 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27169 when there are multiple maps.
27170 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27171 (_dl_fini): Remove test here.
27172
01f16ab0
UD
27173 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27174
b1ebd700
UD
271752011-05-29 Ulrich Drepper <drepper@gmail.com>
27176
7ae22829
UD
27177 [BZ #12350]
27178 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27179 bit from old_res_options.
27180 (gaih_inet): Likewise.
27181
553149f6 27182 [BZ #11099]
18a84741 27183 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27184 as signed.
27185
652ffab1
UD
27186 * resolv/res_init.c (res_setoptions): Make the code more compact.
27187
16985fd0
UD
27188 [BZ #11558]
27189 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27190 set RES_USEVC.
27191
0464f746
UD
27192 [BZ #11634]
27193 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27194
7d17596c
UD
27195 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27196
cf6bbbd7
UD
27197 [BZ #11781]
27198 * malloc/malloc.h: Declare malloc hook variables as volatile.
27199
13f1ab36
UD
27200 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27201 in last patch.
27202
b1ebd700
UD
27203 [BZ #11799]
27204 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27205 raise in the comment.
80e2212d
UD
27206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27208 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27209
ce67228d
UD
272102011-05-28 Ulrich Drepper <drepper@gmail.com>
27211
8887a920
UD
27212 [BZ #12811]
27213 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27214 grow the buffers more if it already has to be sufficient.
27215 (build_wcs_upper_buffer): Likewise.
27216 * posix/regexec.c (check_matching): Likewise.
27217 (clean_state_log_if_needed): Likewise.
27218 (extend_buffers): Don't enlarge buffers beyond size of the input
27219 buffer.
27220 Patches mostly by Emil Wojak <emil@wojak.eu>.
27221 * posix/bug-regex32.c: New file.
27222 * posix/Makefile (tests): Add bug-regex32.
27223
4f031072
UD
27224 * locale/findlocale.c (_nl_find_locale): Return right away if
27225 _nl_explode_name failed.
27226 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27227
d0478f0c
UD
27228 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27229
de81b246
UD
27230 * debug/xtrace.sh: Unify messages.
27231 * malloc/memusage.sh: Likewise.
27232
c738465a
UD
27233 [BZ #12813]
27234 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27235 time symbol from vDSO. Substitute with vsyscall if not available.
27236 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27237 __vdso_time.
27238
f1f929d7
UD
27239 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27240 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27241 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27242 Add sendmmsg and internal_sendmmsg.
27243 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27244 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27245 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27246
ce67228d
UD
27247 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27248 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27249 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27250
e57420c6
UD
272512011-05-27 Ulrich Drepper <drepper@gmail.com>
27252
a8509ca5
UD
27253 [BZ #12813]
27254 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27255 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27256 available.
27257 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27258 __vdso_getcpu.
27259
e57420c6
UD
27260 [BZ #12814]
27261 * iconvdata/Makefile (tests): Add bug-iconv9.
27262 * iconvdata/bug-iconv9.c: New file.
27263
4d07db15
AS
272642011-05-27 Andreas Schwab <schwab@redhat.com>
27265
27266 [BZ #12814]
27267 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27268
ea486f69
JJ
272692011-05-25 Jakub Jelinek <jakub@redhat.com>
27270
27271 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27272 (struct user_regs_struct): Change intcs field back to cs.
27273
6f038433
UD
272742011-05-25 Ulrich Drepper <drepper@gmail.com>
27275
27276 * po/ja.po: Update from translation team.
27277
67f86a25
UD
272782011-05-23 Ulrich Drepper <drepper@gmail.com>
27279
27280 [BZ #12795]
27281 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27282 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27283
def7fbd6
AS
272842011-05-20 Andreas Schwab <schwab@redhat.com>
27285
27286 * stdlib/longlong.h: Update from GCC.
27287
f50ef8f1
AS
272882011-05-23 Andreas Schwab <schwab@redhat.com>
27289
27290 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27291 parameter name.
27292 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27293 Add parameter name.
27294 (__sysconf): Pass it down.
27295
de7ce8f1
UD
272962011-05-22 Ulrich Drepper <drepper@gmail.com>
27297
f2962a71
UD
27298 [BZ #12671]
27299 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27300 some situations.
27301 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27302 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27303 add in in __libc_use_alloca calls. Adjust callers.
27304 (glob): Use malloc in some situations.
27305
de7ce8f1
UD
27306 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27307 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27308 pltexit.
27309
aec84f53
UD
273102011-05-21 Ulrich Drepper <drepper@gmail.com>
27311
05bb4a68
UD
27312 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27313 and CLOCK_BOOTTIME_ALARM.
27314
7ea72f99
UD
27315 [BZ #12782]
27316 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27317 is returned.
27318
7e4afad5
UD
27319 * string/_strerror.c (__strerror_r): Print negative errors as signed
27320 numbers.
27321
8e211fec
UD
27322 [BZ #12777]
27323 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27324 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27325 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27326
f7d82dc9
UD
27327 * configure.in: Fix typo in redirection and correct removal of test
27328 files in two cases.
27329
cc9e536d
UD
27330 [BZ #12788]
27331 * locale/setlocale.c (new_composite_name): Fix test to check for
27332 identical name of all categories.
27333
aec84f53
UD
27334 [BZ #12792]
27335 * libio/filedoalloc.c (local_isatty): New function.
27336 (_IO_file_doallocate): Use local_isatty.
27337 * stdio-common/perror.c (perror): In case a new stream is used
27338 forward the stream error.
27339 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27340 error flag.
27341
78e64fdc
RT
273422011-05-20 Ulrich Drepper <drepper@gmail.com>
27343
34a9094f
UD
27344 [BZ #11869]
27345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27346 alloca.
27347 * include/alloca.h (extend_alloca_account): Define.
27348
78e64fdc
RT
27349 [BZ #11857]
27350 * posix/regex.h: Fix comments with documentation of user-accessible
27351 fields after compilation and describe correct free'ing of pattern
27352 after re_compile_pattern.
27353 Patch by Reuben Thomas <rrt@sc3d.org>.
27354
457bddfc
RA
273552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27356
27357 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27358 and -mno-altivec to prevent the compiler from using Altivec and/or
27359 VSX instructions when the corresponding registers are not available.
27360
a4527b51
AS
273612011-05-19 Andreas Schwab <schwab@redhat.com>
27362
27363 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27364
ed690b2f
UD
273652011-05-19 Ulrich Drepper <drepper@gmail.com>
27366
27367 * libio/freopen.c (freopen): Use __dup2, not dup2.
27368 * libio/freopen64.c (freopen64): Likewise.
27369
8db73634
L
273702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27371
27372 [BZ #12775]
27373 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27374 * math/Makefile (tests): Add test-powl.
27375 (CFLAGS-test-powl.c): Define.
27376 * math/test-powl.c: New file.
27377
0a197a9d
L
273782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27379
27380 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27381
ee30c380
UD
273822011-05-17 Ulrich Drepper <drepper@gmail.com>
27383
27384 [BZ #11837]
27385 * iconvdata/gb18030.c: Update to GB18020-2005.
27386
6ce75379
UD
273872011-05-16 Ulrich Drepper <drepper@gmail.com>
27388
a4b89fd8
AR
27389 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27390 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27391 Patch by Aharon Robbins <arnold@skeeve.com>.
27392
ea389b12
UD
27393 [BZ #11892]
27394 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27395 on the stack.
27396
68a3f91f
UD
27397 [BZ #11895]
27398 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27399 through underflows.
27400
15cc7dd1
UD
27401 [BZ #12766]
27402 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27403 point to strings before performing equality test for error_one_per_line
27404 mode.
27405
f3799213
UD
27406 [BZ #11697]
27407 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27408
d79a9c94
UD
27409 [BZ #11820]
27410 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27411 (struct user_fpregs_struct): Avoid __uint*_t types.
27412
56e5eb46
UD
27413 [BZ #6420]
27414 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27415 symbol info. Use it instead of calling _dl_addr locally.
27416 (lock_and_info): New function.
27417 (tr_freehook): Call lock_and_info and pass symbol info as additional
27418 parameter to tr_where.
27419 (tr_mallochook): Likewise.
27420 (tr_reallochook): Likewise.
27421 (tr_memalignhook): Likewise.
27422
6ce75379
UD
27423 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27424 used and couldn't be at all thread-safe.
27425
f8a3b5bf
UD
274262011-05-15 Ulrich Drepper <drepper@gmail.com>
27427
94b7cc37
UD
27428 * libio/freopen.c (freopen): Don't close old file descriptor
27429 before the new one is opened. Instead dup the new file descriptor
27430 to the old one after the new stream is created.
27431 * libio/freopen64.c (freopen64): Likewise.
27432 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27433 * libio/fileops.c (_IO_new_file_close_it): Handle new
27434 _IO_FLAGS2_NOCLOSE flag.
27435 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27436 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27437 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27438 _IO_FLAGS2_NOCLOSE flag.
27439 * include/unistd.h: Add hidden_proto for dup3.
27440 Define __have_dup3.
27441 * io/dup3.c: Define hidden symbol.
27442 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27443
bd25564e
UD
27444 [BZ #7101]
27445 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27446 when an incomplete long option is used.
27447 * posix/tst-getopt_long1.c: New file.
27448 * posix/Makefile (tests): Add tst-getopt_long1.
27449
c84cfef4
UD
27450 [BZ #10138]
27451 * scripts/config.guess: Update from autoconf-2.68.
27452 * scripts/config.sub: Likewise.
27453
3b85df27
UD
27454 [BZ #10157]
27455 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27456 tests into ...
27457 (has_cpuclock): ...this. New function.
27458 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27459 macro here based on has_cpuclock code.
27460
15a856b1
UD
27461 [BZ #10149]
27462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27463 First byte (not low byte) is now always NUL.
27464 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27465
05f399e6
UD
27466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27467 Use non-cancelable interfaces.
27468
10a52685 27469 [BZ #9809]
94ecc67d
UD
27470 * locale/iso-639.def: Add entry for Sorani.
27471
f8a3b5bf
UD
27472 [BZ #11901]
27473 * include/stdlib.h: Move include protection to the right place.
27474 Define abort_msg_s. Declare __abort_msg with it.
27475 * stdlib/abort.c (__abort_msg): Adjust type.
27476 * assert/assert.c (__assert_fail_base): New function. Majority
27477 of code from __assert_fail. Allocate memory for __abort_msg with
27478 mmap.
27479 (__assert_fail): Now call __assert_fail_base.
27480 * assert/assert-perr.c: Remove bulk of implementation. Use
27481 __assert_fail_base.
27482 * include/assert.hL Declare __assert_fail_base.
27483 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27484 mmap.
27485 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27486
1af4e298
UD
274872011-05-14 Ulrich Drepper <drepper@gmail.com>
27488
f8a3b5bf 27489 [BZ #11952]
d26dfc60
MG
27490 [BZ #12453]
27491 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27492 until all modules are registered in the DTV.
27493 * elf/Makefile: Add rules to build and run tst-tls19.
27494 * elf/tst-tls19.c: New file.
27495 * elf/tst-tls19mod1.c: New file.
27496 * elf/tst-tls19mod2.c: New file.
27497 * elf/tst-tls19mod3.c: New file.
27498 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27499
2fc54d6f
UD
27500 [BZ #12083]
27501 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27502 correctly.
27503
98d76b46
UD
27504 [BZ #12601]
27505 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27506 two-byte sequence errors.
27507 * iconvdata/Makefile (tests): Add bug-iconv8.
27508 * iconvdata/bug-iconv8.c: New file.
27509
da3c19ef
UD
27510 [BZ #12626]
27511 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27512 buf2 definition.
27513
ca408c15
UD
27514 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27515
d6f67f7d
UD
27516 [BZ #12432]
27517 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27518 (dummy_getcfa): New function.
27519 (init): Get _Unwind_GetCFA address, use dummy if not found.
27520 (backtrace_helper): In recursion check, also check whether CFA changes.
27521 (__backtrace): Completely initialize arg.
27522
1af4e298 27523 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
27524 storing incomplete byte sequence in state object. Avoid testing for
27525 guaranteed too small input if we know there is enough data available.
1af4e298 27526
da62f81b
AS
275272011-05-11 Andreas Schwab <schwab@redhat.com>
27528
27529 * Makeconfig (+link-pie): Indent.
27530 * Rules (binaries-pie): Define if $(have-fpie) and
27531 $(build-shared).
27532 (binaries-shared): Also filter out $(binaries-pie).
27533 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27534 * nscd/Makefile (others-pie): Add nscd.
27535 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27536 ($(objpfx)nscd): Remove command override.
27537 * login/Makefile (others-pie): Add pt_chown.
27538 ($(objpfx)pt_chown): Remove command override.
27539 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27540 remove command overrides.
27541
fcabc0f8
UD
275422011-05-13 Ulrich Drepper <drepper@gmail.com>
27543
20030ae6
UD
27544 * libio/tst_putwc.c: Fix error messages.
27545
fcabc0f8
UD
27546 [BZ #12724]
27547 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27548 currently writing and seek to current position when not.
27549 * libio/Makefile (tests): Add bug-fclose1.
27550 * libio/bug-fclose1.c: New file.
27551
320a5dc0
PB
275522011-05-12 Ulrich Drepper <drepper@gmail.com>
27553
27554 [BZ #12511]
27555 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27556 don't set DF_1_NODELETE here.
27557 (do_lookup_x): When entering new entry test for copy relocation
27558 and if necessary set DF_1_NODELETE flag.
27559 * elf/tst-unique4.cc: New file.
27560 * elf/tst-unique4.h: New file.
27561 * elf/tst-unique4lib.cc: New file.
27562 * elf/Makefile: Add rules to build and run tst-unique4.
27563 Patch by Piotr Bury <pbury@goahead.com>.
27564
22836f52
UD
275652011-05-11 Ulrich Drepper <drepper@gmail.com>
27566
f574184a
UD
27567 [BZ #12052]
27568 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27569
e1fb097f
UD
27570 [BZ #12625]
27571 * misc/mntent_r.c (addmntent): Flush the stream after the output
27572
22836f52
UD
27573 [BZ #12393]
27574 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27575 (is_trusted_path_normalize): Skip initial colon. Append slash
27576 to empty buffer. Duplicate is_trusted_path code but allow
27577 constructed patch to be prefix.
27578 (is_dst): Allow $ORIGIN followed by /.
27579 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27580 Correct testing of result of is_trusted_path_normalize
27581 (decompose_rpath): Fix warning.
27582
7b3b0b2a
UD
275832011-05-10 Ulrich Drepper <drepper@gmail.com>
27584
27585 [BZ #11257]
27586 * grp/initgroups.c (internal_getgrouplist): When we found the service
27587 list through the initgroups entry in nsswitch.conf do not always
27588 continue on a successful lookup. Don't always use the
eac80ce2 27589 __nss_group_database value if it is set.
7b3b0b2a
UD
27590 * nss/nsswitch.conf (initgroups): Change action for successful db
27591 lookup to continue for compatibility.
27592
2a81eaa5
UD
275932011-05-09 Ulrich Drepper <drepper@gmail.com>
27594
be97a69e
UD
27595 [BZ #11532]
27596 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27597 and CP774 modules.
27598 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27599 and CP774 modules.
27600 * iconvdata/tst-tables.sh: Likewise.
27601 * iconvdata/cp770.c: New file.
27602 * iconvdata/cp771.c: New file.
27603 * iconvdata/cp772.c: New file.
27604 * iconvdata/cp773.c: New file.
27605 * iconvdata/cp774.c: New file.
27606 * iconvdata/testdata/CP770: New file.
27607 * iconvdata/testdata/CP770..UTF8: New file.
27608 * iconvdata/testdata/CP771: New file.
27609 * iconvdata/testdata/CP771..UTF8: New file.
27610 * iconvdata/testdata/CP772: New file.
27611 * iconvdata/testdata/CP772..UTF8: New file.
27612 * iconvdata/testdata/CP773: New file.
27613 * iconvdata/testdata/CP773..UTF8: New file.
27614 * iconvdata/testdata/CP774: New file.
27615 * iconvdata/testdata/CP774..UTF8: New file.
27616
27617 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27618 END CHARMAP line.
27619 * iconvdata/gen-8bit-gap.sh: Likewise.
27620 * iconvdata/gen-8bit.sh: Likewise.
27621
c1e9e399
UD
27622 * locale/iso-639.def: Add ary entry.
27623
24c55fb3 27624 [BZ #11258]
96b4b1b0
UD
27625 * locale/C-translit.h.in: Add U20A1 transliteration.
27626
bdc2f971
KB
27627 [BZ #12178]
27628 * locale/iso-639.def: Add wae entry.
27629 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27630
2952b117
UD
27631 [BZ #12545]
27632 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27633 for n.
27634
2a81eaa5
UD
27635 [BZ #12711]
27636 * locale/C-translit.h.in: Add entry for U20B9.
27637 Patch by pravin.d.s@gmail.com.
27638
28377d1b
UD
276392011-05-08 Ulrich Drepper <drepper@gmail.com>
27640
7fb90fb8
UD
27641 [BZ #12713]
27642 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27643 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
27644 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27645 in rtld. Use *stat64.
7fb90fb8 27646 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 27647 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 27648 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
27649 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27650 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27651 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27652 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27653 __fstatat64 macros.
7fb90fb8
UD
27654 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27655 * dirent/rewinddir.c: Add libc_hidden_def.
27656 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 27657 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 27658
28377d1b
UD
27659 * include/dirent.h (__alloc_dir): Add flags parameter.
27660 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27661 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27662 __alloc_dir.
27663 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27664 from fdopendir if O_CLOEXEC is already set.
27665
66bdbaa4
AM
276662011-03-15 Alan Modra <amodra@gmail.com>
27667
27668 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27669 l_tls_firstbyte_offset non-zero. Save padding offset in
27670 l_tls_firstbyte_offset for later use.
27671 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27672 freeing static tls block.
27673
95721191
JN
276742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27675
27676 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27677 where #ifdef was intended. The intent is to prevent ARG_MAX from
27678 being defined by the kernel headers.
27679
f87dfb1f
UD
276802011-05-07 Ulrich Drepper <drepper@gmail.com>
27681
27682 [BZ #12734]
27683 * resolv/resolv.h: Define RES_NOTLDQUERY.
27684 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27685 no-tld-query and set RES_NOTLDQUERY.
27686 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27687 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27688 modern BIND to search name as TLD unless forbidden.
27689
47c3cd7a
UD
276902011-05-07 Petr Baudis <pasky@suse.cz>
27691 Ulrich Drepper <drepper@gmail.com>
27692
27693 [BZ #12393]
27694 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27695 (is_trusted_path): ...to here.
c1e9ea35 27696 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 27697 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 27698 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 27699
8a35c912
PP
277002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27701
27702 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27703 __BEGIN/__END_DECLS.
27704
acd41f47
UD
277052011-05-06 Ulrich Drepper <drepper@gmail.com>
27706
27707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27708 NSS_STATUS_NOTFOUND if no record was found.
27709
597df647
AS
277102011-05-05 Andreas Schwab <schwab@redhat.com>
27711
27712 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27713 (headers-not-in-tirpc): Remove rpc/netdb.h
27714 * resolv/netdb.h: Revert last change.
27715
b9af1301
PP
277162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27717
27718 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27719 circular dependency between libgcc.a and libc.a.
27720
4e34d5f5
AS
277212011-05-05 Andreas Schwab <schwab@redhat.com>
27722
27723 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27724 * nis/Makefile: Don't install rpcsvc/*.
27725 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27726 instead of <rpc/types.h>.
27727 (MAXHOSTNAMELEN): Define.
27728
00ee369c
AS
277292011-05-03 Andreas Schwab <schwab@redhat.com>
27730
27731 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27732
0b592a30
MB
277332011-04-28 Maciej Babinski <mbabinski@google.com>
27734
27735 [BZ #12714]
27736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27737 gethostbyname4_r when IPv6 results are possible.
27738
6e04cbbe
UD
277392011-05-02 Ulrich Drepper <drepper@gmail.com>
27740
27741 [BZ #12723]
27742 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27743 _PC_PIPE_BUF handling.
27744
e4ecafe0
BH
277452011-04-30 Bruno Haible <bruno@clisp.org>
27746
27747 [BZ #12717]
27748 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27749 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27750 to 'int'.
27751 * inet/getnameinfo.c (getnameinfo): Likewise.
27752
125ee683
UD
277532011-04-29 Ulrich Drepper <drepper@gmail.com>
27754
27755 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27756 to groups setting in database lookup.
27757 * nss/nsswitch.conf: Add initgroups entry.
27758
b722481a
EB
277592011-04-22 Ulrich Drepper <drepper@gmail.com>
27760
27761 [BZ #12685]
27762 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27763 mode string.
27764 Patch by Eric Blake <eblake@redhat.com>.
27765
4df46dbd
L
277662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27767
27768 * sunrpc/Makefile (need-export-routines): Add svc_run.
27769 (routines): Remove svc_run.
27770 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27771 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27772 * sunrpc/svc_run.c (svc_run): Likewise.
27773 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27774
e84142d2
UD
277752011-04-21 Ulrich Drepper <drepper@gmail.com>
27776
27777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27778 problem in reallocation in last patch.
27779
877175d8
UD
277802011-04-20 Ulrich Drepper <drepper@gmail.com>
27781
27782 * sunrpc/Makefile: Move inclusion of Rules.
27783
ab8eed78
UD
277842011-04-19 Ulrich Drepper <drepper@gmail.com>
27785
27786 * nss/nss_files/files-initgroups.c: New file.
27787 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27788 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27789 _nss_files_initgroups_dyn.
27790
e3d8f584
RS
277912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27792
27793 * elf/elf.h (R_ARM_IRELATIVE): Define.
27794
af190f45
UD
277952011-04-19 Ulrich Drepper <drepper@gmail.com>
27796
27797 * po/ru.po: Update from translation team.
27798
53cf59ef
UD
277992011-04-17 Ulrich Drepper <drepper@gmail.com>
27800
27801 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27802 dependencies.
27803
4c559bcd
MF
278042011-02-06 Mike Frysinger <vapier@gentoo.org>
27805
27806 [BZ #12653]
27807 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27808 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27810 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27812
4420675c
AS
278132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27814
27815 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27816 differing bytes.
27817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27820
75ea32ab
UD
278212011-04-17 Ulrich Drepper <drepper@gmail.com>
27822
27823 [BZ #12420]
27824 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27825 storing it.
27826 * stdlib/bug-getcontext.c: New file.
27827 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27828
27390476
AK
278292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27830
27831 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27832 instructions into .machine "z9-109".
27833 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27834 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27835
10442705
AK
278362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27837
27838 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27839 between environment variables and auxiliary vector.
27840
7b57bfe5
UD
278412011-04-16 Ulrich Drepper <drepper@gmail.com>
27842
27843 * Makefile: Add rules to build linkobj/libc.so.
27844 * include/libc-symbols.h: Define libc_hidden_nolink.
27845 * include/rpc/auth.h: Mark functions which are to be hidden.
27846 * include/rpc/auth_des.h: Likewise.
27847 * include/rpc/auth_unix.h: Likewise.
27848 * include/rpc/clnt.h: Likewise.
27849 * include/rpc/des_crypt.h: Likewise.
27850 * include/rpc/key_prot.h: Likewise.
27851 * include/rpc/pmap_clnt.h: Likewise.
27852 * include/rpc/pmap_prot.h: Likewise.
27853 * include/rpc/pmap_rmt.h: Likewise.
27854 * include/rpc/rpc_msg.h: Likewise.
27855 * include/rpc/svc.h: Likewise.
27856 * include/rpc/svc_auth.h: Likewise.
27857 * include/rpc/xdr.h: Likewise.
27858 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27859 * nss/Makefile: Likewise.
27860 * sunrpc/Makefile: Don't install headers. Build library with normal
27861 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27862 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27863 for the compat linking library. Remove use of INTDEF/INTUSE.
27864 * sunrpc/auth_none.c: Likewise.
27865 * sunrpc/auth_unix.c: Likewise.
27866 * sunrpc/authdes_prot.c: Likewise.
27867 * sunrpc/authuxprot.c: Likewise.
27868 * sunrpc/clnt_gen.c: Likewise.
27869 * sunrpc/clnt_perr.c: Likewise.
27870 * sunrpc/clnt_raw.c: Likewise.
27871 * sunrpc/clnt_simp.c: Likewise.
27872 * sunrpc/clnt_tcp.c: Likewise.
27873 * sunrpc/clnt_udp.c: Likewise.
27874 * sunrpc/clnt_unix.c: Likewise.
27875 * sunrpc/des_crypt.c: Likewise.
27876 * sunrpc/des_soft.c: Likewise.
27877 * sunrpc/get_myaddr.c: Likewise.
27878 * sunrpc/key_call.c: Likewise.
27879 * sunrpc/key_prot.c: Likewise.
27880 * sunrpc/netname.c: Likewise.
27881 * sunrpc/pm_getmaps.c: Likewise.
27882 * sunrpc/pm_getport.c: Likewise.
27883 * sunrpc/pmap_clnt.c: Likewise.
27884 * sunrpc/pmap_prot.c: Likewise.
27885 * sunrpc/pmap_prot2.c: Likewise.
27886 * sunrpc/pmap_rmt.c: Likewise.
27887 * sunrpc/publickey.c: Likewise.
27888 * sunrpc/rpc_cmsg.c: Likewise.
27889 * sunrpc/rpc_common.c: Likewise.
27890 * sunrpc/rpc_dtable.c: Likewise.
27891 * sunrpc/rpc_prot.c: Likewise.
27892 * sunrpc/rpc_thread.c: Likewise.
27893 * sunrpc/rtime.c: Likewise.
27894 * sunrpc/svc.c: Likewise.
27895 * sunrpc/svc_auth.c: Likewise.
27896 * sunrpc/svc_authux.c: Likewise.
27897 * sunrpc/svc_raw.c: Likewise.
27898 * sunrpc/svc_run.c: Likewise.
27899 * sunrpc/svc_simple.c: Likewise.
27900 * sunrpc/svc_tcp.c: Likewise.
27901 * sunrpc/svc_udp.c: Likewise.
27902 * sunrpc/svc_unix.c: Likewise.
27903 * sunrpc/svcauth_des.c: Likewise.
27904 * sunrpc/xcrypt.c: Likewise.
27905 * sunrpc/xdr.c: Likewise.
27906 * sunrpc/xdr_array.c: Likewise.
27907 * sunrpc/xdr_float.c: Likewise.
27908 * sunrpc/xdr_intXX_t.c: Likewise.
27909 * sunrpc/xdr_mem.c: Likewise.
27910 * sunrpc/xdr_rec.c: Likewise.
27911 * sunrpc/xdr_ref.c: Likewise.
27912 * sunrpc/xdr_sizeof.c: Likewise.
27913 * sunrpc/xdr_stdio.c: Likewise.
27914
e6c61494
UD
279152011-04-10 Ulrich Drepper <drepper@gmail.com>
27916
27917 [BZ #12650]
27918 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27919 * sysdeps/ia64/dl-tls.h: Likewise.
27920 * sysdeps/powerpc/dl-tls.h: Likewise.
27921 * sysdeps/s390/dl-tls.h: Likewise.
27922 * sysdeps/sh/dl-tls.h: Likewise.
27923 * sysdeps/sparc/dl-tls.h: Likewise.
27924 * sysdeps/x86_64/dl-tls.h: Likewise.
27925 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27926
34fe483e
AS
279272011-03-14 Andreas Schwab <schwab@redhat.com>
27928
27929 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27930 rpath element also skip the following colon.
27931 (expand_dynamic_string_token): Add is_path parameter and pass
27932 down to DL_DST_REQUIRED and _dl_dst_substitute.
27933 (decompose_rpath): Call expand_dynamic_string_token with
27934 non-zero is_path. Ignore empty rpaths.
27935 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27936 with zero is_path.
27937
f12a32e6
AS
279382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27939
27940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27941 Make cancelable.
27942
38a7d692
UD
279432011-04-09 Ulrich Drepper <drepper@gmail.com>
27944
27945 [BZ #12655]
27946 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27947 Patch by Filipe David Manana <fdmanana@apache.org>.
27948
e451d22b
AS
279492011-04-07 Andreas Schwab <schwab@redhat.com>
27950
27951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27952 Maintain aligned stack.
27953 (CHECK_RSP): Remove unused macro.
27954
dedc7c7b
UD
279552011-04-03 Ulrich Drepper <drepper@gmail.com>
27956
27957 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27959
94521213
UD
279602011-04-02 Ulrich Drepper <drepper@gmail.com>
27961
27962 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27963
8cb700c0 27964 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27965
0354e355
L
279662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27967
27968 [BZ #12518]
27969 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27970 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27971 * sysdeps/x86_64/memmove.c: New file.
27972 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27973 (memcpy): Renamed to ...
27974 (__new_memcpy): This.
27975 (memcpy): Provide GLIBC_2_14 memcpy.
27976 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27977 (memcpy): Provide GLIBC_2_2_5 memcpy.
27978
8593482f
UD
279792011-04-01 Ulrich Drepper <drepper@gmail.com>
27980
27981 [BZ #12631]
27982 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27983
81a5726b
AS
279842011-03-30 Andreas Schwab <schwab@redhat.com>
27985
27986 * misc/syncfs.c: New file.
27987 * misc/Makefile (routines): Add syncfs.
27988 * posix/unistd.h: Declare syncfs.
27989 * sysdeps/unix/syscalls.list: Add syncfs.
27990
00e5419f
AS
279912011-04-01 Andreas Schwab <schwab@redhat.com>
27992
27993 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27994 open_by_handle_at.
27995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27998 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28000 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28002
748876bf
UD
280032011-04-01 Ulrich Drepper <drepper@gmail.com>
28004
658e451d
UD
28005 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28007 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28009 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28012
748876bf
UD
28013 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28014 sync_file_range.c with -fexceptions.
28015 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28016 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28017 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28018 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28019 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28020 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28022 sync_file_range as cancellation point
28023 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28024 now a wrapper around __call_sync_file_range with cancellation handling.
28025 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28026 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28027 function name to __call_sync_file_range.
28028 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28029 Add call_sync_file_range.
748876bf 28030
6e63d5e1
AS
280312011-04-01 Andreas Schwab <schwab@redhat.com>
28032
28033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28034 bits/timex.h.
6e63d5e1 28035
46998f74
UD
280362011-04-01 Ulrich Drepper <drepper@gmail.com>
28037
4c1423ed
UD
28038 * iconv/iconv.h: Fix typo in comment.
28039 * io/fcntl.h: Likewise.
28040 * libio/stdio.h: Likewise.
28041 * posix/spawn.h: Likewise.
28042 * posix/unistd.h: Likewise.
28043 * stdlib/stdlib.h: Likewise.
28044 * time/time.h: Likewise.
28045 * wcsmbs/wchar.h: Likewise.
28046
158648c0
UD
28047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28048 open_by_handle): Add.
28049 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28050 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28051 Augment a few comments.
28052 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28057 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28058 open_by_handle.
28059
46998f74
UD
28060 * io/fcntl.h (AT_EMPTY_PATH): Define.
28061
83fe108b
UD
280622011-03-30 Ulrich Drepper <drepper@gmail.com>
28063
28064 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28065 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28066 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28067 to...
28068 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28069 * Versions.def: Add GLIBC_2.14.
28070 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28071 Export.
83fe108b 28072
bb242059
UD
280732011-03-22 Ulrich Drepper <drepper@gmail.com>
28074
28075 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28076 round counter.
28077 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28078
c97a1282
L
280792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28080
28081 [BZ #12597]
28082 * string/test-strncmp.c (do_page_test): New function.
28083 (check2): Likewise.
28084 (test_main): Call check2.
28085 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28086
2a115601
UD
280872011-03-20 Ulrich Drepper <drepper@gmail.com>
28088
28089 [BZ #12587]
28090 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28091 Handle cache information in CPU leaf 4.
28092 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28093
8126d904
UD
280942011-03-18 Ulrich Drepper <drepper@gmail.com>
28095
042c49c6 28096 [BZ #12583]
8126d904
UD
28097 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28098 character representation.
28099 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28100
ccfe366e
RA
281012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28102
28103 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28104 END(__isnan) to END(__isnanf) to match function entry point/label
28105 EALIGN(__isnanf,...).
28106
c6e13027
JJ
281072011-03-10 Jakub Jelinek <jakub@redhat.com>
28108
28109 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28110
33f85a3f
UD
281112011-03-10 Ulrich Drepper <drepper@gmail.com>
28112
028478fa
UD
28113 [BZ #12510]
28114 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28115 copy from the symbol referenced in the relocation to initialize the
28116 used variable.
28117 Patch by Piotr Bury <pbury@goahead.com>.
28118 * elf/Makefile: Add rules to build and tst-unique3.
28119 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28120 * elf/tst-unique3.cc: New file.
28121 * elf/tst-unique3.h: New file.
28122 * elf/tst-unique3lib.cc: New file.
28123 * elf/tst-unique3lib2.cc: New file.
28124
33f85a3f
UD
28125 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28126
03592fc7
MF
281272011-03-10 Mike Frysinger <vapier@gentoo.org>
28128
28129 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28130 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28131 to _start.
03592fc7 28132
6a5ee102
UD
281332011-03-06 Ulrich Drepper <drepper@gmail.com>
28134
28135 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28136 to-be-loaded object along a path to loader is ld.so.
28137
7e4ba49c
HJ
281382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28139 Ulrich Drepper <drepper@gmail.com>
28140
28141 * sysdeps/x86_64/memset.S: After aligning destination, code
28142 branches to different locations depending on the value of
28143 misalignment, when multiarch is enabled. Fix this.
28144
281452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28146
28147 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28148 Set _x86_64_preferred_memory_instruction for AMD processsors.
28149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28150 Set bit_Prefer_SSE_for_memop for AMD processors.
28151
13a804de
UD
281522011-03-04 Ulrich Drepper <drepper@gmail.com>
28153
28154 * libio/fmemopen.c (fmemopen): Optimize a bit.
28155
9d25c392
AS
281562011-03-03 Andreas Schwab <schwab@redhat.com>
28157
28158 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28159
a5543c6a
RM
281602011-03-03 Roland McGrath <roland@redhat.com>
28161
28162 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28163
012d35f7
DM
281642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28165
7e4ba49c 28166 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28167 __bzero_ultra1 instead of __memset_ultra1.
28168
4bff6e01
AS
281692011-02-23 Andreas Schwab <schwab@redhat.com>
28170 Ulrich Drepper <drepper@gmail.com>
28171
28172 [BZ #12509]
28173 * include/link.h (struct link_map): Add l_orig_initfini.
28174 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28175 returning unsuccessfully.
28176 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28177 close of a file loaded at startup, restore the original l_initfini
28178 list.
28179 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28180 list, store the pointer.
28181 * elf/Makefile ($(objpfx)noload-mem): New rule.
28182 (noload-ENV): Define.
28183 (tests): Add $(objpfx)noload-mem.
28184 * elf/noload.c: Include <memcheck.h>.
28185 (main): Call mtrace. Close all opened handles.
28186
f2092faf
AS
281872011-02-17 Andreas Schwab <schwab@redhat.com>
28188
28189 [BZ #12454]
28190 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28191 dependencies are missing.
28192
6c8a2e88
ST
281932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28194
f2092faf 28195 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28196 Hurd needs munmap.
28197 * sysdeps/mach/hurd/ifreq.h: New file.
28198
84a42118
PB
281992011-01-27 Petr Baudis <pasky@suse.cz>
28200 Ulrich Drepper <drepper@gmail.com>
28201
071f805e 28202 [BZ 12445]#
84a42118
PB
28203 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28204 to extend_alloca().
28205 * stdio-common/bug23.c: New file.
28206 * stdio-common/Makefile (tests): Add bug23.
28207
e23fe25b
AS
282082010-09-28 Andreas Schwab <schwab@redhat.com>
28209 Ulrich Drepper <drepper@gmail.com>
28210
28211 [BZ #12489]
28212 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28213 before performing relro protection. At old place add assertion
28214 to make sure nothing changed.
28215
d3f02e10
NS
282162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28217 Glauber de Oliveira Costa <glommer@gmail.com>
28218
28219 * elf/elf.h: Add new ARM TLS relocs.
28220
d55fd7a5
RA
282212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28222
28223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28224 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28225 cast from r3.
28226 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28227 'tests' variable.
28228 * sysdeps/wordsize-64/tst-writev.c: New file.
28229
2206397e
RA
282302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28231
28232 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28233 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28234 insns in _dl_start to prevent a TOC reference before relocs are
28235 resolved.
28236
e9433893
UD
282372011-02-15 Ulrich Drepper <drepper@gmail.com>
28238
28239 [BZ #12469]
28240 * Makeconfig: Remove RANLIB definition.
28241 * Makerules: Don't use RANLIB.
28242 * aclocal.m4: Remove ranlib test.
28243 * configure.in: No need to check for ranlib.
28244 * elf/rtld-Rules: Don't use RANLIB.
28245
f75286c6
ST
282462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28247
8e31c82d
ST
28248 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28249 protection macro.
28250 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28251 inclusion protection macro.
28252
f75286c6
ST
28253 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28254 SIGRTMIN and SIGRTMAX and print information in that case only when
28255 SIGRTMIN is defined.
28256
c1d0e639
JJ
282572011-02-11 Jakub Jelinek <jakub@redhat.com>
28258
28259 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28260 arginfo fn returning -1.
28261
28262 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28263 and thousands string is zero terminated.
28264
edf9294e
AS
282652011-02-03 Andreas Schwab <schwab@redhat.com>
28266
28267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28268 sysdeps/unix/sysv/linux/bits/socket.h.
28269
2b7e92df
ST
282702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28271
edf9294e
AS
28272 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28273 (__CPU_COUNT): Remove old macros.
28274 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28275 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28276 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28277 (__sched_cpualloc, __sched_cpufree): Add declarations.
28278
a4c7ea7b
UD
282792011-02-05 Ulrich Drepper <drepper@gmail.com>
28280
28281 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28282 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28283 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28284 (readdhstai): Return value of addhstaiX call.
28285 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28286 (addgrbyX): Return value returned by cache_addgr.
28287 (readdgrbyname): Return value returned by addgrbyX.
28288 (readdgrbygid): Likewise.
28289 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28290 (addpwbyX): Return value returned by cache_addpw.
28291 (readdpwbyname): Return value returned by addhstbyX.
28292 (readdpwbyuid): Likewise.
28293 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28294 (addservbyX): Return value returned by cache_addserv.
28295 (readdservbyname): Return value returned by addservbyX:
28296 (readdservbyport): Likewise.
28297 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28298 (addhstbyX): Return value returned by cache_addhst.
28299 (readdhstbyname): Return value returned by addhstbyX.
28300 (readdhstbyaddr): Likewise.
28301 (readdhstbynamev6): Likewise.
28302 (readdhstbyaddrv6): Likewise.
28303 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28304 (readdinitgroups): Return value returned by addinitgroupsX.
28305 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28306 (prune_cache): Keep track of timeout value of re-added entries.
28307 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28308 * nscd/nscd.h: Adjust prototypes of readd* functions.
28309
a0bf67cc
RM
283102011-02-04 Roland McGrath <roland@redhat.com>
28311
28312 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28313 (nis_stats): Likewise.
28314 * nis/nis_modify.c (nis_modify): Likewise.
28315 * nis/nis_remove.c (nis_remove): Likewise.
28316 * nis/nis_add.c (nis_add): Likewise.
28317
28318 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28319
28320 * posix/fnmatch_loop.c: Add some consts.
28321
28322 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28323
435b95eb
L
283242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28325
28326 [BZ #12460]
28327 * config.make.in (config-cflags-novzeroupper): Define.
28328 * configure.in: Substitute libc_cv_cc_novzeroupper.
28329 * elf/Makefile (AVX-CFLAGS): Define.
28330 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28331 (CFLAGS-tst-auditmod4a.c): Likewise.
28332 (CFLAGS-tst-auditmod4b.c): Likewise.
28333 (CFLAGS-tst-auditmod6b.c): Likewise.
28334 (CFLAGS-tst-auditmod6c.c): Likewise.
28335 (CFLAGS-tst-auditmod7b.c): Likewise.
28336 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28337
8517b15e
UD
283382011-02-02 Ulrich Drepper <drepper@gmail.com>
28339
28340 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28341 function to the callback.
28342 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28343
10a656fe
AS
283442011-02-02 Andreas Schwab <schwab@redhat.com>
28345
28346 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28347 of errno.
28348
968dad0a
UD
283492011-01-19 Ulrich Drepper <drepper@gmail.com>
28350
9f94d2ea 28351 [BZ #11724]
968dad0a
UD
28352 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28353 of constructors.
28354 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28355 of destructors.
28356 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28357
28358 [BZ #11724]
28359 * elf/Makefile: Add rules to build and run new test.
28360 * elf/tst-initorder.c: New file.
28361 * elf/tst-initorder.exp: New file.
28362 * elf/tst-initordera1.c: New file.
28363 * elf/tst-initordera2.c: New file.
28364 * elf/tst-initordera3.c: New file.
28365 * elf/tst-initordera4.c: New file.
28366 * elf/tst-initorderb1.c: New file.
28367 * elf/tst-initorderb2.c: New file.
28368 * elf/tst-order-a1.c: New file.
28369 * elf/tst-order-a2.c: New file.
28370 * elf/tst-order-a3.c: New file.
28371 * elf/tst-order-a4.c: New file.
28372 * elf/tst-order-b1.c: New file.
28373 * elf/tst-order-b2.c: New file.
28374 * elf/tst-order-main.c: New file.
28375 New test case by George Gensure <werkt0@gmail.com>.
28376
86e92359
UD
283772010-10-01 Andreas Schwab <schwab@redhat.com>
28378
28379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28380 decoding ACE if AI_CANONIDN.
28381
5d5732b0
UD
283822011-01-18 Ulrich Drepper <drepper@gmail.com>
28383
28384 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28385
a77e8cbc
UD
283862011-01-17 Ulrich Drepper <drepper@gmail.com>
28387
6392473f
UD
28388 * version.h (RELEASE): Bump for 2.13 release.
28389 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28390
620a0529
UD
28391 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28392
18ba70a5
UD
28393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28394 MADV_NOHUGEPAGE.
32465c3e
UD
28395 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28396 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28397 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28398 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28400 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28401
c0dafcf1
UD
28402 * posix/getconf.c: Update copyright year.
28403 * catgets/gencat.c: Likewise.
28404 * csu/version.c: Likewise.
28405 * debug/catchsegv.sh: Likewise.
28406 * debug/xtrace.sh: Likewise.
28407 * elf/ldconfig.c: Likewise.
28408 * elf/ldd.bash.in: Likewise.
28409 * elf/sprof.c (print_version): Likewise.
28410 * iconv/iconv_prog.c: Likewise.
28411 * iconv/iconvconfig.c: Likewise.
28412 * locale/programs/locale.c: Likewise.
28413 * locale/programs/localedef.c: Likewise.
28414 * malloc/memusage.sh: Likewise.
28415 * malloc/mtrace.pl: Likewise.
28416 * nscd/nscd.c (print_version): Likewise.
28417 * nss/getent.c: Likewise.
28418
a77e8cbc
UD
28419 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28420 PF_CAIF, and PF_ALG.
28421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28422
77e8bddf
AS
284232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28424
1f20b93a
AS
28425 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28426 (modules-names): Use them.
28427 (ifunc-test-modules, ifunc-pie-tests): Define.
28428 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28429 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28430 (test-extras): Likewise.
28431 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28432 $(compile-command.c).
28433 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28434 (all-built-dso): Define.
28435 (check-textrel.out, check-execstack.out): Depend on it.
28436
77e8bddf
AS
28437 * configure.in: Don't override --enable-multi-arch.
28438
bc425b33
UD
284392011-01-15 Ulrich Drepper <drepper@gmail.com>
28440
28441 [BZ #6812]
28442 * nscd/hstcache.c (tryagain): Define.
28443 (cache_addhst): Return tryagain not notfound for temporary errors.
28444 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28445 failed.
28446
794c3ad3
UD
284472011-01-14 Ulrich Drepper <drepper@gmail.com>
28448
70181fdd
UD
28449 [BZ #10563]
28450 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28451 to make the syscall.
28452 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28453
794c3ad3
UD
28454 [BZ #12378]
28455 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28456 and fall back to matching as normal character if the string ends before
28457 the matching ']' is found. This is what POSIX requires.
28458 * posix/testfnm.c: Adjust test result.
28459 * posix/globtest.sh: Adjust test result. Add new test.
28460 * posix/tst-fnmatch.input: Likewise.
28461 * posix/tst-fnmatch2.c: Add new test.
28462
68dc9497
AS
284632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28464
28465 * elf/Makefile (check-execstack): Revert last change. Depend on
28466 check-execstack.h.
28467 (check-execstack.h): New target.
28468 (generated): Add check-execstack.h.
28469 * elf/check-execstack.c: Include "check-execstack.h".
28470 (main): Revert last change.
28471 (handle_file): Return zero if GNU_STACK is absent and
28472 DEFAULT_STACK_PERMS doesn't include PF_X.
28473
451f001b
UD
284742011-01-13 Ulrich Drepper <drepper@gmail.com>
28475
cfa28e56
UD
28476 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28477 in child fails because the descriptor is already closed.
8cf8ce17
UD
28478 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28479 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28480 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 28481
1086d70d
UD
28482 [BZ #12397]
28483 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28484 syscall.
28485
451f001b
UD
28486 [BZ #10484]
28487 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28488 temporary buffer used to handle multi lookups locally.
a85b5cb4 28489 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 28490
08769175
UD
284912011-01-12 Ulrich Drepper <drepper@gmail.com>
28492
28493 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28494 loader is ld.so.
28495
5e49c52e
UD
284962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28497
28498 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28499 alignment for SSE2.
28500
60522a5f
UD
285012011-01-12 Ulrich Drepper <drepper@gmail.com>
28502
28503 [BZ #12394]
28504 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28505 characters. When rounding increased number of integer digits recompute
28506 number of groups.
28507 * stdio-common/tst-grouping.c: New file.
28508 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28509
f257bbd7
UD
285102011-01-09 Ulrich Drepper <drepper@gmail.com>
28511
28512 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28513 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28514
28515 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28516 void.
28517 * bits/select.h: Likewise.
28518
fa9c15cb
UD
285192011-01-08 Ulrich Drepper <drepper@gmail.com>
28520
28521 * po/ja.po: Update from translation team.
28522
16c2895f
DM
285232011-01-04 David S. Miller <davem@sunset.davemloft.net>
28524
28525 [BZ #11155]
28526 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28527 implementation just like for lxstat, fxstatat, et al.
28528
2543fef2
JM
285292010-12-27 Jim Meyering <meyering@redhat.com>
28530
28531 [BZ #12348]
28532 * posix/regexec.c (build_trtable): Return failure indication upon
28533 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28534
98727dbe
UD
285352010-12-25 Ulrich Drepper <drepper@gmail.com>
28536
5bd6dc5c
UD
28537 [BZ #12201]
28538 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28539 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28540 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28542
97983464
UD
28543 [BZ #12207]
28544 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28545
98727dbe
UD
28546 [BZ #12204]
28547 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28548 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28549
4a531bb0
L
285502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28551
28552 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28553 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28554 script has SORT_BY_INIT_PRIORITY.
28555 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28556 NO_CTORS_DTORS_SECTIONS is defined.
28557 * elf/soinit.c: Likewise.
28558 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28559 NO_CTORS_DTORS_SECTIONS is defined.
28560 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28561 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28562 * sysdeps/sh/init-first.c: Likewise.
28563 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28564
07eb4b71
UD
285652010-12-24 Ulrich Drepper <drepper@gmail.com>
28566
28567 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28568 always use the slow path.
28569
30950a5f
RA
285702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28571
28572 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28573 similar rule which adds the sysdep directories to the header search in
28574 order to pick up the correct platform stackinfo.h.
28575 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28576 perform test if it is, otherwise return successfully without testing.
28577 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28578 DEFAULT_STACK_PERMS define in stackinfo.h.
28579 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28580 defined in stackinfo.h.
28581 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28582 DEFAULT_STACK_PERMS defined in stackinfo.h.
28583 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28584 * sysdeps/ia64/stackinfo.h: Likewise.
28585 * sysdeps/s390/stackinfo.h: Likewise.
28586 * sysdeps/sh/stackinfo.h: Likewise.
28587 * sysdeps/sparc/stackinfo.h: Likewise.
28588 * sysdeps/x86_64/stackinfo.h: Likewise.
28589 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28590 PF_X for powerpc64. Retain PF_X for powerpc32.
28591
db753e2c
UD
285922010-12-19 Ulrich Drepper <drepper@gmail.com>
28593
14b697f7
UD
28594 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28595 accurately.
db753e2c
UD
28596 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28597 GETDENTS_64BIT_ALIGNED.
28598
28300719
UD
285992010-12-14 Ulrich Drepper <dreper@gmail.com>
28600
14b697f7 28601 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 28602
4f197237
AS
286032010-12-10 Andreas Schwab <schwab@redhat.com>
28604
dbb0472f
AS
28605 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28606 _GNU_SOURCE.
28607
4f197237
AS
28608 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28609 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28610 Remove __restrict.
28611 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28612 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28613
fb88ac72
UD
286142010-12-09 Ulrich Drepper <drepper@gmail.com>
28615
28616 [BZ #11655]
28617 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28618 are initialized.
28619
42acbb92
JJ
286202010-12-09 Jakub Jelinek <jakub@redhat.com>
28621
28622 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28623
c038d98d
UD
286242010-12-03 Ulrich Drepper <drepper@gmail.com>
28625
28626 * po/it.po: Update from translation team.
28627
3a4a2499
L
286282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28629
28630 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28631 unused codes.
28632
1e24cf6e
UD
286332010-11-30 Ulrich Drepper <drepper@gmail.com>
28634
28635 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28636
a7690819
AS
286372010-11-24 Andreas Schwab <schwab@redhat.com>
28638
28639 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28640 specially.
28641 (gaih_getanswer_slice): Likewise.
28642
3bf8d1b1
JJ
286432010-10-20 Jakub Jelinek <jakub@redhat.com>
28644
28645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28646
6db52fbb
PB
286472010-05-31 Petr Baudis <pasky@suse.cz>
28648
28649 [BZ #11149]
28650 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28651 silently even in the chroot mode.
28652
eaca7569
UD
286532010-11-22 Ulrich Drepper <drepper@gmail.com>
28654
28655 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28656 last patch a bit. Pretty printing
28657
3056dcdb
UD
286582010-05-31 Petr Baudis <pasky@suse.cz>
28659
28660 [BZ #10085]
28661 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28662 initialization of skip_initgroups_dyn.
28663
cf7c9078
UD
286642010-11-19 Ulrich Drepper <drepper@gmail.com>
28665
28666 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28668
a1fb5e3e
UD
286692010-11-16 Ulrich Drepper <drepper@gmail.com>
28670
28671 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28672
3540d66b
AS
286732010-11-11 Andreas Schwab <schwab@redhat.com>
28674
28675 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28676 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28677 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28678 ($(objpfx)tst-fnmatch-mem): New rule.
28679 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28680 * posix/tst-fnmatch.c (main): Call mtrace.
28681
13b69574
L
286822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28683
28684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28685 Support Intel processor model 6 and model 0x2c.
28686
da93d214
LM
286872010-11-10 Luis Machado <luisgpm@br.ibm.com>
28688
28689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28690 signed comparison.
28691
8ca52c6e
L
286922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28693
28694 [BZ #12205]
28695 * string/test-strncasecmp.c (check_result): New function.
28696 (do_one_test): Use it.
28697 (check1): New function.
28698 (test_main): Use it.
28699 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28700 Support strcasecmp and strncasecmp.
28701
69da074d
UD
287022010-11-08 Ulrich Drepper <drepper@gmail.com>
28703
28704 [BZ #12194]
28705 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28706 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28707
ff02d528
L
287082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28709
28710 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28711 IFUNC support.
28712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28713 memset-x86-64.
28714 * sysdeps/x86_64/multiarch/bzero.S: New file.
28715 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28716 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28717 * sysdeps/x86_64/multiarch/memset.S: New file.
28718 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28720 Set bit_Prefer_SSE_for_memop for Intel processors.
28721 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28722 Define.
28723 (index_Prefer_SSE_for_memop): Define.
28724 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28725
344d0b54
LM
287262010-11-04 Luis Machado <luisgpm@br.ibm.com>
28727
28728 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28729 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28730
c0dde15b
UD
287312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28732
28733 [BZ #12191]
28734 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28735 (__x86_64_raw_data_cache_size_half): Likewise.
28736 (__x86_64_raw_shared_cache_size): Likewise.
28737 (__x86_64_raw_shared_cache_size_half): Likewise.
28738
28739 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28740 (__x86_64_raw_data_cache_size_half): Likewise.
28741 (__x86_64_raw_shared_cache_size): Likewise.
28742 (__x86_64_raw_shared_cache_size_half): Likewise.
28743 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28744 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28745 and __x86_64_raw_shared_cache_size_half. Round
28746 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28747 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28748 to multiple of 256 bytes.
28749
0e516e0e
MS
287502010-11-03 Ulrich Drepper <drepper@gmail.com>
28751
28752 [BZ #12167]
28753 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28754 of inacessible symlinks. Verify result of symlink before returning it.
28755 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28756 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28757
0e012e87
ER
287582010-10-28 Erich Ritz <erichritz@gmail.com>
28759
28760 * math/math.h (isinf): Fix typo in comment.
28761
de0ff7bc
UD
287622010-11-01 Ulrich Drepper <drepper@gmail.com>
28763
28764 * po/da.po: Update from translation team.
28765
fa41c84d
UD
287662010-10-26 Ulrich Drepper <drepper@gmail.com>
28767
28768 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28769 is added to the list.
28770
f0967738
AK
287712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28772 Ulrich Drepper <drepper@gmail.com>
28773
28774 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28775 the global list here. Move code to...
28776 (_dl_add_to_namespace_list): ...here. New function.
28777 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28778 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28779 * elf/dl-load.c (lose): Don't remove the element from the list.
28780 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28781 (_dl_map_object): Likewise.
28782
287832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
28784
28785 [BZ #12159]
28786 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28787 into all bytes of SSE register.
28788 Patch by Richard Li <richardpku@gmail.com>.
28789
f0967738 287902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
28791
28792 [BZ #12140]
28793 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28794 perturbing.
28795
d0b9e94f
MB
287962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28797
28798 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28799 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28801 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28803 submachine.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28805
8e9f92e9
AS
288062010-10-22 Andreas Schwab <schwab@redhat.com>
28807
28808 * include/dlfcn.h (__RTLD_SECURE): Define.
28809 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28810 mode & __RTLD_SECURE instead.
28811 (open_path): Rename preloaded parameter to secure.
28812 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28813 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28814 * elf/dl-deps.c (openaux): Likewise.
28815 * elf/rtld.c (struct map_args): Remove is_preloaded.
28816 (map_doit): Don't use it.
28817 (dl_main): Likewise.
28818 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28819 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28820
bc96fbda
AS
288212010-09-09 Andreas Schwab <schwab@redhat.com>
28822
28823 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28824 (sysd-rules-targets): Remove duplicates.
28825 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28826 rtld-%.$o dependency.
28827
22cd1c9b
AS
288282010-10-18 Andreas Schwab <schwab@redhat.com>
28829
28830 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28831 _dl_map_object do it.
28832
18edac48
UD
288332010-10-19 Ulrich Drepper <drepper@gmail.com>
28834
28835 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28836 fast fma builtins, define the macros in the C99 standard.
28837 (FP_FAST_FMAF): Likewise.
28838 (FP_FAST_FMAL): Likewise.
28839 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28840
28841 * bits/mathdef.h: Update copyright year.
28842 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28843
d2050124
MM
288442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28845
28846 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28847 builtins, define the macros in the C99 standard.
28848 (FP_FAST_FMAF): Likewise.
28849 (FP_FAST_FMAL): Likewise.
28850 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28851 multiply/add.
28852 (FP_FAST_FMAF): Likewise.
28853
475facd1
JJ
288542010-10-15 Jakub Jelinek <jakub@redhat.com>
28855
28856 [BZ #3268]
28857 * math/libm-test.inc (fma_test): Some new testcases.
28858 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28859 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28860 y and infinite z. Do multiplication by C already in long double.
28861 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28863 y and infinite z. Do bitwise or of inexact bit into u.d.
28864 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28865 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28866 * sysdeps/i386/fpu/s_fma.S: Removed.
28867 * sysdeps/i386/fpu/s_fmal.S: Removed.
28868
7c08a05c
JJ
288692010-10-16 Jakub Jelinek <jakub@redhat.com>
28870
28871 [BZ #3268]
28872 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28874 computation is not scheduled after fetestexcept. Fix value
28875 of minimum denormal long double.
28876
f3f7372d
JJ
288772010-10-14 Jakub Jelinek <jakub@redhat.com>
28878
28879 [BZ #3268]
28880 * math/libm-test.inc (fma_test): Add some more tests.
28881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28882 correctly.
28883
14d43591
AS
288842010-10-15 Andreas Schwab <schwab@redhat.com>
28885
28886 * scripts/data/localplt-s390-linux-gnu.data: New file.
28887 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28888
5e908464
JJ
288892010-10-13 Jakub Jelinek <jakub@redhat.com>
28890
28891 [BZ #3268]
28892 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28893 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28894 instead of dbl-64.
28895 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28896 inlines.
28897 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28899 if one of x and y is very large and the other is subnormal.
28900 * sysdeps/s390/fpu/s_fmaf.c: New file.
28901 * sysdeps/s390/fpu/s_fma.c: New file.
28902 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28903 * sysdeps/powerpc/fpu/s_fma.S: New file.
28904 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28905 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28906 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28907
289082010-10-12 Jakub Jelinek <jakub@redhat.com>
28909
28910 [BZ #3268]
28911 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28912 fma tests.
28913 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28914 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28915 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28916 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28917 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28918 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28920
b833d51f
UD
289212010-10-12 Ulrich Drepper <drepper@redhat.com>
28922
28923 [BZ #12078]
28924 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28925 * posix/bug-regex31.input: Add test case.
28926
1751705d
UD
289272010-10-11 Ulrich Drepper <drepper@gmail.com>
28928
e9b9cbf5
UD
28929 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28930 * posix/bug-regex31.input: New file.
28931
28932 [BZ #12078]
28933 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28934 (parse_sub_exp): Fix last change, use postorder.
28935
ef06edbe
UD
28936 * posix/bug-regex31.c: New file.
28937 * posix/Makefile: Add rules to build and run bug-regex31.
28938
a129c80d
UD
28939 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28940
28941 [BZ #12078]
28942 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28943
b76b818e
UD
28944 [BZ #12108]
28945 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28946 to have entries in sys_siglist.
28947
1751705d
UD
28948 [BZ #12093]
28949 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28950 be NULL.
28951
9ff8d36f
JJ
289522010-10-07 Jakub Jelinek <jakub@redhat.com>
28953
28954 [BZ #3268]
28955 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28956 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28957 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28958 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28959 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28960 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28961 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28962 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28963 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28964 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28965 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28966 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28967 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28968 * math/ftestexcept.c (fetestexcept): Likewise.
28969 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28970 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28971 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28972 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28973 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28974 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28976
af325969
UD
289772010-10-11 Ulrich Drepper <drepper@gmail.com>
28978
c579b202 28979 [BZ #12107]
af325969
UD
28980 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28981 newline.
28982
67a67b95
UD
289832010-10-06 Ulrich Drepper <drepper@gmail.com>
28984
28985 * string/bug-strstr1.c: New file.
28986 * string/Makefile: Add rules to build and run bug-strstr1.
28987
5fb308bc
EB
289882010-10-05 Eric Blake <eblake@redhat.com>
28989
28990 [BZ #12092]
28991 * string/str-two-way.h (two_way_long_needle): Always clear memory
28992 when skipping input due to the shift table.
28993
45db99c7
UD
289942010-10-03 Ulrich Drepper <drepper@gmail.com>
28995
3b111893
UD
28996 [BZ #12005]
28997 * malloc/mcheck.c: Handle large requests.
28998
45db99c7
UD
28999 [BZ #12077]
29000 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29001 for strncmp and strncasecmp.
29002 * string/stratcliff.c: Add tests for strcmp and strncmp.
29003 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29004
cf7a1eb8
NI
290052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29006
29007 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29008 __set_fpscr.
29009
6484ba5e
AJ
290102010-09-30 Andreas Jaeger <aj@suse.de>
29011
29012 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29013 (CGROUP_SUPER_MAGIC): Define.
29014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29015 Handle btrfs and cgroup file systems.
29016 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29017 Likewise.
29018
91c42559
LM
290192010-09-27 Luis Machado <luisgpm@br.ibm.com>
29020
29021 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29022 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29023
87a97932
AK
290242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29025
29026 [BZ #12067]
29027 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29028 trying to locate the ELF header.
29029
c21cc9bc
AS
290302010-09-27 Andreas Schwab <schwab@redhat.com>
29031
29032 [BZ #11611]
29033 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29034 Mask out sign-bit copies when constructing f_fsid.
29035
315970f6
PB
290362010-09-24 Petr Baudis <pasky@suse.cz>
29037
29038 * debug/stack_chk_fail_local.c: Add missing licence exception.
29039 * debug/warning-nop.c: Likewise.
29040
1ac7a2c7
JM
290412010-09-15 Joseph Myers <joseph@codesourcery.com>
29042
29043 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29044 implementing getdents64 using getdents syscall, set d_type if
29045 __ASSUME_GETDENTS32_D_TYPE.
29046
56801c50
AS
290472010-09-16 Andreas Schwab <schwab@redhat.com>
29048
29049 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29050 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29051
dda51327
UD
290522010-09-21 Ulrich Drepper <drepper@redhat.com>
29053
29054 [BZ #12037]
29055 * posix/unistd.h: Undo change of feature selection for ftruncate from
29056 2010-01-11.
29057
8ffcee4a
UD
290582010-09-20 Ulrich Drepper <drepper@redhat.com>
29059
a545ecd9 29060 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29061 detection.
29062
e24f0a8b
AS
290632010-09-20 Andreas Schwab <schwab@redhat.com>
29064
29065 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29066 fanotify_mark.
29067 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29068
7291c56f
AS
290692010-09-14 Andreas Schwab <schwab@redhat.com>
29070
29071 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29072 variables after CHECK_SP call.
29073 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29074
bc5fb037
AS
290752010-09-13 Andreas Schwab <schwab@redhat.com>
29076 Ulrich Drepper <drepper@redhat.com>
29077
29078 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29079 re-relocationg ld.so.
29080 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29081 _dl_init_paths call.
29082 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29083 here anymore.
29084
e66e7419
UD
290852010-09-14 Ulrich Drepper <drepper@redhat.com>
29086
29087 * resolv/res_init.c (__res_vinit): Count the default server we added.
29088
c044aa75
CLT
290892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29090 Ulrich Drepper <drepper@redhat.com>
29091
29092 [BZ #11968]
29093 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29094 (____longjmp_chk): Use %ebx for saving value across system call.
29095 Add unwind info.
29096
32cf4069
AS
290972010-09-06 Andreas Schwab <schwab@redhat.com>
29098
29099 * manual/Makefile: Don't mix pattern rules with normal rules.
29100
817328ee
AS
291012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29102
29103 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29104 operation.
29105 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29106 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29107 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29108 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29109 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29110 Likewise.
29111
29fddf61
UD
291122010-09-04 Ulrich Drepper <drepper@redhat.com>
29113
29114 [BZ #11979]
29115 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29116 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29117
0959ffc9
UD
291182010-09-02 Ulrich Drepper <drepper@redhat.com>
29119
29120 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29121 * sysdeps/x86_64/addmul_1.S: Likewise.
29122 * sysdeps/x86_64/lshift.S: Likewise.
29123 * sysdeps/x86_64/mul_1.S: Likewise.
29124 * sysdeps/x86_64/rshift.S: Likewise.
29125 * sysdeps/x86_64/sub_n.S: Likewise.
29126 * sysdeps/x86_64/submul_1.S: Likewise.
29127
ece29840
ST
291282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29129
0959ffc9
UD
29130 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29131 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29132 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29133 * bits/sched.h [__need_schedparam]
ece29840 29134 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29135 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29136 (__defined_schedparam): Define to 1.
ece29840
ST
29137 (__sched_param): New structure, identical to sched_param.
29138 (__need_schedparam): Undefine.
29139
e53a31fe
MF
291402010-08-31 Mike Frysinger <vapier@gentoo.org>
29141
fdc0c10d
MF
29142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29143 (epoll_create1): Declare.
29144
e53a31fe
MF
29145 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29146
a726d796
AS
291472010-08-31 Andreas Schwab <schwab@redhat.com>
29148
29149 [BZ #7066]
29150 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29151 shifting retval into place.
29152
2f3e3dc7
UD
291532010-09-01 Ulrich Drepper <drepper@redhat.com>
29154
f2933da9
UD
29155 * nis/rpcsvc/nis.h: Update copyright notice.
29156 * nis/rpcsvc/nis.x: Likewise.
29157 * nis/rpcsvc/nis_callback.h: Likewise.
29158 * nis/rpcsvc/nis_callback.x: Likewise.
29159 * nis/rpcsvc/nis_object.x: Likewise.
29160 * nis/rpcsvc/nis_tags.h: Likewise.
29161 * nis/rpcsvc/yp.h: Likewise.
29162 * nis/rpcsvc/yp.x: Likewise.
29163 * nis/rpcsvc/ypupd.h: Likewise.
29164 * nis/yp_xdr.c: Likewise.
29165 * nis/ypupdate_xdr.c: Likewise.
29166
2f3e3dc7
UD
29167 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29168 mainly the body of pmap_getport. Add parameters to specify timeouts.
29169 (pmap_getport): Use __libc_rpc_getport.
29170 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29171 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29172 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29173
f3dcc2f9
AS
291742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29175
29176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29177 fanotify_mark.
29178
6d34eb5b
RM
291792010-08-27 Roland McGrath <roland@redhat.com>
29180
29181 * sysdeps/i386/i686/multiarch/Makefile
29182 (CFLAGS-varshift.c): New variable.
29183
9ea3de11
UD
291842010-08-27 Ulrich Drepper <drepper@redhat.com>
29185
c96d23fc
UD
29186 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29187 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29188
9ea3de11
UD
29189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29190
29191 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29192
623aac7f
L
291932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 * sysdeps/x86_64/strlen.S: Unroll the loop.
29196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29197 strlen-sse2 strlen-sse2-bsf.
29198 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29199 __strlen_no_bsf if bit_Slow_BSF is set.
29200 (__strlen_sse42): Removed.
29201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29202 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29203
8b2b7715
RM
292042010-08-25 Roland McGrath <roland@redhat.com>
29205
29206 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29207 * sysdeps/x86_64/multiarch/varshift.c: New file.
29208 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29209 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29210 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29211 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29212
e73015f2
L
292132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29214
29215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29216 strlen-sse2 strlen-sse2-bsf.
29217 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29218 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29219 (__strlen_sse2): Removed.
29220 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29221 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29223 bit_Slow_BSF for Atom.
29224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29225 (index_Slow_BSF): Define.
29226 (HAS_SLOW_BSF): Define.
29227
df24a73e
UD
292282010-08-25 Ulrich Drepper <drepper@redhat.com>
29229
29230 [BZ #10851]
29231 * resolv/res_init.c (__res_vinit): When no server address at all
29232 is given default to loopback.
29233
f2ac4868
RM
292342010-08-24 Roland McGrath <roland@redhat.com>
29235
09055553
RM
29236 * configure.in: Remove config-name.h generation.
29237 * configure: Regenerated.
29238 * config-name.in: File removed.
29239 * scripts/config-uname.sh: New file.
29240 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29241 ($(objdir)config-name.h): New target.
29242
f2ac4868
RM
29243 * sunrpc/rpc_parse.h: Avoid nested comment.
29244
73f27d5e
RH
292452010-08-24 Richard Henderson <rth@redhat.com>
29246 Ulrich Drepper <drepper@redhat.com>
29247 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29251 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29252 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29253 _mm_alignr_epi8 with _mm_loadu_si128.
29254 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29255 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29256 (__m128i_shift_right): Removed.
29257 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29258 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29259 * sysdeps/x86_64/multiarch/varshift.h: New file.
29260 * sysdeps/x86_64/multiarch/varshift.S: New file.
29261
84b9230c
MF
292622010-08-21 Mike Frysinger <vapier@gentoo.org>
29263
29264 * configure.in: Move assembler checks to before sysdep dir checking.
29265
9bbd0ddc
PB
292662010-08-20 Petr Baudis <pasky@suse.cz>
29267
29268 * LICENSES: Sync the sunrpc license.
29269
9da4bb31
UD
292702010-08-19 Ulrich Drepper <drepper@redhat.com>
29271
a7ab6ec8
UD
29272 * sunrpc/auth_des.c: Update copyright notice once again.
29273 * sunrpc/auth_none.c: Likewise.
29274 * sunrpc/auth_unix.c: Likewise.
29275 * sunrpc/authdes_prot.c: Likewise.
29276 * sunrpc/authuxprot.c: Likewise.
29277 * sunrpc/bindrsvprt.c: Likewise.
29278 * sunrpc/clnt_gen.c: Likewise.
29279 * sunrpc/clnt_perr.c: Likewise.
29280 * sunrpc/clnt_raw.c: Likewise.
29281 * sunrpc/clnt_simp.c: Likewise.
29282 * sunrpc/clnt_tcp.c: Likewise.
29283 * sunrpc/clnt_udp.c: Likewise.
29284 * sunrpc/clnt_unix.c: Likewise.
29285 * sunrpc/des_crypt.c: Likewise.
29286 * sunrpc/des_soft.c: Likewise.
29287 * sunrpc/get_myaddr.c: Likewise.
29288 * sunrpc/getrpcport.c: Likewise.
29289 * sunrpc/key_call.c: Likewise.
29290 * sunrpc/key_prot.c: Likewise.
29291 * sunrpc/openchild.c: Likewise.
29292 * sunrpc/pm_getmaps.c: Likewise.
29293 * sunrpc/pm_getport.c: Likewise.
29294 * sunrpc/pmap_clnt.c: Likewise.
29295 * sunrpc/pmap_prot.c: Likewise.
29296 * sunrpc/pmap_prot2.c: Likewise.
29297 * sunrpc/pmap_rmt.c: Likewise.
29298 * sunrpc/rpc/auth.h: Likewise.
29299 * sunrpc/rpc/auth_unix.h: Likewise.
29300 * sunrpc/rpc/clnt.h: Likewise.
29301 * sunrpc/rpc/des_crypt.h: Likewise.
29302 * sunrpc/rpc/key_prot.h: Likewise.
29303 * sunrpc/rpc/netdb.h: Likewise.
29304 * sunrpc/rpc/pmap_clnt.h: Likewise.
29305 * sunrpc/rpc/pmap_prot.h: Likewise.
29306 * sunrpc/rpc/pmap_rmt.h: Likewise.
29307 * sunrpc/rpc/rpc.h: Likewise.
29308 * sunrpc/rpc/rpc_des.h: Likewise.
29309 * sunrpc/rpc/rpc_msg.h: Likewise.
29310 * sunrpc/rpc/svc.h: Likewise.
29311 * sunrpc/rpc/svc_auth.h: Likewise.
29312 * sunrpc/rpc/types.h: Likewise.
29313 * sunrpc/rpc/xdr.h: Likewise.
29314 * sunrpc/rpc_clntout.c: Likewise.
29315 * sunrpc/rpc_cmsg.c: Likewise.
29316 * sunrpc/rpc_common.c: Likewise.
29317 * sunrpc/rpc_cout.c: Likewise.
29318 * sunrpc/rpc_dtable.c: Likewise.
29319 * sunrpc/rpc_hout.c: Likewise.
29320 * sunrpc/rpc_main.c: Likewise.
29321 * sunrpc/rpc_parse.c: Likewise.
29322 * sunrpc/rpc_parse.h: Likewise.
29323 * sunrpc/rpc_prot.c: Likewise.
29324 * sunrpc/rpc_sample.c: Likewise.
29325 * sunrpc/rpc_scan.c: Likewise.
29326 * sunrpc/rpc_scan.h: Likewise.
29327 * sunrpc/rpc_svcout.c: Likewise.
29328 * sunrpc/rpc_tblout.c: Likewise.
29329 * sunrpc/rpc_util.c: Likewise.
29330 * sunrpc/rpc_util.h: Likewise.
29331 * sunrpc/rpcinfo.c: Likewise.
29332 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29333 * sunrpc/rpcsvc/key_prot.x: Likewise.
29334 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29335 * sunrpc/rpcsvc/mount.x: Likewise.
29336 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29337 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29338 * sunrpc/rpcsvc/rex.x: Likewise.
29339 * sunrpc/rpcsvc/rstat.x: Likewise.
29340 * sunrpc/rpcsvc/rusers.x: Likewise.
29341 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29342 * sunrpc/rpcsvc/spray.x: Likewise.
29343 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29344 * sunrpc/rtime.c: Likewise.
29345 * sunrpc/svc.c: Likewise.
29346 * sunrpc/svc_auth.c: Likewise.
29347 * sunrpc/svc_authux.c: Likewise.
29348 * sunrpc/svc_raw.c: Likewise.
29349 * sunrpc/svc_run.c: Likewise.
29350 * sunrpc/svc_simple.c: Likewise.
29351 * sunrpc/svc_tcp.c: Likewise.
29352 * sunrpc/svc_udp.c: Likewise.
29353 * sunrpc/svc_unix.c: Likewise.
29354 * sunrpc/svcauth_des.c: Likewise.
29355 * sunrpc/xcrypt.c: Likewise.
29356 * sunrpc/xdr.c: Likewise.
29357 * sunrpc/xdr_array.c: Likewise.
29358 * sunrpc/xdr_float.c: Likewise.
29359 * sunrpc/xdr_mem.c: Likewise.
29360 * sunrpc/xdr_rec.c: Likewise.
29361 * sunrpc/xdr_ref.c: Likewise.
29362 * sunrpc/xdr_sizeof.c: Likewise.
29363 * sunrpc/xdr_stdio.c: Likewise.
29364
9da4bb31
UD
29365 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29366 handling.
29367
bdaa77bc
AS
293682010-08-19 Andreas Schwab <schwab@redhat.com>
29369
29370 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29371
fe2f79db
LM
293722010-08-19 Luis Machado <luisgpm@br.ibm.com>
29373
29374 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29375 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29376 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29377 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29378 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29379 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29380 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29381 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29382 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29383 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29384 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29385 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29386 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29387 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29388
b9b42ee0
AB
293892010-07-26 Anton Blanchard <anton@samba.org>
29390
29391 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29392 * malloc/arena.c (heap_trim): Likewise.
29393
1c06ba31
UD
293942010-08-16 Ulrich Drepper <drepper@redhat.com>
29395
29396 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29397 here. Not...
29398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29399 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29400
f8392f40
L
294012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29402
29403 * sysdeps/i386/elf/Makefile: New file.
29404
3162f12e
AS
294052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29406
29407 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29408 from fanotify_init.
29409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29411
28c90b2c
UD
294122010-08-15 Ulrich Drepper <drepper@redhat.com>
29413
29414 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29415 of strncasecmp_l.
1feccb6c 29416 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29417
ca6bb004
UD
294182010-08-14 Ulrich Drepper <drepper@redhat.com>
29419
e9f82e0d
UD
29420 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29421 strncase_l-nonascii.
29422 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29423 Add strncase_l-ssse3.
29424 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29425 * sysdeps/x86_64/strcmp.S: Likewise.
29426 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29427 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29428 * sysdeps/x86_64/strncase.S: New file.
29429 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29430 * sysdeps/x86_64/strncase_l.S: New file.
29431 * string/Makefile (strop-tests): Add strncasecmp.
29432 * string/test-strncasecmp.c: New file.
29433
29434 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29435 warning.
29436
ca6bb004
UD
29437 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29438 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29439
052fa7b3
AS
294402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29441
29442 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29443
962dba78
UD
294442010-08-12 Ulrich Drepper <drepper@redhat.com>
29445
29446 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29447 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29448 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29449
bebff237
AM
294502010-05-01 Alan Modra <amodra@gmail.com>
29451
29452 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29453 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29454 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29455 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29456 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29457 tidying. Don't tail-call __sigjmp_save for static lib.
29458 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29459 save location.
29460 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29461 (CALL_MCOUNT): Add eh info, and nop after bl.
29462 (TAIL_CALL_SYSCALL_ERROR): New macro.
29463 (PSEUDO_RET): Use it.
29464 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29465 Correct save location of integer regs and cr.
29466 (_dl_profile_resolve): Correct cr save location. Delete nops
29467 after bl when SHARED. Reduce cfi size a little by better
29468 placement of cfi directives.
29469 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29470 make a stack frame. Instead use parm save area as a temp.
29471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29472 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29474 Don't make a stack frame for parent, use parm save area.
29475 Increase child stack frame to 112 bytes. Don't save unused reg,
29476 and adjust reg usage. Set up cfi on error recovery and
29477 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29479 (__makecontext): Add dummy nop after jump to exit.
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29481 Use correct parm save area and cr save, reduce stack frame.
29482 Correct cfi for possible PSEUDO_RET frame setup.
29483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29484 Branch to local label emitted by PSEUDO_RET rather than
29485 __syscall_error.
29486
02637374
AS
294872010-08-12 Andreas Schwab <schwab@redhat.com>
29488
29489 [BZ #11904]
29490 * locale/programs/locale.c (print_assignment): New function.
29491 (show_locale_vars): Use it.
29492
c3e2f19b
UD
294932010-08-11 Ulrich Drepper <drepper@redhat.com>
29494
3cdaa6ad
UD
29495 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29496 field.
29497 (struct statfs64): Likewise.
29498 (_STATFS_F_FLAGS): Define.
29499 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29500 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29501 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29502 (ST_VALID): Define locally.
29503 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29504 __statvfs_getflags, use the provided value.
29505 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29506 __ASSUME_STATFS_F_FLAGS.
29507
754f7da3
UD
29508 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29509
10b3bedc
UD
29510 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29511 Add sys/fanotify.h.
29512 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29513 fanotify_mask for GLIBC_2.13.
29514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29515 fanotify_init and fanotify_mark.
29516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29517 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29518
c08fb0d7
UD
29519 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29520 Add prlimit.
29521 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29522 prlimit64 for GLIBC_2.13.
29523 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29524 prlimit64.
29525 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29526 syscall.
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29528 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29529 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29530 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29532 add prlimit alias.
29533 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29534
15bac72b
UD
29535 [BZ #11903]
29536 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29537 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29538
c3e2f19b
UD
29539 * nss/Makefile: Add rules to build and run tst-nss-test1.
29540 * shlib-versions: Add entry for libnss_test1.
29541 * nss/nss_test1.c: New file.
29542 * nss/tst-nss-test1.c: New file.
29543
29544 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29545 (__nss_configure_lookup): Set appropriate entry in
29546 __nss_configure_lookup to true.
29547 * nss/nsswitch.h: Define enum with indeces of databases in
29548 databases and __nss_database_custom arrays. Declare
29549 __nss_database_custom.
29550 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29551 to avoid using nscd when custom rules are installed.
29552 * nss/getXXbyYY_r.c: Likewise.
29553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29554
29555 * nss/nss_files/files-parse.c: Whitespace fixes.
29556
f15ce4d8
UD
295572010-08-09 Ulrich Drepper <drepper@redhat.com>
29558
29559 [BZ #11883]
29560 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29561 * posix/fnmatch_loop.c: Likewise.
29562
d22e4cc9
AK
295632010-07-17 Andi Kleen <ak@linux.intel.com>
29564
29565 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29566 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29567 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29568 * Versions.def [GLIBC_2.13]: Add.
29569
805bc17d
UD
295702010-08-06 Ulrich Drepper <drepper@redhat.com>
29571
29572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29573 Also fail if tpwd after pwuid call is NULL.
29574
5a42321d
ST
295752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29576
29577 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29578 when converting to ms.
29579
fd3ebeda
ST
295802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29581
29582 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29583 EOPNOTSUPP errors with ENOTTY.
29584 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29585 EOPNOTSUPP errors with ENOTTY.
29586
73507d3a
UD
295872010-07-31 Ulrich Drepper <drepper@redhat.com>
29588
29589 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29590 Add strcasecmp_l-ssse3.
29591 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29592 strcasecmp.
29593 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29594 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29595 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29596
fe36dd02
UD
295972010-07-30 Ulrich Drepper <drepper@redhat.com>
29598
66f6765a
UD
29599 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29600
42e08a54
UD
29601 * string/Makefile (strop-tests): Add strcasecmp.
29602 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29603 strcasecmp_l-nonascii.
29604 (gen-as-const-headers): Add locale-defines.sym.
29605 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29606 * sysdeps/x86_64/strcasecmp.S: New file.
29607 * sysdeps/x86_64/strcasecmp_l.S: New file.
29608 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29609 * sysdeps/x86_64/locale-defines.sym: New file.
29610 * string/test-strcasecmp.c: New file.
29611
fe36dd02
UD
29612 * string/test-strcasestr.c: Test both ends of the range of characters.
29613 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29614
48cbc0d6
RM
296152010-07-29 Roland McGrath <roland@redhat.com>
29616
76e6d6bc 29617 [BZ #11856]
48cbc0d6
RM
29618 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29619
880113d9
UD
296202010-07-27 Ulrich Drepper <drepper@redhat.com>
29621
29622 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29623 for ld.so.
29624
deb9cabb
AS
296252010-07-27 Andreas Schwab <schwab@redhat.com>
29626
29627 * manual/memory.texi (Malloc Tunable Parameters): Document
29628 M_PERTURB.
29629
1c7570ff
RM
296302010-07-26 Roland McGrath <roland@redhat.com>
29631
29632 [BZ #11840]
29633 * configure.in (-fgnu89-inline check): Set and substitute
29634 gnu89_inline, not libc_cv_gnu89_inline.
29635 * configure: Regenerated.
29636 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29637
24fb0f88
UD
296382010-07-26 Ulrich Drepper <drepper@redhat.com>
29639
29640 * string/test-strnlen.c: New file.
29641 * string/Makefile (strop-tests): Add strnlen.
29642 * string/tester.c (test_strnlen): Add a few more test cases.
29643 * string/tst-strlen.c: Better error reporting.
29644
29645 * sysdeps/x86_64/strnlen.S: New file.
29646
8e96b93a
UD
296472010-07-24 Ulrich Drepper <drepper@redhat.com>
29648
29649 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29650 lower-latency instructions.
29651
dbc676d4
UD
296522010-07-23 Ulrich Drepper <drepper@redhat.com>
29653
29654 * string/test-strcasestr.c: New file.
29655 * string/test-strstr.c: New file.
29656 * string/Makefile (strop-tests): Add strstr and strcasestr.
29657 * string/str-two-way.h: Don't undefine MAX.
29658 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29659
f6a31e0e
AS
296602010-07-21 Andreas Schwab <schwab@redhat.com>
29661
29662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29663 strcasestr-nonascii.
29664 (CFLAGS-strcasestr-nonascii.c): Define.
29665 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29666 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29667 Remove unused attribute.
29668
5dbc3b6c
RM
296692010-07-20 Roland McGrath <roland@redhat.com>
29670
29671 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29672 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29673 ld.so.cache was broken. With it, there is no way to disable dsocaps
29674 like LD_HWCAP_MASK can disable hwcaps.
29675
23d101d8
EPM
296762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29677
29678 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29679
cc9f2e47
UD
296802010-07-16 Ulrich Drepper <drepper@redhat.com>
29681
29682 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29683 call in strcasestr.
29684 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29685 __strcasestr_sse42_nonascii.
29686 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29687 strcasestr-nonascii.c.
29688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29689
77c1b069
LM
296902010-06-15 Luis Machado <luisgpm@br.ibm.com>
29691
29692 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29693 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29694 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29696
440566c3
UD
296972010-07-09 Ulrich Drepper <drepper@redhat.com>
29698
29699 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29700 fcntl.
29701
5be9d05d
AS
297022010-07-06 Andreas Schwab <schwab@redhat.com>
29703
c30b7ee2 29704 [BZ #11577]
5be9d05d
AS
29705 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29706 dl_signal_cerror.
29707
8a492a67
UD
297082010-07-06 Ulrich Drepper <drepper@redhat.com>
29709
29710 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29711 _PC_PIPE_BUF using F_GETPIPE_SZ.
29712
713df3d5
RM
297132010-07-05 Roland McGrath <roland@redhat.com>
29714
29715 * manual/arith.texi (Rounding Functions): Fix rint description
29716 implicit in round description.
29717
702e8f14
UD
297182010-07-02 Ulrich Drepper <drepper@redhat.com>
29719
29720 * elf/Makefile: Fix linking for a few tests to make recent linker
29721 happy.
29722
52ed8be9
AS
297232010-06-30 Andreas Schwab <schwab@redhat.com>
29724
29725 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29726 $(common-objpfx)libc_nonshared.a.
29727
f47c9a11
LM
297282010-06-21 Luis Machado <luisgpm@br.ibm.com>
29729
29730 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29731 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29732 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29733 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29734 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29735 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29736 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29737 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29752 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29753 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29754 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29755 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29756 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29757 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29758 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29759 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29760 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29761 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29762 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29763 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29778
6fb8cbcb
L
297792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29780
29781 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29782 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29783 * string/memmove.c (memmove): Renamed to ...
29784 (MEMMOVE): ...this. Default to memmove.
29785 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29786 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29787 (END_CHK): Define.
29788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29789 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29790 mempcpy-ssse3-back memmove-ssse3-back.
29791 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29794 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29795 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29796 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29797 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29798 * sysdeps/x86_64/multiarch/memmove.c: New file.
29799 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29800 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29801 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29802 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29803 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29805 Define.
29806 (index_Fast_Copy_Backward): Define.
29807 (HAS_ARCH_FEATURE): Define.
29808 (HAS_FAST_REP_STRING): Define.
29809 (HAS_FAST_COPY_BACKWARD): Define.
29810
4e733bac 298112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
29812
29813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29814 Restore proper fallback handling.
29815
63c4ed22
UD
298162010-06-19 Ulrich Drepper <drepper@redhat.com>
29817
ac2b484c
UD
29818 [BZ #11701]
29819 * posix/group_member.c (__group_member): Correct checking loop.
29820
63c4ed22
UD
29821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29822 OOM in getpwuid_r correctly. Return error number when the caller
29823 should return, otherwise -1.
29824 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29825 call returning > 0 value.
29826 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29827
765ade4b
AS
298282010-06-07 Andreas Schwab <schwab@redhat.com>
29829
29830 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29831 libc_nonshared.a from targets in modules-names.
29832
80da2e09
KS
298332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29834
29835 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29836 requires it.
29837
158db122
LM
298382010-06-10 Luis Machado <luisgpm@br.ibm.com>
29839
29840 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29841 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29842 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29843 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29844
caa78cf8
AS
298452010-06-02 Andreas Schwab <schwab@redhat.com>
29846
29847 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29848
b2ef2c01
UD
298492010-06-14 Ulrich Drepper <drepper@redhat.com>
29850
29851 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29852 and F_GETPIPE_SZ.
29853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29859
fbd643b6
RM
298602010-06-14 Roland McGrath <roland@redhat.com>
29861
29862 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29863
f32f2869
JJ
298642010-06-07 Jakub Jelinek <jakub@redhat.com>
29865
29866 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29867 __REDIRECT followed by __THROW.
29868 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29869 * posix/getopt.h (getopt): Likewise.
29870
2a50c078
EPM
298712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29872
29873 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29874 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29875 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29876 in AT_FLAGS.
29877 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29878 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29879
eb5ad2eb
LM
298802010-05-28 Luis Machado <luisgpm@br.ibm.com>
29881
29882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29883
3c88fe1e
L
298842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29885
29886 [BZ #11640]
29887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29888 Properly check family and model.
29889
d2f73151
TY
298902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29891
29892 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29893
ebd2e13d
LM
298942010-05-24 Luis Machado <luisgpm@br.ibm.com>
29895
29896 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29897
b32b8b45
UD
298982010-05-21 Ulrich Drepper <drepper@redhat.com>
29899
29900 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29901 symbol reference.
29902
9acbe24d
AS
299032010-05-19 Andreas Schwab <schwab@redhat.com>
29904
29905 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29906 symbol reference.
29907
f0ccf6ea
AS
299082010-05-21 Andreas Schwab <schwab@redhat.com>
29909
3d04ff3a
AS
29910 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29911 and internal_recvmmsg.
29912 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29913 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29914 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29915 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29916
f0ccf6ea
AS
29917 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29918 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29919 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29920
5b08ac57
AS
299212010-05-20 Andreas Schwab <schwab@redhat.com>
29922
29923 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29924
4828935d
LM
299252010-05-17 Luis Machado <luisgpm@br.ibm.com>
29926
29927 POWER7 optimizations.
29928 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29929 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29930
373d545e
UD
299312010-05-19 Ulrich Drepper <drepper@redhat.com>
29932
29933 * version.h: Update for 2.13 development version.
29934
21a2b1ae
AS
299352010-05-12 Andrew Stubbs <ams@codesourcery.com>
29936
29937 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29938 exceptions. Return 0.
29939
3f7dcb2b
RM
299402010-05-07 Roland McGrath <roland@redhat.com>
29941
29942 * elf/ldconfig.c (main): Add a const.
29943
5f24d53a 299442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29945
a160f8d8
UD
29946 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29947 (args_options): Add no-idn option.
29948 (ahosts_keys_int): Add idn_flags to ai_flags.
29949 (parse_option): Handle 'i' option to clear idn_flags.
29950
5f24d53a
UD
29951 * malloc/malloc.c (_int_free): Possible race in the most recently
29952 added check. Only act on the data if no current modification
29953 happened.
265bb1ce
UD
29954
29955See ChangeLog.17 for earlier changes.