]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f16cc3eb
JM
12013-05-19 Joseph Myers <joseph@codesourcery.com>
2
3e694268
JM
3 [BZ #15490]
4 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5 math_force_eval before restoring floating-point envrionment.
6 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8 Likewise.
9 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10 <math_private.h>.
11 (__nearbyintl): Use math_force_eval before restoring
12 floating-point environment.
13 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14
db62a907
JM
15 * math/gen-libm-test.pl (special_functions): Remove.
16 (parse_args): Don't handle TEST_extra. Handle functions with no
17 return value.
18 * math/libm-test.inc (struct test_sincos_data): Replace with
19 struct test_fFF_11_data.
20 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22 (sincos_test_data): Change element type to struct
23 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25 RUN_TEST_LOOP_sincos.
26 * math/README.libm-test: Don't mention special handling of
27 individual functions.
28 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34
f16cc3eb
JM
35 * math/gen-libm-test.pl (get_variable): Remove function.
36 (parse_args): Don't show pointer parameters to call in test
37 names. Use "extra output N" in test names for extra outputs
38 rather than naming variables.
39
3779b5b6
JM
402013-05-18 Joseph Myers <joseph@codesourcery.com>
41
2ee094ff
JM
42 [BZ #15488]
43 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46 double tests.
47 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48 disable.
49 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50 check_long_double.
51
3779b5b6
JM
52 * math/gen-libm-test.pl (@tests): Remove variable.
53 ($count): Likewise.
54 (new_test): Remove function.
55 (show_exceptions): New function.
56 (special_functions): Use show_exceptions instead of new_test.
57 (parse_args): Likewise.
58 (generate_testfile): Pass only function name in generated call to
59 print_max_error or print_complex_max_error.
60 (get_ulps): Do not handle complex tests specially.
61 (output_test): Rename to ...
62 (get_all_ulps_for_test): ... this. Return a string rather than
63 printing to a file. Require ulps to be present.
64 (output_ulps): Generate arrays rather than #defines.
65 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66 (struct ulp_data): New type.
67 (BUILD_COMPLEX_ULP): Remove macro.
68 (compare_ulp_data): New function.
69 (find_ulps): Likewise.
70 (find_test_ulps): Likewise.
71 (find_function_ulps): Likewise.
72 (find_complex_function_ulps): Likewise.
73 (print_max_error): Determine allowed ulps using
74 find_function_ulps.
75 (print_complex_max_error): Determine allowed ulps using
76 find_complex_function_ulps.
77 (check_float_internal): Determine max ulps using find_test_ulps.
78 (check_float): Do not take max_ulp parameter. Update call to
79 check_float_internal.
80 (check_complex): Likewise.
81 (check_int): Do not take max_ulp parameter.
82 (check_long): Likewise.
83 (check_bool): Likewise.
84 (check_longlong): Likewise.
85 (struct test_f_f_data): Remove max_ulp field.
86 (struct test_ff_f_data): Likewise.
87 (struct test_ff_f_data_nexttoward): Likewise.
88 (struct test_fi_f_data): Likewise.
89 (struct test_fl_f_data): Likewise.
90 (struct test_if_f_data): Likewise.
91 (struct test_fff_f_data): Likewise.
92 (struct test_c_f_data): Likewise.
93 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
94 (struct test_fF_f1_data): Likewise.
95 (struct test_ffI_f1_data): Likewise.
96 (struct test_c_c_data): Remove max_ulp field.
97 (struct test_cc_c_data): Likewise.
98 (struct test_f_i_data): Likewise.
99 (struct test_ff_i_data): Likewise.
100 (struct test_f_l_data): Likewise.
101 (struct test_f_L_data): Likewise.
102 (struct test_sincos_data): Likewise.
103 (RUN_TEST_f_f): Do not handle ulps.
104 (RUN_TEST_LOOP_f_f): Likewise.
105 (RUN_TEST_2_f): Likewise.
106 (RUN_TEST_LOOP_2_f): Likewise.
107 (RUN_TEST_fff_f): Likewise.
108 (RUN_TEST_LOOP_fff_f): Likewise.
109 (RUN_TEST_c_f): Likewise.
110 (RUN_TEST_LOOP_c_f): Likewise.
111 (RUN_TEST_f_f1): Likewise.
112 (RUN_TEST_LOOP_f_f1): Likewise.
113 (RUN_TEST_fF_f1): Likewise.
114 (RUN_TEST_LOOP_fF_f1): Likewise.
115 (RUN_TEST_fI_f1): Likewise.
116 (RUN_TEST_LOOP_fI_f1): Likewise.
117 (RUN_TEST_ffI_f1): Likewise.
118 (RUN_TEST_LOOP_ffI_f1): Likewise.
119 (RUN_TEST_c_c): Likewise.
120 (RUN_TEST_LOOP_c_c): Likewise.
121 (RUN_TEST_cc_c): Likewise.
122 (RUN_TEST_LOOP_cc_c): Likewise.
123 (RUN_TEST_f_i): Likewise.
124 (RUN_TEST_LOOP_f_i): Likewise.
125 (RUN_TEST_f_i_tg): Likewise.
126 (RUN_TEST_LOOP_f_i_tg): Likewise.
127 (RUN_TEST_ff_i_tg): Likewise.
128 (RUN_TEST_LOOP_ff_i_tg): Likewise.
129 (RUN_TEST_f_b): Likewise.
130 (RUN_TEST_LOOP_f_b): Likewise.
131 (RUN_TEST_f_b_tg): Likewise.
132 (RUN_TEST_LOOP_f_b_tg): Likewise.
133 (RUN_TEST_f_l): Likewise.
134 (RUN_TEST_LOOP_f_l): Likewise.
135 (RUN_TEST_f_L): Likewise.
136 (RUN_TEST_LOOP_f_L): Likewise.
137 (RUN_TEST_sincos): Likewise.
138 (RUN_TEST_LOOP_sincos): Likewise.
139
8269107f
JM
1402013-05-17 Joseph Myers <joseph@codesourcery.com>
141
bb38759d
JM
142 [BZ #15480]
143 [BZ #15485]
144 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
145 main case of finite arguments, set rounding mode to FE_TONEAREST
146 and discard exceptions.
147 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
148 exceptions.
149 (remainder_tonearest_test_data): New variable.
150 (remainder_test_tonearest): New function.
151 (remainder_towardzero_test_data): New variable.
152 (remainder_test_towardzero): New function.
153 (remainder_downward_test_data): New variable.
154 (remainder_test_downward): New function.
155 (remainder_upward_test_data): New variable.
156 (remainder_test_upward): New function.
157 (main): Call the new test functions.
158
a00bdcf0
JM
159 * math/libm-test.inc (struct test_f_f1_data): Remove field
160 extra_init.
161 (struct test_fF_f1_data): Likewise.
162 (struct test_ffI_f1_data): Likewise.
163 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
164 based on value of EXTRA_EXPECTED.
165 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
166 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
167 EXTRA_VAR based on value of EXTRA_EXPECTED.
168 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
169 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
170 EXTRA_VAR based on value of EXTRA_EXPECTED.
171 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
172 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
173 EXTRA_VAR based on value of EXTRA_EXPECTED.
174 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
175 * math/gen-libm-test.pl (parse_args): Don't output initializers
176 for extra output values.
177
de407f79
JM
178 * math/libm-test.inc (check_int): Expect result to be exactly
179 equal to expected value and do not handle ulps.
180 (check_long): Likewise.
181 (check_longlong): Likewise.
182
8269107f
JM
183 * math/libm-test.inc (ceil_test_data): Test for "inexact"
184 exceptions.
185 (cimag_test_data): Likewise.
186 (conj_test_data): Likewise.
187 (copysign_test_data): Likewise.
188 (cproj_test_data): Likewise.
189 (creal_test_data): Likewise.
190 (fabs_test_data): Likewise.
191 (fdim_test_data): Likewise.
192 (finite_test_data): Likewise.
193 (floor_test_data): Likewise.
194 (fmax_test_data): Likewise.
195 (fmin_test_data): Likewise.
196 (fmod_test_data): Likewise.
197 (fpclassify_test_data): Likewise.
198 (frexp_test_data): Likewise.
199 (ilogb_test_data): Likewise.
200 (isfinite_test_data): Likewise.
201 (isgreater_test_data): Likewise.
202 (isgreaterequal_test_data): Likewise.
203 (isinf_test_data): Likewise.
204 (isless_test_data): Likewise.
205 (islessequal_test_data): Likewise.
206 (islessgreater_test_data): Likewise.
207 (isnan_test_data): Likewise.
208 (isnormal_test_data): Likewise.
209 (issignaling_test_data): Likewise.
210 (isunordered_test_data): Likewise.
211 (ldexp_test_data): Likewise.
212 (lrint_test_data): Likewise.
213 (lrint_test_data) [TEST_FLOAT]: Disable one test.
214 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
215 (lrint_tonearest_test_data): Test for "inexact" exceptions.
216 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
217 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
218 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
219 test input.
220 (lrint_towardzero_test_data): Test for "inexact" exceptions.
221 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
222 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
223 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
224 that test input.
225 (lrint_downward_test_data): Test for "inexact" exceptions.
226 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
227 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
228 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
229 test input.
230 (lrint_upward_test_data): Test for "inexact" exceptions.
231 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
232 test input.
233 (llrint_test_data): Test for "inexact" exceptions.
234 (llrint_test_data) [TEST_FLOAT]: Disable one test.
235 (llrint_tonearest_test_data): Test for "inexact" exceptions.
236 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
237 (llrint_towardzero_test_data): Test for "inexact" exceptions.
238 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
239 (llrint_downward_test_data): Test for "inexact" exceptions.
240 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
241 (llrint_upward_test_data): Test for "inexact" exceptions.
242 (logb_test_data): Likewise.
243 (logb_downward_test_data): Likewise.
244 (nextafter_test_data): Likewise.
245 (nexttoward_test_data): Likewise.
246 (remainder_test_data): Likewise.
247 (remquo_test_data): Likewise.
248 (scalbn_test_data): Likewise.
249 (scalbln_test_data): Likewise.
250 (signbit_test_data): Likewise.
251 (sqrt_test_data): Likewise.
252 (significand_test_data): Likewise.
253
48a18de1
SP
2542013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
255
256 [BZ #15424]
257 * benchtests/bench-modf.c (struct args): Mark arg0 as
258 volatile.
259 * scripts/bench.pl: Mark members of struct args as volatile.
260
13d3b41a
AZ
2612013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262
263 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
264 negative infinity on POWER6 or lower.
265 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
266
2848b105
MR
2672013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
268
269 [BZ #15442]
270 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
271 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
272 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
273 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
274 (_FP_SETQNAN): New macro.
275 (_FP_SETQNAN_SEMIRAW): Likewise.
276 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
277 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
278 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
279 (FP_EXTEND): Use _FP_FRAC_SNANP.
280 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
281 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
282 into account.
283 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
284 New macro.
285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
286 Likewise.
287
323e5cb7
JM
2882013-05-16 Joseph Myers <joseph@codesourcery.com>
289
c58b274f
JM
290 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
291 with DIVIDE_BY_ZERO_EXCEPTION.
292 (gamma_test_data): Likewise.
293 (lgamma_test_data): Likewise.
294 (log_test_data): Likewise.
295 (log10_test_data): Likewise.
296 (log2_test_data): Likewise.
297 (tgamma_test_data): Likewise.
298
0ab34904
JM
299 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
300 (acos_test_tonearest): Likewise.
301 (acos_test_towardzero): Likewise.
302 (acos_test_downward): Likewise.
303 (acos_test_upward): Likewise.
304 (acosh_test): Likewise.
305 (asin_test): Likewise.
306 (asin_test_tonearest): Likewise.
307 (asin_test_towardzero): Likewise.
308 (asin_test_downward): Likewise.
309 (asin_test_upward): Likewise.
310 (asinh_test): Likewise.
311 (atan_test): Likewise.
312 (atanh_test): Likewise.
313 (atan2_test): Likewise.
314 (cabs_test): Likewise.
315 (cacos_test): Likewise.
316 (cacosh_test): Likewise.
317 (casin_test): Likewise.
318 (casinh_test): Likewise.
319 (catan_test): Likewise.
320 (catanh_test): Likewise.
321 (cbrt_test): Likewise.
322 (ccos_test): Likewise.
323 (ccosh_test): Likewise.
324 (cexp_test): Likewise.
325 (clog_test): Likewise.
326 (clog10_test): Likewise.
327 (cos_test): Likewise.
328 (cos_test_tonearest): Likewise.
329 (cos_test_towardzero): Likewise.
330 (cos_test_downward): Likewise.
331 (cos_test_upward): Likewise.
332 (cosh_test): Likewise.
333 (cosh_test_tonearest): Likewise.
334 (cosh_test_towardzero): Likewise.
335 (cosh_test_downward): Likewise.
336 (cosh_test_upward): Likewise.
337 (cpow_test): Likewise.
338 (csin_test): Likewise.
339 (csinh_test): Likewise.
340 (csqrt_test): Likewise.
341 (ctan_test): Likewise.
342 (ctan_test_tonearest): Likewise.
343 (ctan_test_towardzero): Likewise.
344 (ctan_test_downward): Likewise.
345 (ctan_test_upward): Likewise.
346 (ctanh_test): Likewise.
347 (ctanh_test_tonearest): Likewise.
348 (ctanh_test_towardzero): Likewise.
349 (ctanh_test_downward): Likewise.
350 (ctanh_test_upward): Likewise.
351 (erf_test): Likewise.
352 (erfc_test): Likewise.
353 (exp_test): Likewise.
354 (exp_test_tonearest): Likewise.
355 (exp_test_towardzero): Likewise.
356 (exp_test_downward): Likewise.
357 (exp_test_upward): Likewise.
358 (exp10_test): Likewise.
359 (exp2_test): Likewise.
360 (expm1_test): Likewise.
361 (fmod_test): Likewise.
362 (gamma_test): Likewise.
363 (hypot_test): Likewise.
364 (j0_test): Likewise.
365 (j1_test): Likewise.
366 (jn_test): Likewise.
367 (lgamma_test): Likewise.
368 (log_test): Likewise.
369 (log10_test): Likewise.
370 (log1p_test): Likewise.
371 (log2_test): Likewise.
372 (logb_test_downward): Likewise.
373 (pow_test): Likewise.
374 (pow_test_tonearest): Likewise.
375 (pow_test_towardzero): Likewise.
376 (pow_test_downward): Likewise.
377 (pow_test_upward): Likewise.
378 (remainder_test): Likewise.
379 (remquo_test): Likewise.
380 (sin_test): Likewise.
381 (sin_test_tonearest): Likewise.
382 (sin_test_towardzero): Likewise.
383 (sin_test_downward): Likewise.
384 (sin_test_upward): Likewise.
385 (sincos_test): Likewise.
386 (sinh_test): Likewise.
387 (sinh_test_tonearest): Likewise.
388 (sinh_test_towardzero): Likewise.
389 (sinh_test_downward): Likewise.
390 (sinh_test_upward): Likewise.
391 (sqrt_test): Likewise.
392 (tan_test): Likewise.
393 (tan_test_tonearest): Likewise.
394 (tan_test_towardzero): Likewise.
395 (tan_test_downward): Likewise.
396 (tan_test_upward): Likewise.
397 (tanh_test): Likewise.
398 (tgamma_test): Likewise.
399 (y0_test): Likewise.
400 (y1_test): Likewise.
401 (yn_test): Likewise.
402
323e5cb7
JM
403 * math/gen-libm-test.pl (adjust_arg): Remove function.
404 (special_function): Remove argument $in_func. Only handle
405 generating output for tables of tests, not inside functions.
406 (parse_args): Likewise.
407 (generate_testfile): Remove variable $in_func. Update call to
408 parse_args.
409 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
410 (MINUS_ZERO_INIT): Rename macro to minus_zero.
411 (PLUS_INFTY_INIT): Rename macro to plus_infty.
412 (MINUS_INFTY_INIT): Rename macro to minus_infty.
413 (QNAN_VALUE_INIT): Rename macro to qnan_value.
414 (MAX_VALUE_INIT): Rename macro to max_value.
415 (MIN_VALUE_INIT): Rename macro to min_value.
416 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
417 (plus_zero): Remove variable.
418 (minus_zero): Likewise.
419 (plus_infty): Likewise.
420 (minus_infty): Likewise.
421 (qnan_value): Likewise.
422 (max_value): Likewise.
423 (min_value): Likewise.
424 (min_subnorm_value): Likewise.
425
e054f494
RA
4262013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
427
428 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
429 uint64_t or uint32_t usage.
430 * crypt/sha256-block.c: Likewise.
431 * crypt/sha256-crypt.c: Likewise.
432 * crypt/sha256.c: Likewise.
433 * crypt/sha512-block.c: Likewise.
434 * crypt/sha512-crypt.c: Likewise.
435 * crypt/sha512.c: Likewise.
436 * debug/backtrace-tst.c: Likewise.
437 * debug/pcprofiledump.c: Likewise.
438 * elf/cache.c: Likewise.
439 * elf/dl-cache.c: Likewise.
440 * elf/dl-misc.c: Likewise.
441 * elf/dl-profile.c: Likewise.
442 * elf/dl-support.c: Likewise.
443 * elf/ldconfig.c: Likewise.
444 * elf/sprof.c: Likewise.
445 * iconv/dummy-repertoire.c: Likewise.
446 * iconv/iconv_charmap.c: Likewise.
447 * iconv/skeleton.c: Likewise.
448 * iconvdata/8bit-generic.c: Likewise.
449 * iconvdata/cp737.h: Likewise.
450 * iconvdata/cp775.h: Likewise.
451 * iconvdata/ibm1008.h: Likewise.
452 * iconvdata/ibm1025.h: Likewise.
453 * iconvdata/ibm1046.h: Likewise.
454 * iconvdata/ibm1097.h: Likewise.
455 * iconvdata/ibm1112.h: Likewise.
456 * iconvdata/ibm1122.h: Likewise.
457 * iconvdata/ibm1123.h: Likewise.
458 * iconvdata/ibm1124.h: Likewise.
459 * iconvdata/ibm1129.h: Likewise.
460 * iconvdata/ibm1130.h: Likewise.
461 * iconvdata/ibm1132.h: Likewise.
462 * iconvdata/ibm1133.h: Likewise.
463 * iconvdata/ibm1137.h: Likewise.
464 * iconvdata/ibm1140.h: Likewise.
465 * iconvdata/ibm1141.h: Likewise.
466 * iconvdata/ibm1142.h: Likewise.
467 * iconvdata/ibm1143.h: Likewise.
468 * iconvdata/ibm1144.h: Likewise.
469 * iconvdata/ibm1145.h: Likewise.
470 * iconvdata/ibm1146.h: Likewise.
471 * iconvdata/ibm1147.h: Likewise.
472 * iconvdata/ibm1148.h: Likewise.
473 * iconvdata/ibm1149.h: Likewise.
474 * iconvdata/ibm1153.h: Likewise.
475 * iconvdata/ibm1154.h: Likewise.
476 * iconvdata/ibm1155.h: Likewise.
477 * iconvdata/ibm1156.h: Likewise.
478 * iconvdata/ibm1157.h: Likewise.
479 * iconvdata/ibm1158.h: Likewise.
480 * iconvdata/ibm1160.h: Likewise.
481 * iconvdata/ibm1161.h: Likewise.
482 * iconvdata/ibm1162.h: Likewise.
483 * iconvdata/ibm1163.h: Likewise.
484 * iconvdata/ibm1164.h: Likewise.
485 * iconvdata/ibm1166.h: Likewise.
486 * iconvdata/ibm1167.h: Likewise.
487 * iconvdata/ibm12712.h: Likewise.
488 * iconvdata/ibm1390.h: Likewise.
489 * iconvdata/ibm1399.h: Likewise.
490 * iconvdata/ibm16804.h: Likewise.
491 * iconvdata/ibm4517.h: Likewise.
492 * iconvdata/ibm4899.h: Likewise.
493 * iconvdata/ibm4909.h: Likewise.
494 * iconvdata/ibm4971.h: Likewise.
495 * iconvdata/ibm5347.h: Likewise.
496 * iconvdata/ibm803.h: Likewise.
497 * iconvdata/ibm856.h: Likewise.
498 * iconvdata/ibm901.h: Likewise.
499 * iconvdata/ibm902.h: Likewise.
500 * iconvdata/ibm9030.h: Likewise.
501 * iconvdata/ibm9066.h: Likewise.
502 * iconvdata/ibm921.h: Likewise.
503 * iconvdata/ibm922.h: Likewise.
504 * iconvdata/ibm9448.h: Likewise.
505 * iconvdata/isiri-3342.h: Likewise.
506 * iconvdata/jis0201.h: Likewise.
507 * include/link.h: Likewise.
508 * include/netdb.h: Likewise.
509 * inet/check_native.c: Likewise.
510 * inet/check_pf.c: Likewise.
511 * inet/getipv4sourcefilter.c: Likewise.
512 * inet/getnameinfo.c: Likewise.
513 * inet/getsourcefilter.c: Likewise.
514 * inet/htonl.c: Likewise.
515 * inet/setipv4sourcefilter.c: Likewise.
516 * inet/setsourcefilter.c: Likewise.
517 * inet/test-inet6_opt.c: Likewise.
518 * inet/tst-network.c: Likewise.
519 * locale/C-collate.c: Likewise.
520 * locale/C-ctype.c: Likewise.
521 * locale/C-time.c: Likewise.
522 * locale/C-translit.h: Likewise.
523 * locale/loadarchive.c: Likewise.
524 * locale/programs/3level.h: Likewise.
525 * locale/programs/charmap.c: Likewise.
526 * locale/programs/charmap.h: Likewise.
527 * locale/programs/ld-address.c: Likewise.
528 * locale/programs/ld-collate.c: Likewise.
529 * locale/programs/ld-ctype.c: Likewise.
530 * locale/programs/ld-identification.c: Likewise.
531 * locale/programs/ld-measurement.c: Likewise.
532 * locale/programs/ld-messages.c: Likewise.
533 * locale/programs/ld-monetary.c: Likewise.
534 * locale/programs/ld-name.c: Likewise.
535 * locale/programs/ld-numeric.c: Likewise.
536 * locale/programs/ld-paper.c: Likewise.
537 * locale/programs/ld-telephone.c: Likewise.
538 * locale/programs/ld-time.c: Likewise.
539 * locale/programs/linereader.c: Likewise.
540 * locale/programs/locale.c: Likewise.
541 * locale/programs/locarchive.c: Likewise.
542 * locale/programs/locfile.h: Likewise.
543 * locale/programs/repertoire.c: Likewise.
544 * locale/programs/simple-hash.c: Likewise.
545 * locale/programs/simple-hash.h: Likewise.
546 * malloc/memusage.c: Likewise.
547 * malloc/memusagestat.c: Likewise.
548 * nis/nis_defaults.c: Likewise.
549 * nis/nis_hash.c: Likewise.
550 * nis/nis_print.c: Likewise.
551 * nis/nis_xdr.c: Likewise.
552 * nscd/connections.c: Likewise.
553 * nscd/hstcache.c: Likewise.
554 * nscd/nscd_gethst_r.c: Likewise.
555 * nscd/nscd_getserv_r.c: Likewise.
556 * nscd/nscd_helper.c: Likewise.
557 * nscd/servicescache.c: Likewise.
558 * nss/makedb.c: Likewise.
559 * nss/nss_db/db-XXX.c: Likewise.
560 * nss/nss_db/db-initgroups.c: Likewise.
561 * nss/nss_db/db-netgrp.c: Likewise.
562 * nss/nss_files/files-network.c: Likewise.
563 * nss/nss_files/files-parse.c: Likewise.
564 * posix/bug-regex5.c: Likewise.
565 * posix/fnmatch_loop.c: Likewise.
566 * posix/regcomp.c: Likewise.
567 * posix/regexec.c: Likewise.
568 * posix/tst-rfc3484-2.c: Likewise.
569 * posix/tst-rfc3484-3.c: Likewise.
570 * posix/tst-rfc3484.c: Likewise.
571 * resolv/nss_dns/dns-canon.c: Likewise.
572 * resolv/nss_dns/dns-network.c: Likewise.
573 * resolv/res_init.c: Likewise.
574 * resolv/res_mkquery.c: Likewise.
575 * resolv/tst-aton.c: Likewise.
576 * stdlib/cxa_atexit.c: Likewise.
577 * stdlib/cxa_finalize.c: Likewise.
578 * stdlib/gen-fpioconst.c: Likewise.
579 * stdlib/strtol_l.c: Likewise.
580 * string/tst-endian.c: Likewise.
581 * sunrpc/auth_des.c: Likewise.
582 * sunrpc/clnt_udp.c: Likewise.
583 * sunrpc/rtime.c: Likewise.
584 * sunrpc/svcauth_des.c: Likewise.
585 * sunrpc/xdr.c: Likewise.
586 * sunrpc/xdr_intXX_t.c: Likewise.
587 * sunrpc/xdr_rec.c: Likewise.
588 * sysdeps/generic/ldconfig.h: Likewise.
589 * sysdeps/generic/ldsodefs.h: Likewise.
590 * sysdeps/generic/memusage.h: Likewise.
591 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
592 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
593 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
597 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
599 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
601 * sysdeps/posix/getaddrinfo.c: Likewise.
602 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
603 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
604 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
606 * sysdeps/powerpc/test-gettimebase.c: Likewise.
607 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
608 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
609 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
610 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
612 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
613 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
614 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
615 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
616 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
617 * sysdeps/x86_64/dl-tls.h: Likewise.
618 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
619 * time/alt_digit.c: Likewise.
620 * time/era.c: Likewise.
621 * wcsmbs/tst-c16c32-1.c: Likewise.
622
8c75f674
JM
6232013-05-16 Joseph Myers <joseph@codesourcery.com>
624
625 * math/libm-test.inc (struct test_sincos_data): New type.
626 (RUN_TEST_LOOP_sincos): New macro.
627 (sincos_test_data): New variable.
628 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
629
e6e49e59
RH
6302013-05-16 Richard Henderson <rth@redhat.com>
631
632 * math/atest-exp2.c (LIMB64): New macro.
633 (CONSTSZ): New macro.
634 (mp_exp1, mp_exp_m1, mp_log2): New variables.
635 (hexdig): Move ...
636 (print_mpn_fp): ... to function scope.
637 (read_mpn_hex): Remove.
638 (get_log2): Remove.
639 (exp2_mpn): Use mp_log2.
640 (main): Use mp_exp1.
641
15c7c18d
JM
6422013-05-16 Joseph Myers <joseph@codesourcery.com>
643
105a07df
JM
644 * math/libm-test.inc: Remove comment about not testing "inexact"
645 exceptions.
646 (INEXACT_EXCEPTION): New macro.
647 (NO_INEXACT_EXCEPTION): Likewise.
648 (INVALID_EXCEPTION_OK): Update value.
649 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
650 (OVERFLOW_EXCEPTION_OK): Likewise.
651 (UNDERFLOW_EXCEPTION_OK): Likewise.
652 (IGNORE_ZERO_INF_SIGN): Likewise.
653 (ERRNO_UNCHANGED): Likewise.
654 (ERRNO_EDOM): Likewise.
655 (ERRNO_ERANGE): Likewise.
656 (test_exceptions): Handle testing "inexact" exceptions.
657 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
658 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
659 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
660 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
661 INEXACT_EXCEPTION.
662 (rint_towardzero_test_data): Likewise.
663 (rint_downward_test_data): Likewise.
664 (rint_upward_test_data): Likewise.
665
e9eee333
JM
666 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
667 with OVERFLOW_EXCEPTION.
668 (exp10_test_data): Likewise.
669 (exp2_test_data): Likewise.
670 (expm1_test_data): Likewise.
671 (lgamma_test_data): Likewise.
672 (pow_test_data): Likewise.
673 (tgamma_test_data): Likewise.
674 (yn_test_data): Remove duplicate test of overflow.
675
1c38ff73
JM
676 * math/libm-test.inc (struct test_cc_c_data): New type.
677 (RUN_TEST_LOOP_cc_c): New macro.
678 (cpow_test_data): New variable.
679 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
680
15c7c18d
JM
681 * math/libm-test.inc (struct test_f_L_data): New type.
682 (RUN_TEST_LOOP_f_L): New macro.
683 (llrint_test_data): New variable.
684 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
685 (llrint_tonearest_test_data): New variable.
686 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
687 (llrint_towardzero_test_data): New variable.
688 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
689 (llrint_downward_test_data): New variable.
690 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
691 (llrint_upward_test_data): New variable.
692 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
693 (llround_test_data): New variable.
694 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
695
f137ff13
PC
6962013-05-13 Peter Collingbourne <pcc@google.com>
697
698 * math/atest-exp2.c (get_log2): Remove const attribute.
699
3608cb24
JM
7002013-05-15 Joseph Myers <joseph@codesourcery.com>
701
702 * math/libm-test.inc (struct test_f_l_data): New type.
703 (RUN_TEST_LOOP_f_l): New macro.
704 (lrint_test_data): New variable.
705 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
706 (lrint_tonearest_test_data): New variable.
707 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
708 (lrint_towardzero_test_data): New variable.
709 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
710 (lrint_downward_test_data): New variable.
711 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
712 (lrint_upward_test_data): New variable.
713 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
714 (lround_test_data): New variable.
715 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
716
39b1f617
PC
7172013-05-15 Peter Collingbourne <pcc@google.com>
718
1deff3dc
PC
719 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
720 (EXTRACT_WORDS64) Use where appropriate.
721 (INSERT_WORDS64) Likewise.
722
791f3ba0
PC
723 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
724 constraints with x constraints.
725 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
726
39b1f617
PC
727 * malloc/obstack.c (_obstack_compat): Add initializer.
728
12fba011
EM
7292013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
730
731 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
732 si_trapno and add si_addr_lsb to _sifields.sigfault.
733 (si_trapno): Remove macro.
734 (si_addr_lsb): Define new macro.
735 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
736
d369f531
JM
7372013-05-15 Joseph Myers <joseph@codesourcery.com>
738
b861c6c4
JM
739 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
740 instead of TEST_f_l.
741 (llrint_test_tonearest): Likewise.
742 (llrint_test_towardzero): Likewise.
743 (llrint_test_downward): Likewise.
744 (llrint_test_upward): Likewise.
745 (llround_test): Likewise.
746
7abeee12
JM
747 * math/libm-test.inc (struct test_f_i_data): Add comment.
748 (RUN_TEST_LOOP_f_b): New macro.
749 (RUN_TEST_LOOP_f_b_tg): Likewise.
750 (finite_test_data): New variable.
751 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
752 (isfinite_test_data): New variable.
753 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
754 (isinf_test_data): New variable.
755 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
756 (isnan_test_data): New variable.
757 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
758 (isnormal_test_data): New variable.
759 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
760 (issignaling_test_data): New variable.
761 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
762 (signbit_test_data): New variable.
763 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
764
cbe8c4d3
JM
765 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
766 with INVALID_EXCEPTION.
767 (acosh_test_data): Likewise.
768 (asin_test_data): Likewise.
769 (atanh_test_data): Likewise.
770 (fmod_test_data): Likewise.
771 (log_test_data): Likewise.
772 (log10_test_data): Likewise.
773 (log2_test_data): Likewise.
774 (pow_test_data): Likewise.
775 (sqrt_test_data): Likewise.
776 (y0_test_data): Likewise.
777 (y1_test_data): Likewise.
778 (yn_test_data): Likewise.
779
5575c0e5
JM
780 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
781 function contents.
782
d369f531
JM
783 * math/libm-test.inc (struct test_ff_i_data): New type.
784 (RUN_TEST_LOOP_ff_i_tg): New macro.
785 (isgreater_test_data): New variable.
786 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
787 (isgreaterequal_test_data): New variable.
788 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
789 (isless_test_data): New variable.
790 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
791 (islessequal_test_data): New variable.
792 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
793 (islessgreater_test_data): New variable.
794 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
795 (isunordered_test_data): New variable.
796 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
797
781fd748
DM
7982013-05-14 David S. Miller <davem@davemloft.net>
799
800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
801
87aa21df
JM
8022013-05-14 Joseph Myers <joseph@codesourcery.com>
803
5e908270
JM
804 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
805
f71172e5
JM
806 * math/libm-test.inc (struct test_fF_f1_data): Change type of
807 extra_test to int.
808 (struct test_f_i_data): Change type of max_ulp to int.
809
8cfa635a
JM
810 * math/libm-test.inc (test_ffI_f1_data): New type.
811 (RUN_TEST_LOOP_ffI_f1): New macro.
812 (remquo_test_data): New variable.
813 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
814
2bcb36b2
JM
815 * setjmp/tst-setjmp-fp.c: New file.
816 * setjmp/Makefile (tests): Add tst-setjmp-fp.
817 (link-libm): New variable.
818 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
819
acbd839a
JM
820 * math/libm-test.inc (struct test_f_i_data): New type.
821 (RUN_TEST_LOOP_f_i): New macro.
822 (RUN_TEST_LOOP_f_i_tg): Likewise.
823 (fpclassify_test_data): New variable.
824 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
825 (ilogb_test_data): New variable.
826 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
827
e414d745
JM
828 * math/libm-test.inc (scalbln_test): Correct function name in END
829 call.
830
d9c2a0fd
JM
831 * math/libm-test.inc (struct test_f_f1_data): Add comment.
832 (RUN_TEST_LOOP_fI_f1): New macro.
833 (frexp_test_data): New variable.
834 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
835
9dc9095d
JM
836 * math/libm-test.inc (struct test_fF_f1_data): New type.
837 (RUN_TEST_LOOP_fF_f1): New macro.
838 (modf_test_data): New variable.
839 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
840
87aa21df
JM
841 * math/libm-test.inc (struct test_f_f1_data): New type.
842 (RUN_TEST_LOOP_f_f1): New macro.
843 (gamma_test_data): New variable.
844 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
845 (lgamma_test_data): New variable.
846 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
847
141af660
CD
8482013-05-13 Carlos O'Donell <carlos@redhat.com>
849
850 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
851 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
852 (main): Comment "tls" pseudo-hwcap.
853
6d33265c
JM
8542013-05-13 Joseph Myers <joseph@codesourcery.com>
855
68fc074c
JM
856 * math/libm-test.inc (struct test_fl_f_data): New type.
857 (RUN_TEST_LOOP_fl_f): New variable.
858 (scalbln_test_data): New variable.
859 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
860
243216e1
JM
861 * math/libm-test.inc (struct test_fi_f_data): New type.
862 (RUN_TEST_LOOP_fi_f): New macro.
863 (ldexp_test_data): New variable.
864 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
865 (scalbn_test_data): New variable.
866 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
867
6a1992e2
JM
868 * math/libm-test.inc (struct test_c_f_data): New type.
869 (RUN_TEST_LOOP_c_f): New macro.
870 (cabs_test_data): New variable.
871 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
872 (carg_test_data): New variable.
873 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
874 (cimag_test_data): New variable.
875 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
876 (creal_test_data): New variable.
877 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
878
0e400df5
JM
879 * math/libm-test.inc (struct test_if_f_data): New type.
880 (RUN_TEST_LOOP_if_f): New macro.
881 (jn_test_data): New variable.
882 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
883 (yn_test_data): New variable.
884 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
885
6d33265c
JM
886 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
887
f98ece5f
AZ
8882013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
889
890 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
891 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
892
0f7d347b
SP
8932013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
894
43fe811b
SP
895 * benchtests/Makefile (CPPFLAGS-nonlib): Add
896 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
897 (bench-deps): Add bench-timing.h.
898 * benchtests-bench-skeleton.c: Include bench-timing.h.
899 (main): Use TIMING_* macros instead of clock_gettime.
900 * benchtests/bench-timing.h: New file.
901
0f7d347b
SP
902 [BZ #14582]
903 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
904 Renamed from _LIB_VERSION.
905 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
906
601a3a5f
JM
9072013-05-12 Joseph Myers <joseph@codesourcery.com>
908
4f184d30
JM
909 * math/libm-test.inc (struct test_fff_f_data): New type.
910 (RUN_TEST_LOOP_fff_f): New macro.
911 (fma_test_data): New variable.
912 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
913 (fma_towardzero_test_data): New variable.
914 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
915 (fma_downward_test_data): New variable.
916 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
917 (fma_upward_test_data): New variable.
918 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
919
08198877
JM
920 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
921 (struct test_c_c_data): New type.
922 (RUN_TEST_LOOP_c_c): New macro.
923 (cacos_test_data): New variable.
924 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
925 (cacosh_test_data): New variable.
926 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
927 (casin_test_data): New variable.
928 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
929 (casinh_test_data): New variable.
930 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
931 (catan_test_data): New variable.
932 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
933 (catanh_test_data): New variable.
934 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
935 (ccos_test_data): New variable.
936 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
937 (ccosh_test_data): New variable.
938 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
939 (cexp_test_data): New variable.
940 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
941 (clog_test_data): New variable.
942 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
943 (clog10_test_data): New variable.
944 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
945 (conj_test_data): New variable.
946 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
947 (cproj_test_data): New variable.
948 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
949 (csin_test_data): New variable.
950 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
951 (csinh_test_data): New variable.
952 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
953 (csqrt_test_data): New variable.
954 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
955 (ctan_test_data): New variable.
956 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
957 (ctan_tonearest_test_data): New variable.
958 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
959 (ctan_towardzero_test_data): New variable.
960 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
961 (ctan_downward_test_data): New variable.
962 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
963 (ctan_upward_test_data): New variable.
964 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
965 (ctanh_test_data): New variable.
966 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
967 (ctanh_tonearest_test_data): New variable.
968 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
969 (ctanh_towardzero_test_data): New variable.
970 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
971 (ctanh_downward_test_data): New variable.
972 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
973 (ctanh_upward_test_data): New variable.
974 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
975 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
976 of BUILD_COMPLEX.
977
601a3a5f
JM
978 * math/libm-test.inc (struct test_ff_f_data): New type.
979 (struct test_ff_f_data_nexttoward): Likewise.
980 (RUN_TEST_LOOP_2_f): New macro.
981 (RUN_TEST_LOOP_ff_f): Likewise.
982 (atan2_test_data): New variable.
983 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
984 (copysign_test_data): New variable.
985 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
986 (fdim_test_data): New variable.
987 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
988 (fmax_test_data): New variable.
989 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
990 (fmin_test_data): New variable.
991 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
992 (fmod_test_data): New variable.
993 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
994 (hypot_test_data): New variable.
995 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
996 (nextafter_test_data): New variable.
997 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
998 (nexttoward_test_data): New variable.
999 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1000 (pow_test_data): New variable.
1001 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1002 (pow_tonearest_test_data): New variable.
1003 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1004 (pow_towardzero_test_data): New variable.
1005 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1006 (pow_downward_test_data): New variable.
1007 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1008 (pow_upward_test_data): New variable.
1009 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1010 (remainder_test_data): New variable.
1011 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1012 (scalb_test_data): New variable.
1013 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1014 * sysdeps/i386/fpu/libm-test-ulps: Update.
1015
74c57478
JM
10162013-05-11 Joseph Myers <joseph@codesourcery.com>
1017
8329e4da
JM
1018 * math/libm-test.inc (fma_test): Use max_value instead of local
1019 variable fltmax.
1020 (nextafter_test): Likewise.
1021
74c57478
JM
1022 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1023 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1024 (acos_downward_test_data): New variable.
1025 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1026 (acos_upward_test_data): New variable.
1027 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1028 (acosh_test_data): New variable.
1029 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1030 (asin_test_data): New variable.
1031 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1032 (asin_tonearest_test_data): New variable.
1033 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1034 (asin_towardzero_test_data): New variable.
1035 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1036 (asin_downward_test_data): New variable.
1037 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1038 (asin_upward_test_data): New variable.
1039 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1040 (asinh_test_data): New variable.
1041 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1042 (atan_test_data): New variable.
1043 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1044 (atanh_test_data): New variable.
1045 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1046 (cbrt_test_data): New variable.
1047 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1048 (ceil_test_data): New variable.
1049 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1050 (cos_test_data): New variable.
1051 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1052 (cos_tonearest_test_data): New variable.
1053 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1054 (cos_towardzero_test_data): New variable.
1055 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1056 (cos_downward_test_data): New variable.
1057 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1058 (cos_upward_test_data): New variable.
1059 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1060 (cosh_test_data): New variable.
1061 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1062 (cosh_tonearest_test_data): New variable.
1063 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1064 (cosh_towardzero_test_data): New variable.
1065 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1066 (cosh_downward_test_data): New variable.
1067 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1068 (cosh_upward_test_data): New variable.
1069 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1070 (erf_test_data): New variable.
1071 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1072 (erfc_test_data): New variable.
1073 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1074 (exp_test_data): New variable.
1075 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1076 (exp_tonearest_test_data): New variable.
1077 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1078 (exp_towardzero_test_data): New variable.
1079 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1080 (exp_downward_test_data): New variable.
1081 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1082 (exp_upward_test_data): New variable.
1083 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1084 (exp10_test_data): New variable.
1085 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1086 (exp2_test_data): New variable.
1087 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1088 (expm1_test_data): New variable.
1089 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1090 (fabs_test_data): New variable.
1091 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1092 (floor_test_data): New variable.
1093 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1094 (j0_test_data): New variable.
1095 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1096 (j1_test_data): New variable.
1097 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1098 (log_test_data): New variable.
1099 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1100 (log10_test_data): New variable.
1101 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1102 (log1p_test_data): New variable.
1103 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1104 (log2_test_data): New variable.
1105 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1106 (logb_test_data): New variable.
1107 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1108 (logb_downward_test_data): New variable.
1109 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1110 (nearbyint_test_data): New variable.
1111 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1112 (rint_test_data): New variable.
1113 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1114 (rint_tonearest_test_data): New variable.
1115 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1116 (rint_towardzero_test_data): New variable.
1117 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1118 (rint_downward_test_data): New variable.
1119 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1120 (rint_upward_test_data): New variable.
1121 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1122 (round_test_data): New variable.
1123 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1124 (sin_test_data): New variable.
1125 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1126 (sin_tonearest_test_data): New variable.
1127 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1128 (sin_towardzero_test_data): New variable.
1129 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1130 (sin_downward_test_data): New variable.
1131 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1132 (sin_upward_test_data): New variable.
1133 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1134 (sinh_test_data): New variable.
1135 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1136 (sinh_tonearest_test_data): New variable.
1137 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1138 (sinh_towardzero_test_data): New variable.
1139 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1140 (sinh_downward_test_data): New variable.
1141 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1142 (sinh_upward_test_data): New variable.
1143 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1144 (sqrt_test_data): New variable.
1145 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1146 (tan_test_data): New variable.
1147 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1148 (tan_tonearest_test_data): New variable.
1149 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1150 (tan_towardzero_test_data): New variable.
1151 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1152 (tan_downward_test_data): New variable.
1153 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1154 (tan_upward_test_data): New variable.
1155 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1156 (tanh_test_data): New variable.
1157 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1158 (tgamma_test_data): New variable.
1159 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1160 (trunc_test_data): New variable.
1161 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1162 (y0_test_data): New variable.
1163 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1164 (y1_test_data): New variable.
1165 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1166 (significand_test_data): New variable.
1167 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1168
7187d844
CG
11692013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1170
1171 [BZ #12387]
1172 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1173
f63fae73
PT
11742013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1175
1176 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1177
8a67a4b3
AJ
11782013-05-10 Andreas Jaeger <aj@suse.de>
1179
1180 [BZ #15448]
1181 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1182 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1183
51df539d
JM
11842013-05-10 Joseph Myers <joseph@codesourcery.com>
1185
1186 * math/gen-libm-test.pl (adjust_arg): New function.
1187 (special_functions): Handle generating output in both functions
1188 and arrays.
1189 (parse_args): Likewise.
1190 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1191 $in_func argument to parse_args.
1192 * math/libm-test.inc (struct test_f_f_data): New type.
1193 (IF_ROUND_INIT_): New macro.
1194 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1195 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1196 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1197 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1198 (ROUND_RESTORE_): Likewise.
1199 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1200 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1201 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1202 (ROUND_RESTORE_FE_UPWARD): Likewise.
1203 (RUN_TEST_LOOP_f_f): New macro.
1204 (acos_test_data): New variable.
1205 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1206 (acos_tonearest_test_data): New variable.
1207 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1208
5c637fe5
SP
12092013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1210
1211 * benchtests/bench-skeleton.c (startup): Fix coding style.
1212
ab2b9461
JM
12132013-05-10 Joseph Myers <joseph@codesourcery.com>
1214
1215 [BZ #6809]
1216 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1217 negative infinity argument.
1218 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1219 negative infinity argument.
1220 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1221 negative infinity argument.
1222 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1223 domain errors.
1224
4c0fe6fe
FW
12252013-05-10 Florian Weimer <fweimer@redhat.com>
1226
1227 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1228 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1229 * iconv/iconv_prog.c (main): Likewise.
1230 * locale/programs/charmap-dir.c (charmap_readdir)
1231 (fopen_uncompressed): Likewise.
1232 * locale/programs/locfile.c (siblings_uncached)
1233 (write_locale_data): Use lstat64 instead of lstat.
1234 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1235 stat.
1236
a3375d29
AJ
12372013-05-10 Andreas Jaeger <aj@suse.de>
1238
1239 [BZ #15395]
1240 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1241 localization.
1242 Include <locale.h>.
1243
36129722
CD
12442013-05-09 Carlos O'Donell <carlos@redhat.com>
1245
1246 * elf/dl-close.c (_dl_close_worker): Add comments.
1247
faa7f811
JM
12482013-05-09 Joseph Myers <joseph@codesourcery.com>
1249
ed41ffef
JM
1250 [BZ #15359]
1251 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1252 high part of pi/2.
1253 (__ieee754_rem_pio2l): Update comments.
1254
d0213cd0
JM
1255 [BZ #15429]
1256 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1257 high part of pi/2.
1258 (__ieee754_rem_pio2l): Update comments.
1259
0d3e777a
JM
1260 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1261 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1262
24f56066
JM
1263 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1264 M_PI_4l.
1265
faa7f811
JM
1266 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1267 (M_PI_34_LOG10El): Likewise.
1268 (M_PI2_LOG10El): Likewise.
1269 (M_PI4_LOG10El): Likewise.
1270 (M_PI_LOG10El): Likewise.
1271
e9a5e0fd
AZ
12722013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1273
1274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1275
d8cd06db
JM
12762013-05-08 Joseph Myers <joseph@codesourcery.com>
1277
a0d9f9d7
JM
1278 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1279 (MINUS_ZERO_INIT): Likewise.
1280 (PLUS_INFTY_INIT): Likewise.
1281 (MINUS_INFTY_INIT): Likewise.
1282 (QNAN_VALUE_INIT): Likewise.
1283 (MAX_VALUE_INIT): Likewise.
1284 (MIN_VALUE_INIT): Likewise.
1285 (MIN_SUBNORM_VALUE_INIT): Likewise.
1286 (plus_zero): Initialize with PLUS_ZERO_INIT.
1287 (minus_zero): Initialize with MINUS_ZERO_INIT.
1288 (plus_infty): Initialize with PLUS_INFTY_INIT.
1289 (minus_infty): Initialize with MINUS_INFTY_INIT.
1290 (qnan_value): Initialize with QNAN_VALUE_INIT.
1291 (max_value): Initialize with MAX_VALUE_INIT.
1292 (min_value): Initialize with MIN_VALUE_INIT.
1293 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1294
ae08db3b
JM
1295 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1296 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1297 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1298 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1299
f44bf14a
JM
1300 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1301 (RUN_TEST_2_f): Likewise.
1302 (RUN_TEST_ff_f): Likewise.
1303 (RUN_TEST_fi_f): Likewise.
1304 (RUN_TEST_fl_f): Likewise.
1305 (RUN_TEST_fff_f): Likewise.
1306 (RUN_TEST_c_f): Likewise.
1307 (RUN_TEST_f_f1): Likewise.
1308 (RUN_TEST_fF_f1): Likewise.
1309 (RUN_TEST_fI_f1): Likewise.
1310 (RUN_TEST_ffI_f1): Likewise.
1311 (RUN_TEST_c_c): Likewise.
1312 (RUN_TEST_cc_c): Likewise.
1313 (RUN_TEST_f_i): Likewise.
1314 (RUN_TEST_f_i_tg): Likewise.
1315 (RUN_TEST_ff_i_tg): Likewise.
1316 (RUN_TEST_f_b): Likewise.
1317 (RUN_TEST_f_b_tg): Likewise.
1318 (RUN_TEST_f_l): Likewise.
1319 (RUN_TEST_f_L): Likewise.
1320 (RUN_TEST_sincos): Likewise.
1321 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1322 whether to show exceptions. Do not include ");\n" in return
1323 value.
1324 (special_functions): Output call to RUN_TEST_sincos instead of
1325 check_float calls. Update calls to new_test.
1326 (parse_args): Output call to single RUN_TEST_* macro instead of
1327 check_* calls and other assignments. Update calls to new_test.
1328
d8cd06db
JM
1329 [BZ #2546]
1330 [BZ #2560]
1331 [BZ #5159]
1332 [BZ #15426]
1333 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1334 input to result for tgamma overflow.
1335 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1336 (gamma_coeff): New variable.
1337 (NCOEFF): New macro.
1338 (gamma_positive): New function.
1339 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1340 underflow here. Use gamma_positive instead of exp (lgamma) for
1341 other arguments.
1342 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1343 (gamma_coeff): New variable.
1344 (NCOEFF): New macro.
1345 (gammaf_positive): New function.
1346 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1347 underflow here. Use gamma_positive instead of exp (lgamma) for
1348 other arguments.
1349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1350 (gamma_coeff): New variable.
1351 (NCOEFF): New macro.
1352 (gammal_positive): New function.
1353 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1354 underflow here. Use gamma_positive instead of exp (lgamma) for
1355 other arguments.
1356 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1357 (gamma_coeff): New variable.
1358 (NCOEFF): New macro.
1359 (gammal_positive): New function.
1360 (__ieee754_gammal_r): Handle positive infinity, overflow and
1361 underflow here. Handle NaN the same as positive infinity. Remove
1362 check x < 0xffffffff for negative integers. Use gamma_positive
1363 instead of exp (lgamma) for other arguments.
1364 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1365 (gamma_coeff): New variable.
1366 (NCOEFF): New macro.
1367 (gammal_positive): New function.
1368 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1369 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1373 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1374 * sysdeps/generic/math_private.h (__gamma_productf): New
1375 prototype.
1376 (__gamma_product): Likewise.
1377 (__gamma_productl): Likewise.
1378 * math/Makefile (libm-calls): Add gamma_product.
1379 * math/libm-test.inc (tgamma_test): Add more tests.
1380 * sysdeps/i386/fpu/libm-test-ulps: Update.
1381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1382
bb7cf681
OB
13832013-05-08 Ondřej Bílka <neleai@seznam.cz>
1384
1385 * benchtests/bench-skeleton.c (main): Preheat CPU.
1386
ba853947
AJ
13872013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1388
1389 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1390
8347c74c
RM
13912013-05-07 Roland McGrath <roland@hack.frob.com>
1392
1393 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1394 and _dl_skip_args_internal.
1395
e8dd4791
CD
13962013-05-07 Carlos O'Donell <carlos@redhat.com>
1397
1398 * manual/message.texi (Message Translation): Talk about users.
1399 Message to key mapping impacts design.
1400
c7405830
RM
14012013-05-06 Roland McGrath <roland@hack.frob.com>
1402
a9173057
RM
1403 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1404
976e2f03
RM
1405 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1406
9723ffc5
RM
1407 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1408 * sysdeps/wordsize-64/glob64.c: ... here.
1409
962e6658
RM
1410 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1411 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1412 New macros.
1413
ee586a6d
RM
1414 * debug/getlogin_r_chk.c: Moved to ...
1415 * login/getlogin_r_chk.c: ... here.
1416 * debug/Makefile (routines): Move getlogin_r_chk to ...
1417 * login/Makefile (routines): ... here.
1418 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1419 * login/Versions (libc: GLIBC_2.4): ... here.
1420
355f9165
RM
1421 * io/poll.c (__poll): Renamed from poll.
1422 Add libc_hidden_def.
1423 (poll): Define as weak alias.
1424
bd9ffde6
RM
1425 * debug/ptsname_r_chk.c: Moved to ...
1426 * login/ptsname_r_chk.c: ... here.
1427 * debug/Makefile (routines): Move ptsname_r_chk to ...
1428 * login/Makefile (routines): ... here.
1429 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1430 * login/Versions (libc: GLIBC_2.4): ... here.
1431
8fb16a04
RM
1432 * posix/getlogin.c: Moved to ...
1433 * login/getlogin.c: ... here.
1434 * posix/getlogin_r.c: Moved to ...
1435 * login/getlogin_r.c: ... here.
1436 * posix/getlogin_r.c: Moved to ...
1437 * login/getlogin_r.c: ... here.
1438 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1439 * login/Makefile (routines): ... here.
1440 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1441 * login/Versions (libc: GLIBC_2.0): ... here.
1442
b99b892f
RM
1443 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1444 (setrlimit): Define as weak alias.
1445
c7405830
RM
1446 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1447 Call __ names for open, ftruncate, and close.
1448 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1449 (truncate): Define as weak alias.
1450
5bf96de5
JM
14512013-05-06 Joseph Myers <joseph@codesourcery.com>
1452
9ea3513c
JM
1453 * math/gen-libm-test.pl (parse_args): Initialize x before each
1454 test of frexp, modf and remquo.
1455
5bf96de5
JM
1456 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1457 test signgam value.
1458
16e616a7
AZ
14592013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460
1461 [BZ #15418]
1462 [BZ #15419]
1463 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1464 internal tests.
1465 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1466
d5e82754
RM
14672013-05-06 Roland McGrath <roland@hack.frob.com>
1468
1469 * elf/dl-writev.h: New file.
1470 * elf/dl-misc.c: Include it.
1471 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1472 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1473
a7548d41
JM
14742013-05-04 Joseph Myers <joseph@codesourcery.com>
1475
b7dab1e4
JM
1476 * math/libm-test.inc (noXFails): Remove variable.
1477 (noXPasses): Likewise.
1478 (BUILD_COMPLEX_INT): Remove macro.
1479 (print_screen): Remove xfail argument.
1480 (print_screen_max_error): Likewise.
1481 (update_stats): Likewise.
1482 (print_max_error): Likewise. Update calls to other affected
1483 functions.
1484 (print_complex_max_error): Likewise.
1485 (test_single_exception): Update calls to print_screen.
1486 (test_single_errno): Likewise.
1487 (check_float_internal): Remove xfail argument. Update calls to
1488 other affected functions.
1489 (check_float): Likewise.
1490 (check_complex): Likewise.
1491 (check_int): Likewise.
1492 (check_long): Likewise.
1493 (check_bool): Likewise.
1494 (check_longlong): Likewise.
1495 (main): Don't print noXFails and noXPasses.
1496 * math/gen-libm-test.pl (top level): Don't mention expected
1497 failure handling in comment.
1498 (new_test): Don't handle expected failures.
1499 (parse_args): Don't mention expected failure handling in comment.
1500 (generate_testfile): Don't handle expected failures.
1501 (parse_ulps): Likewise.
1502 (print_ulps_file): Likewise.
1503 (get_failure): Remove function.
1504 (output_test): Don't handle expected failures.
1505 * make/README.libm-test: Don't mention expected failure handling.
1506
a7548d41
JM
1507 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1508 (minus_zero): Likewise.
1509 (plus_infty): Likewise.
1510 (minus_infty): Likewise.
1511 (qnan_value): Likewise.
1512 (max_value): Likewise.
1513 (min_value): Likewise.
1514 (min_subnorm_value): Likewise.
1515 (initialize): Do not initialize those variables dynamically.
1516
60bfd54c
RM
15172013-05-03 Roland McGrath <roland@hack.frob.com>
1518
cc0e6ed8
RM
1519 * io/open.c (__open_2): Moved to ...
1520 * io/open_2.c: ... this new file.
1521 * io/open64.c (__open64_2): Moved to ...
1522 * io/open64_2.c: ... this new file.
1523 * io/openat.c (__openat_2): Moved to ...
1524 * io/openat_2.c: ... this new file.
1525 * io/openat64.c (__openat64_2): Moved to ...
1526 * io/openat64_2.c: ... this new file.
1527 * io/Makefile (routines): Add them.
1528 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1529 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1530 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1531 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1532 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1533 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1534 (__openat64): Add hidden_ver.
1535 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1536 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1537
60bfd54c
RM
1538 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1539 Separately conditionalize setting of GLRO(dl_sysinfo) so
1540 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1541 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1542
83e7640f
AZ
15432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1544
1545 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1547 definition.
1548 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1549 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1550 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1551 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1552 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1553
d5dc2af3
JM
15542013-05-03 Joseph Myers <joseph@codesourcery.com>
1555
c31a5b1e
JM
1556 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1557 test signgam value.
1558
d5dc2af3
JM
1559 * math/libm-test.inc (hypot_test): Do not use
1560 IGNORE_ZERO_INF_SIGN.
1561
164fd39d
AJ
15622013-05-03 Andreas Jaeger <aj@suse.de>
1563
1564 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1565 Linux 3.9.
1566 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1567 (PF_MAX): Adjust for VSOCK change.
1568
8237f48c
AZ
15692013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1572
9df02941
CD
15732013-05-02 Carlos O'Donell <carlos@redhat.com>
1574
1575 [BZ #15264]
1576 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1577 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1578 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1579
d422395e
DM
15802013-05-02 David S. Miller <davem@davemloft.net>
1581
1582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1583
a07c5731
OB
15842013-05-01 Ondřej Bílka <neleai@seznam.cz>
1585
1586 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1587
1324e37f
RM
15882013-05-01 Roland McGrath <roland@hack.frob.com>
1589
1590 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1591
0695940b
RS
15922013-05-01 Richard Smith <richard@metafoo.co.uk>
1593
bb5f27ad 1594 [BZ #14952]
0695940b
RS
1595 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1596 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1597 Use __attribute__ ((__gnu_inline__)).
1598 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1599 Don't use __attribute__ ((__gnu_inline__)).
1600
10de07f5
JM
16012013-05-01 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #15423]
1604 * math/s_catan.c (__catan): Handle small real or imaginary part of
1605 input specially to avoid spurious underflow.
1606 * math/s_catanf.c (__catanf): Likewise.
1607 * math/s_catanh.c (__catanh): Likewise.
1608 * math/s_catanhf.c (__catanhf): Likewise.
1609 * math/s_catanhl.c (__catanhl): Likewise.
1610 * math/s_catanl.c (__catanl): Likewise.
1611 * math/libm-test.inc (catan_test): Add more tests.
1612 (catanh_test): Likewise.
1613 * sysdeps/i386/fpu/libm-test-ulps: Update.
1614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1615
cb4d5414
AZ
16162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617
1618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1619
caf84319
JM
16202013-04-30 Joseph Myers <joseph@codesourcery.com>
1621
1622 [BZ #15416]
1623 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1624 accurately for denominator in atan2.
1625 * math/s_catanf.c (__catanf): Likewise.
1626 * math/s_catanh.c (__catanh): Likewise.
1627 * math/s_catanhf.c (__catanhf): Likewise.
1628 * math/s_catanhl.c (__catanhl): Likewise.
1629 * math/s_catanl.c (__catanl): Likewise.
1630 * math/libm-test.inc (catan_test): Add more tests.
1631 (catanh_test): Likewise.
1632 * sysdeps/i386/fpu/libm-test-ulps: Update.
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1634
d569c6ee
SP
16352013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1636
6dbe713d
SP
1637 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1638
f0ee064b
SP
1639 * benchtests/Makefile (bench): Remove slow benchmarks.
1640 * benchtests/atan-inputs: Add slow benchmark inputs.
1641 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1642 (BENCH_FUNC): Accept variant offset.
1643 (VARIANT): Define.
1644 * benchtests/bench-skeleton.c (main): Run benchmark for each
1645 variant.
1646 * benchtests/cos-inputs: Add slow benchmark inputs.
1647 * benchtests/exp-inputs: Likewise.
1648 * benchtests/pow-inputs: Likewise.
1649 * benchtests/sin-inputs: Likewise.
1650 * benchtests/slowatan-inputs: Remove.
1651 * benchtests/slowatan.c: Remove.
1652 * benchtests/slowcos-inputs: Remove.
1653 * benchtests/slowcos.c: Remove.
1654 * benchtests/slowexp-inputs: Remove.
1655 * benchtests/slowexp.c: Remove.
1656 * benchtests/slowpow-inputs: Remove.
1657 * benchtests/slowpow.c: Remove.
1658 * benchtests/slowsin-inputs: Remove.
1659 * benchtests/slowsin.c: Remove.
1660 * benchtests/slowtan-inputs: Remove.
1661 * benchtests/slowtan.c: Remove.
1662 * benchtests/tan-inputs: Add slow benchmark inputs.
1663 * scripts/bench.pl: Parse comments and directives.
1664
d569c6ee
SP
1665 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1666 in CPPFLAGS.
1667 ($(objpfx)bench-%.c): Remove *-ITER.
1668 * benchtests/bench-modf.c: Remove definition of ITER.
1669 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1670 (main): Loop for DURATION seconds instead of fixed number of
1671 iterations.
1672 * scripts/bench.pl: Don't expect iterations in parameters.
1673
a6a242fe
RM
16742013-04-29 Roland McGrath <roland@hack.frob.com>
1675
1676 * io/fchdir.c (__fchdir): Renamed from fchdir.
1677 (fchdir): Define as weak alias.
1678
f2da7793
JM
16792013-04-29 Joseph Myers <joseph@codesourcery.com>
1680
1681 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1682 (ERRNO_EDOM): Likewise.
1683 (ERRNO_ERANGE): Likewise.
1684 (noErrnoTests): New variable.
1685 (init_max_error): Set errno to 0.
1686 (test_single_errno): New function.
1687 (test_errno): Likewise.
1688 (check_float_internal): Call test_errno. Set errno to 0.
1689 (check_complex): Refer to errno tests in comment.
1690 (check_int): Call test_errno. Set errno to 0.
1691 (check_long): Likewise.
1692 (check_bool): Likewise.
1693 (check_longlong): Likewise.
1694 (cos_test): Use ERRNO_* flags for errno tests instead of
1695 check_int.
1696 (expm1_test): Likewise.
1697 (fmod_test): Likewise.
1698 (ilogb_test): Likewise.
1699 (lgamma_test): Likewise.
1700 (pow_test): Likewise.
1701 (remainder_test): Likewise.
1702 (sin_test): Likewise.
1703 (tan_test): Likewise.
1704 (yn_test): Likewise.
1705 (initialize): Set errno to 0.
1706 (main): Print number of errno tests.
1707 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1708
b1a36ceb
AJ
17092013-04-29 Andreas Jaeger <aj@suse.de>
1710
c3ed8088
AJ
1711 [BZ #15084]
1712 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1713 and RES_USEVC.
1714
f1a24198
AJ
1715 [BZ #15085]
1716 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1717 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1718 unimplemented.
1719
9ce3b2cb
AJ
1720 [BZ #15380]
1721 * stdlib/random.c (__initstate): Return NULL if
1722 __initstate fails.
1723
f1a24198 1724 [BZ #15086]
b1a36ceb
AJ
1725 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1726 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1727 RES_SNGLKUPREOP.
1728
7e7b6f36
AZ
17292013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1732
4d14f449
JM
17332013-04-29 Joseph Myers <joseph@codesourcery.com>
1734
1735 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1736 of individual tests.
1737 (casin_test): Likewise.
1738 (casinh_test): Likewise.
1739
5b4217d7
JM
17402013-04-27 Joseph Myers <joseph@codesourcery.com>
1741
1742 [BZ #15409]
1743 * math/s_catan.c (__catan): Handle arguments with large real or
1744 imaginary part separately without squaring.
1745 * math/s_catanf.c (__catanf): Likewise.
1746 * math/s_catanh.c (__catanh): Likewise.
1747 * math/s_catanhf.c (__catanhf): Likewise.
1748 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1749 and redefine.
1750 (__catanhl): Handle arguments with large real or imaginary part
1751 separately without squaring.
1752 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1753 and redefine.
1754 (__catanl): Handle arguments with large real or imaginary part
1755 separately without squaring.
1756 * math/libm-test.inc (catan_test): Add more tests.
1757 (catanh_test): Likewise.
1758 * sysdeps/i386/fpu/libm-test-ulps: Update.
1759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1760
4220c3ef
AJ
17612013-04-27 Andreas Jaeger <aj@suse.de>
1762
1763 [BZ #15007]
1764 * stdlib/stdlib.h: Update guards for qecvt.
1765 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1766 <stdlib.h>.
1767
4721b2d1
AM
17682013-04-27 Allan McRae <allan@archlinux.org>
1769
1770 * sysdeps/i386/fpu/libm-test-ulps: Update.
1771
f0302940
JM
17722013-04-26 Joseph Myers <joseph@codesourcery.com>
1773
9457fd95
JM
1774 [BZ #15406]
1775 * math/s_catan.c: Include <float.h>.
1776 (__catan): Ensure underflow exception occurs for underflowed
1777 result.
1778 * math/s_catanf.c: Include <float.h>.
1779 (__catanf): Ensure underflow exception occurs for underflowed
1780 result.
1781 * math/s_catanh.c: Include <float.h>.
1782 (__catanh): Ensure underflow exception occurs for underflowed
1783 result.
1784 * math/s_catanhf.c: Include <float.h>.
1785 (__catanhf): Ensure underflow exception occurs for underflowed
1786 result.
1787 * math/s_catanhl.c: Include <float.h>.
1788 (__catanhl): Ensure underflow exception occurs for underflowed
1789 result.
1790 * math/s_catanl.c: Include <float.h>.
1791 (__catanl): Ensure underflow exception occurs for underflowed
1792 result.
1793 * math/libm-test.inc (catan_test): Add more tests.
1794 (catanh_test): Likewise.
1795
f0302940
JM
1796 [BZ #15405]
1797 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1798 underflowed result.
1799 * math/s_ccoshf.c (__ccoshf): Likewise.
1800 * math/s_ccoshl.c (__ccoshl): Likewise.
1801 * math/s_csin.c (__csin): Likewise.
1802 * math/s_csinf.c (__csinf): Likewise.
1803 * math/s_csinh.c (__csinh): Likewise.
1804 * math/s_csinhf.c (__csinhf): Likewise.
1805 * math/s_csinhl.c (__csinhl): Likewise.
1806 * math/s_csinl.c (__csinl): Likewise.
1807 * math/libm-test.inc (ccos_test): Add more tests.
1808 (ccosh_test): Likewise.
1809 (csin_test): Likewise.
1810 (csinh_test): Likewise.
1811
aa630f59
AZ
18122013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1813
1814 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1815 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1816 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1817 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1818 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1819 powerpc/power5+/fpu folders.
1820 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1821
1822
1b835983
MT
18232013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1824
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1826
73709b26
JM
18272013-04-25 Joseph Myers <joseph@codesourcery.com>
1828
1829 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1830 additions to variable.
1831 [$(config-machine) = x86_64] (modules-names): Likewise.
1832 ($(objpfx)tst-audit3): Remove dependency.
1833 ($(objpfx)tst-audit3.out): Likewise.
1834 ($(objpfx)tst-audit4): Likewise.
1835 ($(objpfx)tst-audit4.out): Likewise.
1836 ($(objpfx)tst-audit5): Likewise.
1837 ($(objpfx)tst-audit5.out): Likewise.
1838 ($(objpfx)tst-audit6): Likewise.
1839 ($(objpfx)tst-audit6.out): Likewise.
1840 ($(objpfx)tst-audit7): Likewise.
1841 ($(objpfx)tst-audit7.out): Likewise.
1842 (tst-audit3-ENV): Remove variable.
1843 (tst-audit4-ENV): Likewise.
1844 (tst-audit5-ENV): Likewise.
1845 (tst-audit6-ENV): Likewise.
1846 (tst-audit7-ENV): Likewise.
1847 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1848 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1849 addition to variable.
1850 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1851 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1852 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1853 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1854 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1855 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1856 tst-audit3, tst-audit4 and tst-audit5.
1857 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1858 tst-audit6 and tst-audit7.
1859 [$(subdir) = elf] (modules-names): Add audit modules for those
1860 tests.
1861 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1862 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1863 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1864 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1865 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1866 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1867 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1868 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1869 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1870 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1871 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1872 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1873 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1874 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1875 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1876 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1877 Likewise.
1878 [$(subdir) = elf && $(config-cflags-avx) = yes]
1879 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1880 [$(subdir) = elf && $(config-cflags-avx) = yes]
1881 (CFLAGS-tst-auditmod4a.c): Likewise.
1882 [$(subdir) = elf && $(config-cflags-avx) = yes]
1883 (CFLAGS-tst-auditmod4b.c): Likewise.
1884 [$(subdir) = elf && $(config-cflags-avx) = yes]
1885 (CFLAGS-tst-auditmod6b.c): Likewise.
1886 [$(subdir) = elf && $(config-cflags-avx) = yes]
1887 (CFLAGS-tst-auditmod6c.c): Likewise.
1888 [$(subdir) = elf && $(config-cflags-avx) = yes]
1889 (CFLAGS-tst-auditmod7b.c): Likewise.
1890 * elf/tst-audit3.c: Move to ...
1891 * sysdeps/x86_64/tst-audit3.c: ... here.
1892 * elf/tst-audit4.c: Move to ...
1893 * sysdeps/x86_64/tst-audit4.c: ... here.
1894 * elf/tst-audit5.c: Move to ...
1895 * sysdeps/x86_64/tst-audit5.c: ... here.
1896 * elf/tst-audit6.c: Move to ...
1897 * sysdeps/x86_64/tst-audit6.c: ... here.
1898 * elf/tst-audit7.c: Move to ...
1899 * sysdeps/x86_64/tst-audit7.c: ... here.
1900 * elf/tst-auditmod3a.c: Move to ...
1901 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1902 * elf/tst-auditmod3b.c: Move to ...
1903 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1904 * elf/tst-auditmod4a.c: Move to ...
1905 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1906 * elf/tst-auditmod4b.c: Move to ...
1907 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1908 * elf/tst-auditmod5a.c: Move to ...
1909 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1910 * elf/tst-auditmod5b.c: Move to ...
1911 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1912 * elf/tst-auditmod6a.c: Move to ...
1913 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1914 * elf/tst-auditmod6b.c: Move to ...
1915 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1916 * elf/tst-auditmod6c.c: Move to ...
1917 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1918 * elf/tst-auditmod7a.c: Move to ...
1919 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1920 * elf/tst-auditmod7b.c: Move to ...
1921 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1922
1ef74943
PP
19232013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1924
1925 [BZ #15366]
1926 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1927 define unconditionally.
1928 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1929 define unconditionally.
1930 (INT8_C, INT16_C, etc.): Likewise.
1931
93fd48c5
MR
19322013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1933
ae9552cf
MR
1934 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1935 __ehdr_start with hidden visibility.
1936
93fd48c5
MR
1937 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1938
418601aa
CD
19392013-04-24 Carlos O'Donell <carlos@redhat.com>
1940
1941 * math/libm-test.inc (cos_test): Use accurate hex constants.
1942 (sincost_test): Likewise.
1943
2f38fbfe
JM
19442013-04-24 Joseph Myers <joseph@codesourcery.com>
1945
5e221800
JM
1946 * math/libm-test.inc (catan_test): Add more tests.
1947 (catanh_test): Likewise.
1948
77f143fd
JM
1949 * math/s_catanf.c (__catanf): Use suffixed floating-point
1950 constants.
1951 * math/s_catanhf.c (__catanhf): Likewise.
1952 * math/s_catanhl.c (__catanhl): Likewise.
1953 * math/s_catanl.c (__catanl): Likewise.
1954
2f38fbfe
JM
1955 [BZ #15394]
1956 * math/s_catan.c (__catan): Calculate imaginary part of result
1957 with log1p not log unless computing log of number close to 0.
1958 * math/s_catanf.c (__catanf): Likewise.
1959 * math/s_catanl.c (__catanl): Likewise.
1960 * math/s_catanh.c (__catanh): Calculate real part of result with
1961 log1p not log unless computing log of number close to 0.
1962 * math/s_catanhf.c (__catanhf): Likewise.
1963 * math/s_catanhl.c (__catanhl): Likewise.
1964 * math/libm-test.inc (catan_test): Add more tests.
1965 (catanh_test): Likewise.
1966 * sysdeps/i386/fpu/libm-test-ulps: Update.
1967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1968
45d69176
SP
19692013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1970
1971 * benchtests/Makefile: Mention files in which fast and slow
1972 paths of math functions are implemented.
1973
87f51853
RM
19742013-04-23 Roland McGrath <roland@hack.frob.com>
1975
1976 * sysdeps/posix/timespec_get.c: New file.
1977
3c026539
AZ
19782013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979
1980 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1981 POWER.
1982 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1983 for POWER.
1984 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1985 powerpc/power5/fpu folders.
1986 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1987 * benchtests/Makefile: Add modf testcase.
1988 * benchtests/bench-modf.c: New file: Benchmark test for mo
1989
ff491d14
SP
19902013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1991
1992 [BZ #14888]
1993 * time/Makefile (tests): Add tst-strptime-whitespace.
1994 * time/strptime_l.c (get_number): Use ISSPACE.
1995 (__strptime_internal): Likewise.
1996 * time/tst-strptime-whitespace.c: New test case.
1997
7ed3f4e8
AS
19982013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1999
2000 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2001 member.
2002 (_nss_files_init): Set it here.
2003
5c95f7b6
HC
20042013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2005
2006 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2007 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2008 unsigned.
2009
d34c9158
JBG
20102013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2011
2012 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2013
2169712d
SP
20142013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2015
2016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2017 size just once.
2018
29c5de99
DM
20192013-04-21 David S. Miller <davem@davemloft.net>
2020
2021 * po/ru.po: Update Russion translation from translation project.
2022
ccdad15d
AC
20232013-04-17 Adam Conrad <adconrad@0c3.net>
2024
2025 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2026 and setfsgid.
2027
0f122b8d
CD
20282013-04-17 Carlos O'Donell <carlos@redhat.com>
2029
5c5b07da 2030 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2031 * configure: Regenerate.
5c5b07da 2032 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2033 Add example to error message.
2034 * sysdeps/i386/configure: Regenerate.
2035
037714dd
SP
20362013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2037
2038 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2039 slowtan.
2040 * benchtests/cos-inputs: New file.
2041 * benchtests/slowcos-inputs: New file.
2042 * benchtests/slowcos.c: New file.
2043 * benchtests/slowtan-inputs: New file.
2044 * benchtests/slowtan.c: New file.
2045 * benchtests/tan-inputs: New file.
2046
e913141d
RM
20472013-04-16 Roland McGrath <roland@hack.frob.com>
2048
2049 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2050 considered kosher.
2051
a2964074
SP
20522013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2053
4856bcd2
SP
2054 * benchtests/Makefile: Include cppflags-iterator.mk to add
2055 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2056
a2964074
SP
2057 * Makefile.in (bench-clean): New target.
2058 * benchtests/Makefile (bench-clean): Likewise.
2059
9fbf9aca
DH
20602013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2061
2062 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2063
207d1e2a
TS
20642013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2065
2066 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2067
306dfba9
AS
20682013-04-15 Andreas Schwab <schwab@suse.de>
2069
2070 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2072 * nscd/pwdcache.c (cache_addpw): Likewise.
2073 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2074 more than recsize.
2075
206a6699
SP
20762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2077
2078 * benchtests/Makefile (bench): Write all output to
2079 bench-out.tmp together.
2080
0582f6b3
AS
20812013-04-15 Andreas Schwab <schwab@suse.de>
2082
2083 * nscd/nscd.c (main): Don't fork again after closing files.
2084
acb4325f
SP
20852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2086
5cb26d0a
SP
2087 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2088
acb4325f
SP
2089 * benchtests/Rules (bench-deps): Collect dependencies into a
2090 single variable. Add Makefile to dependencies.
2091 ($(objpfx)bench-%.c): Depend on bench-deps.
2092
47792506
RM
20932013-04-12 Roland McGrath <roland@hack.frob.com>
2094 Xavier Roche <roche+kml2@exalead.com>
2095
2096 [BZ #15361]
2097 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2098 just that it's a file descriptor.
2099 * manual/llio.texi (Synchronizing AIO Operations): Update description
2100 for EBADF error from aio_fsync.
2101
8fc1bee5
SP
21022013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2103
2104 * Rules (bench): Move target definition...
2105 * benchtests/Makefile: ... here.
2106
aba5e333
CD
21072013-04-11 Carlos O'Donell <carlos@redhat.com>
2108
2109 * math/libm-test.inc (cos_test): Fix PI/2 test.
2110 (sincos_test): Likewise.
2111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2112 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2113
273cdee8
AS
21142013-04-11 Andreas Schwab <schwab@suse.de>
2115
6ecec3b6
AS
2116 [BZ #13988]
2117 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2118 accept exponent character only when digits were seen.
2119 * stdio-common/Makefile (tests): Add bug26.
2120 * stdio-common/bug26.c: New file.
2121
273cdee8
AS
2122 [BZ #14293]
2123 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2124 non-freeable.
2125
8da491f5
SP
21262013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2127
01dc6df9
SP
2128 * Makeconfig (rtld-prefix): Define built linker prefix.
2129 * Rules (run-bench): Use it.
2130 * math/Makefile (run-regen-ulps): Likewise.
2131
8da491f5
SP
2132 * Rules (bench): Remove eval.
2133
abe7f530
SP
21342013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2135 Roland McGrath <roland@hack.frob.com>
2136 Ondrej Bilka <neleai@seznam.cz>
2137
2138 [BZ #15346]
2139 * time/getdate.c: Include ctype.h and alloca.h.
2140 (__getdate_r): Trim leading and trailing spaces of input.
2141 * time/tst-getdate.c (tests): Add tests with leading and
2142 trailing spaces.
2143
61c23e62
RM
21442013-04-08 Roland McGrath <roland@hack.frob.com>
2145
2146 [BZ #14280]
2147 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2148 when computing value.
2149
7208a313
CD
21502013-04-06 Carlos O'Donell <carlos@redhat.com>
2151
085b2d41
CD
2152 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2153 Use testrun.sh to run libm tests.
2154
7208a313
CD
2155 [BZ #15309]
2156 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2157
872c0acd
MM
21582013-04-06 Marko Myllynen <myllynen@redhat.com>
2159
2160 [BZ #15264]
2161 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2162
26510bdd
CD
21632013-04-06 Carlos O'Donell <carlos@redhat.com>
2164
2165 * Makefile.in (regen-ulps): New target.
2166 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2167 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2168 [ifneq (no,$(PERL)] (regen-ulps): New target.
2169 [ifeq (no,$(PERL)] (regen-ulps): New target.
2170 * math/libm-test.inc (ulps_file_name): Define.
2171 (output_dir): New variable.
2172 (options): Add "output-dir" option.
2173 (parse_opt): Handle 'o' case.
2174 (main): If output_dir is non-NULL use it as a prefix
2175 otherwise use "".
2176 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2177
a01f19c8
CD
21782013-04-06 Carlos O'Donell <carlos@redhat.com>
2179
2180 [BZ #10060, #10062]
2181 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2182 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2183 fail configure if __sync_val_compare_and_swap is not inlined.
2184 * sysdeps/i386/configure: Regenerate.
2185 * configure.in: Build for i686 when configured for i386.
2186 * configure: Regenerate.
2187 * README: Remove i386 reference.
2188
b7a329a5
CD
21892013-04-06 Carlos O'Donell <carlos@redhat.com>
2190
2191 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2193
bf0f50df
TS
21942013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2195
ee091edf
TS
2196 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2197 (lmsnanval): New variables.
2198 (F): Add conversion tests.
2199 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2200 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2201
a8b792d6
TS
2202 * stdio-common/tstdiomisc.c (F): Properly collect individual
2203 tests' results.
2204
a1cbf437
TS
2205 [BZ #14686, #15336]
2206 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2207 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2208 Instead, use input NaN values or generate a qNaN by arithmetic
2209 operation. Also fix bugs to comply with the standard.
2210 * math/libm-test.inc (remainder_test): Add more tests.
2211
8b43a0c9
TS
2212 [BZ #15335, #15342]
2213 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2214 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2215 input NaN values or generate a qNaN by arithmetic operation.
2216
d91da4ce
TS
2217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2218 unreachable code.
2219
bf0f50df
TS
2220 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2221 definitions.
2222
05e166c8
JM
22232013-04-03 Joseph Myers <joseph@codesourcery.com>
2224
2225 [BZ #14478]
2226 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2227 underflowed result.
2228 * math/s_cexpf.c (__cexpf): Likewise.
2229 * math/s_cexpl.c (__cexpl): Likewise.
2230 * math/libm-test.inc (cexp_test): Add more tests.
2231
1cef1b19
AS
22322013-04-03 Andreas Schwab <schwab@suse.de>
2233
2234 [BZ #15330]
2235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2236 order arrays from heap if bigger than alloca cutoff.
2237
74d87055
TS
22382013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2239
2240 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2241 (SNAN_TESTS_double): Refer to GCC PR56831.
2242 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2243 GCC PR56828.
2244
d755bba4
SP
22452013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2246
90d5d5bb
SP
2247 * Rules (bench): Move bench.out after the run is complete.
2248
73e0cd5d
SP
2249 * Rules (bench): Echo currently running benchmark.
2250
64aabd4b
SP
2251 * benchtests/Makefile (bench): Add atan and slowatan.
2252 * benchtests/atan-inputs: New file.
2253 * benchtests/slowatan-inputs: New file.
2254 * benchtests/slowatan.c: New file.
2255
c871eccd
SP
2256 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2258 its value.
2259
d755bba4
SP
2260 [BZ #15305]
2261 * sysdeps/unix/sysv/linux/kernel-features.h
2262 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2263 __ASSUME_XFS_RESTRICTED_CHOWN.
2264 * sysdeps/unix/sysv/linux/pathconf.c
2265 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2266 Save and restore errno.
2267
52ce4860
JM
22682013-04-02 Joseph Myers <joseph@codesourcery.com>
2269
2270 [BZ #15327]
2271 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2272 arguments using __kernel_casinh.
2273 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2274 arguments using __kernel_casinhf.
2275 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2276 arguments using __kernel_casinhl.
2277 * math/libm-test.inc (cacosh_test): Add more tests.
2278 * sysdeps/i386/fpu/libm-test-ulps: Update.
2279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2280
81f311c2
SP
22812013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2282
e7906a47
SP
2283 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2285
92e3664b
SP
2286 * bench/Makefile (bench): Add sin and slowsin.
2287 * benchtests/sin-inputs: New file.
2288 * benchtests/slowsin-inputs: New file.
2289 * benchtests/slowsin.c: New file.
2290
81f311c2
SP
2291 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2292 (bench): Add slowexp and slowpow.
2293 (exp-ITER): Increase iterations.
2294 (pow-ITER): Likewise.
2295 * benchtests/exp-inputs: Change input.
2296 * benchtests/pow-inputs: Likewise.
2297 * benchtests/slowexp-inputs: New file.
2298 * benchtests/slowexp.c: New file.
2299 * benchtests/slowpow-inputs: New file.
2300 * benchtests/slowpow.c: New file.
2301
ab0f1aa9
AZ
23022013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303
2304 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2305 instructions.
2306 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2308 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2309 * benchtests/Makefile: Add rint benchtest.
2310 * benchtests/rint-inputs: Input for rint benchtest.
2311
57267616
TS
23122013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2313
2314 * Versions.def (libm): Add GLIBC_2.18.
2315 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2316 hidden libm prototypes.
2317 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2318 * math/Makefile (libm-calls): Add s_issignaling.
2319 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2320 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2321 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2322 declaration.
2323 * math/math.h [__USE_GNU] (issignaling): New macro.
2324 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2325 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2327 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2330 * manual/arith.texi (issignaling): New section.
2331 * manual/libm-err-tab.pl (@all_functions): Update comment.
2332 * math/gen-libm-test.pl (parse_args): Apply special handling for
2333 issignaling.
2334 * math/libm-test.inc (print_float, issignaling_test): New
2335 functions.
2336 (check_float_internal): Add issignaling checks.
2337 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2338 default definition.
2339 * sysdeps/powerpc/math-tests.h: New file.
2340 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2341 tests.
2342 * math/test-snan.c (TEST_FUNC): Likewise.
2343
6142896d
DM
23442013-03-30 David S. Miller <davem@davemloft.net>
2345
2346 * po/de.po: Update from translation team.
2347
ccc8cadf
JM
23482013-03-30 Joseph Myers <joseph@codesourcery.com>
2349
2350 [BZ #10357]
2351 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2352 imaginary part less than 1.0 and real part less than 0.5
2353 specially.
2354 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2355 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2356 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2357 (cacos_test): Add more tests.
2358 (casin_test): Likewise.
2359 (casinh_test): Likewise.
2360 * sysdeps/i386/fpu/libm-test-ulps: Update.
2361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2362
0f6a8d4b
SP
23632013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2364
0d1029de
SP
2365 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2366 ONE with its value.
2367
c2d94018
SP
2368 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2369 (__pow_mp): Replace ONE and MONE with their values.
2370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2371 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2372 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2373 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2374 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2375 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2376
27ec37f1
SP
2377 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2378
a64d7e0e
SP
2379 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2380 (__pow_mp): Replace ZERO and MZERO with their values.
2381 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2382 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2383 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2385 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2386 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2387 (__sqr): Likewise.
2388
d26dd3eb
SP
2389 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2390
0f6a8d4b
SP
2391 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2392
e57b0c61
RM
23932013-03-28 Roland McGrath <roland@hack.frob.com>
2394
2395 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2396 Declare with __attribute__ ((weak)).
2397 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2398 Call __call_tls_dtors only if it's not NULL.
2399
356b3480
RM
24002013-03-28 Roland McGrath <roland@hack.frob.com>
2401
288f7d79
RM
2402 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2403 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2404 magic __ehdr_start linker symbol if it's defined.
2405 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2406 them up here if it was already done.
2407
dc0a0263
RM
2408 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2409 (_dl_aux_init): Use const in cast when setting it.
2410 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2411 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2412 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2413
3d3436ae
RM
2414 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2415 Declare them here.
2416 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2417 * csu/libc-tls.c: Nor here.
2418 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2419
356b3480
RM
2420 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2421 (__libc_message): Never call vsyslog.
2422
b0f1246a
AM
24232013-03-28 Alan Modra <amodra@gmail.com>
2424
2425 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2426 Define as empty.
2427 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2428 Likewise.
2429
fbbe2b9a
AZ
24302013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2431
2432 [BZ #15214]
2433 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2434 underflow.
2435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2436
1728ab37
SP
24372013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
7a86be6e
SP
2439 [BZ #15304]
2440 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2441 Don't add gid passed as argument.
2442
1728ab37
SP
2443 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2444
3a7182a1
JM
24452013-03-27 Joseph Myers <joseph@codesourcery.com>
2446
2447 [BZ #15307]
2448 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2449 imaginary part between 1.0 and 1.5 and real part less than 0.5
2450 specially.
2451 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2452 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2453 * math/libm-test.inc (cacos_test): Add more tests.
2454 (casin_test): Likewise.
2455 (casinh_test): Likewise.
2456 * sysdeps/i386/fpu/libm-test-ulps: Update.
2457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2458
6f2e90e7
SP
24592013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
5739f705
SP
2461 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2462 constants.
2463 (norm): Likewise.
2464 (denorm): Likewise.
2465 (__dbl_mp): Likewise.
2466 (add_magnitudes): Likewise.
2467 (sub_magnitudes): Likewise.
2468 (__add): Likewise.
2469 (__sub): Likewise.
2470 (__mul): Likewise.
2471 (__sqr): Likewise.
2472 (__inv): Likewise.
2473 (__dvd): Likewise.
2474
e375e83d
SP
2475 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2476 commented code.
2477 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2478 (__dubcos): Likewise.
2479 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2480 (__ieee754_acos): Likewise.
2481 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2482 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2483 (__exp1): Likewise.
2484 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2486 (log1): Likewise.
2487 (my_log2): Likewise.
2488 (checkint): Likewise.
2489 * sysdeps/ieee754/dbl-64/e_remainder.c
2490 (__ieee754_remainder): Likewise.
2491 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2492 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2493 (bsloww): Likewise.
2494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2495
6f2e90e7
SP
2496 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2497 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2498 MANTISSA_STORE_T to store computations on mantissa. Use
2499 macros for rounding and division.
2500 (denorm): Likewise.
2501 (__dbl_mp): Likewise.
2502 (add_magnitudes): Likewise.
2503 (sub_magnitudes): Likewise.
2504 (__mul): Likewise.
2505 (__sqr): Likewise.
2506 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2507 powers of two in terms of TWOPOW macro.
2508 (mp_no): Make type of mantissa as MANTISSA_T.
2509 [!RADIXI]: Define RADIXI.
2510 [!TWO52]: Define TWO52.
2511 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2512
fce14d4e
AZ
25132013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514
2515 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2516 llroundl symbol when building for PPC32.
2517
9ad027fb
MW
25182013-03-24 Mark H Weaver <mhw@netris.org>
2519
2520 * manual/arith.texi (Normalization Functions): Fix prototypes for
2521 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2522
e42a38dd
AZ
25232013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524
2525 [BZ #13889]
2526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2527 high value to check if expl overflow.
2528 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2529 to check for underflow and overflow.
2530 * math/libm-test.inc: Add exp test.
2531
2e0fb521
DL
25322013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2533
2534 [BZ #11120]
2535 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2536 with NOT_IN_libc.
2537
b5784d95
AZ
25382013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2539
2540 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2541 symbol.
2542
5aa4a1a1
TS
25432013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2544
bdef0be7
TS
2545 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2546 wrap blocks consisting of several statements.
2547
5aa4a1a1
TS
2548 * sysdeps/generic/math-tests.h: New file.
2549 * sysdeps/i386/fpu/math-tests.h: Likewise.
2550 * math/test-snan.c: Include it.
2551 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2552
98c48fe5
JM
25532013-03-21 Joseph Myers <joseph@codesourcery.com>
2554
2555 [BZ #15285]
2556 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2557 (__ieee754_j0l): Do not improve calculations using cos of twice
2558 input for inputs above LDBL_MAX / 2.0L.
2559 (__ieee754_y0l): Likewise.
2560 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2561 (__ieee754_j1l): Do not improve calculations using cos of twice
2562 input for inputs above LDBL_MAX / 2.0L.
2563 (__ieee754_y1l): Likewise.
2564 * math/libm-test.inc (j0_test): Add another test.
2565 (j1_test): Likewise.
2566 (y0_test): Likewise.
2567 (y1_test): Likewise.
2568 * sysdeps/i386/fpu/libm-test-ulps: Update.
2569
3775a8bc
SP
25702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2571
2572 * Rules ($(objpfx)bench-%.c): Include code from a C source
2573 file.
2574
0a1b2ae6
JM
25752013-03-21 Joseph Myers <joseph@codesourcery.com>
2576
2577 [BZ #15287]
2578 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2579 imaginary part 1.0 and real part less than 0.5 specially.
2580 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2581 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2582 * math/libm-test.inc (cacos_test): Add more tests.
2583 (casin_test): Likewise.
2584 (casinh_test): Likewise.
2585 * sysdeps/i386/fpu/libm-test-ulps: Update.
2586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2587
b33d4ce4
SP
25882013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2589
2590 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2591 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2592
bef0b507
JM
25932013-03-20 Joseph Myers <joseph@codesourcery.com>
2594
2595 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2596 * config.make.in (config-cflags-sse4): Remove variable.
2597 (config-cflags-avx): Likewise.
2598 (config-cflags-sse2avx): Likewise.
2599 (config-cflags-novzeroupper): Likewise.
2600 (config-asflags-i686): Likewise.
2601 (have-mfma4): Likewise.
2602 (have-as-vis3): Likewise.
2603 (MIG): Likewise.
2604 * configure.in (MIG): Do not AC_SUBST.
2605 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2606 (libc_cv_cc_sse4): Do not AC_SUBST.
2607 (libc_cv_cc_avx): Likewise.
2608 (libc_cv_cc_sse2avx): Likewise.
2609 (libc_cv_cc_novzeroupper): Likewise.
2610 (libc_cv_cc_fma4): Likewise.
2611 (libc_cv_as_i686): Likewise.
2612 (libc_cv_sparc_as_vis3): Likewise.
2613 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2614 LIBC_CONFIG_VAR.
2615 (config-asflags-i686): Likewise.
2616 (config-cflags-avx): Likewise.
2617 (config-cflags-sse2avx): Likewise.
2618 (have-mfma4): Likewise.
2619 (config-cflags-novzeroupper): Likewise.
2620 * sysdeps/mach/configure.in (MIG): Likewise.
2621 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2622 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2623 LIBC_CONFIG_VAR.
2624 (config-cflags-avx): Likewise.
2625 (config-cflags-sse2avx): Likewise.
2626 (have-mfma4): Likewise.
2627 (config-cflags-novzeroupper): Likewise.
2628 * configure: Regenerated.
2629 * sysdeps/i386/configure: Likewise.
2630 * sysdeps/mach/configure: Likewise.
2631 * sysdeps/sparc/configure: Likewise.
2632 * sysdeps/x86_64/configure: Likewise.
2633
912cc4b3
RM
26342013-03-20 Roland McGrath <roland@hack.frob.com>
2635
2636 [BZ #14812]
2637 * locale/programs/localedef.c (options): Put N_ translation marker
2638 on argument names, not just descriptions.
2639
04eed2b0
MS
26402013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2641
2642 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2643
a065ceff
OB
26442013-03-20 Ondřej Bílka <neleai@seznam.cz>
2645
9bb2a810 2646 [BZ #14176]
a065ceff
OB
2647 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2648
a600e5ce
RM
26492013-03-19 Roland McGrath <roland@hack.frob.com>
2650
2651 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2652 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2653 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2654 [!BEFORE_ABORT] (before_abort): New function.
2655 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2656 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2657 (writev_for_fatal): New function.
2658 (WRITEV_FOR_FATAL): New macro; call that.
2659 (backtrace_and_maps): New function.
2660 (BEFORE_ABORT): New macro; call that.
2661 (struct str_list): Type removed.
2662 (__libc_message, __libc_fatal): Functions removed.
2663 Include <sysdeps/posix/libc_fatal.c> instead.
2664
6b18bea6
JM
26652013-03-19 Joseph Myers <joseph@codesourcery.com>
2666
2667 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2668 constants.
2669 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2670 double constants.
2671
aaa8cb4b
AS
26722013-03-19 Andreas Schwab <schwab@suse.de>
2673
44673770
AS
2674 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2675 * sysdeps/gnu/configure: Regenerate.
2676
aaa8cb4b
AS
2677 * configure.in: Substitute libc_cv_rtlddir.
2678 * configure: Regenerate.
2679 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2680 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2681 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2682 * elf/Makefile (install-others, CFLAGS-interp.c)
2683 (ldso_install, common-ldd-rewrite): Likewise.
2684 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2685 $(inst_slibdir)/$(rtld-installed-name).
2686 * scripts/rellns-sh: Add -p option.
2687 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2688 for source.
2689
d3cfc668
SP
26902013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2691
2692 * manual/nptl.texi: Renamed to ...
2693 * manual/threads.texi: ... this.
2694 * manual/Makefile (chapters): Update.
2695
0e2b9cdd
RM
26962013-03-18 Roland McGrath <roland@hack.frob.com>
2697
2698 [BZ #14812]
2699 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2700 on argument names, not just descriptions.
0e2b9cdd
RM
2701 * malloc/memusagestat.c (options): Likewise.
2702 * nss/getent.c (options): Likewise.
63270c24
RM
2703
27042013-03-18 Benno Schulenberg <bensberg@justemail.net>
2705
2706 [BZ #14812]
2707 * iconv/iconv_prog.c (options): Put N_ translation marker
2708 on argument names, not just descriptions.
2709 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 2710
b2e1393c
OB
27112013-03-18 Ondrej Bilka <neleai@seznam.cz>
2712
2713 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2714 implementation which is faster on all x86_64 architectures.
2715 Tested on AMD, Intel Nehalem, SNB, IVB.
2716 * sysdeps/x86_64/strnlen.S: Likewise.
2717
2718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2719 Remove all multiarch strlen and strnlen versions.
2720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2721 Remove strlen and strnlen related parts.
2722
2723 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2724 Inline strlen part.
2725 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2726
2727 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2728 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2730 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2731 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2732 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2733
ec4ff04d
CD
27342013-03-17 Carlos O'Donell <carlos@redhat.com>
2735
2736 * manual/memory.texi (Malloc Tunable Parameters):
2737 Sort parameters alphabetically. Add comments for missing entries.
2738
cd18e90a
DM
27392013-03-17 David S. Miller <davem@davemloft.net>
2740
2741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2742
2a185d32
JM
27432013-03-16 Joseph Myers <joseph@codesourcery.com>
2744
d2f9799e
JM
2745 [BZ #15283]
2746 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2747 for arguments at most half maximum finite value.
2748 * math/libm-test.inc (j0_test): Add more tests.
2749 (j1_test): Likewise.
2750 (y0_test): Likewise.
2751 (y1_test): Likewise.
2752 * sysdeps/i386/fpu/libm-test-ulps: Update.
2753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2754
2a185d32
JM
2755 [BZ #14155]
2756 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2757 1 / x and functions P and Q for arguments above 0x1p256L.
2758 (__ieee754_y0l): Likewise.
2759 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2760 (__ieee754_y1l): Likewise.
2761 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2762 (j1_test): Likewise.
2763 (y0_test): Likewise.
2764 (y1_test): Likewise.
2765
6cbec759
TS
27662013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2767
2768 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2769 variable.
2770
bc16e260
RM
27712013-03-15 Roland McGrath <roland@hack.frob.com>
2772
aefc9b8c
RM
2773 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2774 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2775 zero since it's initialized to EXEC_PAGESIZE.
2776
bc16e260
RM
2777 * sysdeps/unix/sysv/linux/ldsodefs.h
2778 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2779 * sysdeps/generic/ldsodefs.h: ... here.
2780
a57da955
TS
27812013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2782
af00a34d
TS
2783 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2784
495ded2c
TS
2785 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2786 math/test-snan.c.
2787 * math/test-snan.c: Renamed from
2788 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2789 * math/Makefile (tests): Add test-snan.
2790 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2791 test-powerpc-snan.
2792
777b0332
TS
2793 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2794 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2795 functions.
2796 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2797 __builtin_nan family of functions.
2798 * math/libm-test.inc (initialize): Initialize qnan_value with
2799 __builtin_nan family of functions.
2800 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2801 Remove variables.
2802 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2803 Remove functions.
2804 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2805 storage class. Initialize qNaN_var and sNaN_var with
2806 __builtin_nan and __builtin_nans families of functions,
2807 respectively.
2808
64d063b8
TS
2809 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2810 (sqrt_test): Remove duplicate test with qNaN input.
2811 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2812 (round_test, signbit_test, significand_test): Note missing +/-Inf
2813 as well as qNaN tests.
2814
67e971f1
TS
2815 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2816 qNaN_var. Fix a few strings, too.
2817 * math/libm-test.inc (nan_value): Rename to qnan_value.
2818 * math/gen-libm-test.pl (%beautify): Adjust to that.
2819 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2820 * math/test-misc.c (main): Likewise.
2821 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2822 to __qnan_bytes, and __qnan_union, respectively.
2823 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2824 Likewise.
2825 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2826 and lqnanval, respectively.
2827 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2828 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2829 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2830 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2831
64487e12
TS
2832 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2833 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2834 doubles.
2835
e015e27b
TS
2836 * math/test-misc.c (main): Fix copy'n'pastos.
2837 * misc/tst-efgcvt.c (special): Likewise.
2838
a57da955
TS
2839 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2840 Remove declarations.
2841
1e380345
SP
28422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2843
2844 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2845 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2846 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2847 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2848
ef26eece
AZ
28492013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2850
2851 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2852 macro to return vdso values correctly in IFUNC implementations.
2853 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2854 Optimization by using IFUNC.
2855
8cfdb7e0
SP
28562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2857 Richard Henderson <rth@redhat.com>
2858 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2859
2860 * Makefile.in (bench): New target.
2861 * NEWS: Mention the benchmark framework.
2862 * Rules (bench): Likewise.
2863 (binaries-bench): Generate binaries for functions to
2864 benchmark.
2865 * benchtests/Makefile: New makefile for benchmark tests.
2866 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2867 programs.
2868 * benchtests/exp-inputs: New input file for EXP function.
2869 * benchtests/pow-inputs: New input file for POW function.
2870 * scripts/bench.pl: New script to generate source files for
2871 benchmark programs.
2872
bcda9880
SP
28732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2874
d22ca8cd
SP
2875 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2876 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2877 computations on mantissa. Use macros for rounding and
2878 division.
2879 (denorm): Likewise.
2880 (__dbl_mp): Likewise.
2881 (add_magnitudes): Likewise.
2882 (sub_magnitudes): Likewise.
2883 (__mul): Likewise.
2884 (__sqr): Likewise.
2885 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2886 powers of two in terms of TWOPOW macro.
2887 (mp_no): Make type of mantissa as MANTISSA_T.
2888 [!RADIXI]: Define RADIXI.
2889 [!TWO52]: Define TWO52.
2890 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2891
bcda9880
SP
2892 * manual/nptl.texi (cindex): Modify threads to pthreads.
2893
06d5adfb
JM
28942013-03-15 Joseph Myers <joseph@codesourcery.com>
2895
2896 * sysdeps/x86_64/preconfigure: Regenerated.
2897
41c7328e
JM
28982013-03-14 Joseph Myers <joseph@codesourcery.com>
2899
2900 [BZ #14155]
2901 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2902 0x1p28 and above.
2903 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2904 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2905 0x1p28 and above.
2906 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2907 * math/libm-test.inc (j0_test): Do not allow one spurious
2908 underflow exception.
2909 (y1_test): Likewise.
2910
e25cfa60
SP
29112013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2912
0409959c
SP
2913 * manual/Makefile (chapters): Add nptl.
2914 * manual/debug.texi (Debugging Support): Add link to Threads
2915 chapter.
2916 * manual/nptl.texi: New file.
2917
e25cfa60
SP
2918 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2919
58a1335e
PB
29202013-03-14 Petr Baudis <pasky@ucw.cz>
2921
2922 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2923 for non-NULL pointer before the memory validity test. Pointed
2924 out by Holger Brunck <holger.brunck@keymile.com>.
2925
9dc7c64f
AS
29262013-03-13 Andreas Schwab <schwab@suse.de>
2927
2928 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2929 instead of .os.
2930
54206aa6
JM
29312013-03-13 Joseph Myers <joseph@codesourcery.com>
2932
2933 * timezone/zic.c: Update from tzcode 2013b.
2934
e98cdb38
CD
29352013-03-12 Carlos O'Donell <carlos@redhat.com>
2936
2937 * manual/install.texi (Configuring and compiling):
2938 Mention i686 and i586.
2939 * INSTALL: Regenerate.
2940
9967e003
RM
29412013-03-12 Roland McGrath <roland@hack.frob.com>
2942
2943 * sysdeps/init_array/elf-init.c: New file.
2944 * csu/elf-init.c
2945 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2946 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2947
2948 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2949 __gmon_start__ as global, but as static with a .preinit_array pointer.
2950 * sysdeps/init_array/gmon-start.c: New file. Use that.
2951 * sysdeps/init_array/crti.S: New file, empty except for comments.
2952 * sysdeps/init_array/crtn.S: Likewise.
2953
e6b5a293 29542013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2955
2956 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2957 definining bcopy.
80f844c9
OB
2958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2959 Remove Prefer_SSE_for_memop.
2960 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2961 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2962 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2964 memset-x86-64.
80f844c9 2965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2966 Remove bzero, memset ifunc support.
80f844c9
OB
2967 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2968 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2969 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2970 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2971
fb6b0fcb
AS
29722013-03-11 Andreas Schwab <schwab@suse.de>
2973
2974 [BZ #15234]
2975 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2976 by SHLIB_COMPAT.
2977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2978 (GLIBC_2.16): Remove pthread_atfork.
2979
3e6bd4b1
PP
29802013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2981
2982 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2983 (ptestcases.h): Likewise.
2984
222d7f00
RM
29852013-03-08 Roland McGrath <roland@hack.frob.com>
2986
2987 * Makeconfig ($(common-objpfx)config.status): Depend on
2988 sysdeps/*/preconfigure{,.in} too.
2989
1ba4f030
JM
29902013-03-08 Joseph Myers <joseph@codesourcery.com>
2991
a222d91a
JM
2992 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2993 (__free_hook): Use void * instead of __malloc_ptr_t.
2994 (__malloc_hook): Likewise.
2995 (__realloc_hook): Likewise.
2996 (__memalign_hook): Likewise.
2997 (__after_morecore_hook): Likewise.
2998 * malloc/arena.c (save_malloc_hook): Likewise.
2999 (save_free_hook): Likewise.
3000 * malloc/hooks.c (malloc_hook_ini): Likewise.
3001 (realloc_hook_ini): Likewise.
3002 (memalign_hook_ini): Likewise.
3003 * malloc/malloc.c (malloc_hook_ini): Likewise.
3004 (realloc_hook_ini): Likewise.
3005 (memalign_hook_ini): Likewise.
3006 (__free_hook): Likewise.
3007 (__malloc_hook): Likewise.
3008 (__realloc_hook): Likewise.
3009 (__memalign_hook): Likewise.
3010 (__libc_malloc): Likewise.
3011 (__libc_free): Likewise.
3012 (__libc_realloc): Likewise.
3013 (__libc_memalign): Likewise.
3014 (__libc_valloc): Likewise.
3015 (__libc_pvalloc): Likewise.
3016 (__libc_calloc): Likewise.
3017 (__posix_memalign): Likewise.
3018 * malloc/morecore.c (__sbrk): Likewise.
3019 (__default_morecore): Likewise.
3020
5cc45e10
JM
3021 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3022
dd54b864
JM
3023 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3024 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3025 __malloc_ptrdiff_t.
3026
1ba4f030
JM
3027 * malloc/malloc.h (__malloc_size_t): Remove macro.
3028 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3029 __malloc_size_t.
3030 (old_memalign_hook): Likewise.
3031 (old_realloc_hook): Likewise.
3032 (struct hdr): Likewise.
3033 (flood): Likewise.
3034 (mallochook): Likewise.
3035 (memalignhook): Likewise.
3036 (reallochook): Likewise.
3037 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3038 (tr_old_realloc_hook): Likewise.
3039 (tr_old_memalign_hook): Likewise.
3040 (tr_mallochook): Likewise.
3041 (tr_reallochook): Likewise.
3042 (tr_memalignhook): Likewise.
3043
edf66e57
AZ
30442013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3045
3046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3047 default_ldbl_pack and using as default implementation.
3048 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3049 implementation.
3050 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3051 redundant definition.
3052 (ldbl_insert_mantissa): Likewise.
3053 (ldbl_canonicalize): Likewise.
3054 (ldbl_nearbyint): Likewise.
3055 (ldbl_pack): Rename to ldbl_pack_ppc.
3056 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3057 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3058 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3059
6d9145d8
SP
30602013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3061
3062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3063 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3064 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3065 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3067 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3068 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3069 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3070
4dd4e157
AJ
30712013-03-07 Andreas Jaeger <aj@suse.de>
3072
3073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3074 bits/mman-linux.h.
3075
adbb8027
SP
30762013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3077
ce544b5b
SP
3078 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3079 Include mpa.h and declare __MPEXP.
3080 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3081 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3082 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3083 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3084 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3085 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3086 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3087
4cc149fd
SP
3088 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3089 (__slowpow): Use long double EXPL and LOGL functions to
3090 compute POW.
3091 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3092 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3093 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3094 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3095 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3096 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3097
e6ebd4a7
SP
3098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3099 intermediate variable to calculate exponent.
3100 (__sqr): Likewise.
3101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3102 Likewise.
3103 (__sqr): Likewise.
3104
82a9811d
SP
3105 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3106 [!NO__SQR]: Define __sqr.
3107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3108 and NO__SQR. Remove all code except __mul and __sqr. Include
3109 sysdeps/ieee754/dbl-64/mpa.c.
3110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3111
adbb8027
SP
3112 [BZ #12723]
3113 * posix/Makefile (tests): Add tst-pathconf.
3114 * posix/tst-pathconf.c: New test case.
3115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3116 _PC_PIPE_BUF.
3117 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3118
39120df9
PF
31192013-03-06 Patsy Franklin <pfrankli@redhat.com>
3120
3121 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3122
67525cb8
AJ
31232013-03-06 Andreas Jaeger <aj@suse.de>
3124
664a9ce4
AJ
3125 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3126 definition via __MAP_ANONYMOUS.
3127
8e39047d
AJ
3128 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3129 it's not part of Linux headers.
3130
67525cb8
AJ
3131 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3132 (MAP_HUGE_MASK): Define.
3133
3134 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3135 Define.
3136 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3138 Define.
3139 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3140 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3141 Define.
3142 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3144 Define.
3145 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3146
3147 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3148 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3149 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3150 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3151 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3152 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3153
3154 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3155 Handle f2fs.
3156
3157 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3158 Handle f2fs and efivarfs.
3159
3160 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3161 f2fs.
3162
3163 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3164 (EFIVARFS_MAGIC): Add.
3165 (F2FS_LINK_MAX): Add.
3166
e1b42695
PP
31672013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3168
3169 * stdio-common/vfprintf.c: Replace __builtin_expect with
3170 __glibc_unlikely.
3171
2d67d91a
JM
31722013-03-06 Joseph Myers <joseph@codesourcery.com>
3173
3174 [BZ #13550]
3175 * sysdeps/generic/bp-sym.h: Remove file.
3176 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3177 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3178 <bp-sym.h> and <bp-asm.h>.
3179 (__longjmp): Don't use BP_SYM.
3180 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3181 and <bp-asm.h>.
3182 (memcpy): Don't use BP_SYM.
3183 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3184 <bp-sym.h> and <bp-asm.h>.
3185 (memcpy): Don't use BP_SYM.
3186 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3187 <bp-asm.h>.
3188 (memcpy): Don't use BP_SYM.
3189 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3190 <bp-asm.h>.
3191 (memset): Don't use BP_SYM.
3192 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3193 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3194 (__bzero): Don't use BP_SYM.
3195 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3196 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3197 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3198 <bp-sym.h> and <bp-asm.h>.
3199 (memcmp): Don't use BP_SYM. Remove comment about bounded
3200 pointers.
3201 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3202 <bp-sym.h> and <bp-asm.h>.
3203 (memcpy): Don't use BP_SYM.
3204 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3205 <bp-sym.h> and <bp-asm.h>.
3206 (memset): Don't use BP_SYM.
3207 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3208 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3209 (__bzero): Don't use BP_SYM.
3210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3212 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3213 <bp-sym.h> and <bp-asm.h>.
3214 (strncmp): Don't use BP_SYM. Remove comment about bounded
3215 pointers.
3216 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3217 <bp-sym.h> and <bp-asm.h>.
3218 (memcpy): Don't use BP_SYM.
3219 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3220 <bp-sym.h> and <bp-asm.h>.
3221 (memset): Don't use BP_SYM.
3222 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3223 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3224 (__bzero): Don't use BP_SYM.
3225 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3226 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3227 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3228 <bp-sym.h> and <bp-asm.h>.
3229 (__memchr): Don't use BP_SYM.
3230 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3231 <bp-sym.h> and <bp-asm.h>.
3232 (memcmp): Don't use BP_SYM. Remove comment about bounded
3233 pointers.
3234 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3235 <bp-sym.h> and <bp-asm.h>.
3236 (memcpy): Don't use BP_SYM.
3237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3238 <bp-sym.h> and <bp-asm.h>.
3239 (__mempcpy): Don't use BP_SYM.
3240 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3241 <bp-sym.h> and <bp-asm.h>.
3242 (__memrchr): Don't use BP_SYM.
3243 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3244 <bp-sym.h> and <bp-asm.h>.
3245 (memset): Don't use BP_SYM.
3246 (__bzero): Likewise.
3247 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3248 <bp-sym.h> and <bp-asm.h>.
3249 (__rawmemchr): Don't use BP_SYM.
3250 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3251 <bp-sym.h> and <bp-asm.h>.
3252 (__STRCMP): Don't use BP_SYM.
3253 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3254 <bp-sym.h> and <bp-asm.h>.
3255 (strchr): Don't use BP_SYM.
3256 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3257 <bp-sym.h> and <bp-asm.h>.
3258 (__strchrnul): Don't use BP_SYM.
3259 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3260 <bp-sym.h> and <bp-asm.h>.
3261 (strlen): Don't use BP_SYM.
3262 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3263 <bp-sym.h> and <bp-asm.h>.
3264 (strncmp): Don't use BP_SYM. Remove comment about bounded
3265 pointers.
3266 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3267 <bp-sym.h> and <bp-asm.h>.
3268 (__strnlen): Don't use BP_SYM.
3269 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3270 <bp-sym.h> and <bp-asm.h>.
3271 (__GI__setjmp): Don't use BP_SYM.
3272 (_setjmp): Likewise.
3273 (__sigsetjmp): Likewise.
3274 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3275 (L(start_addresses)): Don't use BP_SYM.
3276 (_start): Likewise.
3277 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3278 <bp-asm.h>.
3279 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3280 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3281 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3282 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3283 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3284 <bp-asm.h>.
3285 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3286 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3287 about bounded pointers.
3288 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3289 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3290 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3291 <bp-asm.h>.
3292 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3293 about bounded pointers. Remove GKM FIXME comments.
3294 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3295 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3296 <bp-asm.h>.
3297 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3298 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3299 Remove GKM FIXME comments.
3300 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3301 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3302 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3303 <bp-asm.h>.
3304 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3305 about bounded pointers. Remove GKM FIXME comment.
3306 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3307 and <bp-asm.h>.
3308 (strncmp): Don't use BP_SYM. Remove comment about bounded
3309 pointers.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3311 <bp-sym.h> and <bp-asm.h>.
3312 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3314 <bp-sym.h> and <bp-asm.h>.
3315 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3316 comment.
3317
cdcf361f
PP
33182013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3319
3320 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3321 call free(NULL).
3322
3c4a2b15
DM
33232013-03-05 David S. Miller <davem@davemloft.net>
3324
3325 * po/es.po: Update from translation team.
3326
cdcf361f 33272013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3328
3329 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3330 <bits/mman-linux.h>.
3331 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3332 is fine.
3333 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3334 <bits/mman-linux.h> to end of file.
3335 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3336 is fine.
3337 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3338 <bits/mman-linux.h> to end of file.
3339 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3340 is fine.
3341 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3342 <bits/mman-linux.h> to end of file.
3343
3344 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3345 (MCL_CURRENT, MCL_FUTURE): Define here.
3346
5f67c04f
AK
33472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3348
8a4473cc 3349 [BZ #15232]
5f67c04f
AK
3350 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3351 attribute_hidden.
3352 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3353
c3e94a95
AK
33542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3355
3356 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3357 fourth parameter needed for rt_sigprocmask syscall.
3358 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3359 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3362 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3363 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3364
cfb6382a
JM
33652013-03-04 Joseph Myers <joseph@codesourcery.com>
3366
3367 [BZ #13550]
3368 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3369 comment about bounded pointers.
3370 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3371 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3372
539d8e01
AJ
33732013-03-04 Andreas Jaeger <aj@suse.de>
3374
3375 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3376 common definitions.
3377
3378 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3379 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3381 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3383 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3384
2e167a70 33852013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3386
3387 [BZ #15055]
3388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3389 __ieee754_sqrl instead of __sqrl.
3390
68508633
JM
33912013-03-01 Joseph Myers <joseph@codesourcery.com>
3392
3393 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3394 * sysdeps/powerpc/fpu_control.h: ... here.
3395 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3396 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3397 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3398 * sysdeps/powerpc/bits/mathinline.h: ... here.
3399
7775448e
RM
34002013-03-01 Roland McGrath <roland@hack.frob.com>
3401
3402 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3403 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3404 to just [NEED_DL_SYSINFO_DSO].
3405 * elf/dl-support.c: Likewise.
3406 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3407 * elf/rtld.c (dl_main): Likewise.
3408 * elf/setup-vdso.h (setup_vdso): Likewise.
3409 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3410 * sysdeps/unix/sysv/linux/dl-sysdep.c
3411 (_dl_discover_osversion): Likewise.
3412
4e9b5995
CD
34132013-03-01 Carlos O'Donell <carlos@redhat.com>
3414
3415 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3416 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3417
e23872c8
SP
34182013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3419
e5c74c63
SP
3420 * NEWS: Mention libm performance improvements and non-x86 PI
3421 futex support.
3422
e23872c8
SP
3423 * csu/libc-start.c (__pthread_initialize_minimal): Change
3424 function arguments.
3425 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3426
b5510883
JM
34272013-02-28 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #13550]
3430 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3431 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3432 <bp-sym.h> and <bp-asm.h>.
3433 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3434 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3435 and <bp-asm.h>.
3436 (memcpy): Don't use BP_SYM.
3437 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3438 <bp-asm.h>.
3439 (__mpn_add_n): Don't use BP_SYM.
3440 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3441 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3442 and <bp-asm.h>.
3443 (__mpn_addmul_1): Don't use BP_SYM.
3444 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3445 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3446 <bp-sym.h>.
3447 (_setjmp): Don't use BP_SYM.
3448 (__novmx_setjmp): Likewise.
3449 (__GI__setjmp): Likewise.
3450 (__vmx_setjmp): Likewise.
3451 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3452 <bp-sym.h>.
3453 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3454 (__bzero): Don't use BP_SYM.
3455 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3456 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3458 <bp-sym.h> and <bp-asm.h>.
3459 (memcpy): Don't use BP_SYM.
3460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3461 <bp-sym.h> and <bp-asm.h>.
3462 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3463 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3464 <bp-sym.h> and <bp-asm.h>.
3465 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3466 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3467 <bp-asm.h>.
3468 (__mpn_lshift): Don't use BP_SYM.
3469 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3470 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3471 <bp-asm.h>.
3472 (memset): Don't use BP_SYM.
3473 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3474 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3475 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3476 <bp-asm.h>.
3477 (__mpn_mul_1): Don't use BP_SYM.
3478 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3480 <bp-sym.h> and <bp-asm.h>.
3481 (memcmp): Don't use BP_SYM.
3482 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3483 <bp-sym.h> and <bp-asm.h>.
3484 (memcpy): Don't use BP_SYM.
3485 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3486 <bp-sym.h> and <bp-asm.h>.
3487 (memset): Don't use BP_SYM.
3488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3489 <bp-sym.h> and <bp-asm.h>.
3490 (strncmp): Don't use BP_SYM.
3491 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3492 <bp-sym.h> and <bp-asm.h>.
3493 (memcpy): Don't use BP_SYM.
3494 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3495 <bp-sym.h> and <bp-asm.h>.
3496 (memset): Don't use BP_SYM.
3497 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3498 <bp-sym.h> and <bp-asm.h>.
3499 (__memchr): Don't use BP_SYM.
3500 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3501 <bp-sym.h> and <bp-asm.h>.
3502 (memcmp): Don't use BP_SYM.
3503 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3504 <bp-sym.h> and <bp-asm.h>.
3505 (memcpy): Don't use BP_SYM.
3506 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3507 <bp-sym.h> and <bp-asm.h>.
3508 (__mempcpy): Don't use BP_SYM.
3509 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3510 <bp-sym.h> and <bp-asm.h>.
3511 (__memrchr): Don't use BP_SYM.
3512 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3513 <bp-sym.h> and <bp-asm.h>.
3514 (memset): Don't use BP_SYM.
3515 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3516 <bp-sym.h> and <bp-asm.h>.
3517 (__rawmemchr): Don't use BP_SYM.
3518 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3519 <bp-sym.h> and <bp-asm.h>.
3520 (__STRCMP): Don't use BP_SYM.
3521 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3522 <bp-sym.h> and <bp-asm.h>.
3523 (strchr): Don't use BP_SYM.
3524 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3525 <bp-sym.h> and <bp-asm.h>.
3526 (__strchrnul): Don't use BP_SYM.
3527 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3528 <bp-sym.h> and <bp-asm.h>.
3529 (strlen): Don't use BP_SYM.
3530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3531 <bp-sym.h> and <bp-asm.h>.
3532 (strncmp): Don't use BP_SYM.
3533 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3534 <bp-sym.h> and <bp-asm.h>.
3535 (__strnlen): Don't use BP_SYM.
3536 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3537 <bp-asm.h>.
3538 (__mpn_rshift): Don't use BP_SYM.
3539 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3540 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3541 <bp-sym.h> and <bp-asm.h>.
3542 (__sigsetjmp): Don't use BP_SYM.
3543 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3544 (L(start_addresses)): Don't use BP_SYM.
3545 (_start): Likewise.
3546 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3547 <bp-asm.h>.
3548 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3549 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3550 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3551 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3552 <bp-asm.h>.
3553 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3554 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3555 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3556 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3557 <bp-asm.h>.
3558 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3559 comments.
3560 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3561 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3562 <bp-asm.h>.
3563 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3564 FIXME comments.
3565 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3566 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3567 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3568 <bp-asm.h>.
3569 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3570 comment.
3571 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3572 and <bp-asm.h>.
3573 (strncmp): Don't use BP_SYM,
3574 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3575 <bp-asm.h>.
3576 (__mpn_sub_n): Don't use BP_SYM.
3577 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3578 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3579 and <bp-asm.h>.
3580 (__mpn_submul_1): Don't use BP_SYM.
3581 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3583 <bp-sym.h> and <bp-asm.h>.
3584 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3586 <bp-sym.h> and <bp-asm.h>.
3587 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3588 comment.
3589
8d19fe64
SP
35902013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3591
3592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3593 Use ZK to minimize writes to Z.
3594 (sub_magnitudes): Simplify code a bit.
3595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3596 Use ZK to minimize writes to Z.
3597 (sub_magnitudes): Simplify code a bit.
3598
85bd816a
RM
35992013-02-27 Roland McGrath <roland@hack.frob.com>
3600
3601 * csu/gmon-start.c: Add special exception to license text.
3602
b5977bf2
RH
36032013-02-27 Richard Henderson <rth@redhat.com>
3604
3605 * scripts/config.guess: Update from config.git.
3606 * scripts/config.sub: Likewise.
3607
11d6e2f2
SP
36082013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3609
09c14ed2
SP
3610 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3611
a688864e
SP
3612 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3613
6295157a
SP
3614 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3615
b8de2202
SP
3616 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3617
11d6e2f2
SP
3618 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3619
7e80ddb8
RM
36202013-02-26 Roland McGrath <roland@hack.frob.com>
3621
3622 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3623 [$(build-shared = yes].
7e80ddb8 3624
7da6d9ed
SP
36252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3626
45f05884
SP
3627 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3628 (__mul): Reduce iterations for calculating mantissa.
3629
2236d359
SP
3630 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3631 MPTWO.
3632 (__mpranred): Likewise.
3633
7da6d9ed
SP
3634 [BZ #15160]
3635 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3636 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3637
b7688c42
PE
36382013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3639
3640 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3641 Define __attribute__.
3642
53a5c423
SP
36432013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3644
3645 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3646 unused.
3647 * posix/regex_internal.h (__attribute): Remove.
3648 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3649 (re_string_context_at): Likewise.
3650 (bitset_not): Use __attribute__ and mark function as possibly
3651 unused.
3652 (bitset_merge): Likewise.
3653 (bitset_mask): Likewise.
3654 (re_string_char_size_at): Likewise.
3655 (re_string_wchar_at): Likewise.
3656 (re_string_elem_size_at): Likewise.
3657
60f5a8b5
SP
36582013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3659
2a983a2e
SP
3660 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3661 code.
3662 (cc32): Likewise.
3663
e69804d1
SP
3664 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3665 (__acr): Likewise.
3666 (__cpy): Likewise.
3667 (norm): Likewise.
3668 (denorm): Likewise.
3669 (__dbl_mp): Likewise.
3670 (add_magnitudes): Likewise.
3671 (sub_magnitudes): Likewise.
3672 (__mul): Likewise.
3673 (__inv): Likewise.
3674
2f22a1e8
SP
3675 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3676 style.
3677
8930ddc7
SP
3678 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3679 style.
3680
dc60cb11
SP
3681 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3682 code.
3683
60f5a8b5
SP
3684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3685 up changes with default code.
3686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3687 Likewise.
3688
b4d1fd33
AM
36892013-02-24 Allan McRae <allan@archlinux.org>
3690
faf6f8bc
AM
3691 * manual/socket.texi (The Internet Namespace): Order menu items
3692 to match that in the file.
3693
b4d1fd33
AM
3694 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3695 node listing of the info page menu.
3696
2366713d
JM
36972013-02-21 Joseph Myers <joseph@codesourcery.com>
3698
3699 [BZ #13550]
3700 * sysdeps/i386/bp-asm.h: Remove file.
3701 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3702 (PARMS): Do not use macros from bp-asm.h.
3703 (S1): Likewise.
3704 (S2): Likewise.
3705 (SIZE): Likewise.
3706 (__mpn_add_n): Do not use BP_SYM
3707 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3708 "bp-asm.h".
3709 (PARMS): Do not use macros from bp-asm.h.
3710 (S1): Likewise.
3711 (SIZE): Likewise.
3712 (__mpn_addmul_1): Do not use BP_SYM
3713 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3714 "bp-asm.h".
3715 (PARMS): Do not use macros from bp-asm.h.
3716 (SIGMSK): Likewise.
3717 (_setjmp): Likewise. Do not use BP_SYM.
3718 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3719 "bp-asm.h".
3720 (PARMS): Do not use macros from bp-asm.h.
3721 (SIGMSK): Likewise.
3722 (setjmp): Likewise. Do not use BP_SYM.
3723 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3724 "bp-asm.h".
3725 (PARMS): Do not use macros from bp-asm.h.
3726 (__frexp): Do not use BP_SYM.
3727 (frexp): Likewise.
3728 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3729 "bp-asm.h".
3730 (PARMS): Do not use macros from bp-asm.h.
3731 (__frexpf): Do not use BP_SYM.
3732 (frexpf): Likewise.
3733 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3734 "bp-asm.h".
3735 (PARMS): Do not use macros from bp-asm.h.
3736 (__frexpl): Do not use BP_SYM.
3737 (frexpl): Likewise.
3738 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3739 "bp-asm.h".
3740 (PARMS): Do not use macros from bp-asm.h.
3741 (__remquo): Do not use BP_SYM.
3742 (remquo): Likewise.
3743 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3744 "bp-asm.h".
3745 (PARMS): Do not use macros from bp-asm.h.
3746 (__remquof): Do not use BP_SYM.
3747 (remquof): Likewise.
3748 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3749 "bp-asm.h".
3750 (PARMS): Do not use macros from bp-asm.h.
3751 (__remquol): Do not use BP_SYM.
3752 (remquol): Likewise.
3753 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3754 "bp-asm.h".
3755 (PARMS): Do not use macros from bp-asm.h.
3756 (DEST): Likewise.
3757 (SRC): Likewise.
3758 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3759 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3760 "bp-asm.h".
3761 (PARMS): Do not use macros from bp-asm.h.
3762 (strlen): Do not use BP_SYM.
3763 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3764 "bp-asm.h".
3765 (PARMS): Do not use macros from bp-asm.h.
3766 (S1): Likewise.
3767 (S2): Likewise.
3768 (SIZE): Likewise.
3769 (__mpn_add_n): Do not use BP_SYM.
3770 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3771 "bp-asm.h".
3772 (PARMS): Do not use macros from bp-asm.h.
3773 (S1): Likewise.
3774 (SIZE): Likewise.
3775 (__mpn_addmul_1): Do not use BP_SYM.
3776 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3777 weak_alias.
3778 (bzero): Likewise.
3779 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3780 "bp-asm.h".
3781 (PARMS): Do not use macros from bp-asm.h.
3782 (S): Likewise.
3783 (SIZE): Likewise.
3784 (__mpn_lshift): Do not use BP_SYM.
3785 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3786 "bp-asm.h".
3787 (PARMS): Do not use macros from bp-asm.h.
3788 (DEST): Likewise.
3789 (SRC): Likewise.
3790 (LEN): Likewise.
3791 (memcpy): Likewise. Do not use BP_SYM.
3792 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3793 libc_hidden_def and weak_alias.
3794 (mempcpy): Do not use BP_SYM in weak_alias.
3795 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3796 "bp-asm.h".
3797 (PARMS): Do not use macros from bp-asm.h.
3798 (DEST): Likewise.
3799 (LEN): Likewise.
3800 [!BZERO_P] (CHR): Likewise.
3801 (memset): Likewise. Do not use BP_SYM.
3802 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3803 "bp-asm.h".
3804 (PARMS): Do not use macros from bp-asm.h.
3805 (S1): Likewise.
3806 (SIZE): Likewise.
3807 (__mpn_mul_1): Do not use BP_SYM.
3808 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3809 "bp-asm.h".
3810 (PARMS): Do not use macros from bp-asm.h.
3811 (S): Likewise.
3812 (SIZE): Likewise.
3813 (__mpn_rshift): Do not use BP_SYM.
3814 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3815 "bp-asm.h".
3816 (PARMS): Do not use macros from bp-asm.h.
3817 (STR): Likewise.
3818 (CHR): Likewise.
3819 (strchr): Likewise. Do not use BP_SYM.
3820 (index): Do not use BP_SYM in weak_alias.
3821 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3822 "bp-asm.h".
3823 (PARMS): Do not use macros from bp-asm.h.
3824 (DEST): Likewise.
3825 (SRC): Likewise.
3826 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3827 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3828 "bp-asm.h".
3829 (PARMS): Do not use macros from bp-asm.h.
3830 (strlen): Do not use BP_SYM.
3831 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3832 "bp-asm.h".
3833 (PARMS): Do not use macros from bp-asm.h.
3834 (S1): Likewise.
3835 (S2): Likewise.
3836 (SIZE): Likewise.
3837 (__mpn_sub_n): Do not use BP_SYM.
3838 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3839 "bp-asm.h".
3840 (PARMS): Do not use macros from bp-asm.h.
3841 (S1): Likewise.
3842 (SIZE): Likewise.
3843 (__mpn_submul_1): Do not use BP_SYM.
3844 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3845 "bp-asm.h".
3846 (PARMS): Do not use macros from bp-asm.h.
3847 (S1): Likewise.
3848 (S2): Likewise.
3849 (SIZE): Likewise.
3850 (__mpn_add_n): Do not use BP_SYM.
3851 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3852 weak_alias.
3853 (bzero): Likewise.
3854 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3855 "bp-asm.h".
3856 (PARMS): Do not use macros from bp-asm.h.
3857 (BLK2): Likewise.
3858 (LEN): Likewise.
3859 (memcmp): Do not use BP_SYM.
3860 (bcmp): Do not use BP_SYM in weak_alias.
3861 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3862 "bp-asm.h".
3863 (PARMS): Do not use macros from bp-asm.h.
3864 (DEST): Likewise.
3865 (SRC): Likewise.
3866 (LEN): Likewise.
3867 (memcpy): Likewise. Do not use BP_SYM.
3868 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3869 "bp-asm.h".
3870 (PARMS): Do not use macros from bp-asm.h.
3871 (DEST): Likewise.
3872 (SRC): Likewise.
3873 (LEN): Likewise.
3874 (memmove): Likewise. Do not use BP_SYM.
3875 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3876 "bp-asm.h".
3877 (PARMS): Do not use macros from bp-asm.h.
3878 (DEST): Likewise.
3879 (SRC): Likewise.
3880 (LEN): Likewise.
3881 (__mempcpy): Likewise. Do not use BP_SYM.
3882 (mempcpy): Do not use BP_SYM in weak_alias.
3883 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3884 "bp-asm.h".
3885 (PARMS): Do not use macros from bp-asm.h.
3886 (DEST): Likewise.
3887 (LEN): Likewise.
3888 [!BZERO_P] (CHR): Likewise.
3889 (memset): Likewise. Do not use BP_SYM.
3890 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3891 "bp-asm.h".
3892 (PARMS): Do not use macros from bp-asm.h.
3893 (STR2): Likewise.
3894 (strcmp): Do not use BP_SYM.
3895 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3896 "bp-asm.h".
3897 (PARMS): Do not use macros from bp-asm.h.
3898 (STR): Likewise.
3899 (DELIM): Likewise.
3900 [USE_AS_STRTOK_R] (SAVE): Likewise.
3901 (FUNCTION): Likewise. Do not use BP_SYM.
3902 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3903 aliases.
3904 (strtok_r): Likewise.
3905 (__GI___strtok_r): Likewise.
3906 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3907 (PARMS): Do not use macros from bp-asm.h.
3908 (S): Likewise.
3909 (SIZE): Likewise.
3910 (__mpn_lshift): Do not use BP_SYM.
3911 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3912 (PARMS): Do not use macros from bp-asm.h.
3913 (STR): Likewise.
3914 (CHR): Likewise.
3915 (__memchr): Do not use BP_SYM.
3916 (memchr): Do not use BP_SYM in weak_alias.
3917 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3918 (PARMS): Do not use macros from bp-asm.h.
3919 (BLK2): Likewise.
3920 (LEN): Likewise.
3921 (memcmp): Do not use BP_SYM.
3922 (bcmp): Do not use BP_SYM in weak_alias.
3923 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3924 (PARMS): Do not use macros from bp-asm.h.
3925 (S1): Likewise.
3926 (SIZE): Likewise.
3927 (__mpn_mul_1): Do not use BP_SYM.
3928 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3929 "bp-asm.h".
3930 (PARMS): Do not use macros from bp-asm.h.
3931 (STR): Likewise.
3932 (CHR): Likewise.
3933 (__rawmemchr): Do not use BP_SYM.
3934 (rawmemchr): Do not use BP_SYM in weak_alias.
3935 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3936 (PARMS): Do not use macros from bp-asm.h.
3937 (S): Likewise.
3938 (SIZE): Likewise.
3939 (__mpn_rshift): Do not use BP_SYM.
3940 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3941 (PARMS): Do not use macros from bp-asm.h.
3942 (SIGMSK): Likewise.
3943 (__sigsetjmp): Likewise. Do not use BP_SYM.
3944 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3945 (_start): Do not use BP_SYM.
3946 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3947 (PARMS): Do not use macros from bp-asm.h.
3948 (DEST): Likewise.
3949 (SRC): Likewise.
3950 (__stpcpy): Likewise. Do not use BP_SYM.
3951 (stpcpy): Do not use BP_SYM in weak_alias.
3952 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3953 "bp-asm.h".
3954 (PARMS): Do not use macros from bp-asm.h.
3955 (DEST): Likewise.
3956 (SRC): Likewise.
3957 (LEN): Likewise.
3958 (__stpncpy): Likewise. Do not use BP_SYM.
3959 (stpncpy): Do not use BP_SYM in weak_alias.
3960 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3961 (PARMS): Do not use macros from bp-asm.h.
3962 (STR): Likewise.
3963 (CHR): Likewise.
3964 (strchr): Likewise. Do not use BP_SYM.
3965 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3966 "bp-asm.h".
3967 (PARMS): Do not use macros from bp-asm.h.
3968 (STR): Likewise.
3969 (CHR): Likewise.
3970 (__strchrnul): Likewise. Do not use BP_SYM.
3971 (strchrnul): Do not use BP_SYM in weak_alias.
3972 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3973 "bp-asm.h".
3974 (PARMS): Do not use macros from bp-asm.h.
3975 (STOP): Likewise.
3976 (strcspn): Do not use BP_SYM.
3977 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3978 "bp-asm.h".
3979 (PARMS): Do not use macros from bp-asm.h.
3980 (STR): Likewise.
3981 (STOP): Likewise.
3982 (strpbrk): Likewise. Do not use BP_SYM.
3983 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3984 "bp-asm.h".
3985 (PARMS): Do not use macros from bp-asm.h.
3986 (STR): Likewise.
3987 (CHR): Likewise.
3988 (strrchr): Likewise. Do not use BP_SYM.
3989 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3990 (PARMS): Do not use macros from bp-asm.h.
3991 (SKIP): Likewise.
3992 (strspn): Do not use BP_SYM.
3993 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3994 (PARMS): Do not use macros from bp-asm.h.
3995 (STR): Likewise.
3996 (DELIM): Likewise.
3997 (SAVE): Likewise.
3998 (FUNCTION): Likewise. Do not use BP_SYM.
3999 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4000 aliases.
4001 (strtok_r): Likewise.
4002 (__GI___strtok_r): Likewise.
4003 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4004 (PARMS): Do not use macros from bp-asm.h.
4005 (S1): Likewise.
4006 (S2): Likewise.
4007 (SIZE): Likewise.
4008 (__mpn_sub_n): Do not use BP_SYM.
4009 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4010 "bp-asm.h".
4011 (PARMS): Do not use macros from bp-asm.h.
4012 (S1): Likewise.
4013 (SIZE): Likewise.
4014 (__mpn_submul_1): Do not use BP_SYM.
4015 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4016 <bp-sym.h>.
4017 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4018 and <bp-asm.h>.
4019 (PARMS): Do not use macros from bp-asm.h.
4020 (FLAGS): Likewise.
4021 (PTID): Likewise.
4022 (TLS): Likewise.
4023 (CTID): Likewise.
4024 (__clone): Do not use BP_SYM.
4025 (clone): Do not use BP_SYM in weak_alias.
4026 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4027 and <bp-asm.h>.
4028 (PARMS): Do not use macros from bp-asm.h.
4029 (LEN): Likewise.
4030 (__mmap64): Do not use BP_SYM.
4031 (mmap64): Do not use BP_SYM in weak_alias.
4032 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4033 <bp-sym.h> and <bp-asm.h>.
4034 (PARMS): Do not use macros from bp-asm.h.
4035 (__posix_fadvise64_l64): Do not use BP_SYM.
4036 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4037 (PARMS): Do not use macros from bp-asm.h.
4038 (NSOPS): Likewise.
4039 (semtimedop): Do not use BP_SYM.
4040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4041 and <bp-asm.h>.
4042
582a3cff
AM
40432013-02-21 Allan McRae <allan@archlinux.org>
4044
4045 * manual/message.texi (Charset conversion in gettext):
4046 Move @end statement to beginning of line.
4047
bab8a695
SP
40482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4049
80945231
SP
4050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4051 static.
4052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4053 Likewise.
4054
bab8a695
SP
4055 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4056 (denorm): Likewise.
4057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4059
e21d7aa7
AK
40602013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4061
4062 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4063 tail-call to the resolved function if pltexit isn't needed.
4064
4c7a4263
SP
40652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4066
4067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4068 or Y being zero as being unlikely.
4069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4070 Likewise.
4071
41f49342
CD
40722013-02-20 Carlos O'Donell <carlos@redhat.com>
4073
4074 * manual/nss.texi (System Databases and Name Service Switch):
4075 Remove frobnicate @pxref.
4076
50022a93
TS
40772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4078
4079 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4080 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4081
08cbd996
PM
40822013-02-20 Petr Machata <pmachata@redhat.com>
4083
4084 * elf/elf.h (R_ARM_TARGET1): New macro.
4085 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4086 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4087 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4088 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4089 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4090 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4091 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4092 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4093 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4094 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4095 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4096 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4097 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4098 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4099 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4100 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4101 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4102 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4103 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4104 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4105 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4106 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4107 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4108 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4109 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4110 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4111 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4112 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4113 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4114 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4115 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4116 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4117 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4118 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4119 (R_ARM_THM_GOT_BREL12): Likewise.
4120 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4121 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4122 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4123 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4124 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4125 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4126 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4127 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4128 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4129
c7b275d6
TS
41302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4131
4132 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4133 __attribute_used__ to __attribute__ ((unused)).
4134
20cd7fb3
SP
41352013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4136
4137 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4138 powerpc mpa.c.
4139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4140 comment formatting.
4141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4142
92945b52
JM
41432013-02-19 Joseph Myers <joseph@codesourcery.com>
4144
4145 [BZ #13550]
4146 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4147 Remove macro.
4148 (ENTER): Remove both macro definitions.
4149 (LEAVE): Likewise.
4150 (CHECK_BOUNDS_LOW): Likewise.
4151 (CHECK_BOUNDS_HIGH): Likewise.
4152 (CHECK_BOUNDS_BOTH): Likewise.
4153 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4154 (RETURN_BOUNDED_POINTER): Likewise.
4155 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4156 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4157 (POP_ERRNO_LOCATION_RETURN): Likewise.
4158 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4159 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4160 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4161 macros.
4162 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4163 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4164 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4165 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4166 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4167 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4168 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4169 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4170 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4171 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4172 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4173 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4174 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4175 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4176 removed macros.
4177 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4178 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4179 macros.
4180 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4181 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4182 * sysdeps/i386/i586/memset.S (memset): Likewise.
4183 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4184 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4185 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4186 macros.
4187 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4188 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4189 Change uses of L(2) to L(out).
4190 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4191 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4192 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4193 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4194 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4195 removed macros.
4196 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4197 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4198 macros.
4199 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4200 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4201 (RETURN): Do not use macro LEAVE.
4202 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4203 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4204 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4205 * sysdeps/i386/i686/memset.S (memset): Likewise.
4206 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4207 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4208 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4209 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4210 Likewise.
4211 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4212 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4213 L(1_2) and L(1_3) into L(1).
4214 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4215 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4216 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4217 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4218 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4219 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4220 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4221 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4222 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4223 macros.
4224 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4225 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4226 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4227 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4228 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4229 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4230 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4231 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4232 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4233 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4234 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4235 * sysdeps/i386/strspn.S (strspn): Likewise.
4236 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4237 conditional code.
4238 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4239 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4240 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4241 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4242 L(1_3) into L(1_1).
4243 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4244 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4245 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4246 macros.
4247 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4248
2389741a
JJ
42492013-02-19 Jakub Jelinek <jakub@redhat.com>
4250
4251 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4252 macro.
4253
2016b3cd
SP
42542013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4255
e4f22324
SP
4256 * math/atest-exp.c (exp_mpn): Remove ROUND.
4257 * math/atest-exp2.c (exp_mpn): Likewise.
4258 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4259
2016b3cd
SP
4260 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4261 * stdlib/tst-tls-atexit-lib.c: Likewise.
4262 * stdlib/tst-tls-atexit.c: Likewise.
4263
4be9b544
MF
42642013-02-18 Mike Frysinger <vapier@gentoo.org>
4265
4266 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4267 and __attribute_alloc_size__.
4268
2f62b9ee
MF
42692013-02-18 Mike Frysinger <vapier@gentoo.org>
4270
4271 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4272 __attribute_alloc_size__.
4273 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4274 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4275
6ff444c4
MF
42762013-02-18 Mike Frysinger <vapier@gentoo.org>
4277
4278 * include/programs/xmalloc.h: New file.
4279 * catgets/gencat.c: Include it.
4280 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4281 * elf/pldd.c: Likewise.
4282 * iconv/iconv_charmap.c: Likewise.
4283 * iconv/iconvconfig.c: Likewise.
4284 * iconv/strtab.c: Likewise.
4285 * locale/programs/locale.c: Likewise.
4286 * locale/programs/localedef.h: Likewise.
4287 * locale/programs/simple-hash.c: Likewise.
4288 * nscd/nscd.h: Likewise.
4289 * nss/makedb.c: Likewise.
4290 * sysdeps/generic/ldconfig.h: Likewise.
4291
be179c8a
SP
42922013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4293
ba384f6e
SP
4294 * Versions.def: Add GLIBC_2.18.
4295 * include/link.h (struct link_map): New member l_tls_dtor_count.
4296 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4297 (__call_tls_dtors): Likewise.
4298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4299 __cxa_thread_atexit_impl.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4301 Likewise.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4303 Likewise.
4304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4305 Likewise.
4306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4307 Likewise.
4308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4310 Likewise.
4311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4312 Likewise.
4313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4315 Likewise.
4316 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4317 (tests): Add test case tst-tls-atexit.
4318 (modules-names): Add shared library for tst-tls-atexit.
4319 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4320 (GLIBC_PRIVATE): Add __call_tls_dtors.
4321 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4322 for libstdc++.
4323 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4324 * stdlib/tst-tls-atexit.c: New test case.
4325 * stdlib/tst-tls-atexit-lib.c: New test case.
4326
ffaa74cf 4327 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4328
be179c8a
SP
4329 * elf/Versions (ld): Add _dl_find_dso_for_object.
4330 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4331 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4332 (dl_open_worker): Use _dl_find_dso_for_object.
4333 * elf/dl-sym.c (do_sym): Likewise.
4334 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4335
f78b5caa
AK
43362013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4337
4338 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4339 Syntactic changes only.
4340 (_dl_runtime_profile): Do a tail-call to the resolved function.
4341
29691210
JM
43422013-02-17 Joseph Myers <joseph@codesourcery.com>
4343
4344 [BZ #13550]
4345 * sysdeps/x86_64/bp-asm.h: Remove file.
4346 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4347 <bp-sym.h> and <bp-asm.h>.
4348 (__clone): Do not use BP_SYM.
4349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4350 <bp-sym.h> and <bp-asm.h>.
4351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4352 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4353 "bp-asm.h".
4354 (_setjmp): Do not use BP_SYM.
4355 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4356 "bp-asm.h".
4357 (setjmp): Do not use BP_SYM.
4358 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4359 libc_hidden_def.
4360 (mempcpy): Do not use BP_SYM in weak_alias.
4361 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4362 "bp-asm.h".
4363 (strchr): Do not use BP_SYM.
4364 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4365 "bp-asm.h".
4366 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4367 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4368 (_start): Do not use BP_SYM.
4369 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4370 "bp-asm.h".
4371 (strcat): Do not use BP_SYM.
4372 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4373 "bp-asm.h".
4374 (STRCMP): Do not use BP_SYM.
4375 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4376 "bp-asm.h".
4377 (STRCPY): Do not use BP_SYM.
4378 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4379 "bp-asm.h".
4380 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4381 "bp-asm.h".
4382 (FUNCTION): Do not use BP_SYM.
4383 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4384 weak_alias.
4385 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4386
f238fd19
AJ
43872013-02-17 Andreas Jaeger <aj@suse.de>
4388
4389 * time/Versions: Sort entries.
4390 * string/Versions: Likewise.
4391 * resolv/Versions: Likewise.
4392 * posix/Versions: Likewise.
4393 * iconv/Versions: Likewise.
4394 * elf/Versions: Likewise.
4395 * wcsmbs/Versions: Likewise.
4396
bd07f23c 43972013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 4398
22af19f9
SP
4399 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4400 loop termination condition.
4401
4709fe76
SP
4402 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4403 variable to calculate EZ.
4404 (__sqr): Likewise.
2d0e0f29
SP
4405
4406 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4407 the lower precision input.
4408
daaa7713
JM
44092013-02-15 Joseph Myers <joseph@codesourcery.com>
4410
4411 [BZ #13550]
4412 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4413 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4414 (run-via-rtld-prefix): Do not handle %-bp tests.
4415 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4416 (all-object-suffixes): Remove .ob.
4417 (bppfx): Remove variable.
4418 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4419 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4420 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4421 [$(build-bounded) = yes] (libtype.ob): Likewise.
4422 * Makerules (elide-routines.ob): Remove variable.
4423 (do-tests-clean): Do not handle *-bp.out.
4424 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4425 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4426 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4427 (tests): Do not include $(tests-bp.out).
4428 (xtests): Do not include $(xtests-bp.out).
4429 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4430 [$(build-bounded) = yes] ($(addprefix
4431 $(objpfx),$(binaries-bounded))): Remove rule.
4432 ($(objpfx)%-bp.out): Remove rule.
4433 * config.make.in (build-bounded): Remove variable.
4434 * crypt/Makefile [$(build-bounded) = yes]
4435 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4436 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4437 append to variable.
4438 [$(build-bounded) = yes] (install-lib): Likewise.
4439 [$(build-bounded) = yes] (generated): Likewise.
4440 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4441 Remove rule.
4442 * intl/Makefile [$(build-bounded) = yes]
4443 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4444 * math/Makefile [$(build-bounded) = yes]
4445 ($(tests:%=$(objpfx)%-bp): Likewise.
4446 * misc/Makefile [$(build-bounded) = yes]
4447 ($(objpfx)tst-tsearch-bp): Likewise.
4448 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4449 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4450 Remove dependency.
4451 * string/Makefile (o-objects.ob): Remove variable.
4452 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4453 (CFLAGS-.ob): Remove variable.
4454 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4455 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4456 both definitions of variable.
4457 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4458 (ASFLAGS-.ob): Remove variable.
4459
e97ed6dd
JM
44602013-02-14 Joseph Myers <joseph@codesourcery.com>
4461
2bdd4ca6
JM
4462 [BZ #13550]
4463 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4464 Remove __BOUNDED_POINTERS__ from condition.
4465 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4466 * string/bits/string2.h [!__NO_STRING_INLINES &&
4467 !__BOUNDED_POINTERS__]: Likewise.
4468 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4469 Likewise.
4470 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4471 Remove conditional code.
4472 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4473 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4474 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4475 condition.
4476
e97ed6dd
JM
4477 [BZ #13550]
4478 * csu/libc-start.c: Do not include <bp-sym.h>.
4479 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4480 * elf/dl-open.c: Do not include <bp-sym.h>.
4481 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4482 * math/fegetenv.c: Do not include <bp-sym.h>.
4483 (fegetenv): Do not use BP_SYM in versioned symbols.
4484 * nptl/sysdeps/pthread/bits/libc-lockP.h
4485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4486 <bp-sym.h>.
4487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4488 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4490 (__pthread_mutex_destroy): Likewise.
4491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4492 (__pthread_mutex_lock): Likewise.
4493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4494 (__pthread_mutex_trylock): Likewise.
4495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4496 (__pthread_mutex_unlock): Likewise.
4497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4498 (__pthread_mutexattr_init): Likewise.
4499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4500 (__pthread_mutexattr_destroy): Likewise.
4501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4502 (__pthread_mutexattr_settype): Likewise.
4503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4504 (__pthread_rwlock_init): Likewise.
4505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4506 (__pthread_rwlock_destroy): Likewise.
4507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4508 (__pthread_rwlock_rdlock): Likewise.
4509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4510 (__pthread_rwlock_tryrdlock): Likewise.
4511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4512 (__pthread_rwlock_wrlock): Likewise.
4513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4514 (__pthread_rwlock_trywrlock): Likewise.
4515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4516 (__pthread_rwlock_unlock): Likewise.
4517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4518 (__pthread_key_create): Likewise.
4519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4520 (__pthread_setspecific): Likewise.
4521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4522 (__pthread_getspecific): Likewise.
4523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4524 Likewise.
4525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4526 (_pthread_cleanup_push_defer): Likewise.
4527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4528 (_pthread_cleanup_pop_restore): Likewise.
4529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4530 (pthread_setcancelstate): Likewise.
4531 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4532 <bp-sym.h>.
4533 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4534 (memchr): Do not use BP_SYM in weak_alias.
4535 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4536 (fegetenv): Do not use BP_SYM in versioned symbols.
4537 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4538 (fesetenv): Do not use BP_SYM in versioned symbols.
4539 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4540 (feupdateenv): Do not use BP_SYM in versioned symbols.
4541 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4542 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4543 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4544 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4545 (open64): Do not use BP_SYM in weak_alias.
4546 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4547 (fegetenv): Do not use BP_SYM in versioned symbols.
4548 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4549 (fesetenv): Do not use BP_SYM in versioned symbols.
4550 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4551 (feupdateenv): Do not use BP_SYM in versioned symbols.
4552 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4553 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4554 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4555 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4556 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4557 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4558 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4559 <bp-sym.h>.
4560 (__libc_start_main): Do not use BP_SYM.
4561
d6752ccd
SP
45622013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4563
cb57ce60
SP
4564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4565 redundant return line.
4566 (norm): Likewise.
4567 (denorm): Likewise.
4568 (dbl_mp): Likewise.
4569 (sub_magnitudes): Likewise.
4570 (__add): Likewise.
4571 (__sub): Likewise.
4572 (__mul): Likewise.
4573 (__inv): Likewise.
4574 (__dvd): Likewise.
4575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4576 (norm): Likewise.
4577 (denorm): Likewise.
4578 (dbl_mp): Likewise.
4579 (sub_magnitudes): Likewise.
4580 (__add): Likewise.
4581 (__sub): Likewise.
4582 (__mul): Likewise.
4583 (__inv): Likewise.
4584 (__dvd): Likewise.
4585
f414520d
SP
4586 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4587 instead of __mul.
4588 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4589 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4590 (cc32): Likewise.
4591
d6752ccd
SP
4592 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4593 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4594 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4595 of __mul for squares.
4596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4597 function
4598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4599 Likewise.
4600 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4601 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4602
70d9946a
JM
46032013-02-13 Joseph Myers <joseph@codesourcery.com>
4604
4605 [BZ #13550]
4606 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4607 code.
4608 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4609 prototype or function definition. Rename ubp_* variables and
4610 parameters. Remove argv definitions conditional on
4611 [__BOUNDED_POINTERS__].
4612 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4613 * elf/dl-runtime.c (_dl_fixup): Likewise.
4614 * include/set-hooks.h (RUN_HOOK): Likewise.
4615 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4616 definition.
4617 * string/strcpy.c (strcpy): Do not use __unbounded.
4618 * sysdeps/generic/frame.h (struct layout): Likewise.
4619 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4620 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4621 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4622 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4623 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4624 (__backtrace): Likewise.
4625 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4626 use __ptrvalue.
4627 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4628 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4629 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4630 Likewise.
4631 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4632 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4633 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4634 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4635 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4636 Do not use __unbounded.
4637 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4638 Rename __unboundedrlimits parameter to rlimits in prototype.
4639 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4640 Do not use __unbounded.
4641 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4642 not use __ptrvalue.
4643 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4644 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4645 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4646 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4647 __ptrvalue or __unbounded.
4648 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4649 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4650 use __unbounded.
4651 (__new_msgctl): Do not use __ptrvalue.
4652 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4653 __unbounded.
4654 (__libc_msgrcv): Do not use __ptrvalue.
4655 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4656 startup_info): Do not use __unbounded.
4657 (__libc_start_main): Likewise. Rename ubp_* variables and
4658 parameters. Remove argv definitions conditional on
4659 [__BOUNDED_POINTERS__].
4660 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4661 __ptrvalue.
4662 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4663 use __unbounded.
4664 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4665 or __ptrvalue.
4666 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4667 use __unbounded.
4668 (__new_shmctl): Do not use __ptrvalue.
4669 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4670 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4671 Likewise.
4672 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4674 (__libc_sigaction): Likewise.
4675 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4676 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4677 Likewise.
4678 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4679
cc7834d6
OB
46802013-02-13 Ondřej Bílka <neleai@seznam.cz>
4681
ffb1ec7b 4682 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
4683
4684 * string/mempcpy.c: Implement by calling memcpy.
4685
bdf02814
SP
46862013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4687
c2af38aa
SP
4688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4689
4e92d59e
SP
4690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4691 evaluation.
4692
909279a5
SP
4693 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4694 values in the mantissa.
4695
bdf02814
SP
4696 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4697 minimize writes to Z.
4698 (sub_magnitudes): Simplify code a bit.
4699
cd525923
RM
47002013-02-12 Roland McGrath <roland@hack.frob.com>
4701
4702 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4703 from the message. The linker prefixes all warnings with that already.
4704
7e2f0d2d
AS
47052013-02-12 Andreas Schwab <schwab@suse.de>
4706
a445af0b
AS
4707 [BZ #15078]
4708 * posix/regexec.c (extend_buffers): Add parameter min_len.
4709 (check_matching): Pass minimum needed length.
4710 (clean_state_log_if_needed): Likewise.
4711 (get_subexp): Likewise.
4712 * posix/Makefile (tests): Add bug-regex34.
4713 (bug-regex34-ENV): Define.
4714 * posix/bug-regex34.c: New file.
4715
7e2f0d2d
AS
4716 [BZ #11561]
4717 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4718 elements compare against the byte sequence of it, not its name.
4719 * posix/Makefile (tests): Add bug-regex35.
4720 (bug-regex35-ENV): Define.
4721 * posix/bug-regex35.c: New file.
4722
a175b684
TV
47232013-02-11 Tom de Vries <tom@codesourcery.com>
4724
4725 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4726 comment.
4727 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4728 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4729 (CHECK_EOL): Add undef.
4730
310998fe 47312013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
4732
4733 * bits/stdlib-bsearch.h: New file.
4734 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 4735 * stdlib/stdlib.h: Likewise.
41eda41d 4736
8ded91fb
RM
47372013-02-11 Roland McGrath <roland@hack.frob.com>
4738
4739 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4740 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4741 declaration.
4742 * manual/search.texi (Array Search Function): Add missing const in
4743 lfind prototype.
4744 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4745 declaration to use rlim_t.
4746 (Basic Scheduling Functions): Remove erroneous const from
4747 sched_getparam prototype. Remove erroneous * from
4748 sched_get_priority_max and sched_get_priority_min prototypes.
4749 (Resource Usage): Fix summary @comment on vtimes to refer to
4750 sys/vtimes.h rather than vtimes.h.
4751 Add missing *s in vtimes prototype.
4752 (Limits on Resources): Fix ulimit prototype to return long int.
4753 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4754 prototypes to use long int rather than double.
4755 (BSD Random): Fix initstate and setstate to use char *, not void *.
4756 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4757 prototype to make second argument 'struct aiocb64 *const[]'.
4758 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4759 (Status of AIO Operations): Remove erroneous const in aio_return and
4760 aio_return64 prototypes.
4761 (Synchronizing I/O): Fix sync prototype to return void.
4762 * manual/startup.texi (Suboptions): Remove an erroneous const in
4763 getsubopt prototype.
4764 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4765 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4766 use size_t rather than int.
4767 (Scanning All Users): Likewise for getpwent_r.
4768 (Setting Groups): Add missing const to setgroups prototype.
4769 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4770 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4771 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4772 'const void *' rather than 'const char *'.
4773 (Host Address Functions): Likewise for inet_ntop.
4774 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4775 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4776 ssize_t for return value.
4777 (Sending Data): Likewise for send, sendto, sendmsg.
4778 (Socket Option Functions): Add a missing const in setsockopt prototype.
4779 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4780 use wchar_t for the argument.
4781 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4782 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4783 take no arguments.
4784 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4785 double/float/long double for second argument.
4786 Fix return types of significand, significandf, significandl.
4787 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4788 argument in fchmod prototype.
4789 (File Owner): Use uid_t and gid_t in fchown prototype.
4790 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4791 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4792 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4793 use 'const struct dirent **' as argument types to CMP function pointer
4794 argument.
4795 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4796 (File Times): Fix summary magic @comment for struct utimbuf and utime
4797 to refer to utime.h, not time.h.
4798 * manual/string.texi (Argz Functions): Add missing const in
4799 argz_extract and argz_next prototypes.
4800 (Finding Tokens in a String): Likewise for basename.
4801 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4802 (Copying and Concatenation): Fix typo in wmemmove prototype.
4803 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4804 (Signal Stack): Remove erroneous const in sigstack prototype.
4805 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4806 prototype.
4807 (Simple Calendar Time): Likewise for stime.
4808 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4809 prototype.
4810 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4811 say sys/sysctl.h instead.
4812 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4813 and vsyslog prototypes.
4814
fe77fe6d
TV
48152013-02-11 Tom de Vries <tom@codesourcery.com>
4816
4817 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4818 Remove.
4819
3a09b620
RM
48202013-02-11 Roland McGrath <roland@hack.frob.com>
4821
4822 * misc/sys/mman.h: Fix typo in mremap comment.
4823
550a0b89
RM
48242013-02-08 Roland McGrath <roland@hack.frob.com>
4825
4826 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4827 the '\0' terminator.
4828
a2da1673
JM
48292013-02-08 Joseph Myers <joseph@codesourcery.com>
4830
4831 [BZ #13550]
4832 * debug/segfault.c: Don't include <bp-checks.h>.
4833 * sysdeps/generic/bp-checks.h: Remove file.
4834 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4835 (__GETDENTS): Don't use CHECK_N.
4836 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4837 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4838 (__getgroups): Don't use CHECK_N.
4839 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4840 (setgroups): Don't use CHECK_N.
4841 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4842 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4843 (__libc_msgrcv): Don't use CHECK_N.
4844 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4845 (__libc_msgsnd): Don't use CHECK_N.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4847 <bp-checks.h>.
4848 (__libc_pread): Don't use CHECK_N.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4850 include <bp-checks.h>.
4851 (__libc_pread64): Don't use CHECK_N.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4853 include <bp-checks.h>.
4854 (__libc_pwrite): Don't use CHECK_N.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4856 include <bp-checks.h>.
4857 (__libc_pwrite64): Don't use CHECK_N.
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4859 <bp-checks.h>.
4860 (__libc_pread): Don't use CHECK_N.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4862 include <bp-checks.h>.
4863 (__libc_pread64): Don't use CHECK_N.
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4865 include <bp-checks.h>.
4866 (__libc_pwrite): Don't use CHECK_N.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4868 include <bp-checks.h>.
4869 (__libc_pwrite64): Don't use CHECK_N.
4870 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4871 (do_pread): Don't use CHECK_N.
4872 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4873 (do_pread64): Don't use CHECK_N.
4874 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4875 (do_pwrite): Don't use CHECK_N.
4876 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4877 (do_pwrite64): Don't use CHECK_N.
4878 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4879 (__libc_readv): Don't use CHECK_N.
4880 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4881 (semop): Don't use CHECK_N.
4882 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4883 <bp-checks.h>.
4884 (semtimedop): Don't use CHECK_N.
4885 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4886 (__libc_pread): Don't use CHECK_N.
4887 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4888 <bp-checks.h>.
4889 (__libc_pread64): Don't use CHECK_N.
4890 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4891 <bp-checks.h>.
4892 (__libc_pwrite): Don't use CHECK_N.
4893 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4894 <bp-checks.h>.
4895 (__libc_pwrite64): Don't use CHECK_N.
4896 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4897 <bp-checks.h>.
4898 (__libc_msgrcv): Don't use CHECK_N.
4899 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4900 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4901 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4902 (__libc_writev): Don't use CHECK_N.
4903
b84660a8
RM
49042013-02-08 Roland McGrath <roland@hack.frob.com>
4905
7f3e75f8
RM
4906 * string/strcpy.c: Removed unused variable.
4907
b84660a8
RM
4908 * Makeconfig (+sysdep-includes): Define with := rather than =.
4909 Use an existing include/ subdir of each sysdeps dir before it.
4910
471514d3
CD
49112013-02-08 Carlos O'Donell <carlos@redhat.com>
4912
4913 * nscd/connection.c (register_traced_file): Comment function.
4914 [HAVE_INOTIFY] (union __inev): Define.
4915 [HAVE_INOTIFY] (inotify_check_files): New function.
4916 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4917 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4918 clear_db_cache.
4919 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4920
b2d3c3be
CD
49212013-02-08 Carlos O'Donell <carlos@redhat.com>
4922
4923 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4924 loaded if not already and that a failure is permanent.
4925
b39949d2
CD
49262013-02-08 Carlos O'Donell <carlos@redhat.com>
4927
ddacd1db 4928 [BZ #15006]
b39949d2
CD
4929 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4930 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4931
b2c9eff4
JM
49322013-02-08 Joseph Myers <joseph@codesourcery.com>
4933
f3aae3f3
JM
4934 [BZ #13550]
4935 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4936 (CHECK_1_NULL_OK): Likewise.
4937 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4938 (__fxstat): Do not use CHECK_1.
4939 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4940 <bp-checks.h>.
4941 (___fxstat64): Do not use CHECK_1.
4942 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4943 <bp-checks.h>.
4944 (__fxstatat): Do not use CHECK_1.
4945 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4946 <bp-checks.h>.
4947 (__fxstatat64): Do not use CHECK_1.
4948 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4949 <bp-checks.h>.
4950 (__fxstat): Do not use CHECK_1.
4951 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4952 <bp-checks.h>.
4953 (__fxstatat): Do not use CHECK_1.
4954 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4955 <bp-checks.h>.
4956 (__getresgid): Do not use CHECK_1.
4957 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4958 <bp-checks.h>.
4959 (__getresuid): Do not use CHECK_1.
4960 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4961 <bp-checks.h>.
4962 (__lxstat): Do not use CHECK_1.
4963 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4964 <bp-checks.h>.
4965 (__old_msgctl): Do not use CHECK_1.
4966 (__new_msgctl): Likewise.
4967 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4968 <bp-checks.h>.
4969 (__new_setrlimit): Do not use CHECK_1.
4970 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4971 <bp-checks.h>.
4972 (__old_shmctl): Do not use CHECK_1.
4973 (__new_shmctl): Likewise.
4974 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4975 <bp-checks.h>.
4976 (__xstat): Do not use CHECK_1.
4977 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4978 (__lxstat): Do not use CHECK_1.
4979 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4980 <bp-checks.h>.
4981 (___lxstat64): Do not use CHECK_1.
4982 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4983 (__old_msgctl): Do not use CHECK_1.
4984 (__new_msgctl): Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4986 <bp-checks.h>.
4987 (__gettimeofday): Do not use CHECK_1.
4988 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4989 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4990 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4991 <bp-checks.h>.
4992 (__gettimeofday): Do not use CHECK_1.
4993 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4994 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4995 (__new_shmctl): Do not use CHECK_1.
4996 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4997 <bp-checks.h>.
4998 (do_sigtimedwait): Do not use CHECK_1.
4999 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5000 <bp-checks.h>.
5001 (do_sigwaitinfo): Do not use CHECK_1.
5002 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5003 <bp-checks.h>.
5004 (msgctl): Do not use CHECK_1.
5005 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5006 <bp-checks.h>.
5007 (shmctl): Do not use CHECK_1.
5008 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5009 (ustat): Do not use CHECK_1.
5010 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5011 <bp-checks.h>.
5012 (__fxstat): Do not use CHECK_1.
5013 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5014 <bp-checks.h>.
5015 (__fxstatat): Do not use CHECK_1.
5016 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5017 <bp-checks.h>.
5018 (__lxstat): Do not use CHECK_1.
5019 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5020 <bp-checks.h>.
5021 (__xstat): Do not use CHECK_1.
5022 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5023 (__xstat): Do not use CHECK_1.
5024 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5025 (___xstat64): Do not use CHECK_1.
5026
b2c9eff4
JM
5027 [BZ #13550]
5028 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5029 definitions.
5030 (CHECK_BOUNDS_HIGH): Likewise.
5031 * string/strcpy.c: Do not include <bp-checks.h>.
5032 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5033
f1d70dad
RM
50342013-02-07 Roland McGrath <roland@hack.frob.com>
5035
5036 * nscd/nscd-client.h (__nscd_drop_map_ref):
5037 Add __attribute__ ((unused)).
5038 * nis/nss-nisplus.h (niserr2nss): Likewise.
5039
5040 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5041 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5042
5043 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5044 Remove inline keyword.
5045 * include/rounding-mode.h (round_away): Likewise.
5046 * libio/wfileops.c (adjust_wide_data): Likewise.
5047 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5048 (__m128i_strloadu_tolower): Likewise.
5049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5050 (__m128i_strloadu_tolower): Likewise.
5051 * time/mktime.c (ydhms_diff): Likewise.
5052 * locale/elem-hash.h (elem_hash): Likewise.
5053 * locale/setlocale.c (setdata): Likewise.
5054 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5055 (re_string_wchar_at): Likewise.
5056 (bitset_not, bitset_merge, bitset_mask): Likewise.
5057 [!(__GNUC__ > 3)] (inline): Remove macro.
5058 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5059 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5060 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5061 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5062 * string/memcmp.c (memcmp_bytes): Likewise.
5063 * locale/programs/locarchive.c (compute_hashval): Likewise.
5064 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5065 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5066 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5067 * nss/getent.c (print_rpc, print_protocols): Likewise.
5068 (print_passwd, print_group, print_aliases): Likewise.
5069 * nis/nss-nisplus.h (niserr2nss): Likewise.
5070 * nscd/connections.c (restart_p): Likewise.
5071 Change return type to bool.
5072
eab55bfb
RM
50732013-02-05 Roland McGrath <roland@hack.frob.com>
5074
7bd642f5
RM
5075 * Makeconfig (all-Depend-files): Add existing
5076 $(sorted-subdirs:=/Depend) files.
5077 (all-subdirs): Remove nss.
5078 * sysdeps/unix/inet/Subdirs: Add it here instead.
5079 * hesiod/Depend: New file.
5080
573c29b2
RM
5081 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5082 instead of calling alloca.
5083
b2e25af0
RM
5084 * io/lseek.c (__lseek): Rename to __libc_lseek.
5085 Define __lseek as an alias.
5086
eab55bfb
RM
5087 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5088
9a0d1941
CD
50892013-02-04 Carlos O'Donell <carlos@redhat.com>
5090
5091 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5092 else clause and remove check for non-standard endianness.
5093
b83bbec4
DM
50942013-02-04 David S. Miller <davem@davemloft.net>
5095
5096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5097
6277fdab
JM
50982013-02-04 Joseph Myers <joseph@codesourcery.com>
5099
5100 [BZ #13550]
5101 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5102 (__ubp_memchr): Remove prototype.
5103 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5104 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5105 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5106 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5107 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5108 Remove alias.
5109 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5110 (__ubp_memchr): Likewise.
5111 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5112 (__ubp_memchr): Likewise.
5113 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5114 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5115 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5116 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5117 CHECK_STRING.
5118 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5119 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5120 (__getcwd): Do not use CHECK_STRING.
5121 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5122 <bp-checks.h>.
5123 (__real_chown): Do not use CHECK_STRING.
5124 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5125 <bp-checks.h>.
5126 (fchownat): Do not use CHECK_STRING.
5127 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5128 CHECK_STRING.
5129 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5130 <bp-checks.h>.
5131 (__lchown): Do not use CHECK_STRING.
5132 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5133 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5134 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5135 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5137 include <bp-checks.h>.
5138 (truncate64): Do not use CHECK_STRING.
5139 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5140 <bp-checks.h>.
5141 (__real_chown): Do not use CHECK_STRING.
5142 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5143 <bp-checks.h>.
5144 (__lchown): Do not use CHECK_STRING.
5145 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5146 <bp-checks.h>.
5147 (__chown): Do not use CHECK_STRING.
5148 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5149 <bp-checks.h>.
5150 (truncate64): Do not use CHECK_STRING.
5151 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5152 Likewise.
5153 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5154 (__xmknod): Do not use CHECK_STRING.
5155 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5156 <bp-checks.h>.
5157 (__xmknodat): Do not use CHECK_STRING.
5158 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5159 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5160
903ae060
AS
51612013-02-04 Andreas Schwab <schwab@suse.de>
5162
5163 [BZ #14142]
5164 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5165 * include/netdb.h: Likewise for h_errno.
5166 * elf/tst-stackguard1.c: Include <tls.h>.
5167
542f9466
JK
51682013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5169
5170 * elf/link.h (struct link_map): Extend the l_addr comment.
5171 * include/link.h (struct link_map): Likewise.
5172
e782a927
JM
51732013-02-01 Joseph Myers <joseph@codesourcery.com>
5174
5175 [BZ #13550]
5176 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5177 (BOUNDED_1): Remove macro.
5178 * debug/backtrace.c: Don't include <bp-checks.h>.
5179 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5180 (__backtrace): Likewise.
5181 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5182 <bp-checks.h>.
5183 (__backtrace): Don't use BOUNDED_1.
5184 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5185 <bp-checks.h>.
5186 (__backtrace): Don't use BOUNDED_1.
5187 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5188 (__backtrace): Don't use BOUNDED_1.
5189 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5190 (shmat): Don't use BOUNDED_N.
5191
8cf28c5e
JM
51922013-01-31 Joseph Myers <joseph@codesourcery.com>
5193
3a7ac8a0
JM
5194 [BZ #13550]
5195 * sysdeps/generic/bp-start.h: Remove file.
5196 * csu/libc-start.c: Don't include <bp-start.h>.
5197 (LIBC_START_MAIN): Set up __environ directly instead of using
5198 INIT_ARGV_and_ENVIRON.
5199 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5200 <bp-start.h>.
5201
f3499f95
JM
5202 [BZ #13550]
5203 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5204 definitions.
5205 (CHECK_FCNTL): Likewise.
5206 (CHECK_N_PAGES): Likewise.
5207
32a45bea
JM
5208 [BZ #13550]
5209 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5210 definitions.
5211 (CHECK_SIGSET_NULL_OK): Likewise.
5212 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5213 <bp-checks.h>.
5214 (sigpending): Don't use CHECK_SIGSET.
5215 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5216 <bp-checks.h>.
5217 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5218 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5219 <bp-checks.h>.
5220 (do_sigsuspend): Don't use CHECK_SIGSET.
5221 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5222 use CHECK_SIGSET.
5223 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5224 (do_sigwait): Don't use CHECK_SIGSET.
5225 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5226 use CHECK_SIGSET.
5227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5228 include <bp-checks.h>.
5229 (sigpending): Don't use CHECK_SIGSET.
5230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5231 include <bp-checks.h>.
5232 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5233 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5234 <bp-checks.h>.
5235 (sigpending): Don't use CHECK_SIGSET.
5236 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5237 <bp-checks.h>.
5238 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5239
2e8a5c8c
JM
5240 [BZ #13550]
5241 * sysdeps/generic/bp-semctl.h: Remove file.
5242 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5243 <bp-checks.h> and <bp-semctl.h>.
5244 (__old_semctl): Don't use CHECK_SEMCTL.
5245 (__new_semctl): Likewise.
5246 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5247 and <bp-semctl.h>.
5248 (__old_semctl): Don't use CHECK_SEMCTL.
5249 (__new_semctl): Likewise.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5251 <bp-checks.h> and <bp-semctl.h>.
5252 (__old_semctl): Don't use CHECK_SEMCTL.
5253 (__new_semctl): Likewise.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5255 <bp-checks.h> and <bp-semctl.h>.
5256 (semctl): Don't use CHECK_SEMCTL.
5257
c2d54929
JM
5258 [BZ #13550]
5259 * Makerules (elide-bp-thunks): Remove variable.
5260 (elide-routines.oS): Don't use $(elide-bp-thunks).
5261 (elide-routines.os): Likewise.
5262 (elide-routines.o): Likewise.
5263 (elide-routines.op): Likewise.
5264 (elide-routines.og): Likewise.
5265 (objects): Don't use $(bp-thunks).
5266 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5267 include.
5268 (common-generated): Do not add s-proto-bp.d.
5269 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5270 (int): Likewise.
5271 (typ): Likewise.
5272 Do not generate makefile rules for bounded-pointer thunks.
5273 * sysdeps/generic/bp-thunks.h: Remove file.
5274 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5275 * sysdeps/unix/s-proto-bp.S: Likewise.
5276
8cf28c5e
JM
5277 [BZ #15062]
5278 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5279 parts of result separately when argument is not close to line from
5280 -i to i and one part of argument is small.
5281 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5282 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5283 * math/libm-test.inc (cacos_test): Add more tests.
5284 (casin_test): Likewise.
5285 (casinh_test): Likewise.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288
c4e33b8d
DM
52892013-01-31 David S. Miller <davem@davemloft.net>
5290
5291 * po/de.po: Update from translation team.
5292
3b60b421
MK
52932013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5294
5295 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5296
bb931195
TS
52972013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5298
b5a5da23
TS
5299 * configure.in (_AC_PROG_CC_C89): New definition.
5300 * configure: Regenerate.
5301
bb931195
TS
5302 * configure.in (AC_PROG_CPP): New definition.
5303 * configure: Regenerate.
5304
8c53a12c
JM
53052013-01-23 Joseph Myers <joseph@codesourcery.com>
5306
5307 * debug/tst-backtrace.h: New file.
5308 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5309 (ret): Remove variable.
5310 (x): Likewise.
5311 (FAIL): Remove macro.
5312 (NO_INLINE): Likewise.
5313 (fn1): Use match function instead of strstr.
5314 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5315 (ret): Remove variable.
5316 (x): Likewise.
5317 (FAIL): Remove macro.
5318 (NO_INLINE): Likewise.
5319 (fn): Use match function instead of strstr.
5320 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5321 (ret): Remove variable.
5322 (x): Likewise.
5323 (FAIL): Remove macro.
5324 (NO_INLINE): Likewise.
5325 (handle_signal): Use match function instead of strstr.
5326 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5327 (ret): Remove variable.
5328 (x): Likewise.
5329 (FAIL): Remove macro.
5330 (NO_INLINE): Likewise.
5331 (handle_signal): Use match function instead of strstr.
5332
4858fa2a
RM
53332013-01-23 Roland McGrath <roland@hack.frob.com>
5334
5335 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5336
bae8e7f5
DM
53372013-01-23 David S. Miller <davem@davemloft.net>
5338
5339 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5340 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5341 argument of CAS if possible.
5342 * sysdeps/sparc/sparc64/bits/atomic.h
5343 (__arch_compare_and_exchange_val_32_acq): Likewise.
5344 (__arch_compare_and_exchange_val_64_acq): Likewise.
5345
9cbbc4ae
PT
53462013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5347
5348 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5349 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5350 Include <limits.h>.
67b3f58c 5351 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5352
5655a0b5
AC
53532013-01-23 Adam Conrad <adconrad@0c3.net>
5354
5355 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5356 (LDFLAGS-tst-array5): Likewise.
5357
052aff95
JM
53582013-01-23 Joseph Myers <joseph@codesourcery.com>
5359
5360 [BZ #15036]
5361 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5362 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5363 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5364 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5365
7c1e01aa
DM
53662013-01-21 David S. Miller <davem@davemloft.net>
5367
5368 * sysdeps/sparc/backtrace.c: New file.
5369 * sysdeps/sparc/sparc32/backtrace.h: New file.
5370 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5371 * sysdeps/sparc/sparc64/backtrace.h: New file.
5372 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5373 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5374 -funwind-tables.
5375
ab087e0a
AS
53762013-01-21 Andreas Schwab <schwab@suse.de>
5377
5378 [BZ #15020]
5379 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5380 closed its stdout.
5381
ed689c2f
AS
53822013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5383
5384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5385 "mpa2.h".
5386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5387
31d470ac
JM
53882013-01-18 Joseph Myers <joseph@codesourcery.com>
5389 Mark Mitchell <mark@codesourcery.com>
5390 Tom de Vries <tom@codesourcery.com>
5391 Paul Pluzhnikov <ppluzhnikov@google.com>
5392
5393 * debug/tst-backtrace2.c: New file.
5394 * debug/tst-backtrace3.c: Likewise.
5395 * debug/tst-backtrace4.c: Likewise.
5396 * debug/tst-backtrace5.c: Likewise.
5397 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5398 (CFLAGS-tst-backtrace3.c): Likewise.
5399 (CFLAGS-tst-backtrace4.c): Likewise.
5400 (CFLAGS-tst-backtrace5.c): Likewise.
5401 (LDFLAGS-tst-backtrace2): Likewise.
5402 (LDFLAGS-tst-backtrace3): Likewise.
5403 (LDFLAGS-tst-backtrace4): Likewise.
5404 (LDFLAGS-tst-backtrace5): Likewise.
5405 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5406 tst-backtrace4 and tst-backtrace5.
5407
90567f30 54082013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
5409 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5410
5411 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5412 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5413 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5414 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5416 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5417 "+r" and remove output regs list as redundant. Add explicit inline
5418 asm to specify register of return val to work around compiler codegen
5419 bug. Remove (int) cast on return value. Add return type parameter to
5420 use in macro so that this macro does not truncate return value for
5421 64-bit values.
5422 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5423 pass to INTERNAL_VSYSCALL_NCS.
5424 (INLINE_VSYSCALL): Add 'long int' as return type to
5425 INTERNAL_VSYSCALL_NCS macro invocation.
5426 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5427 INTERNAL_VSYSCALL_NCS macro invocation.
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5429
d3b9ea61
SP
54302013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5431
0b57daeb
SP
5432 [BZ #14496]
5433 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5434 Fix application of SIMD FP exception mask.
5435
caa99d06
SP
5436 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5437 mp_no from a power of two.
5438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5439 __mpexp_twomm1. Use __pow_mp.
5440
d3b9ea61
SP
5441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5442 multiplication.
5443
1dbaee3c
DM
54442013-01-17 David S. Miller <davem@davemloft.net>
5445
5446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5447
728d7b43
JM
54482013-01-17 Joseph Myers <joseph@codesourcery.com>
5449
5450 [BZ #15023]
5451 * include/complex.h: Condition contents on [!_COMPLEX_H].
5452 (__kernel_casinhf): New prototype.
5453 (__kernel_casinh): Likewise.
5454 (__kernel_casinhl): Likewise.
5455 * math/Makefile (libm_calls): Add k_casinh.
5456 * math/k_casinh.c: New file.
5457 * math/k_casinhf.c: Likewise.
5458 * math/k_casinhl.c: Likewise.
5459 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5460 finite nonzero arguments.
5461 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5462 finite nonzero arguments.
5463 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5464 finite nonzero arguments.
5465 * math/s_casinh.c: Do not include <float.h>.
5466 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5467 * math/s_casinhf.c: Do not include <float.h>.
5468 (__casinhf): Move code for finite nonzero arguments to
5469 k_casinhf.c.
5470 * math/s_casinhl.c: Do not include <float.h>.
5471 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5472 redefine.
5473 (__casinhl): Move code for finite nonzero arguments to
5474 k_casinhl.c.
5475 * math/libm-test.inc (cacos_test): Add more tests.
5476 * sysdeps/i386/fpu/libm-test-ulps: Update.
5477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5478
2a26ef3a
PT
54792013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5480
5481 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5482 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5483 [!HAVE_MREMAP]: Remove [defined linux] case.
5484 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5485
a897655d
SP
54862013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5487
5488 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5489
881ebe89 54902013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
5491
5492 * elf/elf.h (R_386_SIZE32): New relocation.
5493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5494 R_386_SIZE32.
5495 (elf_machine_rela): Likewise.
5496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5497 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5498
59981e9b
JM
54992013-01-17 Joseph Myers <joseph@codesourcery.com>
5500
5501 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5502 (FP_FAST_FMA): Do not define.
5503 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5504 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5505 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5506 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5507 !_SOFT_FLOAT]: Likewise.
5508 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5509 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5510 value.
5511 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5512 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5513 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5514 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5515 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5516 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5517 file.
5518
cfa8054f
AS
55192013-01-16 Andreas Schwab <schwab@suse.de>
5520
5521 [BZ #14327]
5522 * include/stdlib.h (__mktemp): Add declaration.
5523 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5524 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5525
dd930cc5
SP
55262013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5527
881ebe89
SP
5528 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5529 definitions.
5530 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5531 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5532 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5533 definitions here.
5534 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5535 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5536 definitions.
5537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5538 and ONE.
5539 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5540 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5541 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5542 definitions.
5543 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5544 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5545 definitions.
5546 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 5547
dd930cc5
SP
5548 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5549
c19a9f89
DM
55502013-01-15 David S. Miller <davem@davemloft.net>
5551
1aa61767
DM
5552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5553 trunc{,f} to libm-sysdep_routes.
5554 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5556 file.
5557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5559 file.
5560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5561 file.
5562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5564 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5565 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5566 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5567 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5568 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5569 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5570
c42d5e98
DM
5571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5572 nearbyint{,f} to libm-sysdep_routes.
5573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5575 New file.
5576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5577 file.
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5579 New file.
5580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5581 file.
5582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5585 file.
5586 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5587 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5588 file.
5589 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5590 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5591 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5592
c19a9f89
DM
5593 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5594 libc_feholdexcept and libc_fesetenv.
5595
357679d2
MF
55962013-01-15 Mike Frysinger <vapier@gentoo.org>
5597
5598 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5599
65a82e3d
DM
56002013-01-14 David S. Miller <davem@davemloft.net>
5601
8b954ab9
DM
5602 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5603 (SPARC_ASM_VIS2_IFUNC): Likewise.
5604 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5606 use of 'siam' instruction.
5607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5608 Likewise.
5609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5610 Likewise.
5611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5612 Likewise.
5613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5618 file.
5619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5620 file.
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5622 file.
5623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5624 file.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5630 new VIS2 routines.
5631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5634 Likewise.
5635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5640 routines to libm-sysdep_routines.
5641 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5642
65a82e3d
DM
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5644 fdim/fdimf to libm-sysdep_routines.
5645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5646 file.
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5649 file.
5650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5653 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5654 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5655 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5656 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5657
e34ab705
SP
56582013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5659
2a91b573
SP
5660 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5661 to optimize copies.
5662
1066a534
SP
5663 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5666
e34ab705
SP
5667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5668 local variable MPTWO.
5669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5670 Likewise.
5671
aba5e596
MF
56722013-01-13 Mike Frysinger <vapier@gentoo.org>
5673
5674 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5675 GLOB_NOESCAPE.
5676
e557e9e5
MF
56772013-01-13 Mike Frysinger <vapier@gentoo.org>
5678
5679 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5680
0428cec9
MF
56812013-01-13 Mike Frysinger <vapier@gentoo.org>
5682
5683 * manual/pattern.texi (glob_t): Document gl_flags.
5684 (glob64_t): Likewise.
5685
8794a964
DM
56862013-01-11 David S. Miller <davem@davemloft.net>
5687
66438c3f
RM
5688 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5689 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5690 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
5691 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5692 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5693 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5694 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5695 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5696 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5697 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5698 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5699 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5700 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5701
4ae4244d
DM
5702 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5703 sparc V9 rather than using V8 code.
5704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5706
8794a964
DM
5707 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5708 Move to...
5709 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5710 Here.
5711
6270516e
RM
57122013-01-11 Roland McGrath <roland@hack.frob.com>
5713
5714 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5715 not in the main loop.
5716 * configure: Regenerated.
5717
6a57d931
JM
57182013-01-11 Joseph Myers <joseph@codesourcery.com>
5719
5720 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5721 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5722 to just #else.
5723 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5724 [!__GLIBC_HAVE_LONG_LONG] case.
5725 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5726 condition to just #else.
5727 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5728 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5729 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5730 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5731 unconditional.
5732 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5733 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5734 #elif condition to just #else.
5735 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5736 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5737 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5738 #elif condition to just #else.
5739
0e8529e9
SE
57402013-01-11 Steve Ellcey <sellcey@mips.com>
5741
5742 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5743 (EF_MIPS_ARCH_64): Fix value.
5744 (EF_MIPS_ARCH_32R2): New.
5745 (EF_MIPS_ARCH_64R2): New.
5746
740b3dbe
L
57472013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5748
5749 * Makeconfig (+link-pie-before-libc): New.
5750 (+link-pie-after-libc): Likewise.
5751 (+link-pie-tests): Likewise.
5752 (+link-pie): Rewritten.
5753 (link-before-libc): Remove $(config-LDFLAGS).
5754 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5755 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5756 (config-LDFLAGS): Renamed to ...
5757 (rtld-LDFLAGS): This.
5758 (rtld-tests-LDFLAGS): New macro.
5759 (link-libc-rpath-link): Likewise.
5760 (link-libc-tests-rpath-link): Likewise.
5761 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5762 (link-libc): Prepand $(link-libc-rpath-link).
5763 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5764 (test-program-prefix): New macro.
5765 (test-via-rtld-prefix): Likewise.
5766 (test-program-cmd): Likewise.
5767 (host-test-program-cmd): Likewise.
5768 * Makefile ($(common-objpfx)testrun.sh): Replace
5769 $(run-program-prefix) with $(test-program-prefix).
5770 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5771 $(rtld-LDFLAGS).
5772 ($(common-objpfx)shlib.lds): Likewise.
5773 (build-module-helper): Likewise.
5774 ($(common-objpfx)format.lds): Likewise.
5775 * Rules (binaries-pie-tests): New.
5776 (binaries-pie-notests): Likewise.
5777 (binaries-pie): Rewritten.
5778 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5779 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5780 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5781 (make-test-out): Replace $(host-built-program-cmd) with
5782 $(host-test-program-cmd).
5783 * config.make.in (build-hardcoded-path-in-tests): New variable.
5784 * configure.in (--enable-hardcoded-path-in-tests): New configure
5785 option.
5786 (hardcoded_path_in_tests): New AC_SUBST.
5787 * configure: Regenerated.
5788 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5789 $(built-program-cmd) with $(test-program-cmd).
5790 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5791 (test_program_cmd): This.
5792 * elf/Makefile ($(objpfx)order.out): Run test with
5793 $(test-program-prefix).
5794 ($(objpfx)order2.out): Likewise.
5795 ($(objpfx)tst-initorder.out): Likewise.
5796 ($(objpfx)tst-initorder2.out): Likewise.
5797 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5798 $(test-program-cmd).
5799 ($(objpfx)tst-array1-static.out): Likewise.
5800 ($(objpfx)tst-array2.out): Likewise.
5801 ($(objpfx)tst-array3.out): Likewise.
5802 ($(objpfx)tst-array4.out): Likewise.
5803 ($(objpfx)tst-array5.out): Likewise.
5804 ($(objpfx)tst-array5-static.out): Likewise.
5805 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5806 $(test-program-cmd).
5807 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5808 $(run-program-prefix) with $(test-program-prefix).
5809 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5810 (test_program_prefix): This.
5811 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5812 $(run-program-prefix) with $(test-program-prefix).
5813 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5814 (test_program_prefix): This.
5815 * iconvdata/tst-tables.sh: Likewise.
5816 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5817 $(run-program-prefix) with $(test-program-prefix).
5818 ($(objpfx)tst-translit.out): Likewise.
5819 ($(objpfx)tst-gettext2.out): Likewise.
5820 ($(objpfx)tst-gettext4.out): Likewise.
5821 ($(objpfx)tst-gettext6.out): Likewise.
5822 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5823 (test_program_prefix): This.
5824 * intl/tst-gettext2.sh: Likewise.
5825 * intl/tst-gettext4.sh Likewise.
5826 * intl/tst-gettext6.sh: Likewise.
5827 * intl/tst-translit.sh: Likewise.
5828 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5829 with $(test-program-cmd).
5830 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5831 $(run-program-prefix) with $(test-program-prefix).
5832 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5833 (test_program_prefix): This.
5834 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5835 $(run-program-prefix) with $(test-program-prefix).
5836 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5837 (test_program_prefix): This.
5838 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5839 * posix/Makefile ($(objpfx)globtest.out): Replace
5840 $(run-via-rtld-prefix) and $(test-wrapper) with
5841 $(test-program-prefix) and $(test-via-rtld-prefix).
5842 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5843 $(test-program-prefix).
5844 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5845 $(host-test-program-cmd).
5846 (tst-spawn-ARGS): Likewise.
5847 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5848 $(test-program-prefix).
5849 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5850 (test_via_rtld_prefix): This.
5851 (test_wrapper): Renamed to ...
5852 (test_program_prefix): This.
5853 (run_program_prefix): Replaced by test_program_prefix.
5854 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5855 (test_program_prefix): This.
5856 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5857 with $(host-test-program-cmd).
5858 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5859 $(run-program-prefix) with $(test-program-prefix).
5860 ($(objpfx)tst-printf.out): Likewise.
5861 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5862 $(test-program-cmd).
5863 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5864 (test_program_prefix): This.
5865 * stdio-common/tst-unbputc.sh: Likewise.
5866 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5867 $(run-program-prefix) with $(test-program-prefix).
5868 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5869 (test_program_prefix): This.
5870 * string/Makefile ($(objpfx)tst-svc.out): Replace
5871 $(built-program-cmd) with $(test-program-cmd).
5872
c6fe55cf
AJ
58732013-01-11 Andreas Jaeger <aj@suse.de>
5874
5875 [BZ #15003]
5876 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5877 value. Sync with Linux 3.7.
5878
9e6919c8
DM
58792013-01-10 David S. Miller <davem@davemloft.net>
5880
5881 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5884
1c9f1a02
RM
58852013-01-10 Roland McGrath <roland@hack.frob.com>
5886
5887 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5888 never set.
5889 * configure: Regenerated.
5890
b9de2dde
DM
58912013-01-10 David S. Miller <davem@davemloft.net>
5892
5893 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5894 sparc V9 rather than using V8 code.
5895 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5896 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5897
e7f68ef4
RM
58982013-01-10 Roland McGrath <roland@hack.frob.com>
5899
5900 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5901 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5902 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5903 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5904 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5905 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5906 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5907 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5908 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5909 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5910 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5911 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5912 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5913 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5914 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5915 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5916 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5917 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5918 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5919 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5920 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5921 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5922 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5923 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5924 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5925 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5926 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5927
5a47cc9c
DM
59282013-01-10 David S. Miller <davem@davemloft.net>
5929
5930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5931
4cf8f209
L
59322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * posix/Makefile (tests-static): New variable.
5935 (tests): Add $(tests-static).
5936 (tst-exec-static-ARGS): New variable.
5937 (tst-spawn-static-ARGS): Likewise.
5938 * posix/tst-exec-static.c: New file.
5939 * posix/tst-spawn-static.c: Likewise.
5940 * posix/tst-exec.c: Support run directly.
5941 * posix/tst-spawn.c: Likewise.
5942
fed0faa1
JM
59432013-01-10 Joseph Myers <joseph@codesourcery.com>
5944
828beb13
JM
5945 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5946 long.
5947 * math/bits/mathcalls.h (llrint): Likewise.
5948 (llround): Likewise.
5949 * stdlib/stdlib.h (struct drand48_data): Likewise.
5950 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5951 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5952 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5953 Likewise.
5954 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5955 Likewise.
5956 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5957 (elf_greg_t): Likewise.
5958 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5959 (__jmp_buf): Likewise.
5960 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5961 definitions.
5962 (llrint): Likewise, for all definitions.
5963 (llrintl): Likewise.
5964
fed0faa1
JM
5965 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5966 Remove [__GNUC__] condition.
5967 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5968 condition to just [__USE_ISOC99].
5969 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5970
1a20cb20
L
59712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5972
5973 [BZ #14200]
5974 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5975 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5976 defined.
5977 (_POSIX_V6_ILP32_OFF32): Likewise.
5978 (_XBS5_ILP32_OFF32): Likewise.
5979 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5980 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5981
751b85f7
SP
59822013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5983
7490eb81
SP
5984 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5985
751b85f7
SP
5986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5987 doubles __mpexp_twomm1. Adjust usage.
5988 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5989 Remove.
5990
988197f0
AS
59912013-01-10 Andreas Schwab <schwab@suse.de>
5992
5993 [BZ #14964]
5994 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5995 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5996
e83d7298
DM
59972013-01-09 David S. Miller <davem@davemloft.net>
5998
034ed64b 5999 [BZ #15003]
e83d7298
DM
6000 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6001 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6002 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6003 TCP_FASTOPEN): Define.
6004 (tcp_repair_opt): New structure.
6005 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6006 enum values.
6007 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6008 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6009 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6010 (tcp_cookie_transactions): New structure.
6011
d5e0b9bd
AB
60122013-01-09 Anton Blanchard <anton@samba.org>
6013
6014 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6015 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6016 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6018
0c07e3ea
JM
60192013-01-09 Joseph Myers <joseph@codesourcery.com>
6020
6021 * include/features.h (__USE_ANSI): Remove.
6022
232f7002
RM
60232013-01-09 Roland McGrath <roland@hack.frob.com>
6024
ad98e30c
RM
6025 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6026
232f7002
RM
6027 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6028
950c99ca
SP
60292013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6030
b5792741
SP
6031 * sysdeps/s390/fpu/libm-test-ulps: Update.
6032
47cf2278
SP
6033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6034
950c99ca
SP
6035 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6036 (__acr): Likewise.
6037 (__cpy): Likewise.
6038 (norm): Likewise.
6039 (denorm): Likewise.
6040 (__mp_dbl): Likewise.
6041 (__dbl_mp): Likewise.
6042 (add_magnitudes): Likewise.
6043 (sub_magnitudes): Likewise.
6044 (__add): Likewise.
6045 (__sub): Likewise.
6046 (__mul): Likewise.
6047 (__inv): Likewise.
6048 (__dvd): Likewise.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6050 (__acr): Likewise.
6051 (__cpy): Likewise.
6052 (norm): Likewise.
6053 (denorm): Likewise.
6054 (__mp_dbl): Likewise.
6055 (__dbl_mp): Likewise.
6056 (add_magnitudes): Likewise.
6057 (sub_magnitudes): Likewise.
6058 (__add): Likewise.
6059 (__sub): Likewise.
6060 (__mul): Likewise.
6061 (__inv): Likewise.
6062 (__dvd): Likewise.
6063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6064 (__acr): Likewise.
6065 (__cpy): Likewise.
6066 (norm): Likewise.
6067 (denorm): Likewise.
6068 (__mp_dbl): Likewise.
6069 (__dbl_mp): Likewise.
6070 (add_magnitudes): Likewise.
6071 (sub_magnitudes): Likewise.
6072 (__add): Likewise.
6073 (__sub): Likewise.
6074 (__mul): Likewise.
6075 (__inv): Likewise.
6076 (__dvd): Likewise.
6077
eede9df9
JM
60782013-01-08 Joseph Myers <joseph@codesourcery.com>
6079
6080 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6081 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6082 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6083 2 && __USE_EXTERN_INLINES]: Likewise.
6084
c40ea3d9
AJ
60852013-01-08 Andreas Jaeger <aj@suse.de>
6086
6087 [BZ# 14985]
6088 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6089 Remove.
6090 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6091 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6092
2ccdea26
AB
60932013-01-07 Anton Blanchard <anton@samba.org>
6094
6095 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6096 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6097 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6098 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6099 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6100 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6101 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6102 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6104 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6105 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6106 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6107 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6110 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6111 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6112 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6113 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6114 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6115 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6116 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6118 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6119 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6120 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6121 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6122 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6124 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6125 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6127 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6128 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6130 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6131 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6132 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6133 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6135 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6137 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6138
a9708fed
JM
61392013-01-07 Joseph Myers <joseph@codesourcery.com>
6140
375607b9
JM
6141 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6142 (__MALLOC_PMT): Likewise.
6143 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6144 [__GNUC__], only on [_LIBC].
6145 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6146 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6147 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6148 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6149 forward declaration.
6150 (realloc_hook_ini): Likewise.
6151 (memalign_hook_ini): Likewise.
6152 (__libc_memalign): Do not use __MALLOC_PMT in variable
6153 declaration.
6154 (__libc_valloc): Likewise.
6155 (__libc_pvalloc): Likewise.
6156 (__libc_calloc): Likewise.
6157 (__posix_memalign): Likewise.
6158
a9708fed
JM
6159 [BZ #14996]
6160 * math/s_casinh.c: Include <float.h>.
6161 (__casinh): Do not do computation with squaring and square root
6162 for large arguments.
6163 * math/s_casinhf.c: Include <float.h>.
6164 (__casinhf): Do not do computation with squaring and square root
6165 for large arguments.
6166 * math/s_casinhl.c: Include <float.h>.
6167 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6168 (__casinhl): Do not do computation with squaring and square root
6169 for large arguments.
6170 * math/libm-test.inc (casin_test): Add more tests.
6171 (casinh_test): Likewise.
6172 * sysdeps/i386/fpu/libm-test-ulps: Update.
6173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6174
afec409a
L
61752013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6178 (__x86_64_raw_data_cache_size): Likewise.
6179 (__x86_64_data_cache_size_half): Likewise.
6180 (__x86_64_raw_data_cache_size_half): Likewise.
6181 (__x86_64_shared_cache_size): Likewise.
6182 (__x86_64_raw_shared_cache_size): Likewise.
6183 (__x86_64_shared_cache_size_half): Likewise.
6184 (__x86_64_raw_shared_cache_size_half): Likewise.
6185 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6186 to ...
6187 (__x86_data_cache_size): This.
6188 (__x86_64_raw_data_cache_size): Renamed to ...
6189 (__x86_raw_data_cache_size): This.
6190 (__x86_64_data_cache_size_half): Renamed to ...
6191 (__x86_data_cache_size_half): This.
6192 (__x86_64_raw_data_cache_size_half): Renamed to ...
6193 (__x86_raw_data_cache_size_half): This.
6194 (__x86_64_shared_cache_size): Renamed to ...
6195 (__x86_shared_cache_size): This.
6196 (__x86_64_raw_shared_cache_size): Renamed to ...
6197 (__x86_raw_shared_cache_size): This.
6198 (__x86_64_shared_cache_size_half): Renamed to ...
6199 (__x86_shared_cache_size_half): This.
6200 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6201 (__x86_raw_shared_cache_size_half): This.
6202 * sysdeps/x86_64/memcpy.S: Updated.
6203 * sysdeps/x86_64/memset.S: Likewise.
6204 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6205 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6206 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6207
0b3986d0
DM
62082013-01-04 David S. Miller <davem@davemloft.net>
6209
6210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6211
e47686e9
AS
62122013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6213
d643bac1
AS
6214 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6215 1 to avoid redefinition warning.
6216 (__USE_GNU): Don't define.
6217 (init_signaling_nan): Protoize.
6218
e47686e9
AS
6219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6220
b18decba
SP
62212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6222
fffb407f
SP
6223 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6225 (__cpymn): Likewise.
6226 (norm): Remove commented code.
6227 (denorm): Likewise.
6228 (__mp_dbl): Likewise.
6229 (__inv): Likewise.
6230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6231 (__cpymn): Likewise.
6232 (norm): Remove commented code.
6233 (denorm): Likewise.
6234 (__mp_dbl): Likewise.
6235 (__inv): Likewise.
6236
b18decba
SP
6237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6238 mp_no value for 1.0 and 2.0.
6239 (norm): Use RADIXI instead of radixi.d.
6240 (denorm): Likewise.
6241 (__mul): Use 0.0 instead of zero.d.
6242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6243 mp_no value for 1.0 and 2.0.
6244 (norm): Use RADIXI instead of radixi.d.
6245 (denorm): Likewise.
6246 (__mul): Use 0.0 instead of zero.d.
6247
cdc1c96f
JM
62482013-01-04 Joseph Myers <joseph@codesourcery.com>
6249
6250 [BZ #14994]
6251 * math/s_casinh.c (__casinh): Reduce finite argument to first
6252 quadrant then set signs of results at the end.
6253 * math/s_casinhf.c (__casinhf): Likewise.
6254 * math/s_casinhl.c (__casinhl): Likewise.
6255 * math/libm-test.inc (casin_test): Add more tests.
6256 (casinh_test): Likewise.
6257 * sysdeps/i386/fpu/libm-test-ulps: Update.
6258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6259
302913e1
SP
62602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6261
6420d207
SP
6262 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6263
a9e48ab4
SP
6264 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6265
b7837264
SP
6266 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6267 declarations.
6268 (denorm): Likewise.
6269 (__mp_dbl): Likewise.
6270 (__inv): Likewise.
6271
f8af25d2
SP
6272 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6273 and adjust the header comment.
6274
302913e1
SP
6275 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6276 variable name from declaration.
6277
5d7dd1ca
L
62782013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6279
6280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6281 Initialize COMMON_CPUID_INDEX_7 element.
6282 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6283 (CPUID_RTM): Likewise.
6284 (HAS_RTM): Likewise.
6285 (COMMON_CPUID_INDEX_7): New enum.
6286
2f5f40f4
AS
62872013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6288
6289 [BZ #14981]
6290 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6291 size is zero, record memory as freed.
6292
4056f4a0
AJ
62932013-01-03 Andreas Jaeger <aj@suse.de>
6294
6295 * po/ia.po: Add new Interlingua translation.
6296
ab15736f 62972012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6298
6299 * locale/programs/localedef.c: Fix description of '--posix' flag.
6300
568035b7
JM
63012013-01-02 Joseph Myers <joseph@codesourcery.com>
6302
e6898b8d
JM
6303 * NEWS: Update dates in second copyright notice.
6304 * README: Update copyright dates in example.
6305 * manual/libc.texinfo: Update copyright dates.
6306 * scripts/test-installation.pl: Update copyright date in --version
6307 output.
6308
0e2f9562
JM
6309 * hurd/ctty-input.c: Fix copyright notice formatting.
6310 * hurd/ctty-output.c: Likewise.
6311 * hurd/dtable.c: Likewise.
6312 * hurd/hurd-raise.c: Likewise.
6313 * hurd/hurdprio.c: Likewise.
6314 * hurd/msgportdemux.c: Likewise.
6315 * misc/sys/file.h: Likewise.
6316 * misc/sys/ioctl.h: Likewise.
6317 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6318 * sysdeps/mach/hurd/chdir.c: Likewise.
6319 * sysdeps/mach/hurd/fchdir.c: Likewise.
6320 * sysdeps/mach/hurd/rename.c: Likewise.
6321 * sysdeps/mach/hurd/rmdir.c: Likewise.
6322 * sysdeps/mach/hurd/seekdir.c: Likewise.
6323 * sysdeps/mach/hurd/setsid.c: Likewise.
6324 * sysdeps/posix/wait3.c: Likewise.
6325
568035b7
JM
6326 * All files with FSF copyright notices: Update copyright dates
6327 using scripts/update-copyrights.
6328 * intl/plural.c: Regenerated.
6329 * locale/programs/charmap-kw.h: Likewise.
6330 * locale/programs/locfile-kw.h: Likewise.
6331
da08f647
SP
63322013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6333
0f5477af
SP
6334 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6335 four values.
6336
44e0d4c2
SP
6337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6338 calculation loop and add branch prediction.
6339
4d55b4e5
SP
6340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6341 check access beyond bounds of m1np.
6342
da08f647
SP
6343 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6344 MPTWO.
6345 (__inv): Remove local variable MPTWO to use the global
6346 constant.
6347 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6348 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6349 variable MPTWO.
6350 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6351 MP3HALFS static const.
6352
8e051029
DM
63532013-01-01 David S. Miller <davem@davemloft.net>
6354
6355 * po/ca.po: Update from translation team.
6356
f4cf5f2d
JM
63572013-01-01 Joseph Myers <joseph@codesourcery.com>
6358
6359 * scripts/update-copyrights: New file.
6360 * Makeconfig: Reformat copyright notice.
6361 * ctype/ctype.h: Likewise.
6362 * debug/swprintf_chk.c: Likewise.
6363 * elf/dl-cache.c: Likewise.
6364 * elf/dl-debug.c: Likewise.
6365 * elf/dl-object.c: Likewise.
6366 * grp/initgroups.c: Likewise.
6367 * hurd/Makefile: Likewise.
6368 * hurd/hurd/signal.h: Likewise.
6369 * hurd/hurdfault.c: Likewise.
6370 * hurd/hurdioctl.c: Likewise.
6371 * hurd/hurdlookup.c: Likewise.
6372 * hurd/intr-msg.c: Likewise.
6373 * iconv/gconv_open.c: Likewise.
6374 * libio/swprintf.c: Likewise.
6375 * locale/lc-ctype.c: Likewise.
6376 * locale/nl_langinfo.c: Likewise.
6377 * mach/Machrules: Likewise.
6378 * mach/Makefile: Likewise.
6379 * malloc/obstack.h: Likewise.
6380 * manual/Makefile: Likewise.
6381 * manual/tsort.awk: Likewise.
6382 * misc/bits/stab.def: Likewise.
6383 * nis/nis_print_group_entry.c: Likewise.
6384 * nis/nis_table.c: Likewise.
6385 * nis/nss_compat/compat-pwd.c: Likewise.
6386 * nis/nss_compat/compat-spwd.c: Likewise.
6387 * po/Makefile: Likewise.
6388 * posix/fnmatch.c: Likewise.
6389 * posix/regex.h: Likewise.
6390 * resolv/Makefile: Likewise.
6391 * resolv/nss_dns/dns-network.c: Likewise.
6392 * resolv/res_hconf.c: Likewise.
6393 * scripts/gen-sorted.awk: Likewise.
6394 * soft-fp/soft-fp.h: Likewise.
6395 * stdio-common/printf.h: Likewise.
6396 * stdlib/monetary.h: Likewise.
6397 * stdlib/random.c: Likewise.
6398 * stdlib/random_r.c: Likewise.
6399 * sysdeps/generic/Makefile: Likewise.
6400 * sysdeps/gnu/Makefile: Likewise.
6401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6429 * sysdeps/mach/hurd/errnos.awk: Likewise.
6430 * sysdeps/mach/hurd/fork.c: Likewise.
6431 * sysdeps/mach/hurd/getcwd.c: Likewise.
6432 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6433 * sysdeps/mach/hurd/mmap.c: Likewise.
6434 * sysdeps/mach/hurd/utimes.c: Likewise.
6435 * sysdeps/mach/hurd/xmknod.c: Likewise.
6436 * sysdeps/posix/profil.c: Likewise.
6437 * sysdeps/posix/readdir_r.c: Likewise.
6438 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6439 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6440 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6441 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6445 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6447 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6448 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6449 * sysdeps/pthread/lio_listio.c: Likewise.
6450 * sysdeps/sparc/dl-procinfo.h: Likewise.
6451 * sysdeps/unix/i386/sysdep.S: Likewise.
6452 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6453 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6454 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6455 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6457 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6458 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6459 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6460 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6461 * sysdeps/wordsize-32/divdi3.c: Likewise.
6462 * time/sys/time.h: Likewise.
6463 * wcsmbs/Makefile: Likewise.
6464
0549fbba
DM
64652013-01-01 David S. Miller <davem@davemloft.net>
6466
a141f1a7
DM
6467 * po/fr.po: Update from translation team.
6468
0549fbba
DM
6469 * catgets/gencat.c: Update copyright year.
6470 * csu/version.c: Likewise.
6471 * debug/catchsegv.sh: Likewise.
6472 * debug/pcprofiledump.c: Likewise.
6473 * debug/xtrace.sh: Likewise.
6474 * elf/ldconfig.c: Likewise.
6475 * elf/ldd.bash.in: Likewise.
6476 * elf/pldd.c: Likewise.
6477 * elf/sotruss.ksh: Likewise.
6478 * elf/sprof.c: Likewise.
6479 * iconv/iconv_prog.c: Likewise.
6480 * iconv/iconvconfig.c: Likewise.
6481 * locale/programs/locale.c: Likewise.
6482 * locale/programs/localedef.c: Likewise.
6483 * login/programs/pt_chown.c: Likewise.
6484 * malloc/memusage.sh: Likewise.
6485 * malloc/memusagestat.c: Likewise.
6486 * malloc/mtrace.pl: Likewise.
6487 * nscd/nscd.c: Likewise.
6488 * nss/getent.c: Likewise.
6489 * nss/makedb.c: Likewise.
6490 * posix/getconf.c: Likewise.
6491
18ea052c
SP
64922012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6493
6494 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6495 numbers.
6496
9c89fca6
MF
64972012-12-30 Mike Frysinger <vapier@gentoo.org>
6498
6499 * math/bits/mathcalls.h (modf): Use __nonnull.
6500
085ec079
SP
65012012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6502
6503 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6504 (split): Use macro CN instead of the bare value.
6505 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6506 could be used.
6507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6508 instead of the bare value.
6509 (power1): Likewise.
6510
6d9f97e1
SP
65112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
d63f73be
SP
6513 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6514 __ATAN_TWOM.
6515 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6516
6d9f97e1
SP
6517 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6518 their values.
6519 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6520 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6521 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6522 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6523
4c4febf5
AJ
65242012-12-28 Andreas Jaeger <aj@suse.de>
6525
af5843ef
AJ
6526 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6527 values are from Linux 3.7.
6528
4c4febf5
AJ
6529 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6530 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6531
99136f82
SP
65322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6533
2f216c3c 6534 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
6535 TRUE case.
6536
99136f82
SP
6537 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6538 (norm): Likewise.
6539 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6540 variables with preprocessor constants.
6541 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6542 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6543 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6544
7fffbdff
BH
65452012-12-27 Bruno Haible <bruno@clisp.org>
6546
6547 [BZ #14317]
6548 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6549 only if needed.
6550
b76eb5f0
SP
65512012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6552
31a7fe5c
SP
6553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6554 and use variable directly.
6555 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6556
b76eb5f0
SP
6557 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6558 MPONE.
6559 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6560 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6561 variable MPONE.
6562 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6564 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6565 include directive. Remove local variable MPONE.
6566 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6567 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6568 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6569
2c8bfe7d
DM
65702012-12-25 David S. Miller <davem@davemloft.net>
6571
6572 * version.h (RELEASE): Set to "development".
6573 (VERSION): Set to "2.17.90".
6574 * NEWS: Add 2.18 section.
6575
147d03b0
DM
65762012-12-21 David S. Miller <davem@davemloft.net>
6577
6578 * po/hr.po: Update from translation team.
6579
a8ebb2b9
AK
65802012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6581
6582 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6583
95b4f1b6
SE
65842012-12-19 Steve Ellcey <sellcey@mips.com>
6585
b2d94007 6586 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 6587
cedb2a90
MS
65882012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6589
6590 * manual/contrib.texi (Contributors): Spelling correction.
6591
bbf527d6
DM
65922012-12-15 David S. Miller <davem@davemloft.net>
6593
6594 * po/ru.po: Update from translation team.
6595
bc38c906
DM
65962012-12-13 David S. Miller <davem@davemloft.net>
6597
85429b1a
DM
6598 * NEWS: Mention IFUNC testsuite enhancements.
6599
d283e353
DM
6600 * po/pl.po: Update from translation team.
6601 * po/bg.po: Likewise.
6602
bc38c906
DM
6603 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6604 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6605
a181b0d7
DM
66062012-12-11 David S. Miller <davem@davemloft.net>
6607
4641d57e
DM
6608 * po/sv.po: Update from translation team.
6609
f7bc6495
DM
6610 * po/vi.po: Update from translation team.
6611
6fc9048f
DM
6612 * po/cs.po: Update from translation team.
6613
a181b0d7
DM
6614 * po/de.po: Update from translation team.
6615 * po/eo.po: Likewise.
6616 * po/nl.po: Likewise.
6617
f70bfe80
SP
66182012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
3c8b4190
SP
6620 [BZ #14246]
6621 * manual/argp.texi (Argp Helper Functions): Move node to follow
6622 Argp Parsing State.
6623
f70bfe80
SP
6624 [BZ #14872]
6625 * manual/conf.texi (Limits on File System Capacity): Mention if
6626 terminating null is included in the max size.
6627
188f0adf
AJ
66282012-12-10 Andreas Jaeger <aj@suse.de>
6629
6630 * po/cs.po: Update from translation team.
6631
56e7d3ad
SP
66322012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6633
6634 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6635 void pointer and cast to uintptr_t.
6636 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6637 path.
6638 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6639 * sysdeps/s390/s390-64/memset.S: Likewise.
6640
76f2d2ea 66412012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
6642
6643 [BZ #14833]
6644 * menual/message.texi (Message Translation): Fix typos.
6645 (Helper programs for gettext): Likewise.
6646
67cbf9a2
AS
66472012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6648
6649 [BZ #14898]
6650 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6651 Change to -1.
6652
682d0e9a
DM
66532012-12-07 David S. Miller <davem@davemloft.net>
6654
6655 * po/libc.pot: Update.
6656
573cd484
RH
66572012-12-07 Richard Henderson <rth@redhat.com>
6658
7e9da188 6659 [BZ #10114]
573cd484
RH
6660 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6661 normal/normal case to before the switch.
6662 (_FP_DIV): Likewise.
6663
e933a943
MF
66642012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6665 Mike Frysinger <vapier@gentoo.org>
6666
6667 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6668 check for __NR_fadvise64_64.
6669
82123268
CM
66702012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6671
6672 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6673 0, not just to plain "0" as a statement.
6674 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6675 with cw.
6676
d9814526
JM
66772012-12-06 Joseph Myers <joseph@codesourcery.com>
6678
6679 * NEWS: Use sourceware.org in Bugzilla URL.
6680
7728c574
SP
66812012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6682
f16946dd
SP
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6684 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6685
5704bbcb
SP
6686 * stdio-common/tst-put-error.c (do_test): Add newline to the
6687 padded test to ensure flush.
6688
17aa0516
JL
66892012-12-05 Jeff Law <law@redhat.com>
6690
6691 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6692
363313b5
JM
66932012-12-05 Joseph Myers <joseph@codesourcery.com>
6694
effbd42a
JM
6695 * README: Don't refer to ports add-on as distributed separately.
6696 Mention AArch64 in list of systems supported in the ports add-on.
6697
87600365
JM
6698 * LICENSES: Add more non-FSF copyright and license notices.
6699
a0d7066a
JM
6700 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6701 ((unused)).
6702
66ca5a5b
JM
6703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6704
363313b5
JM
6705 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6706 10000 as width of padded output.
6707
b37984ad
JM
67082012-12-04 Joseph Myers <joseph@codesourcery.com>
6709
9003570a
JM
6710 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6711
b37984ad
JM
6712 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6713 variable LX with __attribute__ ((unused)).
6714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6715 Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6719 with __attribute__ ((unused)).
6720
c8df52ec
DM
67212012-12-04 David S. Miller <davem@abraco.davemloft.net>
6722
6723 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6724
b3b099af
JM
67252012-12-04 Joseph Myers <joseph@codesourcery.com>
6726
c33aa6e3
JM
6727 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6728 (CFLAGS-nldbl-acos.c): New variable.
6729 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6730 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6731 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6732 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6733 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6734 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6735 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6736 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6737 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6738 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6739 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6740 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6741 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6742 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6743 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6744 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6745 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6746 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6747 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6748 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6749 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6750 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6751 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6752 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6753 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6754 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6755 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6756 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6757 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6758 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6759 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6760 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6761 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6762 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6763 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6764 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6765 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6766 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6767 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6768 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6769 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6770 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6771 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6772 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6773 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6774 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6775 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6776 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6777 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6778 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6779 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6780 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6781 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6782 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6783 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6784 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6785 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6786 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6787 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6788 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6789 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6790 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6791 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6792 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6793 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6794 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6795 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6796 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6797 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6798 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6799 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6800 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6801 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6802 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6803 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6804 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6805 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6806 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6807 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6808 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6809 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6810 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6811 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6812 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6813 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6814 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6815 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6816 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6817 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6818 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6819 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6820 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6821 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6822 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6823 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6824 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6825 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6826
20f0018d
JM
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6828 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6829
b3b099af
JM
6830 [BZ #14914]
6831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6832 whole low double instead of just low 47 bits when splitting values
6833 into two parts.
6834
029264d1
AM
68352012-12-03 Allan McRae <allan@archlinux.org>
6836
6837 * manual/stdio.texi (Predefined Printf Handlers): Remove
6838 @hsep and @vsep usage.
6839
c9d6789e
MF
68402012-12-03 Mike Frysinger <vapier@gentoo.org>
6841
6842 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6843 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6844
4b7634a5
JL
68452012-12-03 Jeff Law <law@redhat.com>
6846
6847 * time/sys/time.h (settimeofday): Do not mark TV argument
6848 as __nonnull.
6849
eb6cbd24
MF
68502012-12-01 Mike Frysinger <vapier@gentoo.org>
6851
6852 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6853 when currently writing and seek to current position when not.
6854 * libio/Makefile (tests): Remove bug-fclose1.
6855 * libio/bug-fclose1.c: Delete.
6856
f638872a
JM
68572012-12-01 Joseph Myers <joseph@codesourcery.com>
6858
6859 * manual/arith.texi (feenableexcept): Fix typo.
6860 (fedisableexcept): Likewise.
6861
48085d14
RM
68622012-11-30 Roland McGrath <roland@hack.frob.com>
6863
6864 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6865 second, differently-typed declaration, rather than a cast.
6866
1a538b9f
SP
68672012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6868
6869 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6870 * include/rpc/svc.h: ... here.
6871
d07f2ff1 68722012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6873
6874 [BZ #13013]
6875 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6876 depending n and resplen2 to catch cases where answer
6877 equals answerp2.
6878
c93ec1f0
CD
68792012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6880
6881 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6882 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6883
37db69de
MF
68842012-11-29 Mike Frysinger <vapier@gentoo.org>
6885
6886 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6887
e10c4e4f
RM
68882012-11-29 Roland McGrath <roland@hack.frob.com>
6889
6890 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6891
2af1b328
JL
68922012-11-28 Jeff Law <law@redhat.com>
6893
6894 [BZ #13761]
6895 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6896 dataset_temporary. Track alloca usage into alloca_used.
6897 If dataset is large allocate and release it via malloc/free.
6898
111db5b1
FW
68992012-06-04 Florian Weimer <fweimer@redhat.com>
6900
f06cc227 6901 [BZ #14197]
111db5b1
FW
6902 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6903
dd694abd
DM
69042012-11-28 David S. Miller <davem@davemloft.net>
6905
6906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6907
9984dd01
JM
69082012-11-28 Joseph Myers <joseph@codesourcery.com>
6909
6910 [BZ #14803]
6911 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6912 of pi/2 rounded to nearest to 64 bits.
6913 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6914 nearest to 64 bits.
6915 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6916 bits.
6917
14bc93a9
JL
69182012-11-28 Jeff Law <law@redhat.com>
6919 Martin Osvald <mosvald@redhat.com>
6920
6921 [BZ #14889]
6922 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6923 * sunrpc/svc.c: Include time.h.
6924 (__svc_accept_failed): New function.
6925 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6926 any reason other than EINTR, call __svc_accept_failed.
6927 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6928 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6929
e3c6aa3a
AS
69302012-11-28 Andreas Schwab <schwab@suse.de>
6931
6932 * scripts/abilist.awk: Also handle indirect functions in .opd
6933 section.
6934
1bead169
JM
69352012-11-28 Joseph Myers <joseph@codesourcery.com>
6936
6937 [BZ #13881]
6938 * sysdeps/x86/fpu/powl_helper.c: New file.
6939 * sysdeps/x86/fpu/Makefile: Likewise.
6940 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6941 (p3): New object.
6942 (__ieee754_powl): Use __powl_helper for finite arguments except
6943 integer exponents below 8.
6944 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6945 (p3): New object.
6946 (__ieee754_powl): Use __powl_helper for finite arguments except
6947 integer exponents below 8.
6948 * math/libm-test.inc (pow_test): Add more tests and enable some
6949 previously disabled tests.
6950 * sysdeps/i386/fpu/libm-test-ulps: Update.
6951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6952
0817d63d
SP
69532012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6954 Carlos O'Donell <carlos_odonell@mentor.com>
6955
6956 * nss/makedb.c (is_prime): Assert that input is odd and greater
6957 than 4. Note that fact in a comment too.
6958 (next_prime): Add 4 to input.
6959
de2fd463
SP
69602012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6961
6962 [BZ #11741]
6963 * libio/Makefile (tests): Add test case tst-fwrite-error.
6964 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6965 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6966 * libio/tst-fwrite-error.c: New test case.
6967
c515fb51
L
69682012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6969
6970 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6971 before casting to void *.
6972 * include/libc-internal.h (__pointer_type): New macro.
6973 (__integer_if_pointer_type_sub): Likewise.
6974 (__integer_if_pointer_type): Likewise.
6975 (cast_to_integer): Likewise.
6976 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6977 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6978 before casting to atomic64_t.
6979 (atomic_exchange_acq): Likewise.
6980 (__arch_exchange_and_add_body): Likewise.
6981 (__arch_add_body): Likewise.
6982 (atomic_add_negative): Likewise.
6983 (atomic_add_zero): Likewise.
6984
4cf77aa9
JM
69852012-11-26 Joseph Myers <joseph@codesourcery.com>
6986
6987 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6988 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6989 (add_fdes): Likewise.
6990 (linear_search_fdes): Likewise.
6991 (binary_search_unencoded_fdes): Likewise.
6992
d260b3b4
AS
69932012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6994
6995 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6996
67060746
AC
69972012-11-24 Adam Conrad <adconrad@0c3.net>
6998
6999 * configure.in: Autodetect C++ header directories.
7000 * configure: Regenerated.
7001
800938a1
MF
70022012-11-23 Mike Frysinger <vapier@gentoo.org>
7003
7004 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7005
4e6e34e6
AS
70062012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7007
7008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7009
7c7feb47
JM
70102012-11-22 Joseph Myers <joseph@codesourcery.com>
7011
7184dcdf
JM
7012 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7013 LDBL_MANT_DIG == 106]: Disable some tests.
7014 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7015 Likewise.
7016 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7017 Likewise.
7018
0a42601f
JM
7019 [BZ #14871]
7020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7021 input for small inputs. Return +/- pi/2 for large inputs.
7022 * math/libm-test.inc (atan_test): Add more tests.
7023
79c9b9fe
JM
7024 * sysdeps/generic/unwind-dw2-fde-glibc.c
7025 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7026 __attribute__ ((unused)).
7027
c60d3bf2
JM
7028 [BZ #14645]
7029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7030 x * y if x and y are nonzero and z is zero.
7031
ef1e0867
JM
7032 [BZ #14811]
7033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7034 nonzero exponents with absolute value below 0x1p-117 to +/-
7035 0x1p-117.
7036
1468ded3
JM
7037 [BZ #14869]
7038 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7039 up arguments below 2**-450, not just those below 2**-500.
7040 * math/libm-test.inc (hypot_test): Add another test.
7041
8e27e3cc
JM
7042 [BZ #14868]
7043 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7044 Return a+b for ratio over 2**120, not 2**60.
7045 * math/libm-test.inc (hypot_test): Add another test.
7046
c9c0279b
JM
7047 * math/libm-test.inc (clog_test): Use
7048 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7049 (clog10_test): Likewise.
7050
7c7feb47
JM
7051 [BZ #6778]
7052 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7053
fff1530e
AS
70542012-11-22 Andreas Schwab <schwab@suse.de>
7055
7056 * sysdeps/i386/fpu/libm-test-ulps: Update.
7057
94558d30
PT
70582012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7059
7060 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7061 printf output with newline.
7062
7e1be741
L
70632012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7064
6bfea974
L
7065 [BZ #14865]
7066 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7067 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7068 -z nodlopen, -z initfirst and -z execstack support.
7069 * configure: Regenerated.
7070
7e1be741
L
7071 * elf/elf.h (DF_1_NODIRECT): New macro.
7072 (DF_1_IGNMULDEF): Likewise.
7073 (DF_1_NOKSYMS): Likewise.
7074 (DF_1_NOHDR): Likewise.
7075 (DF_1_EDITED): Likewise.
7076 (DF_1_NORELOC): Likewise.
7077 (DF_1_SYMINTPOSE): Likewise.
7078 (DF_1_GLOBAUDIT): Likewise.
7079 (DF_1_SINGLETON): Likewise.
7080 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7081 DT_1_SUPPORTED_MASK bits.
7082 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7083
105ce2ce
CD
70842012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7085
7086 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7087
123be9de
TS
70882012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7089
d072f3f7
TS
7090 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7091 macro.
7092
123be9de
TS
7093 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7094 (sendmmsg): Move declarations...
7095 * socket/sys/socket.h: ... here.
7096 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7097 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7098 include it from...
7099 * socket/recvmmsg.c: ... this new file.
7100 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7101 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7102 definition of __sendmmsg hidden.
7103 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7104 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7105 Move ENOSYS stub into and include it from...
7106 * socket/sendmmsg.c: ... this new file.
7107 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7108 (sysdep_routines): Move recvmmsg and sendmmsg...
7109 * socket/Makefile (routines): ... here.
7110 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7111 (GLIBC_PRIVATE): Add __sendmmsg.
7112 * include/sys/socket.h (__sendmmsg): Add declarations.
7113 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7114 sendmmsg.
7115
cf9a5d18
JM
71162012-11-20 Joseph Myers <joseph@codesourcery.com>
7117
7118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7119 variable I1 with __attribute__ ((unused)).
7120 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7121
ecd4caf9
JM
71222012-11-19 Joseph Myers <joseph@codesourcery.com>
7123
be14d48f
JM
7124 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7125 DUMMY variables with __attribute__ ((unused)).
7126
ecd4caf9
JM
7127 * bits/byteswap.h: Include <bits/types.h>.
7128 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7129
986cab95
PT
71302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7131
7132 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7133 string_t. Do not manually set errno.
7134 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7135 length with __strnlen. Make sure to both set errno and return it on
7136 failure.
7137
6d33cc9d
DM
71382012-11-19 David S. Miller <davem@davemloft.net>
7139
7140 With help from Joseph Myers.
7141 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7142 very large arguments properly.
7143 * math/libm-test.inc (atan_test): New tests.
7144 (atan2_test): New tests.
7145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7147
ee663277
JM
71482012-11-19 Joseph Myers <joseph@codesourcery.com>
7149
877f2d8e
JM
7150 [BZ #14856]
7151 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7152 Define to 3.
7153
116fc08a
JM
7154 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7155 [POSIX] (EADDRNOTAVAIL): Likewise.
7156 [POSIX] (EAFNOSUPPORT): Likewise.
7157 [POSIX] (EALREADY): Likewise.
7158 [POSIX] (ECONNABORTED): Likewise.
7159 [POSIX] (ECONNREFUSED): Likewise.
7160 [POSIX] (ECONNRESET): Likewise.
7161 [POSIX] (EDESTADDRREQ): Likewise.
7162 [POSIX] (EDQUOT): Likewise.
7163 [POSIX] (EHOSTUNREACH): Likewise.
7164 [POSIX] (EIDRM): Likewise.
7165 [POSIX] (EISCONN): Likewise.
7166 [POSIX] (ELOOP): Likewise.
7167 [POSIX] (EMULTIHOP): Likewise.
7168 [POSIX] (ENETDOWN): Likewise.
7169 [POSIX] (ENETUNREACH): Likewise.
7170 [POSIX] (ENOBUFS): Likewise.
7171 [POSIX] (ENODATA): Likewise.
7172 [POSIX] (ENOLINK): Likewise.
7173 [POSIX] (ENOMSG): Likewise.
7174 [POSIX] (ENOPROTOOPT): Likewise.
7175 [POSIX] (ENOSR): Likewise.
7176 [POSIX] (ENOSTR): Likewise.
7177 [POSIX] (ENOTCONN): Likewise.
7178 [POSIX] (ENOTSOCK): Likewise.
7179 [POSIX] (EOPNOTSUPP): Likewise.
7180 [POSIX] (EOVERFLOW): Likewise.
7181 [POSIX] (EPROTO): Likewise.
7182 [POSIX] (EPROTONOSUPPORT): Likewise.
7183 [POSIX] (EPROTOTYPE): Likewise.
7184 [POSIX] (ESTALE): Likewise.
7185 [POSIX] (ETIME): Likewise.
7186 [POSIX] (ETXTBSY): Likewise.
7187 [POSIX] (EWOULDBLOCK): Likewise.
7188 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7189 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7190 [POSIX] (SEEK_CUR): Likewise.
7191 [POSIX] (SEEK_END): Likewise.
7192 [POSIX || UNIX98] (mode_t): Do not require.
7193 [POSIX] (off_t): Likewise.
7194 [POSIX] (pid_t): Likewise.
7195 [POSIX] (sys/stat.h): Do not allow header.
7196 [POSIX] (unistd.h): Likewise.
7197 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7198 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7199 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7200 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7201 require.
7202 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7203 sigevent): Specify elements.
7204 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7205 entry.
7206 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7207 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7208
a483863f
JM
7209 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7210 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7211 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7212 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7213 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7214 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7215 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7216 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7217 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7218 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7219 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7220 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7221 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7222 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7223 Likewise.
7224 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7225 Likewise.
7226 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7227 Likewise.
7228 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7229 Likewise.
7230 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7231 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7232 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7233 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7234 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7235 Specify lower bound on value.
7236 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7237 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7238 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7239 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7240 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7241 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7242 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7243 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7244 value.
7245 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7246 as optional.
7247 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7248 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7249 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7251 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7252 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7253 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7254 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7255 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7256 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7257 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7258 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7259 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7263 entry.
7264 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7265 optional.
7266 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7272 Likewise.
7273 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7278 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7279 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7280 as optional.
7281 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7285 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7286 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7287 specify as optional.
7288 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7289 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7290 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7291 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7292 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7293 [XPG3] (NL_LANGMAX): Likewise.
7294 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7295 [POSIX || XPG3] (NL_NMAX): Likewise.
7296 [POSIX || XPG3] (NL_SETMAX): Likewise.
7297 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7298 [XPG3] (NZERO): Likewise.
7299 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7300 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7301 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7302 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7303 (REG_ERANGE): Expect.
7304 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7305 optional-constant.
7306 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7307 Use (void) in prototype.
7308 [POSIX] (*_t): Allow.
7309 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7310 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7311 (WRDE_BADVAL): Expect.
7312
5ba924e3
JM
7313 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7314 expect.
7315 [XPG3 || XPG4] (O_RSYNC): Likewise.
7316 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7317 Likewise.
7318 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7319 [XPG3 || XPG4] (sigqueue): Likewise.
7320 [XPG3 || XPG4] (sigtimedwait): Likewise.
7321 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7322 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7323 [XPG3 || XPG4] (vsnprintf): Likewise.
7324 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7325 Likewise.
7326 [XPG3 || XPG4] (blksize_t): Likewise.
7327 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7328 Likewise.
7329 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7330 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7331 [XPG3 || XPG4] (struct itimerspec): Likewise.
7332 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7333 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7334 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7335 [XPG3 || XPG4] (clockid_t): Likewise.
7336 [XPG3 || XPG4] (timer_t): Likewise.
7337 [XPG3 || XPG4] (clock_getres): Likewise.
7338 [XPG3 || XPG4] (clock_gettime): Likewise.
7339 [XPG3 || XPG4] (clock_settime): Likewise.
7340 [XPG3 || XPG4] (nanosleep): Likewise.
7341 [XPG3 || XPG4] (timer_create): Likewise.
7342 [XPG3 || XPG4] (timer_delete): Likewise.
7343 [XPG3 || XPG4] (timer_gettime): Likewise.
7344 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7345 [XPG3 || XPG4] (timer_settime): Likewise.
7346 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7347 [XPG3 || XPG4] (getlogin_r): Likewise.
7348 [XPG3 || XPG4] (pread): Likewise.
7349 [XPG3 || XPG4] (pthread_atfork): Likewise.
7350 [XPG3 || XPG4] (pwrite): Likewise.
7351
ee663277
JM
7352 [BZ #14835]
7353 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7354 <bits/siginfo.h>.
7355
942caa16
PT
73562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7357
e19af380
PT
7358 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7359 finalizing MALLSTREAM.
7360
942caa16
PT
7361 * sysdeps/mach/hurd/syncfs.c: New file.
7362
cfde9b46
SP
73632012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7364
7365 [BZ #14719]
7366 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7367 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7368 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7369 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7370 (_nss_dns_gethostbyname4_r): Likewise.
7371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7372 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7373
f6da27e5
PH
73742012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7375
7376 [BZ #13763]
7377 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7378
6665d4a2
SM
73792012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7380
1f51ee92
SM
7381 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7382 * elf/cache.c (print_entry): Print ",AArch64" for
7383 FLAG_AARCH64_LIB64
7384
6665d4a2
SM
7385 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7386 * elf/cache.c (print_entry): Print ",hard-float" for
7387 FLAG_ARM_LIBHF.
7388
05b227bd
DM
73892012-11-18 David S. Miller <davem@davemloft.net>
7390
7391 With help from Joseph Myers.
7392 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7393 cutoff to 2**-13.
7394 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7395 cutoff to 2**-25.
7396 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7397 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7398 small.
7399 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7400 * math/libm-test.inc (y0_test): New tests.
7401 (y1_test): New tests.
7402 * sysdeps/i386/fpu/libm-test-ulps: Update.
7403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7405
786b0b67
AS
74062012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7407
7408 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7409 64-bit targets.
7410 * configure: Regenerated.
7411
8e18b86d
DM
74122012-11-17 David S. Miller <davem@davemloft.net>
7413
7414 [BZ #14811]
7415 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7416 nonzero exponents with absolute value below 0x1p-128 to +/-
7417 0x1p-128.
7418
531f1ae0
JM
74192012-11-17 Joseph Myers <joseph@codesourcery.com>
7420
12df29e2
JM
7421 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7422
150dc1a0
JM
7423 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7424
531f1ae0
JM
7425 * posix/getconf-speclist.c: New file.
7426 * posix/posix-envs.def: Likewise.
7427 * posix/confstr.c (START_ENV_GROUP): New macro.
7428 (END_ENV_GROUP): Likewise.
7429 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7430 (KNOWN_PRESENT_ENV_STRING): Likewise.
7431 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7432 (UNKNOWN_ENVIRONMENT): Likewise.
7433 (confstr): Include posix-envs.def instead of handling
7434 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7435 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7436 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7437 (END_ENV_GROUP): Likewise.
7438 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7439 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7440 (UNKNOWN_ENVIRONMENT): Likewise.
7441 (__sysconf): Include posix-envs.def instead of handling associated
7442 cases directly here.
7443 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7444 preprocessing getconf-speclist.c rather than running getconf or
7445 generating empty file.
7446
a93f9cbc
PT
74472012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7448
7449 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7450
d64d9f87
AL
74512012-11-16 Andrej Lajovic <natrij@gmail.com>
7452
7453 [BZ #14672]
7454 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7455
447885eb
DM
74562012-11-16 David S. Miller <davem@davemloft.net>
7457
7458 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7459 smaller than LDBL_EPSILON/2.0L, just return xm1.
7460
bcbf9830
L
74612012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 * elf/tst-array1.c (init): Set constructor priority to 1000.
7464 (fini): Set destructor priority to 1000.
7465 * elf/tst-array2dep.c: Likewise.
7466
2b766585
SP
74672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7468
7469 [BZ #11741]
7470 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7471 (_IO_new_file_xsputn): Also return EOF if none of the input
7472 data was written when overflow failed.
7473 * libio/iopadn.c (_IO_padn): Likewise.
7474 * libio/iowpadn.c (_IO_wpadn): Likewise.
7475 * stdio-common/tst-put-error.c: Add copyright notice.
7476 (do_test): Add case for printing padded string.
7477 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7478 _IO_padn returned error.
7479 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7480 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7481 return EOF.
7482
b1848fde
SP
74832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7484
7485 * libio/libioP.h: Add comment note that the references to C++
7486 bits are now obsolete.
7487
2fd89785
MS
74882012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7489
7490 * math/libm-test.inc (check_complex): Use asprintf.
7491
e3ea5409
JM
74922012-11-14 Joseph Myers <joseph@codesourcery.com>
7493
7494 * debug/pcprofiledump.c (print_version): Update copyright year.
7495 * malloc/memusagestat.c (print_version): Likewise.
7496
2e64d265
L
74972012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7498
7499 [BZ #14831]
7500 * elf/Makefile (tests): Add tst-audit8.
7501 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7502 ($(objpfx)tst-audit8.out): New target.
7503 (tst-audit8-ENV): New variable.
7504 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7505 audit if l_reloc_result is NULL.
7506 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7507 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7508 * elf/tst-audit8.c: New file.
7509
c485e4d2
MS
75102012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7511
7512 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7513 * misc/Makefile (CFLAGS-select.c): Define.
7514 * posix/Makefile (CFLAGS-pause.c): Define.
7515
3a0d900a
DM
75162012-11-13 David S. Miller <davem@davemloft.net>
7517
7518 * crypt/Makefile: Move test targets after toplevel Rules
7519 inclusion. Grab any necessary sysdep routines when linking.
7520 * crypt/md5.c (md5_process_block): Remove define, we will always
7521 name it __md5_process_block.
7522 (md5_finish_ctx): Update md5_process_block call.
7523 (md5_stream): Likewise.
7524 (md5_process_bytes): Likewise.
7525 (md5_process_block): Rename to __md5_process_block and move to ...
7526 * crypt/md5-block.c: ... here.
7527 * crypt/sha256.c (sha256_process_block): Move to ...
7528 * crypt/sha256-block.c: ... here.
7529 * crypt/sha512.c (sha512_process_block): Move to ...
7530 * crypt/sha512-block.c: ... here.
7531 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7532 path.
7533 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7534 * sysdeps/sparc/sparc64/multiarch/Makefile
7535 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7536 crypt subdir.
7537 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7538 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7539 multiarch changes.
7540 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7541 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7542 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7543 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7544 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7545 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7546 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7547 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7549 file.
7550 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7551 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7552 file.
7553 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7554
8ca89318
JM
75552012-11-13 Joseph Myers <joseph@codesourcery.com>
7556
e27d476a
JM
7557 * timezone/tzselect.ksh: Update from tzcode git revision
7558 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7559 * timezone/zdump.c: Likewise.
7560 * timezone/zic.c: Likewise.
7561 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7562 in TZVERSION setting, not $(PKGVERSION).
7563 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7564 REPORT_BUGS_TO settings.
7565
8ca89318
JM
7566 [BZ #14838]
7567 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7568 macro.
7569
47594329
MS
75702012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7571
7572 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7573 detection to immediately after _FP_ROUND().
7574 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7575 bits are 0.
7576
640ac3f1
DM
75772012-11-11 David S. Miller <davem@davemloft.net>
7578
7579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7580 inttypes.h
7581 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7582 __close rather than their public counterparts.
7583
3d2577bb
JM
75842012-11-10 Joseph Myers <joseph@codesourcery.com>
7585
7586 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7587 file.
7588 [UNIX98] (sem_timedwait): Do not expect.
7589 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7590 [XPG4 || UNIX98] (sockatmark): Do not expect.
7591 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7592 (clock_getcpuclockid): Do not expect.
7593 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7594 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7595 Do not expect.
7596 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7597 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7598 [UNIX98] (vwscanf): Likewise.
7599 [UNIX98] (vswscanf): Likewise.
7600
fb1ae1ee
JM
76012012-11-09 Joseph Myers <joseph@codesourcery.com>
7602
9ec6f8bd
JM
7603 * timezone/version.h: Remove file.
7604 * timezone/README: Do not refer to version.h.
7605 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7606 $(objpfx)version.h.
7607 ($(objpfx)zdump.o): Likewise.
c3f81911 7608 ($(objpfx)version.h): New target.
9ec6f8bd 7609
0aa8f8a1
JM
7610 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7611 2012i.
7612 * timezone/README: Don't mention modification to tzselect.ksh.
7613 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7614 work on unmodified tzselect.ksh. Substitute version numbers in
7615 tzselect.ksh.
7616
4e87147f
JM
7617 * Makefile (format-me): Remove.
7618 (INSTALL): Adjust indentation. Use commands directly instead of
7619 using $(format-me).
7620
8b748aed
JM
7621 * aclocal.m4 (ACX_PKGVERSION): New macro.
7622 (ACX_BUGURL): Likewise.
7623 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7624 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7625 (REPORT_BUGS_TO): Likewise.
7626 * configure: Regenerated.
7627 * config.h.in (PKGVERSION): New macro.
7628 (REPORT_BUGS_TO): Likewise.
7629 * config.make.in (PKGVERSION): New variable.
7630 (PKGVERSION_TEXI): Likewise.
7631 (REPORT_BUGS_TO): Likewise.
7632 (REPORT_BUGS_TEXI): Likewise.
7633 * Makefile (format-me): Use -I$(common-objpfx)manual.
7634 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7635 ($(common-objpfx)manual/%): New target.
7636 (manual/%): Remove target.
7637 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7638 (print_version): Use PKGVERSION.
7639 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7640 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7641 and REPORT_BUGS_TO.
7642 ($(objpfx)xtrace): Likewise.
7643 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7644 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7645 (print_version): Use PKGVERSION.
7646 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7647 (do_version): Use PKGVERSION.
7648 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7649 REPORT_BUGS_TO.
7650 (common-ldd-rewrite): Likewise.
7651 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7652 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7653 (print_version): Use PKGVERSION.
7654 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7655 * elf/pldd.c (argp_program_bug_address): Remove variable.
7656 (more_help): New function.
7657 (argp): Use more_help.
7658 (print_version): Use PKGVERSION.
7659 * elf/sln.c (main): Use PKGVERSION.
7660 (usage): Use REPORT_BUGS_TO.
7661 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7662 (top level): Use PKGVERSION.
7663 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7664 (print_version): Use PKGVERSION.
7665 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7666 (print_version): Use PKGVERSION.
7667 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7668 (print_version): Use PKGVERSION.
7669 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7670 (print_version): Use PKGVERSION.
7671 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7672 (print_version): Use PKGVERSION.
7673 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7674 (print_version): Use PKGVERSION.
7675 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7676 and BUGURL.
7677 ($(objpfx)memusage): Likewise.
7678 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7679 (do_version): Use PKGVERSION.
7680 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7681 (print_version): Use PKGVERSION.
7682 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7683 ($PKGVERSION): New variable.
7684 ($REPORT_BUGS_TO): Likewise.
7685 (usage): Use $REPORT_BUGS_TO.
7686 (top level): Use $PKGVERSION.
7687 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7688 ($(objpfx)pkgvers.texi): New rule.
7689 ($(objpfx)stamp-pkgvers): Likewise.
7690 * manual/install.texi: Include pkgvers.texi.
7691 (--with-pkgversion): Document new configure option.
7692 (--with-bugurl): Likewise.
7693 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7694 than necessarily for this particular distribution. Use
7695 REPORT_BUGS_TO for where to report bugs.
7696 * INSTALL: Regenerated.
7697 * manual/libc.texinfo: Include pkgvers.texi.
7698 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7699 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7700 (print_version): Use PKGVERSION.
7701 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7702 (print_version): Use PKGVERSION.
7703 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7704 (print_version): Use PKGVERSION.
7705 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7706 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7707 macro.
7708 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7709 (print_version): Use PKGVERSION.
7710 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7711 (print_version): Use PKGVERSION.
7712 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7713 and PKGVERSION.
7714
92e4b6a9
JM
7715 * timezone/checktab.awk: Update from tzcode 2012i.
7716 * timezone/ialloc.c: Likewise.
7717 * timezone/private.h: Likewise.
7718 * timezone/scheck.c: Likewise.
7719 * timezone/tzfile.h: Likewise.
7720 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7721 (TZVERSION): Hardcode tzcode version number.
7722 * timezone/zdump.c: Update from tzcode 2012i.
7723 * timezone/zic.c: Likewise.
7724 * timezone/version.h: New file.
7725 * timezone/README: Describe version.h. Update upstream location.
7726
9bde902c
JM
7727 [BZ #14824]
7728 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7729 (mktemp): Enable declaration.
7730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7731 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7733 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7734 Likewise.
7735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7736 Likewise.
7737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7738 Likewise.
7739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7740 Likewise.
7741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7742 Likewise.
7743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7744 Likewise.
7745
fb1ae1ee
JM
7746 [BZ #14821]
7747 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7748 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7749 for copies of such integer values.
7750 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7751 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7752
2c1adbcb
AJ
77532012-11-09 Andreas Jaeger <aj@suse.de>
7754
7755 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7756 definitions and declarations that are provided by
7757 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7758
d0f8457e
AK
77592012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7760
3a235abb 7761 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7762 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7763 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7764 definition.
7765
57241e26
MS
77662012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7767
7768 * elf/elf.h: Update comment before AArch64 relocations.
7769
60e8270d
DM
77702012-11-07 David S. Miller <davem@davemloft.net>
7771
7772 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7774 (__start_context): Declare.
7775 (__makecontext_ret): Delete.
7776 (__makecontext): Hook up __start_context instead of
7777 __makecontext_ret.
7778 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7779 (sysdep_routines): Add __start_context when in stdlib.
7780
0fbb0fbc
JM
77812012-11-07 Joseph Myers <joseph@codesourcery.com>
7782
7783 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7784 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7785 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7786 hardcoded "nm".
7787 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7788 (READELF): New variable. Use it instead of hardcoded "readelf".
7789
eb48db7e
L
77902012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7791
7792 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7793 * sysdeps/x86/Makefile: Here.
7794 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7795 * sysdeps/x86/tst-xmmymm.sh: This.
7796
05bcf62a
JM
77972012-11-07 Joseph Myers <joseph@codesourcery.com>
7798
c4b6cf53
JM
7799 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7800 expectations.
7801 [UNIX98] (pthread_barrier_t): Do not expect.
7802 [UNIX98] (pthread_barrierattr_t): Likewise.
7803 [UNIX98] (pthread_spinlock_t): Likewise.
7804 [UNIX98] (pthread_barrier_destroy): Likewise.
7805 [UNIX98] (pthread_barrier_init): Likewise.
7806 [UNIX98] (pthread_barrier_wait): Likewise.
7807 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7808 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7809 [UNIX98] (pthread_barrierattr_init): Likewise.
7810 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7811 [UNIX98] (pthread_getcpuclockid): Likewise.
7812 [UNIX98] (pthread_mutex_timedlock): Likewise.
7813 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7814 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7815 [UNIX98] (pthread_sigmask): Likewise.
7816 [UNIX98] (pthread_spin_destroy): Likewise.
7817 [UNIX98] (pthread_spin_init): Likewise.
7818 [UNIX98] (pthread_spin_lock): Likewise.
7819 [UNIX98] (pthread_spin_trylock): Likewise.
7820 [UNIX98] (pthread_spin_unlock): Likewise.
7821 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7822 Do not expect.
7823 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7824 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7825 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7826 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7827 [XPG3 || XPG4] (pthread_key_t): Likewise.
7828 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7829 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7830 [XPG3 || XPG4] (pthread_once_t): Likewise.
7831 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7832 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7833 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7834 [XPG3 || XPG4] (pthread_t): Likewise.
7835
cbe6e120
JM
7836 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7837 not expect.
7838 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7839
1b126443
JM
7840 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7841 Change function return type to int.
7842
b961a573
JM
7843 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7844 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7845 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7846 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7847 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7848 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7849 [!POSIX] (posix_madvise): Likewise.
7850 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7851 && !UNIX98].
7852 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7853 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7854 (mode_t): Likewise.
7855 (posix_mem_offset): Likewise.
7856 (posix_typed_mem_get_info): Likewise.
7857 (posix_typed_mem_open): Likewise.
7858
9e188909
JM
7859 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7860 Change condition to [XOPEN2K8].
7861
05bcf62a
JM
7862 * conform/conformtest.pl: Preprocess allow-header data with -x c
7863 instead of from stdin.
7864 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7865 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7866 [C99-based standards] (cerfc): Likewise.
7867 [C99-based standards] (cexp2): Likewise.
7868 [C99-based standards] (cexpm1): Likewise.
7869 [C99-based standards] (clog10): Likewise.
7870 [C99-based standards] (clog1p): Likewise.
7871 [C99-based standards] (clog2): Likewise.
7872 [C99-based standards] (clgamma): Likewise.
7873 [C99-based standards] (ctgamma): Likewise.
7874 [C99-based standards] (cerff): Likewise.
7875 [C99-based standards] (cerfcf): Likewise.
7876 [C99-based standards] (cexp2f): Likewise.
7877 [C99-based standards] (cexpm1f): Likewise.
7878 [C99-based standards] (clog10f): Likewise.
7879 [C99-based standards] (clog1pf): Likewise.
7880 [C99-based standards] (clog2f): Likewise.
7881 [C99-based standards] (clgammaf): Likewise.
7882 [C99-based standards] (ctgammaf): Likewise.
7883 [C99-based standards] (cerfl): Likewise.
7884 [C99-based standards] (cerfcl): Likewise.
7885 [C99-based standards] (cexp2l): Likewise.
7886 [C99-based standards] (cexpm1l): Likewise.
7887 [C99-based standards] (clog10l): Likewise.
7888 [C99-based standards] (clog1pl): Likewise.
7889 [C99-based standards] (clog2l): Likewise.
7890 [C99-based standards] (clgammal): Likewise.
7891 [C99-based standards] (ctgammal): Likewise.
7892 * conform/data/inttypes.h-data [C99-based standards]: Include
7893 stdint.h-data. Remove all expectations for stdint.h contents.
7894 [C99-based standards] (PRI*): Do not allow.
7895 [C99-based standards] (SCN*): Likewise.
7896 [C99-based standards] (*_t): Likewise.
7897 [C99-based-standards] (PRId8): Expect macro.
7898 [C99-based-standards] (PRIi8): Likewise.
7899 [C99-based-standards] (PRIo8): Likewise.
7900 [C99-based-standards] (PRIu8): Likewise.
7901 [C99-based-standards] (PRIx8): Likewise.
7902 [C99-based-standards] (PRIX8): Likewise.
7903 [C99-based-standards] (SCNd8): Likewise.
7904 [C99-based-standards] (SCNi8): Likewise.
7905 [C99-based-standards] (SCNo8): Likewise.
7906 [C99-based-standards] (SCNu8): Likewise.
7907 [C99-based-standards] (SCNx8): Likewise.
7908 [C99-based-standards] (PRIdLEAST8): Likewise.
7909 [C99-based-standards] (PRIiLEAST8): Likewise.
7910 [C99-based-standards] (PRIoLEAST8): Likewise.
7911 [C99-based-standards] (PRIuLEAST8): Likewise.
7912 [C99-based-standards] (PRIxLEAST8): Likewise.
7913 [C99-based-standards] (PRIXLEAST8): Likewise.
7914 [C99-based-standards] (SCNdLEAST8): Likewise.
7915 [C99-based-standards] (SCNiLEAST8): Likewise.
7916 [C99-based-standards] (SCNoLEAST8): Likewise.
7917 [C99-based-standards] (SCNuLEAST8): Likewise.
7918 [C99-based-standards] (SCNxLEAST8): Likewise.
7919 [C99-based-standards] (PRIdFAST8): Likewise.
7920 [C99-based-standards] (PRIiFAST8): Likewise.
7921 [C99-based-standards] (PRIoFAST8): Likewise.
7922 [C99-based-standards] (PRIuFAST8): Likewise.
7923 [C99-based-standards] (PRIxFAST8): Likewise.
7924 [C99-based-standards] (PRIXFAST8): Likewise.
7925 [C99-based-standards] (SCNdFAST8): Likewise.
7926 [C99-based-standards] (SCNiFAST8): Likewise.
7927 [C99-based-standards] (SCNoFAST8): Likewise.
7928 [C99-based-standards] (SCNuFAST8): Likewise.
7929 [C99-based-standards] (SCNxFAST8): Likewise.
7930 [C99-based-standards] (PRId16): Likewise.
7931 [C99-based-standards] (PRIi16): Likewise.
7932 [C99-based-standards] (PRIo16): Likewise.
7933 [C99-based-standards] (PRIu16): Likewise.
7934 [C99-based-standards] (PRIx16): Likewise.
7935 [C99-based-standards] (PRIX16): Likewise.
7936 [C99-based-standards] (SCNd16): Likewise.
7937 [C99-based-standards] (SCNi16): Likewise.
7938 [C99-based-standards] (SCNo16): Likewise.
7939 [C99-based-standards] (SCNu16): Likewise.
7940 [C99-based-standards] (SCNx16): Likewise.
7941 [C99-based-standards] (PRIdLEAST16): Likewise.
7942 [C99-based-standards] (PRIiLEAST16): Likewise.
7943 [C99-based-standards] (PRIoLEAST16): Likewise.
7944 [C99-based-standards] (PRIuLEAST16): Likewise.
7945 [C99-based-standards] (PRIxLEAST16): Likewise.
7946 [C99-based-standards] (PRIXLEAST16): Likewise.
7947 [C99-based-standards] (SCNdLEAST16): Likewise.
7948 [C99-based-standards] (SCNiLEAST16): Likewise.
7949 [C99-based-standards] (SCNoLEAST16): Likewise.
7950 [C99-based-standards] (SCNuLEAST16): Likewise.
7951 [C99-based-standards] (SCNxLEAST16): Likewise.
7952 [C99-based-standards] (PRIdFAST16): Likewise.
7953 [C99-based-standards] (PRIiFAST16): Likewise.
7954 [C99-based-standards] (PRIoFAST16): Likewise.
7955 [C99-based-standards] (PRIuFAST16): Likewise.
7956 [C99-based-standards] (PRIxFAST16): Likewise.
7957 [C99-based-standards] (PRIXFAST16): Likewise.
7958 [C99-based-standards] (SCNdFAST16): Likewise.
7959 [C99-based-standards] (SCNiFAST16): Likewise.
7960 [C99-based-standards] (SCNoFAST16): Likewise.
7961 [C99-based-standards] (SCNuFAST16): Likewise.
7962 [C99-based-standards] (SCNxFAST16): Likewise.
7963 [C99-based-standards] (PRId32): Likewise.
7964 [C99-based-standards] (PRIi32): Likewise.
7965 [C99-based-standards] (PRIo32): Likewise.
7966 [C99-based-standards] (PRIu32): Likewise.
7967 [C99-based-standards] (PRIx32): Likewise.
7968 [C99-based-standards] (PRIX32): Likewise.
7969 [C99-based-standards] (SCNd32): Likewise.
7970 [C99-based-standards] (SCNi32): Likewise.
7971 [C99-based-standards] (SCNo32): Likewise.
7972 [C99-based-standards] (SCNu32): Likewise.
7973 [C99-based-standards] (SCNx32): Likewise.
7974 [C99-based-standards] (PRIdLEAST32): Likewise.
7975 [C99-based-standards] (PRIiLEAST32): Likewise.
7976 [C99-based-standards] (PRIoLEAST32): Likewise.
7977 [C99-based-standards] (PRIuLEAST32): Likewise.
7978 [C99-based-standards] (PRIxLEAST32): Likewise.
7979 [C99-based-standards] (PRIXLEAST32): Likewise.
7980 [C99-based-standards] (SCNdLEAST32): Likewise.
7981 [C99-based-standards] (SCNiLEAST32): Likewise.
7982 [C99-based-standards] (SCNoLEAST32): Likewise.
7983 [C99-based-standards] (SCNuLEAST32): Likewise.
7984 [C99-based-standards] (SCNxLEAST32): Likewise.
7985 [C99-based-standards] (PRIdFAST32): Likewise.
7986 [C99-based-standards] (PRIiFAST32): Likewise.
7987 [C99-based-standards] (PRIoFAST32): Likewise.
7988 [C99-based-standards] (PRIuFAST32): Likewise.
7989 [C99-based-standards] (PRIxFAST32): Likewise.
7990 [C99-based-standards] (PRIXFAST32): Likewise.
7991 [C99-based-standards] (SCNdFAST32): Likewise.
7992 [C99-based-standards] (SCNiFAST32): Likewise.
7993 [C99-based-standards] (SCNoFAST32): Likewise.
7994 [C99-based-standards] (SCNuFAST32): Likewise.
7995 [C99-based-standards] (SCNxFAST32): Likewise.
7996 [C99-based-standards] (PRId64): Likewise.
7997 [C99-based-standards] (PRIi64): Likewise.
7998 [C99-based-standards] (PRIo64): Likewise.
7999 [C99-based-standards] (PRIu64): Likewise.
8000 [C99-based-standards] (PRIx64): Likewise.
8001 [C99-based-standards] (PRIX64): Likewise.
8002 [C99-based-standards] (SCNd64): Likewise.
8003 [C99-based-standards] (SCNi64): Likewise.
8004 [C99-based-standards] (SCNo64): Likewise.
8005 [C99-based-standards] (SCNu64): Likewise.
8006 [C99-based-standards] (SCNx64): Likewise.
8007 [C99-based-standards] (PRIdLEAST64): Likewise.
8008 [C99-based-standards] (PRIiLEAST64): Likewise.
8009 [C99-based-standards] (PRIoLEAST64): Likewise.
8010 [C99-based-standards] (PRIuLEAST64): Likewise.
8011 [C99-based-standards] (PRIxLEAST64): Likewise.
8012 [C99-based-standards] (PRIXLEAST64): Likewise.
8013 [C99-based-standards] (SCNdLEAST64): Likewise.
8014 [C99-based-standards] (SCNiLEAST64): Likewise.
8015 [C99-based-standards] (SCNoLEAST64): Likewise.
8016 [C99-based-standards] (SCNuLEAST64): Likewise.
8017 [C99-based-standards] (SCNxLEAST64): Likewise.
8018 [C99-based-standards] (PRIdFAST64): Likewise.
8019 [C99-based-standards] (PRIiFAST64): Likewise.
8020 [C99-based-standards] (PRIoFAST64): Likewise.
8021 [C99-based-standards] (PRIuFAST64): Likewise.
8022 [C99-based-standards] (PRIxFAST64): Likewise.
8023 [C99-based-standards] (PRIXFAST64): Likewise.
8024 [C99-based-standards] (SCNdFAST64): Likewise.
8025 [C99-based-standards] (SCNiFAST64): Likewise.
8026 [C99-based-standards] (SCNoFAST64): Likewise.
8027 [C99-based-standards] (SCNuFAST64): Likewise.
8028 [C99-based-standards] (SCNxFAST64): Likewise.
8029 [C99-based-standards] (PRIdMAX): Likewise.
8030 [C99-based-standards] (PRIiMAX): Likewise.
8031 [C99-based-standards] (PRIoMAX): Likewise.
8032 [C99-based-standards] (PRIuMAX): Likewise.
8033 [C99-based-standards] (PRIxMAX): Likewise.
8034 [C99-based-standards] (PRIXMAX): Likewise.
8035 [C99-based-standards] (SCNdMAX): Likewise.
8036 [C99-based-standards] (SCNiMAX): Likewise.
8037 [C99-based-standards] (SCNoMAX): Likewise.
8038 [C99-based-standards] (SCNuMAX): Likewise.
8039 [C99-based-standards] (SCNxMAX): Likewise.
8040 [C99-based-standards] (PRIdPTR): Likewise.
8041 [C99-based-standards] (PRIiPTR): Likewise.
8042 [C99-based-standards] (PRIoPTR): Likewise.
8043 [C99-based-standards] (PRIuPTR): Likewise.
8044 [C99-based-standards] (PRIxPTR): Likewise.
8045 [C99-based-standards] (PRIXPTR): Likewise.
8046 [C99-based-standards] (SCNdPTR): Likewise.
8047 [C99-based-standards] (SCNiPTR): Likewise.
8048 [C99-based-standards] (SCNoPTR): Likewise.
8049 [C99-based-standards] (SCNuPTR): Likewise.
8050 [C99-based-standards] (SCNxPTR): Likewise.
8051 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8052 allow.
8053 * conform/data/stdint.h-data: Update comments to clarify
8054 requirements.
8055 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8056 type.
8057 [C99-based standards] (INT8_MAX): Likewise.
8058 [C99-based standards] (INT16_MIN): Likewise.
8059 [C99-based standards] (INT16_MAX): Likewise.
8060 [C99-based standards] (INT32_MIN): Likewise.
8061 [C99-based standards] (INT32_MAX): Likewise.
8062 [C99-based standards] (INT64_MIN): Likewise.
8063 [C99-based standards] (INT64_MAX): Likewise.
8064 [C99-based standards] (UINT8_MAX): Likewise.
8065 [C99-based standards] (UINT16_MAX): Likewise.
8066 [C99-based standards] (UINT32_MAX): Likewise.
8067 [C99-based standards] (UINT64_MAX): Likewise.
8068 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8069 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8070 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8071 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8072 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8073 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8074 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8075 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8076 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8077 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8078 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8079 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8080 [C99-based standards] (INT_FAST8_MIN): Likewise.
8081 [C99-based standards] (INT_FAST8_MAX): Likewise.
8082 [C99-based standards] (INT_FAST16_MIN): Likewise.
8083 [C99-based standards] (INT_FAST16_MAX): Likewise.
8084 [C99-based standards] (INT_FAST32_MIN): Likewise.
8085 [C99-based standards] (INT_FAST32_MAX): Likewise.
8086 [C99-based standards] (INT_FAST64_MIN): Likewise.
8087 [C99-based standards] (INT_FAST64_MAX): Likewise.
8088 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8089 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8090 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8091 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8092 [C99-based standards] (INTPTR_MIN): Likewise.
8093 [C99-based standards] (INTPTR_MAX): Likewise.
8094 [C99-based standards] (UINTPTR_MAX): Likewise.
8095 [C99-based standards] (INTMAX_MIN): Likewise.
8096 [C99-based standards] (INTMAX_MAX): Likewise.
8097 [C99-based standards] (UINTMAX_MAX): Likewise.
8098 [C99-based standards] (PTRDIFF_MIN): Likewise.
8099 [C99-based standards] (PTRDIFF_MAX): Likewise.
8100 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8101 [C99-based standards] (SIZE_MAX): Likewise.
8102 [C99-based standards] (WCHAR_MAX): Likewise.
8103 [C99-based standards] (WINT_MAX): Likewise.
8104 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8105 constraint on value.
8106 [C99-based standards] (WCHAR_MIN): Likewise.
8107 [C99-based standards] (WINT_MIN): Likewise.
8108 [C99-based standards] (*_t): Allow.
8109 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8110 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8111 Include math.h-data and complex.h-data. Remove all expectations
8112 of math.h and complex.h contents.
8113 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8114 at end of line.
8115 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8116 (struct tm): Expect tag.
8117 [C99-based-standards] (wcstof): Expect function.
8118 [C99-based-standards] (wcstold): Likewise.
8119 [C99-based-standards] (wcstoll): Likewise.
8120 [C99-based-standards] (wcstoull): Likewise.
8121 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8122 macro-int-constant. Specify type.
8123 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8124 constraint on value.
8125 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8126 Specify type.
8127 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8128 Specify value.
8129 [ISO C standards]: Do not allow headers.
8130 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8131 wcs[abcdefghijklmnopqrstuvwxyz]*.
8132 [ISO C standards] (*_t): Do not allow.
8133 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8134 Expect function.
8135 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8136 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8137 Specify type.
8138 [ISO C standards]: Do not allow headers.
8139 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8140 is[abcdefghijklmnopqrstuvwxyz]*.
8141 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8142 to[abcdefghijklmnopqrstuvwxyz]*.
8143 [ISO C standards] (*_t): Do not allow.
8144 * conform/data/stdalign.h-data: New file.
8145 * conform/data/stdbool.h-data: Likewise.
8146 * conform/data/stdnoreturn.h-data: Likewise.
8147
7514feb8
RM
81482012-11-07 Roland McGrath <roland@hack.frob.com>
8149
8150 [BZ #14815]
8151 * manual/filesys.texi (Directory Entries): Typo fix.
8152 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8153
19b2ecfc
MS
81542012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8155
8156 * elf/elf.h (EM_AARCH64): New macro.
8157 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8158 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8159 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8160 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8161 (R_AARCH64_TLSDESC): Likewise.
8162 (NT_ARM_TLS): Likewise.
8163 (NT_ARM_HW_BREAK): Likewise.
8164 (NT_ARM_HW_WATCH): Likewise.
8165
60e235ee
JM
81662012-11-07 Joseph Myers <joseph@codesourcery.com>
8167
8168 [BZ #14811]
8169 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8170 (__ieee754_powl): Saturate nonzero exponents with absolute value
8171 below 0x1p-79 to +/- 0x1p-79.
8172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8173 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8174 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8175 nonzero exponents with absolute value below 0x1p-32 to +/-
8176 0x1p-32.
8177 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8178 (__ieee754_powl): Saturate nonzero exponents with absolute value
8179 below 0x1p-79 to +/- 0x1p-79.
8180 * math/libm-test.inc (pow_test): Add more tests.
8181
0ab234b7
AK
81822012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8183
8184 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8185 _dl_s390_cap_flags with kernel. Increase string length.
8186 (_dl_s390_platforms): Add z196 and zEC12.
8187
45832f74
JM
81882012-11-07 Joseph Myers <joseph@codesourcery.com>
8189
8190 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8191 Change XOPEN21K to XOPEN2K.
8192
19218757
MK
81932012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8194
8195 * string/memmove.c: Use memcpy when possible.
8196
c5f45721
AJ
81972012-11-06 Andreas Jaeger <aj@suse.de>
8198
8199 * po/eo.po: Update from translation team.
8200
82477c28
JM
82012012-11-06 Joseph Myers <joseph@codesourcery.com>
8202
8203 [BZ #14793]
8204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8205 exponent and small x and y exponents, scale x or y up. Increase
8206 by 2 the exponent used in scaling up.
8207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8209 * math/libm-test.inc (fma_test): Add more tests.
8210 (fma_test_towardzero): Likewise.
8211 (fma_test_downward): Likewise.
8212 (fma_test_upward): Likewise.
8213
99252c8c
JM
82142012-11-05 Joseph Myers <joseph@codesourcery.com>
8215
acfa885f
JM
8216 [BZ #14805]
8217 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8218 fenv_t *.
8219
99252c8c
JM
8220 [BZ #14801]
8221 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8222 namespace for names of struct fields.
8223 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8224 fenv_t fields.
8225 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8226 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8227
d6d98dea
ST
82282012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8229
8230 [BZ #3665]
8231 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8232
e10bb107
TS
82332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8234
8235 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8236 PTR_DEMANGLE.
8237
8238 [BZ #5246]
8239 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8240 PTR_DEMANGLE.
8241
a0c2940d
JM
82422012-11-04 Joseph Myers <joseph@codesourcery.com>
8243
8244 [BZ #14797]
8245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8246 definitely overflow as x * y not x * y + z.
8247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8249 * math/libm-test.inc (fma_test): Add more tests.
8250 (fma_test_towardzero): Likewise.
8251 (fma_test_downward): Likewise.
8252 (fma_test_upward): Likewise.
8253
b830319d
TS
82542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8255
8256 [BZ #157]
8257
8258 * include/stub-tag.h: Remove file.
8259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8260 '#include' of it.
8261 * manual/maint.texi (Porting): Don't reference it.
8262 * Makerules ($(objpfx)stubs): Likewise.
8263 * dirent/closedir.c: Don't include <stub-tag.h>.
8264 * dirent/dirfd.c: Likewise.
8265 * dirent/fdopendir.c: Likewise.
8266 * dirent/getdents.c: Likewise.
8267 * dirent/getdents64.c: Likewise.
8268 * dirent/opendir.c: Likewise.
8269 * dirent/readdir.c: Likewise.
8270 * dirent/readdir64.c: Likewise.
8271 * dirent/readdir64_r.c: Likewise.
8272 * dirent/readdir_r.c: Likewise.
8273 * dirent/rewinddir.c: Likewise.
8274 * dirent/seekdir.c: Likewise.
8275 * dirent/telldir.c: Likewise.
8276 * gmon/profil.c: Likewise.
8277 * grp/setgroups.c: Likewise.
8278 * inet/if_index.c: Likewise.
8279 * io/access.c: Likewise.
8280 * io/chdir.c: Likewise.
8281 * io/chmod.c: Likewise.
8282 * io/chown.c: Likewise.
8283 * io/close.c: Likewise.
8284 * io/dup.c: Likewise.
8285 * io/dup2.c: Likewise.
8286 * io/dup3.c: Likewise.
8287 * io/euidaccess.c: Likewise.
8288 * io/faccessat.c: Likewise.
8289 * io/fchdir.c: Likewise.
8290 * io/fchmod.c: Likewise.
8291 * io/fchmodat.c: Likewise.
8292 * io/fchown.c: Likewise.
8293 * io/fchownat.c: Likewise.
8294 * io/fcntl.c: Likewise.
8295 * io/flock.c: Likewise.
8296 * io/fstatfs.c: Likewise.
8297 * io/fstatfs64.c: Likewise.
8298 * io/fstatvfs.c: Likewise.
8299 * io/fstatvfs64.c: Likewise.
8300 * io/futimens.c: Likewise.
8301 * io/fxstat.c: Likewise.
8302 * io/fxstat64.c: Likewise.
8303 * io/fxstatat.c: Likewise.
8304 * io/fxstatat64.c: Likewise.
8305 * io/getcwd.c: Likewise.
8306 * io/isatty.c: Likewise.
8307 * io/lchmod.c: Likewise.
8308 * io/lchown.c: Likewise.
8309 * io/link.c: Likewise.
8310 * io/linkat.c: Likewise.
8311 * io/lseek.c: Likewise.
8312 * io/lseek64.c: Likewise.
8313 * io/lxstat64.c: Likewise.
8314 * io/mkdir.c: Likewise.
8315 * io/mkdirat.c: Likewise.
8316 * io/mkfifo.c: Likewise.
8317 * io/mkfifoat.c: Likewise.
8318 * io/open.c: Likewise.
8319 * io/open64.c: Likewise.
8320 * io/openat.c: Likewise.
8321 * io/openat64.c: Likewise.
8322 * io/pipe.c: Likewise.
8323 * io/pipe2.c: Likewise.
8324 * io/poll.c: Likewise.
8325 * io/posix_fadvise.c: Likewise.
8326 * io/posix_fadvise64.c: Likewise.
8327 * io/posix_fallocate.c: Likewise.
8328 * io/posix_fallocate64.c: Likewise.
8329 * io/read.c: Likewise.
8330 * io/readlink.c: Likewise.
8331 * io/readlinkat.c: Likewise.
8332 * io/rmdir.c: Likewise.
8333 * io/sendfile.c: Likewise.
8334 * io/sendfile64.c: Likewise.
8335 * io/statfs.c: Likewise.
8336 * io/statfs64.c: Likewise.
8337 * io/statvfs.c: Likewise.
8338 * io/statvfs64.c: Likewise.
8339 * io/symlink.c: Likewise.
8340 * io/symlinkat.c: Likewise.
8341 * io/ttyname.c: Likewise.
8342 * io/ttyname_r.c: Likewise.
8343 * io/umask.c: Likewise.
8344 * io/unlink.c: Likewise.
8345 * io/unlinkat.c: Likewise.
8346 * io/utime.c: Likewise.
8347 * io/utimensat.c: Likewise.
8348 * io/write.c: Likewise.
8349 * io/xmknod.c: Likewise.
8350 * io/xmknodat.c: Likewise.
8351 * io/xstat.c: Likewise.
8352 * io/xstat64.c: Likewise.
8353 * login/getpt.c: Likewise.
8354 * login/grantpt.c: Likewise.
8355 * login/unlockpt.c: Likewise.
8356 * math/e_acoshl.c: Likewise.
8357 * math/e_acosl.c: Likewise.
8358 * math/e_asinl.c: Likewise.
8359 * math/e_atan2l.c: Likewise.
8360 * math/e_atanhl.c: Likewise.
8361 * math/e_coshl.c: Likewise.
8362 * math/e_expl.c: Likewise.
8363 * math/e_fmodl.c: Likewise.
8364 * math/e_gammal_r.c: Likewise.
8365 * math/e_hypotl.c: Likewise.
8366 * math/e_j0l.c: Likewise.
8367 * math/e_j1l.c: Likewise.
8368 * math/e_jnl.c: Likewise.
8369 * math/e_lgammal_r.c: Likewise.
8370 * math/e_log10l.c: Likewise.
8371 * math/e_log2l.c: Likewise.
8372 * math/e_logl.c: Likewise.
8373 * math/e_powl.c: Likewise.
8374 * math/e_rem_pio2l.c: Likewise.
8375 * math/e_sinhl.c: Likewise.
8376 * math/e_sqrtl.c: Likewise.
8377 * math/fclrexcpt.c: Likewise.
8378 * math/fedisblxcpt.c: Likewise.
8379 * math/feenablxcpt.c: Likewise.
8380 * math/fegetenv.c: Likewise.
8381 * math/fegetexcept.c: Likewise.
8382 * math/fegetround.c: Likewise.
8383 * math/feholdexcpt.c: Likewise.
8384 * math/fesetenv.c: Likewise.
8385 * math/fesetround.c: Likewise.
8386 * math/feupdateenv.c: Likewise.
8387 * math/fgetexcptflg.c: Likewise.
8388 * math/fraiseexcpt.c: Likewise.
8389 * math/fsetexcptflg.c: Likewise.
8390 * math/ftestexcept.c: Likewise.
8391 * math/k_cosl.c: Likewise.
8392 * math/k_rem_pio2l.c: Likewise.
8393 * math/k_sinl.c: Likewise.
8394 * math/k_tanl.c: Likewise.
8395 * math/s_asinhl.c: Likewise.
8396 * math/s_atanl.c: Likewise.
8397 * math/s_cbrtl.c: Likewise.
8398 * math/s_erfl.c: Likewise.
8399 * math/s_expm1l.c: Likewise.
8400 * math/s_log1pl.c: Likewise.
8401 * math/s_tanhl.c: Likewise.
8402 * misc/acct.c: Likewise.
8403 * misc/brk.c: Likewise.
8404 * misc/chflags.c: Likewise.
8405 * misc/chroot.c: Likewise.
8406 * misc/fchflags.c: Likewise.
8407 * misc/fgetxattr.c: Likewise.
8408 * misc/flistxattr.c: Likewise.
8409 * misc/fremovexattr.c: Likewise.
8410 * misc/fsetxattr.c: Likewise.
8411 * misc/fsync.c: Likewise.
8412 * misc/ftruncate.c: Likewise.
8413 * misc/futimes.c: Likewise.
8414 * misc/futimesat.c: Likewise.
8415 * misc/getdomain.c: Likewise.
8416 * misc/getdtsz.c: Likewise.
8417 * misc/gethostid.c: Likewise.
8418 * misc/gethostname.c: Likewise.
8419 * misc/getloadavg.c: Likewise.
8420 * misc/getpagesize.c: Likewise.
8421 * misc/getsysstats.c: Likewise.
8422 * misc/getxattr.c: Likewise.
8423 * misc/gtty.c: Likewise.
8424 * misc/ioctl.c: Likewise.
8425 * misc/lgetxattr.c: Likewise.
8426 * misc/listxattr.c: Likewise.
8427 * misc/llistxattr.c: Likewise.
8428 * misc/lremovexattr.c: Likewise.
8429 * misc/lsetxattr.c: Likewise.
8430 * misc/lutimes.c: Likewise.
8431 * misc/madvise.c: Likewise.
8432 * misc/mincore.c: Likewise.
8433 * misc/mlock.c: Likewise.
8434 * misc/mlockall.c: Likewise.
8435 * misc/mmap.c: Likewise.
8436 * misc/mprotect.c: Likewise.
8437 * misc/msync.c: Likewise.
8438 * misc/munlock.c: Likewise.
8439 * misc/munlockall.c: Likewise.
8440 * misc/munmap.c: Likewise.
8441 * misc/preadv.c: Likewise.
8442 * misc/preadv64.c: Likewise.
8443 * misc/ptrace.c: Likewise.
8444 * misc/pwritev.c: Likewise.
8445 * misc/pwritev64.c: Likewise.
8446 * misc/readv.c: Likewise.
8447 * misc/reboot.c: Likewise.
8448 * misc/remap_file_pages.c: Likewise.
8449 * misc/removexattr.c: Likewise.
8450 * misc/revoke.c: Likewise.
8451 * misc/select.c: Likewise.
8452 * misc/setdomain.c: Likewise.
8453 * misc/setegid.c: Likewise.
8454 * misc/seteuid.c: Likewise.
8455 * misc/sethostid.c: Likewise.
8456 * misc/sethostname.c: Likewise.
8457 * misc/setregid.c: Likewise.
8458 * misc/setreuid.c: Likewise.
8459 * misc/setxattr.c: Likewise.
8460 * misc/sstk.c: Likewise.
8461 * misc/stty.c: Likewise.
8462 * misc/swapoff.c: Likewise.
8463 * misc/swapon.c: Likewise.
8464 * misc/sync.c: Likewise.
8465 * misc/syncfs.c: Likewise.
8466 * misc/syscall.c: Likewise.
8467 * misc/truncate.c: Likewise.
8468 * misc/ualarm.c: Likewise.
8469 * misc/usleep.c: Likewise.
8470 * misc/ustat.c: Likewise.
8471 * misc/utimes.c: Likewise.
8472 * misc/vhangup.c: Likewise.
8473 * misc/writev.c: Likewise.
8474 * posix/_exit.c: Likewise.
8475 * posix/alarm.c: Likewise.
8476 * posix/execve.c: Likewise.
8477 * posix/fexecve.c: Likewise.
8478 * posix/fork.c: Likewise.
8479 * posix/fpathconf.c: Likewise.
8480 * posix/getaddrinfo.c: Likewise.
8481 * posix/getegid.c: Likewise.
8482 * posix/geteuid.c: Likewise.
8483 * posix/getgid.c: Likewise.
8484 * posix/getgroups.c: Likewise.
8485 * posix/getlogin.c: Likewise.
8486 * posix/getlogin_r.c: Likewise.
8487 * posix/getpgid.c: Likewise.
8488 * posix/getpid.c: Likewise.
8489 * posix/getppid.c: Likewise.
8490 * posix/getresgid.c: Likewise.
8491 * posix/getresuid.c: Likewise.
8492 * posix/getsid.c: Likewise.
8493 * posix/getuid.c: Likewise.
8494 * posix/glob64.c: Likewise.
8495 * posix/nanosleep.c: Likewise.
8496 * posix/pathconf.c: Likewise.
8497 * posix/pause.c: Likewise.
8498 * posix/posix_madvise.c: Likewise.
8499 * posix/pread.c: Likewise.
8500 * posix/pread64.c: Likewise.
8501 * posix/pwrite.c: Likewise.
8502 * posix/pwrite64.c: Likewise.
8503 * posix/sched_getaffinity.c: Likewise.
8504 * posix/sched_getp.c: Likewise.
8505 * posix/sched_gets.c: Likewise.
8506 * posix/sched_primax.c: Likewise.
8507 * posix/sched_primin.c: Likewise.
8508 * posix/sched_rr_gi.c: Likewise.
8509 * posix/sched_setaffinity.c: Likewise.
8510 * posix/sched_setp.c: Likewise.
8511 * posix/sched_sets.c: Likewise.
8512 * posix/sched_yield.c: Likewise.
8513 * posix/setgid.c: Likewise.
8514 * posix/setlogin.c: Likewise.
8515 * posix/setpgid.c: Likewise.
8516 * posix/setresgid.c: Likewise.
8517 * posix/setresuid.c: Likewise.
8518 * posix/setsid.c: Likewise.
8519 * posix/setuid.c: Likewise.
8520 * posix/sleep.c: Likewise.
8521 * posix/spawni.c: Likewise.
8522 * posix/sysconf.c: Likewise.
8523 * posix/times.c: Likewise.
8524 * posix/wait.c: Likewise.
8525 * posix/wait3.c: Likewise.
8526 * posix/wait4.c: Likewise.
8527 * posix/waitpid.c: Likewise.
8528 * resolv/gai_sigqueue.c: Likewise.
8529 * resource/getpriority.c: Likewise.
8530 * resource/getrlimit.c: Likewise.
8531 * resource/getrusage.c: Likewise.
8532 * resource/nice.c: Likewise.
8533 * resource/setpriority.c: Likewise.
8534 * resource/setrlimit.c: Likewise.
8535 * resource/ulimit.c: Likewise.
8536 * rt/aio_cancel.c: Likewise.
8537 * rt/aio_fsync.c: Likewise.
8538 * rt/aio_read.c: Likewise.
8539 * rt/aio_sigqueue.c: Likewise.
8540 * rt/aio_suspend.c: Likewise.
8541 * rt/aio_write.c: Likewise.
8542 * rt/clock_getres.c: Likewise.
8543 * rt/clock_gettime.c: Likewise.
8544 * rt/clock_nanosleep.c: Likewise.
8545 * rt/clock_settime.c: Likewise.
8546 * rt/lio_listio.c: Likewise.
8547 * rt/mq_close.c: Likewise.
8548 * rt/mq_getattr.c: Likewise.
8549 * rt/mq_notify.c: Likewise.
8550 * rt/mq_open.c: Likewise.
8551 * rt/mq_receive.c: Likewise.
8552 * rt/mq_send.c: Likewise.
8553 * rt/mq_setattr.c: Likewise.
8554 * rt/mq_timedreceive.c: Likewise.
8555 * rt/mq_timedsend.c: Likewise.
8556 * rt/mq_unlink.c: Likewise.
8557 * rt/shm_open.c: Likewise.
8558 * rt/shm_unlink.c: Likewise.
8559 * rt/timer_create.c: Likewise.
8560 * rt/timer_delete.c: Likewise.
8561 * rt/timer_getoverr.c: Likewise.
8562 * rt/timer_gettime.c: Likewise.
8563 * rt/timer_settime.c: Likewise.
8564 * setjmp/__longjmp.c: Likewise.
8565 * setjmp/setjmp.c: Likewise.
8566 * signal/kill.c: Likewise.
8567 * signal/killpg.c: Likewise.
8568 * signal/raise.c: Likewise.
8569 * signal/sigaction.c: Likewise.
8570 * signal/sigaltstack.c: Likewise.
8571 * signal/sigblock.c: Likewise.
8572 * signal/sigignore.c: Likewise.
8573 * signal/sigintr.c: Likewise.
8574 * signal/signal.c: Likewise.
8575 * signal/sigpause.c: Likewise.
8576 * signal/sigpending.c: Likewise.
8577 * signal/sigqueue.c: Likewise.
8578 * signal/sigreturn.c: Likewise.
8579 * signal/sigset.c: Likewise.
8580 * signal/sigsetmask.c: Likewise.
8581 * signal/sigstack.c: Likewise.
8582 * signal/sigsuspend.c: Likewise.
8583 * signal/sigtimedwait.c: Likewise.
8584 * signal/sigvec.c: Likewise.
8585 * signal/sigwait.c: Likewise.
8586 * signal/sigwaitinfo.c: Likewise.
8587 * signal/sysv_signal.c: Likewise.
8588 * socket/accept.c: Likewise.
8589 * socket/accept4.c: Likewise.
8590 * socket/bind.c: Likewise.
8591 * socket/connect.c: Likewise.
8592 * socket/getpeername.c: Likewise.
8593 * socket/getsockname.c: Likewise.
8594 * socket/getsockopt.c: Likewise.
8595 * socket/isfdtype.c: Likewise.
8596 * socket/listen.c: Likewise.
8597 * socket/recv.c: Likewise.
8598 * socket/recvfrom.c: Likewise.
8599 * socket/recvmsg.c: Likewise.
8600 * socket/send.c: Likewise.
8601 * socket/sendmsg.c: Likewise.
8602 * socket/sendto.c: Likewise.
8603 * socket/setsockopt.c: Likewise.
8604 * socket/shutdown.c: Likewise.
8605 * socket/sockatmark.c: Likewise.
8606 * socket/socket.c: Likewise.
8607 * socket/socketpair.c: Likewise.
8608 * stdio-common/ctermid.c: Likewise.
8609 * stdio-common/cuserid.c: Likewise.
8610 * stdio-common/remove.c: Likewise.
8611 * stdio-common/rename.c: Likewise.
8612 * stdio-common/renameat.c: Likewise.
8613 * stdio-common/tempname.c: Likewise.
8614 * stdlib/getcontext.c: Likewise.
8615 * stdlib/makecontext.c: Likewise.
8616 * stdlib/setcontext.c: Likewise.
8617 * stdlib/swapcontext.c: Likewise.
8618 * stdlib/system.c: Likewise.
8619 * streams/fattach.c: Likewise.
8620 * streams/fdetach.c: Likewise.
8621 * streams/getmsg.c: Likewise.
8622 * streams/getpmsg.c: Likewise.
8623 * streams/putmsg.c: Likewise.
8624 * streams/putpmsg.c: Likewise.
8625 * sysdeps/unix/bsd/getpt.c: Likewise.
8626 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8627 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8628 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8630 Likewise.
8631 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8632 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8633 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8634 * sysvipc/msgctl.c: Likewise.
8635 * sysvipc/msgget.c: Likewise.
8636 * sysvipc/msgrcv.c: Likewise.
8637 * sysvipc/msgsnd.c: Likewise.
8638 * sysvipc/semctl.c: Likewise.
8639 * sysvipc/semget.c: Likewise.
8640 * sysvipc/semop.c: Likewise.
8641 * sysvipc/semtimedop.c: Likewise.
8642 * sysvipc/shmat.c: Likewise.
8643 * sysvipc/shmctl.c: Likewise.
8644 * sysvipc/shmdt.c: Likewise.
8645 * sysvipc/shmget.c: Likewise.
8646 * termios/tcdrain.c: Likewise.
8647 * termios/tcflow.c: Likewise.
8648 * termios/tcflush.c: Likewise.
8649 * termios/tcgetattr.c: Likewise.
8650 * termios/tcgetpgrp.c: Likewise.
8651 * termios/tcsendbrk.c: Likewise.
8652 * termios/tcsetattr.c: Likewise.
8653 * termios/tcsetpgrp.c: Likewise.
8654 * time/adjtime.c: Likewise.
8655 * time/clock.c: Likewise.
8656 * time/getitimer.c: Likewise.
8657 * time/gettimeofday.c: Likewise.
8658 * time/setitimer.c: Likewise.
8659 * time/settimeofday.c: Likewise.
8660 * time/stime.c: Likewise.
8661 * time/time.c: Likewise.
8662
86632012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 8664
a20492cf
PT
8665 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8666 /usr/old/bin.
8667
72e182e3
PT
8668 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8669 instead of spaces.
8670 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8671
fbeafede
JM
86722012-11-03 Joseph Myers <joseph@codesourcery.com>
8673
5b5b04d6
JM
8674 [BZ #14796]
8675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8676 FE_TONEAREST before applying Dekker multiplication and Knuth
8677 addition. Clear inexact exceptions and check for exact zero
8678 results afterwards.
8679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8680 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8682 * math/libm-test.inc (fma_test): Add more tests.
8683 (fma_test_towardzero): Likewise.
8684 (fma_test_downward): Likewise.
8685 (fma_test_upward): Likewise.
8686 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8687 function.
8688 (libc_fesetround): New macro.
8689 (libc_fesetroundf): Likewise.
8690 (libc_fesetroundl): Likewise.
8691 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8692 function.
8693 (libc_fesetround_387): Likewise.
8694 (libc_fesetroundf): New macro.
8695 (libc_fesetround): Likewise.
8696 (libc_fesetroundl): Likewise.
8697 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8698 function.
8699 (libc_fesetroundf): New macro.
8700 (libc_fesetround): Likewise.
8701 (libc_fesetroundl): Likewise.
8702 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8703 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8704 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8705 libm_hidden_ver.
8706 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8707 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8708 libm_hidden_def.
8709 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8710 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8711 libm_hidden_ver.
8712 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8713 libm_hidden_def.
8714
fbeafede
JM
8715 [BZ #3439]
8716 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8717 integer constant usable in #if and use that to give value to enum
8718 constant.
8719 (FE_DIVBYZERO): Likewise.
8720 (FE_UNDERFLOW): Likewise.
8721 (FE_OVERFLOW): Likewise.
8722 (FE_INVALID): Likewise.
8723 (FE_INVALID_SNAN): Likewise.
8724 (FE_INVALID_ISI): Likewise.
8725 (FE_INVALID_IDI): Likewise.
8726 (FE_INVALID_ZDZ): Likewise.
8727 (FE_INVALID_IMZ): Likewise.
8728 (FE_INVALID_COMPARE): Likewise.
8729 (FE_INVALID_SOFTWARE): Likewise.
8730 (FE_INVALID_SQRT): Likewise.
8731 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8732 (FE_TONEAREST): Likewise.
8733 (FE_TOWARDZERO): Likewise.
8734 (FE_UPWARD): Likewise.
8735 (FE_DOWNWARD): Likewise.
8736 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8737 (FE_DIVBYZERO): Likewise.
8738 (FE_OVERFLOW): Likewise.
8739 (FE_UNDERFLOW): Likewise.
8740 (FE_INEXACT): Likewise.
8741 (FE_TONEAREST): Likewise.
8742 (FE_DOWNWARD): Likewise.
8743 (FE_UPWARD): Likewise.
8744 (FE_TOWARDZERO): Likewise.
8745 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8746 (FE_UNDERFLOW): Likewise.
8747 (FE_OVERFLOW): Likewise.
8748 (FE_DIVBYZERO): Likewise.
8749 (FE_INVALID): Likewise.
8750 (FE_TONEAREST): Likewise.
8751 (FE_TOWARDZERO): Likewise.
8752 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8753 (FE_OVERFLOW): Likewise.
8754 (FE_UNDERFLOW): Likewise.
8755 (FE_DIVBYZERO): Likewise.
8756 (FE_INEXACT): Likewise.
8757 (FE_TONEAREST): Likewise.
8758 (FE_TOWARDZERO): Likewise.
8759 (FE_UPWARD): Likewise.
8760 (FE_DOWNWARD): Likewise.
8761 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8762 (FE_DIVBYZERO): Likewise.
8763 (FE_OVERFLOW): Likewise.
8764 (FE_UNDERFLOW): Likewise.
8765 (FE_INEXACT): Likewise.
8766 (FE_TONEAREST): Likewise.
8767 (FE_DOWNWARD): Likewise.
8768 (FE_UPWARD): Likewise.
8769 (FE_TOWARDZERO): Likewise.
8770
105ca950
CM
87712012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8772
8773 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8774
a542b389
AS
87752012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8776
8777 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8778 commands. Quote $PWD.
8779 (blacklist_exports): Don't use remove_newlines. Replace "declare
8780 -x" by "export".
8781 (remove_newlines): Remove.
8782
f62c8abc
L
87832012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8784
8785 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8786 * stdlib/stdlib.h (atof): Moved to ...
8787 * include/bits/stdlib-float.h: Here. New file.
8788 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8789 * stdlib/bits/stdlib-float.h: New file.
8790 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8791 -mno-sse -mno-mmx.
8792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8793 <xmmintrin.h>.
8794
0155d5b2
JM
87952012-11-02 Joseph Myers <joseph@codesourcery.com>
8796
a68d0680
JM
8797 * conform/conformtest.pl (@headers): Add fenv.h.
8798 * conform/data/fenv.h-data: New file.
8799 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8800 include of <math/fenv.h>.
8801
caf7f573
JM
8802 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8803 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8804 && !UNIX98]. Enables tests for XOPEN2K8.
8805 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8806 POSIX2008]: Likewise.
8807
6c073ad6
JM
8808 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8809 (struct rusage): Do not expect type or its members.
8810
0155d5b2
JM
8811 [BZ #3439]
8812 * math/math.h (FP_NAN): Define macro to integer constant usable in
8813 #if and use that to give value to enum constant.
8814 (FP_INFINITE): Likewise.
8815 (FP_ZERO): Likewise.
8816 (FP_SUBNORMAL): Likewise.
8817 (FP_NORMAL): Likewise.
8818
b5dcacb4
AS
88192012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8820
8821 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8822 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8823 arguments.
8824
f7934be8
RM
88252012-11-02 Roland McGrath <roland@hack.frob.com>
8826
8827 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8828 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8829 autoconf-time if not.
8830 * configure.in: Remove AC_PREREQ.
8831
d7d08bde
TMQMF
88322012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8833
8834 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8835 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8836 of the internal implementation.
8837
dcdae19a
JM
88382012-11-02 Joseph Myers <joseph@codesourcery.com>
8839
8840 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8841 except include of <misc/sys/syslog.h>.
8842
d6cffd3e
AS
88432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8844
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8846 function returns with a NULL context exit with zero.
8847
b3563932
TMQMF
88482012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8849
8850 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8851
b288a93d
L
88522012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8855 (run_program_cmd): This.
8856 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8857 (tst_langinfo): New variable. Use it.
8858
a2421a68
SAS
88592012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8860
8861 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8862 floating point opcodes.
8863
6f796e1b
TS
88642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8865
7402596b
TS
8866 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8867 variable.
8868
d0d4f868
TS
8869 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8870
6f796e1b
TS
8871 * sysdeps/mach/hurd/powerpc: Remove directory.
8872 * sysdeps/mach/powerpc: Likewise.
8873
4da224a2
AS
88742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8875
8876 * scripts/check-local-headers.sh: Ignore c++ headers.
8877
341dd673
TS
88782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8879
8880 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8881 __libc_cleanup_region_start argument.
8882
473611b2
JM
88832012-11-01 Joseph Myers <joseph@codesourcery.com>
8884
8885 [BZ #14784]
8886 [BZ #14785]
8887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8888 x * y using scaling, not as x * y + z.
8889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8891 * math/libm-test.inc (fma_test): Add more tests.
8892 (fma_test_towardzero): Likewise.
8893 (fma_test_downward): Likewise.
8894 (fma_test_upward): Likewise.
8895
4078da3d
TS
88962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8897
8898 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8899
903252aa
JM
89002012-10-31 Joseph Myers <joseph@codesourcery.com>
8901
8902 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8903 New variable.
8904
cbc818d0
TS
89052012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8906
8907 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8908
5a03cb1e
AS
89092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8910
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8912 Fix sort order.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8914 Likewise.
8915
90aff2ff
TMQMF
89162012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8917
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8919 Fix the order of the list for glibc 2.17.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8921 Likewise.
8922
1818fcb7
AS
89232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8924
8925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8926
ef82f4da
JM
89272012-10-31 Joseph Myers <joseph@codesourcery.com>
8928
16a0e2ec
JM
8929 [BZ #14610]
8930 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8931 for low part of x being zero before using __atanl (y).
8932 * math/libm-test.inc (atan2_test): Add another test.
8933
0eb69512
JM
8934 * manual/install.texi (Configuring and compiling): Document
8935 general use of test-wrapper and test-wrapper-env.
8936 * INSTALL: Regenerated.
8937
ef82f4da
JM
8938 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8939 (__fma): Do not extract and scale down low bits on after-rounding
8940 systems when result rounded to normal precision would have normal
8941 exponent.
8942 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8943 (__fmal): Do not extract and scale down low bits on after-rounding
8944 systems when result rounded to normal precision would have normal
8945 exponent.
8946 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8947 (__fmal): Do not extract and scale down low bits on after-rounding
8948 systems when result rounded to normal precision would have normal
8949 exponent.
8950 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8951 macro.
8952 (fma_test): Add more tests.
8953 (fma_test_towardzero): Likewise.
8954 (fma_test_downward): Likewise.
8955 (fma_test_upward): Likewise.
8956
954ef0d9
L
89572012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8958
8959 * sysdeps/i386/tininess.h: Renamed to ...
8960 * sysdeps/x86/tininess.h: This.
8961 * sysdeps/x86_64/tininess.h: Removed.
8962
df61ffb2
JM
89632012-10-30 Joseph Myers <joseph@codesourcery.com>
8964
8965 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8966 input. Use $(build-program-cmd).
8967 ($(objpfx)tst-array1-static.out): Likewise.
8968 ($(objpfx)tst-array2.out): Likewise.
8969 ($(objpfx)tst-array3.out): Likewise.
8970 ($(objpfx)tst-array4.out): Likewise.
8971 ($(objpfx)tst-array5.out): Likewise.
8972 ($(objpfx)tst-array5-static.out): Likewise.
8973
01767843
CM
89742012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8975
47cc1490
CM
8976 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8977 if defined.
8978
01767843
CM
8979 * nss/nsswitch.h (nss_interface_function): Provide new
8980 macro for use with NSS functions.
8981 * grp/initgroups.c: Use new macro.
8982 * nss/getXXbyYY.c: Likewise.
8983 * nss/getXXbyYY_r.c: Likewise.
8984 * nss/getXXent.c: Likewise.
8985 * nss/getXXent_r.c: Likewise.
8986 * sysdeps/posix/getaddrinfo.c: Likewise.
8987
8321aa97
AJ
89882012-10-30 Andreas Jaeger <aj@suse.de>
8989
8990 * po/ru.po: Update Russion translation from translation project.
8991
2a27fd6d
JM
89922012-10-30 Joseph Myers <joseph@codesourcery.com>
8993
8627a232
JM
8994 [BZ #14152]
8995 [BZ #14783]
8996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8997 result and shift together with sticky bit instead of replicating
8998 round-to-nearest rounding.
8999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9001 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9002 missing underflow exceptions.
9003 (fma_test_towardzero): Add more tests.
9004 (fma_test_downward): Likewise.
9005 (fma_test_upward): Likewise.
9006
2a27fd6d
JM
9007 [BZ #14047]
9008 * sysdeps/generic/tininess.h: New file.
9009 * sysdeps/i386/tininess.h: Likewise.
9010 * sysdeps/sh/tininess.h: Likewise.
9011 * sysdeps/x86_64/tininess.h: Likewise.
9012 * stdlib/tst-strtod-underflow.c: Likewise.
9013 * stdlib/tst-tininess.c: Likewise.
9014 * stdlib/strtod_l.c: Include <tininess.h>.
9015 (round_and_return): Do not set errno for exact underflow cases.
9016 Force an underflow exception when setting errno for underflow.
9017 Determine underflow based on rounding to normal precision if
9018 TININESS_AFTER_ROUNDING.
9019 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9020 ERANGE for exact underflow cases.
9021 * stdlib/Makefile (tests): Add tst-tininess and
9022 tst-strtod-underflow.
9023 ($(objpfx)tst-tininess): Use $(link-libm).
9024 ($(objpfx)tst-strtod-underflow): Likewise.
9025
e7170363
AJ
90262012-10-30 Andreas Jaeger <aj@suse.de>
9027
e5088dc6
AJ
9028 [BZ#14767]
9029 * elf/Makefile (tests): Remove conditional for have-initfini-array
9030 since this is now always required and the variable does not exist
9031 anymore.
9032 (tests-static): Likewise.
9033 (modules-names): Likewise.
9034
e7170363 9035 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9036
9037 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9038 merged with constructor/destructor.
9039 (init_array): Likewise.
9040 * elf/tst-array2dep.c (fini_array): Likewise.
9041 (init_array): Likewise.
9042
60457d8a
MF
90432012-10-29 Mike Frysinger <vapier@gentoo.org>
9044
9045 * manual/message.texi: Delete @cartouche tags.
9046
8bece752
PT
90472012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9048
94ce799f
PT
9049 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9050 EOPNOTSUPP.
9051 * sysdeps/mach/hurd/fsync.c: Likewise.
9052
8bece752
PT
9053 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9054 [_POSIX_REALTIME_SIGNALS]: Change condition to
9055 [_POSIX_REALTIME_SIGNALS > 0].
9056
86ebe6b1
AJ
90572012-10-27 Andreas Jaeger <aj@suse.de>
9058
9059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9060 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9062 [__WORDSIZE != 64]: Likewise.
9063
54399c08
L
90642012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 * iconvdata/tst-table.sh: Remove ${SHELL}.
9067 * iconvdata/tst-tables.sh: Likewise.
9068
e2211bed
DM
90692012-10-25 David S. Miller <davem@davemloft.net>
9070
9071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9072 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9073 of strtoull.
9074
f303f97c
DM
9075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9076 ifunc-impl-list.c
9077 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9078 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9079 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9080 file.
9081
1e9d84cd
RM
90822012-10-25 Roland McGrath <roland@hack.frob.com>
9083
9084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9085 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9086 __getdirentries.
9087
df381762
JM
90882012-10-25 Joseph Myers <joseph@codesourcery.com>
9089 Jim Blandy <jimb@codesourcery.com>
9090
9091 * scripts/cross-test-ssh.sh: New file.
9092 * manual/install.texi (Configuring and compiling): Document use of
9093 cross-test-ssh.sh.
9094 * INSTALL: Regenerated.
9095
bff64913
PT
90962012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9097
9098 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9099 EOPNOTSUPP.
9100
25fe8932
JM
91012012-10-25 Joseph Myers <joseph@codesourcery.com>
9102
9103 * Makeconfig (run-program-prefix): Fix comment.
9104
cc1290d0
JM
91052012-10-24 Joseph Myers <joseph@codesourcery.com>
9106 Jim Blandy <jimb@codesourcery.com>
9107
9108 * Makeconfig (test-wrapper): New variable,
9109 (test-wrapper-env): Likewise.
9110 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9111 (run-built-tests): Define to yes.
9112 (run-program-prefix): Use $(test-wrapper).
9113 (built-program-cmd): Likewise.
9114 * Rules (make-test-out): Use $(test-wrapper-env) and
9115 $(host-built-program-cmd).
9116 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9117 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9118 tst-pathopt.sh.
9119 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9120 $(test-wrapper-env) to tst-rtld-load-self.sh.
9121 ($(objpfx)order2.out): Use $(test-wrapper).
9122 ($(objpfx)tst-initorder.out): Likewise.
9123 ($(objpfx)tst-initorder2.out): Likewise.
9124 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9125 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9126 (test_wrapper_env): New variable. Use it to run ld.so.
9127 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9128 Use it to run ld.so.
9129 (test_wrapper_env): Likewise.
9130 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9131 $(test-wrapper) to run-iconv-test.sh.
9132 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9133 (ICONV): Use $test_wrapper.
9134 * posix/Makefile ($(objpfx)globtest.out): Pass
9135 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9136 globtest.sh, not $(run-program-prefix).
9137 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9138 (test_wrapper): Likewise.
9139 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9140 set together with run_via_rtld_prefix.
9141 (run_program_prefix): Define in terms of test_wrapper and
9142 run_via_rtld_prefix.
9143
6e6249d0
RM
91442012-10-24 Roland McGrath <roland@hack.frob.com>
9145
9146 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9147 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9148 Targets removed.
9149
9150 [BZ #14743]
9151 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9152 Declare __clock_getres, __clock_gettime, __clock_settime,
9153 __clock_nanosleep, and __clock_getcpuclockid.
9154 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9155 Remove librt_hidden_def (clock_gettime).
9156 * sysdeps/unix/clock_gettime.c: Likewise.
9157 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9158 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9159 * rt/clock_getres.c: Define __clock_getres as an alias.
9160 * sysdeps/posix/clock_getres.c: Likewise.
9161 * rt/clock_settime.c: Define __clock_settime as an alias.
9162 * sysdeps/unix/clock_settime.c: Likewise.
9163 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9164 * sysdeps/unix/clock_nanosleep.c: Likewise.
9165 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9166 * rt/clock-compat.c: New file.
9167 * rt/Makefile (librt-routines): Add clock-compat and move
9168 $(clock-routines) to ...
9169 (routines): ... here, new variable.
9170 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9171 Don't add get_clockfreq here.
9172 * rt/Versions (libc: GLIBC_2.17): New version set.
9173 Add clock_* symbols here.
9174 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9176 (GLIBC_2.17): Add clock_* symbols.
9177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9181 Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9183 Likewise.
9184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9188 * NEWS: Mention the move.
9189
9190 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9191 Use __open, __read, __close rather than their public counterparts.
9192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9193 (__get_clockfreq_via_cpuinfo): Likewise.
9194 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9195 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9196
9197 * config.h.in (HAVE_IFUNC): New #undef.
9198 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9199 was successful.
9200 * configure: Regenerated.
9201
0cae3f4b
MF
92022012-10-24 Mike Frysinger <vapier@gentoo.org>
9203
9204 * configure.in: Move READELF check to start of file.
9205 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9206 libc_cv_asm_gnu_indirect_function in the process.
9207 * configure: Regenerated.
9208
8175a253
MF
92092012-10-24 Mike Frysinger <vapier@gentoo.org>
9210
9211 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9212 send the output to /dev/null.
9213 (libc_cv_cc_with_libunwind): Likewise.
9214 (libc_cv_as_noexecstack): Likewise.
9215 * configure: Regenerate.
9216
0708a7d1
JM
92172012-10-24 Joseph Myers <joseph@codesourcery.com>
9218
10b40d85
JM
9219 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9220
0708a7d1
JM
9221 * posix/globtest.sh (TMPDIR): Do not set.
9222 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9223 (testout): Likewise.
9224
9fddec1a
AJ
92252012-10-24 Andreas Jaeger <aj@suse.de>
9226
3a8db22f
AJ
9227 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9228 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9229 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9230 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9231 posix_fadvise64, posix_fallocate64.
9232
9fddec1a
AJ
9233 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9234 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9235 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9236 Likewise.
9237 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9238 Likewise.
9239 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9240
9241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9242 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9243 <bits/fcntl-linux.h>.
9244 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9245
9246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9247 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9248 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9249 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9250 [__WORDSIZE != 64]: Likewise.
9251
ebfd1bbd
JM
92522012-10-23 Joseph Myers <joseph@codesourcery.com>
9253
03ac099f
JM
9254 * Makeconfig (run-built-tests): New variable.
9255 * Rules [$(cross-compiling) = yes]: Change condition to
9256 [$(run-built-tests) = no].
9257 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9258 to [$(run-built-tests) = yes].
9259 * elf/Makefile [$(cross-compiling) = no]: Likewise
9260 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9261 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9262 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9263 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9264 * io/Makefile [$(cross-compiling) = no]: Likewise.
9265 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9266 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9267 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9268 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9269 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9270 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9271 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9272 * string/Makefile [$(cross-compiling) = no]: Likewise.
9273
ebfd1bbd
JM
9274 * posix/Makefile ($(objpfx)globtest.out): Pass
9275 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9276 $(rtld-installed-name).
9277 * posix/globtest.sh (elf_objpfx): Remove variable.
9278 (rtld_installed_name): Likewise.
9279 (library_path): Likewise.
9280 (run_program_prefix): New variable. Use for running globtest
9281 binary.
9282
166bca24
JB
92832012-10-23 Jim Blandy <jimb@codesourcery.com>
9284 Joseph Myers <joseph@codesourcery.com>
9285
9286 * Makeconfig (host-built-program-cmd): New variable.
9287 * elf/Makefile (tst-stackguard1-ARGS): Use
9288 $(host-built-program-cmd).
9289 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9290 (tst-spawn-ARGS): Likewise.
9291 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9292
88866099
JM
92932012-10-23 Joseph Myers <joseph@codesourcery.com>
9294 Jim Blandy <jimb@codesourcery.com>
9295
9296 * Makeconfig (run-via-rtld-prefix): New variable.
9297 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9298 (built-program-cmd): Likewise.
9299
b4b4c296
AJ
93002012-10-22 Andreas Jaeger <aj@suse.de>
9301
9302 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9303 __O_RSYNC if it exists, otherwise to O_SYNC.
9304
6fb54a22
JB
93052012-10-22 Jim Blandy <jimb@codesourcery.com>
9306 Joseph Myers <joseph@codesourcery.com>
9307
9308 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9309 /dev/null.
9310 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9311 from /dev/null
9312 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9313 /dev/null.
9314
481b90b9
AJ
93152012-10-22 Andreas Jaeger <aj@suse.de>
9316
2a0e2669
AJ
9317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9318 Define always.
9319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9320
76e38f9a
AJ
9321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9322 bits/fcntl-linux.h.
9323
7cd37b43
AJ
9324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9325 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9326
481b90b9
AJ
9327 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9328 to __O_LARGEFILE.
9329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9330 to __O_LARGEFILE.
9331
aba75984
JB
93322012-10-21 Jim Blandy <jimb@codesourcery.com>
9333 Joseph Myers <joseph@codesourcery.com>
9334
9335 * config.make.in (NM): New variable.
9336
88d4247f
AJ
93372012-10-21 Andreas Jaeger <aj@suse.de>
9338
9339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9340 definitions and declarations that are provided by
9341 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9342
f2eed205
L
93432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 [BZ #14683]
9346 * elf/Makefile (tests-static): Add tst-leaks1-static.
9347 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9348 ($(objpfx)tst-leaks1-static): New rule.
9349 ($(objpfx)tst-leaks1-static-mem): Likewise.
9350 (tst-leaks1-static-ENV): New macro.
9351 * elf/dl-open.c (dl_open_worker): Check the main application
9352 only if SHARED is defined.
9353 * elf/tst-leaks1-static.c: New file.
9354
335e6931
AJ
93552012-10-20 Andreas Jaeger <aj@suse.de>
9356
9357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9358 generic values for Linux.
9359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9360 and declarations that are provided by <bits/fcntl-linux.h> and
9361 include <bits/fcntl-linux.h>.
9362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9364
ac5c94d3
RM
93652012-10-20 Roland McGrath <roland@hack.frob.com>
9366
9367 * io/fcntl.h: Move include of <bits/types.h> to the top and
9368 include it unconditionally.
9369
de54b33a
L
93702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9371
228cfb01
L
9372 * wcsmbs/Makefile (tests-ifunc): New variable.
9373 (tests): Add $(tests-ifunc).
9374 * wcsmbs/test-wcschr-ifunc.c: New file.
9375 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9376 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9377 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9378 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9379 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9380
69f07e5f
L
9381 * string/Makefile (tests-ifunc): New variable.
9382 (tests): Add $(tests-ifunc).
9383 * string/test-memccpy.c (TEST_NAME): New macro.
9384 * string/test-memchr.c (TEST_NAME): Likewise.
9385 * string/test-memcmp.c (TEST_NAME): Likewise.
9386 * string/test-memcpy.c (TEST_NAME): Likewise.
9387 * string/test-memmem.c (TEST_NAME): Likewise.
9388 * string/test-memmove.c (TEST_NAME): Likewise.
9389 * string/test-memset.c (TEST_NAME): Likewise.
9390 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9391 * string/test-stpcpy.c (TEST_NAME): Likewise.
9392 * string/test-stpncpy.c (TEST_NAME): Likewise.
9393 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9394 * string/test-strcasestr.c (TEST_NAME): Likewise.
9395 * string/test-strcat.c (TEST_NAME): Likewise.
9396 * string/test-strchr.c (TEST_NAME): Likewise.
9397 * string/test-strcmp.c(TEST_NAME): Likewise.
9398 * string/test-strcpy.c (TEST_NAME): Likewise.
9399 * string/test-strcspn.c (TEST_NAME): Likewise.
9400 * string/test-strlen.c (TEST_NAME): Likewise.
9401 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9402 * string/test-strncmp.c (TEST_NAME): Likewise.
9403 * string/test-strncpy.c (TEST_NAME): Likewise.
9404 * string/test-strnlen.c (TEST_NAME): Likewise.
9405 * string/test-strpbrk.c (TEST_NAME): Likewise.
9406 * string/test-strrchr.c (TEST_NAME): Likewise.
9407 * string/test-strspn.c (TEST_NAME): Likewise.
9408 * string/test-strstr.c (TEST_NAME): Likewise.
9409 * string/test-bcopy-ifunc.c: New file.
9410 * string/test-bzero-ifunc.c: Likewise.
9411 * string/test-memccpy-ifunc.c: Likewise.
9412 * string/test-memchr-ifunc.c: Likewise.
9413 * string/test-memcmp-ifunc.c: Likewise.
9414 * string/test-memcpy-ifunc.c: Likewise.
9415 * string/test-memmem-ifunc.c: Likewise.
9416 * string/test-memmove-ifunc.c: Likewise.
9417 * string/test-mempcpy-ifunc.c: Likewise.
9418 * string/test-memset-ifunc.c: Likewise.
9419 * string/test-rawmemchr-ifunc.c: Likewise.
9420 * string/test-stpcpy-ifunc.c: Likewise.
9421 * string/test-stpncpy-ifunc.c: Likewise.
9422 * string/test-strcasecmp-ifunc.c: Likewise.
9423 * string/test-strcasestr-ifunc.c: Likewise.
9424 * string/test-strcat-ifunc.c: Likewise.
9425 * string/test-strchr-ifunc.c: Likewise.
9426 * string/test-strchrnul-ifunc.c: Likewise.
9427 * string/test-strcmp-ifunc.c: Likewise.
9428 * string/test-strcpy-ifunc.c: Likewise.
9429 * string/test-strcspn-ifunc.c: Likewise.
9430 * string/test-strlen-ifunc.c: Likewise.
9431 * string/test-strncasecmp-ifunc.c: Likewise.
9432 * string/test-strncat-ifunc.c: Likewise.
9433 * string/test-strncmp-ifunc.c: Likewise.
9434 * string/test-strncpy-ifunc.c: Likewise.
9435 * string/test-strnlen-ifunc.c: Likewise.
9436 * string/test-strpbrk-ifunc.c: Likewise.
9437 * string/test-strrchr-ifunc.c: Likewise.
9438 * string/test-strspn-ifunc.c: Likewise.
9439 * string/test-strstr-ifunc.c: Likewise.
9440
de54b33a
L
9441 * debug/Makefile (tests-ifunc): New variable.
9442 (tests): Add $(tests-ifunc).
9443 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9444 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9445 * debug/test-stpcpy_chk-ifunc.c: New file.
9446 * debug/test-strcpy_chk-ifunc.c: Likewise.
9447
88481c16
SP
94482012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9449
9450 [BZ #13601]
9451 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9452 header is not read in.
9453
135948bd
JM
94542012-10-19 Joseph Myers <joseph@codesourcery.com>
9455
89f1c388
JM
9456 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9457 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9458 directly. Pass built executable to script as
9459 $(built-program-cmd).
9460 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9461 $testprogram without using LD_LIBRARY_PATH and $ldso.
9462
e40a0d21
JM
9463 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9464 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9465 $(rtld-installed-name).
9466 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9467 (rtld_installed_name): Likewise.
9468 (library_path): Likewise.
9469 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9470 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9471 $(run-program-prefix) to tst-tables.sh.
9472 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9473 it to run tst-table-from and tst-table-to.
9474 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9475 Pass it to tst-table.sh.
9476 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9477 $(run-program-prefix) to tst-gettext.sh.
9478 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9479 tst-translit.sh.
9480 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9481 tst-gettext2.sh.
9482 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9483 to run tst-gettext.
9484 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9485 to run tst-gettext2.
9486 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9487 to run tst-translit.
9488 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9489 $(run-program-prefix) to tst-mtrace.sh.
9490 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9491 to run tst-mtrace.
9492 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9493 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9494 $(rtld-installed-name).
9495 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9496 (rtld_installed_name): Likewise.
9497 (run_program_prefix): New variable. Use it to run wordexp-test.
9498
728e272a
JM
9499 * Makeconfig (ARCH): Remove all definitions.
9500 (machine): Likewise.
9501 [ARCH]: Remove conditional code.
9502 [!objdir]: Give error.
9503 [!objdir] (objpfx): Remove.
9504 [!objdir] (common-objpfx): Likewise.
9505 [!objdir] (common-objdir): Likewise.
9506 * configure.in (config_makefile): Remove. Hardcode Makefile in
9507 AC_CONFIG_FILES call.
9508 * configure: Regenerated.
9509
d528cdcf
JM
9510 [BZ #13888]
9511 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9512 or TMPDIR.
9513 (testout): Likewise.
9514
135948bd
JM
9515 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9516 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9517 $(rtld-installed-name).
9518 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9519 (rtld_installed_name): Likwise.
9520 (runit): Remove function.
9521 (run_getconf): New variable, Use it for running getconf binary.
9522
38c78296
L
95232012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9524
9525 [BZ #14716]
9526 * string/test-memmem.c (check_result): New function.
9527 (do_one_test): Use it.
9528 (check1): New function.
9529 (test_main): Use it.
9530
d077f65f
MT
95312012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9532
9533 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9534
ced52c71
JM
95352012-10-18 Joseph Myers <joseph@codesourcery.com>
9536
9537 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9538 (_G_LSEEK64): Likewise.
9539 (_G_MMAP64): Likewise.
9540 (_G_FSTAT64): Likewise.
9541 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9542 (_G_LSEEK64): Likewise.
9543 (_G_MMAP64): Likewise.
9544 (_G_FSTAT64): Likewise.
9545 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9546 unconditional. Call __mmap64 directly.
9547 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9548 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9549 __lseek64 directly.
9550 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9551 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9552 __mmap64 directly.
9553 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9554 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9555 __lseek64 directly.
9556 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9557 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9558 __lseek64 directly.
9559 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9560 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9561 __lseek64 directly.
9562 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9563 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9564 __fxstat64 directly.
9565 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9566 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9567 unconditional.
9568 (freopen64) [!_G_OPEN64]: Remove conditional code.
9569 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9570 unconditional.
9571 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9572 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9573 unconditional.
9574 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9575 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9576 unconditional.
9577 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9578 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9579 unconditional.
9580 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9581 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9582 unconditional.
9583 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9584 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9585 unconditional.
9586 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9587 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9588 unconditional.
9589 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9590
b741de23
SP
95912012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9592
9593 [BZ #12140]
9594 * manual/memory.texi (Malloc Tunable Parameters): Add note
9595 about free list pointers overwriting some perturb bytes.
9596 Wording suggested by Roland McGrath.
9597
f9b9d9c9
JM
95982012-10-17 Joseph Myers <joseph@codesourcery.com>
9599
9600 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9601 (lgamma_test): Likewise.
9602 (tgamma_test): Likewise.
9603
172a631a
FW
96042012-10-16 Florian Weimer <fweimer@redhat.com>
9605
9606 [BZ #14700]
9607 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9608 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9609
e9f37252
MK
96102012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9611
9612 * NEWS: Mention BZ #14716.
9613 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9614 when removing AVAILABLE1_USES_J macro.
9615
d394eb74
L
96162012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9617
9618 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9619 (__bswap_64): __uint64_t for unsigned 64-bit int.
9620
ca38dc17
AS
96212012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9622
9623 * include/string.h (memmem): Declare libc hidden alias.
9624 * string/memmem.c (memmem): Define libc hidden alias.
9625 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9626 __read, __close instead of open, read, close.
9627
9a387d1f
L
96282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9629
ac49ecaf
L
9630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9631 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9632 global and hidden.
9633 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9634 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9635 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9636 Likewise.
9637 (__rawmemchr_sse2): Likewise.
9638 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9639 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9640 (__strchr_sse2): Likewise.
9641 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9642 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9643 (__strcasecmp_sse2): Likewise.
9644 (__strncasecmp_sse2): Likewise.
9645 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9646 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9647 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9648 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9649 (__strrchr_sse2): Likewise.
9650 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9651 ifunc-impl-list.c.
9652 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9653 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9654 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9655 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9656 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9657 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9658 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9659 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9660 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9661 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9662 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9663 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9664 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9665 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9666 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9667 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9668 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9669 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9670 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9671 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9672 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9673 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9674 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9675 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9676 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9677 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9678 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9679 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9680 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9681 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9682
b090e8ea
L
9683 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9684 global and hidden.
9685 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9686 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9687 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9688 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9689 Likewise.
9690 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9691 Likewise.
9692 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9693 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9694 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9695 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9696 ifunc-impl-list.c.
9697 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9698 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9699 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9700 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9701 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9702 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9703 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9704 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9705 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9706 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9707 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9708 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9709 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9710 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9711 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9712 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9713 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9714 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9715 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9716 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9717 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9718 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9719 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9720 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9721 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9722 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9723 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9724 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9725 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9726 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9727 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9728 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9729 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9730 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9731 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9732 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9733 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9734 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9735 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9736 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9737 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9738
11dd4af6
L
9739 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9740 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9741 * include/ifunc-impl-list.h: New file.
9742 * misc/ifunc-impl-list.c: Likewise.
9743 * misc/Makefile (routines): Add ifunc-impl-list.
9744 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9745 * string/test-string.h: Include <ifunc-impl-list.h>.
9746 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9747 impl_array): New variables.
9748 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9749 are defined.
9750 (test_init): Call __libc_ifunc_impl_list to initialize
9751 func_list if TEST_IFUNC and TEST_NAME are defined.
9752
9a387d1f
L
9753 * string/Makefile (strop-tests): Add bcopy and bzero.
9754 * string/test-bcopy.c: New file.
9755 * string/test-bzero.c: Likewise.
9756 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9757 defined.
9758 * string/test-memset.c: Support bzero test if TEST_BZERO is
9759 defined.
9760 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9761 __libc_memmove.
9762 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9763 __libc_memset.
9764 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9765 of memset.
9766
472371b9
JM
97672012-10-10 Joseph Myers <joseph@codesourcery.com>
9768
1e4a9536
JM
9769 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9770 * configure: Regenerated.
9771
d173d12e
JM
9772 * Makeconfig (+link-static-before-libc): Don't include
9773 $(link-static-libc).
9774
472371b9
JM
9775 * libio/libio.h (_IO_pos_t): Remove.
9776
89a3ad0b
AO
97772012-10-10 Alexandre Oliva <aoliva@redhat.com>
9778
9779 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9780 McGrath.
9781
e7451425
AO
97822012-10-10 Alexandre Oliva <aoliva@redhat.com>
9783
9784 * crypt/crypt-entry.c: Include fips-private.h.
9785 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9786 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9787 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9788 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9789
4ba74a35
AO
97902012-10-10 Alexandre Oliva <aoliva@redhat.com>
9791
9792 * crypt/crypt-private.h: Include stdbool.h.
9793 (_ufc_setup_salt_r): Return bool.
9794 * crypt/crypt-entry.c: Include errno.h.
9795 (__crypt_r): Return NULL with EINVAL for bad salt.
9796 * crypt/crypt_util.c (bad_for_salt): New.
9797 (_ufc_setup_salt_r): Check that salt is long enough and within
9798 the specified alphabet.
9799 * crypt/badsalttest.c: New file.
9800 * crypt/Makefile (tests): Add it.
9801 ($(objpfx)badsalttest): New.
9802
f96f1242
MK
98032012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9804
9805 * NEWS: Add entry for BZ #14602.
9806
0e8e0c1c
JM
98072012-10-09 Joseph Myers <joseph@codesourcery.com>
9808
9809 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9810 type-generic.
9811 * math/libm-test.inc: Update comment listing what functions and
9812 macros are tested.
9813 (isgreater_test): New function.
9814 (isgreaterequal_test): Likewise.
9815 (isless_test): Likewise.
9816 (islessequal_test): Likewise.
9817 (islessgreater_test): Likewise.
9818 (isunordered_test): Likewise.
9819 (main): Call the new functions.
9820
273edc5e
RM
98212012-10-09 Roland McGrath <roland@hack.frob.com>
9822
b8493de0
RM
9823 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9824 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9825 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9826 * sysdeps/i386/configure: Regenerated.
9827 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9828 * sysdeps/mach/configure: Regenerated.
9829 * sysdeps/mach/hurd/configure: Regenerated.
9830 * sysdeps/powerpc/configure: Regenerated.
9831 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9832 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9833 * sysdeps/s390/s390-32/configure: Regenerated.
9834 * sysdeps/s390/s390-64/configure: Regenerated.
9835 * sysdeps/sh/configure: Regenerated.
9836 * sysdeps/sparc/configure: Regenerated.
9837 * sysdeps/unix/sysv/linux/configure: Regenerated.
9838 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9839 * sysdeps/x86_64/configure: Regenerated.
9840
273edc5e
RM
9841 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9842 defined. Don't check if MAP is NULL.
9843
c8450f70
JM
98442012-10-09 Joseph Myers <joseph@codesourcery.com>
9845
9846 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9847 (_G_stat64): Likewise.
9848 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9849 (_G_stat64): Likewise.
9850 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9851 instead of struct _G_stat64.
9852 * libio/fileops.c (mmap_remap_check): Likewise.
9853 (decide_maybe_mmap): Likewise.
9854 (_IO_new_file_seekoff): Likewise.
9855 (_IO_file_stat): Likewise.
9856 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9857 _G_off64_t.
9858 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9859 instead of struct _G_stat64.
9860 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9861
57e605ba
MK
98622012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9863
9864 [BZ #14602]
9865 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9866 Replace with ...
9867 (CHECK_EOL): New macro.
9868 (two_way_short_needle): Check beginning of haystack for EOL. Use
9869 CHECK_EOL.
9870 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9871 Replace with CHECK_EOL.
9872 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9873 Replace with CHECK_EOL.
9874
ef1bb361
JM
98752012-10-08 Joseph Myers <joseph@codesourcery.com>
9876
9877 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9878 type-generic.
9879 * math/libm-test.inc: Update comment listing what functions and
9880 macros are tested.
9881 (finite_test): New function.
9882 (isinf_test): Likewise.
9883 (isnan_test): Likewise.
9884 (fpclassify_test): Test subnormal input.
9885 (isfinite_test): Likewise.
9886 (isnormal_test): Likewise.
9887 (main): Call the new functions.
9888
55f11534
JN
98892012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9890
9891 [BZ #14660]
9892 * Makerules (%.dynsym): Force C locale when running
9893 $(OBJDUMP) --dynamic-syms.
9894
1ab29350
AS
98952012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9896
9897 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9898 <stdint.h>.
9899
f1ecb7ef
DM
99002012-10-06 David S. Miller <davem@davemloft.net>
9901
9902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9903 upper 32-bits of the length value in %o2 since we use branch-on-register
9904 tests which consider the entire 64-bit register.
9905
5d41d91a
L
99062012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * string/test-strstr.c (check2): Add a test for page boundary.
9909
3baddb72
DM
99102012-10-05 David S. Miller <davem@davemloft.net>
9911
9912 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9913 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9914 file.
9915 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9916 sysdep_routines.
9917 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9918 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9919 and bzero when HWCAP_SPARC_CRYPTO is present.
9920
9cee5585
L
99212012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9922
d7e0dab9
L
9923 [BZ #14602]
9924 * string/test-strstr.c (check2): New function.
9925 (test_main): Call check2.
9926
03759f47
L
9927 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9928 and bug-strchr1.
9929 * string/bug-strcasestr1.c (do_test): Moved to ...
9930 * string/test-strcasestr.c (check1): Here. New function.
9931 (do_one_test): Break out result checking code into ...
9932 (check_result): This. New function.
9933 (do_one_test): Call check_result.
9934 (test_main): Call check1.
9935 * string/bug-strchr1.c (do_test): Moved to ...
9936 * string/test-strchr.c (check1): Here. New function.
9937 (do_one_test): Break out result checking code into ...
9938 (check_result): This. New function.
9939 (do_one_test): Call check_result.
9940 (test_main): Call check1.
9941 * string/bug-strstr1.c (main): Moved to ...
046f153e 9942 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9943 (do_one_test): Break out result checking code into ...
9944 (check_result): This. New function.
9945 (do_one_test): Call check_result.
9946 (test_main): Call check1.
9947 * string/bug-strcasestr1.c: Removed.
9948 * string/bug-strchr1.c: Likewise.
9949 * string/bug-strstr1.c: Likewise.
9950
53cea63e
L
9951 * elf/Makefile (dl-routines): Add hwcaps.
9952 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9953 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9954 (_dl_important_hwcaps): Moved to ...
9955 * elf/dl-hwcaps.c: Here. New file.
9956 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9957
9cee5585 9958 [BZ #14557]
bb859b06
L
9959 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9960 if IS_IN_rtld isn't defined.
9961
9cee5585
L
9962 * elf/dl-support.c (_dl_sysinfo_map): New.
9963 Include "get-dynamic-info.h" and "setup-vdso.h".
9964 (_dl_non_dynamic_init): Call setup_vdso.
9965 * elf/dynamic-link.h: Don't include <assert.h>.
9966 (elf_get_dynamic_info): Moved to ...
9967 * elf/get-dynamic-info.h: Here. New file.
9968 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9969 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9970 * elf/setup-vdso.h: Here. New file.
9971 * elf/rtld.c: Include "setup-vdso.h".
9972 (dl_main): Call setup_vdso.
9973
23c31b76
JM
99742012-10-05 Joseph Myers <joseph@codesourcery.com>
9975
28234b07
JM
9976 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9977 creal in comment listing functions tested. List finite, isinf,
9978 isnan, isless, islessequal, isgreater, isgreaterequal,
9979 islessgreater, isunordered, lgamma_r and pow10 as functions and
9980 macros not tested. Mention which functions not tested are aliases
9981 for other functions. Fix typo. Note that signs of NaNs are not
9982 tested.
9983
23c31b76
JM
9984 * scripts/config.guess: Update from config.git.
9985 * scripts/config.sub: Likewise.
9986
9043e228
RM
99872012-10-04 Roland McGrath <roland@hack.frob.com>
9988
9989 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9990 * misc/madvise.c (madvise): Renamed to __madvise.
9991 Make madvise a weak alias.
9992 * include/sys/mman.h: Declare __madvise.
9993 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9994 * sysdeps/unix/syscalls.list
9995 (madvise): Make __madvise the strong name, and madvise a weak alias.
9996 * sysdeps/unix/sysv/linux/syscalls.list
9997 (madvise, mmap): Remove redundant entries.
9998 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9999 * malloc/malloc.c (mtrim): Likewise.
10000 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10001
f57f8055
RM
100022012-10-03 Roland McGrath <roland@hack.frob.com>
10003
10004 * sysdeps/mach/hurd/dl-cache.c: File removed.
10005 * config.h.in (USE_LDCONFIG): New #undef.
10006 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10007 * configure: Regenerated.
10008 * elf/Makefile (dl-routines): Add dl-cache only under
10009 [$(use-ldconfig) = yes].
10010 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10011 cache on [USE_LDCONFIG].
10012 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10013 [USE_LDCONFIG].
10014 * elf/rtld.c (dl_main): Likewise.
10015
5bb0c10a
PT
100162012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10017
10018 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10019 _SC_LEVEL4_CACHE_LINESIZE.
10020
010188c6
RM
100212012-10-03 Roland McGrath <roland@hack.frob.com>
10022
10023 * sysdeps/unix/bsd/confstr.h: File removed.
10024
b6c5ec07
AO
100252012-10-02 Alexandre Oliva <aoliva@redhat.com>
10026
10027 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10028 sys/sdt-config.h.
10029
408223d4
RM
100302012-10-02 Roland McGrath <roland@hack.frob.com>
10031
10032 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10033 Make 'mapoff' field ElfW(Off) rather than off_t.
10034
bb9510dc
DL
100352012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10036
fc997c6e
DL
10037 * nscd/Makefile: Remove nscd-cflags and all its users.
10038 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10039 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10040
bb9510dc
DL
10041 [BZ #10631]
10042 * malloc.c (malloc_printerr): Clarify error message.
10043
05699367
L
100442012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10045
10046 [BZ #14648]
10047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10048 Set bit_FMA_Usable if FMA is supported.
10049 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10050 macro.
10051 (bit_FMA4_Usable): Updated.
10052 (index_FMA_Usable): New macro.
10053 (CPUID_FMA): Likewise
10054 (HAS_FMA): Defined with bit_FMA_Usable.
10055
51367701
RM
100562012-10-01 Roland McGrath <roland@hack.frob.com>
10057
10058 * bits/types.h (__swblk_t): Type removed.
10059 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10060 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10062 (__SWBLK_T_TYPE): Likewise.
10063 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10064 (__SWBLK_T_TYPE): Likewise.
10065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10066 (__SWBLK_T_TYPE): Likewise.
10067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10068 (__SWBLK_T_TYPE): Likewise.
10069
4d57bf63 100702012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10071 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10072
10073 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10074 (xdr_mapname): Use YPMAXMAP as maxsize.
10075 (xdr_peername): Use YPMAXPEER as maxsize.
10076 (xdr_keydat): Use YPAXRECORD as maxsize.
10077 (xdr_valdat): Use YPMAXRECORD as maxsize.
10078
93c65d43
RM
100792012-10-01 Roland McGrath <roland@hack.frob.com>
10080
497a03d6
RM
10081 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10082
93c65d43
RM
10083 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10084 * csu/init-first.c: ... here.
10085 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10086 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10088 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10089 * sysdeps/i386/init-first.c: File removed.
10090 * sysdeps/sh/init-first.c: File removed.
10091
bec749fd
JM
100922012-10-01 Joseph Myers <joseph@codesourcery.com>
10093
10094 [BZ #14645]
10095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10096 if x * y might underflow to zero and z is zero.
10097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10099 * math/libm-test.inc (min_subnorm_value): New variable.
10100 (fma_test): Add more tests.
10101 (fma_test_towardzero): Likewise.
10102 (fma_test_downward): Likewise
10103 (fma_test_upward): Likewise.
10104 (initialize): Set min_subnorm_value.
10105
8ec5b013
JM
101062012-09-29 Joseph Myers <joseph@codesourcery.com>
10107
10108 [BZ #14638]
10109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10110 0 + 0.
10111 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10112 mode for addition resulting in exact zero.
10113 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10115 exact 0 + 0.
10116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10118 * math/libm-test.inc (fma_test): Add more tests.
10119 (fma_test_towardzero): New function.
10120 (fma_test_downward): Likewise.
10121 (fma_test_upward): Likewise.
10122 (main): Call the new functions.
10123
b1fa802e
DM
101242012-09-28 David S. Miller <davem@davemloft.net>
10125
10126 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10127
d3b9fd9e
RM
101282012-09-28 Roland McGrath <roland@hack.frob.com>
10129
ea4d37b3
RM
10130 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10131 instead of SIGALRM.
10132
ac51c949
RM
10133 * sysdeps/gnu/_G_config.h: Moved to ...
10134 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10135 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10136 * sysdeps/generic/_G_config.h: ... here.
10137
28c195f7
RM
10138 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10139
848917f9
RM
10140 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10141
6bacf05b
RM
10142 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10143 Conditionalize target on [libnss_test1.so-version].
10144
91363dbb
RM
10145 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10146
cc87f7d8
RM
10147 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10148 (elfobjdir): Move out of conditionals.
10149
b1c608fe
RM
10150 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10151 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10152 (__nss_lookup_function): Conditionalize label remove_from_tree on
10153 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10154
1d9a6d96
DM
101552012-09-28 David S. Miller <davem@davemloft.net>
10156
10157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10158 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10159 file.
10160 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10161 sysdep_routines.
10162 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10163 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10164 when HWCAP_SPARC_CRYPTO is present.
10165
72581615
PT
101662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10167
10168 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10169
715a900c
JL
101702012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10171
10172 [BZ #6530]
10173 * stdio-common/vfprintf.c (process_string_arg): Revert
10174 2000-07-22 change.
10175
101762011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10177
10178 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10179 for testcase.
10180 * stdio-common/tst-sprintf.c: Include <locale.h>
10181 (main): Test sprintf's handling of incomplete multibyte
10182 characters.
10183
9bac1d86
L
101842012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10185
10186 * elf/dl-runtime.c (VERSYMIDX): Removed.
10187 * elf/dl-version.c (VERSYMIDX): Likewise.
10188 * elf/do-rel.h (VERSYMIDX): Likewise.
10189 (VALIDX): Likewise.
10190 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10191 * elf/rtld.c (VALIDX): Likewise.
10192 (ADDRIDX): Likewise.
9bac1d86
L
10193 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10194 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10195 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10196 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10197 (VALIDX): Likewise.
10198 (ADDRIDX): Likewise.
9bac1d86 10199
b31606c0
PT
102002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10201
10202 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10203
11541177
JL
102042012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10205
10206 [BZ #11438]
10207 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10208 to global scope.
10209 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10210 addresses are in the same scope as 192.0.2/24.
10211 * posix/gai.conf: Document new scope table defaults.
10212
adb26fae
SP
102132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10214
10215 [BZ #5298]
10216 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10217 for ftell. Compute offsets from write pointers instead.
10218 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10219
4573c6b0
SP
102202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10221
10222 [BZ #14543]
10223 * libio/Makefile (tests): New test case tst-fseek.
10224 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10225 combination works in wide mode.
10226 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10227 state when the external buffer state changes.
10228
aa9bbfe6
DM
102292012-09-27 David S. Miller <davem@davemloft.net>
10230
10231 [BZ #14376]
10232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10233 pass reloc->r_addend in as the 'high' argument to
10234 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10235
784421e7
DM
10236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10237
c39bc8b8
PT
102382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10239
10240 * rt/tst-aio2.c: Include <pthread.h>.
10241 * rt/tst-aio3.c: Likewise.
10242
1ccc2399
SE
102432012-09-27 Steve Ellcey <sellcey@mips.com>
10244
10245 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10246
31ed4153
L
102472012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10248
25f5f885
L
10249 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10250 contents on [SHARED].
31ed4153 10251
b7bfe116
MP
102522012-09-26 Marek Polacek <polacek@redhat.com>
10253
10254 [BZ #14530]
10255 [BZ #13741]
10256 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10257 for C++ and GCC <4.3 as well as for non GCC compilers.
10258
43c4edba
MT
102592012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10260
10261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10262
6a1bf82f
RM
102632012-09-25 Roland McGrath <roland@hack.frob.com>
10264
10265 * Makefile.in (all, install): Declare with .PHONY.
10266 Reported by Michael Hope <michael.hope@linaro.org>.
10267
8ad11b9a
TMQMF
102682012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10269
10270 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10271 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10272 system header.
10273 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10274 Likewise.
10275 (sydep_routines): Add the new and the internal functions.
10276 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10277 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10279 (GLIBC_2.17): Add the new function.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10281 (GLIBC_2.17): Likewise.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10283 (GLIBC_2.17): Likewise.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10285 (GLIBC_2.17): Likewise.
10286 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10287
7e2fca8d
AM
102882012-09-25 Alan Modra <amodra@gmail.com>
10289
10290 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10291 Add release barrier before setting once_control to say
10292 initialisation is done. Add hints on lwarx. Use macro in
10293 place of isync.
10294 (clear_once_control): Add release barrier.
10295
b87c4b24
JM
102962012-09-25 Joseph Myers <joseph@codesourcery.com>
10297
d032e0d2
JM
10298 [BZ #13629]
10299 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10300 specially.
10301 * math/s_clog10.c (__clog10): Likewise.
10302 * math/s_clog10f.c (__clog10f): Likewise.
10303 * math/s_clog10l.c (__clog10l): Likewise.
10304 * math/s_clogf.c (__clogf): Likewise.
10305 * math/s_clogl.c (__clogl): Likewise.
10306 * math/Makefile (libm-calls): Add x2y2m1.
10307 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10308 (__x2y2m1): Likewise.
10309 (__x2y2m1l): Likewise.
10310 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10311 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10316 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10317 * sysdeps/i386/fpu/libm-test-ulps: Update.
10318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10319
b87c4b24
JM
10320 [BZ #14621]
10321 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10322 int as type of variable DEPTH.
10323 (glob): Use size_t instead of int as type of variables NEWCOUNT
10324 and OLD_PATHC.
10325
6d3bf199
LD
103262012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10327
22bf5c17
LD
10328 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10329 Add s_sincosf-sse2.
10330 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10331 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10332 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10333 macros for using routine as __sincosf_ia32.
10334 Use macro for function declaration and weak_alias.
10335 * sysdeps/i386/fpu/libm-test-ulps: Update.
10336
10337 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10339
10340 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10341 subnormal argument.
10342 * math/s_cexpf.c (__cexpf): Likewise.
10343 * math/s_csinf.c (__csinf): Likewise.
10344 * math/s_csinhf.c (__csinhf): Likewise.
10345 * math/s_ctanf.c (__ctanf): Likewise.
10346 * math/s_ctanhf.c (__ctanhf): Likewise.
10347 * math/s_ccosh.c (__ccoshf): Likewise.
10348 * math/s_cexp.c (__cexpl): Likewise.
10349 * math/s_csin.c (__csin): Likewise.
10350 * math/s_csinh.c (__csinh): Likewise.
10351 * math/s_ctan.c (__ctan): Likewise.
10352 * math/s_ctanh.c (ctanh): Likewise.
10353 * math/s_ccoshl.c (__ccoshl): Likewise.
10354 * math/s_cexpl.c (__cexpl): Likewise.
10355 * math/s_csinl.c (__csinl): Likewise.
10356 * math/s_csinhl.c (__csinhl): Likewise.
10357 * math/s_ctanl.c (__ctanl): Likewise.
10358 * math/s_ctanhl.c (__ctanhl): Likewise.
10359
203e5603
JM
103602012-09-25 Joseph Myers <joseph@codesourcery.com>
10361
10362 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10363 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10364 (_IO_off_t): Define to __off_t, not _G_off_t.
10365 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10366 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10367 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10368 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10369 type of __dummy and __dummy2 fields.
10370 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10371 (_G_ssize_t): Likewise.
10372 (_G_off_t): Likewise.
10373 (_G_pid_t): Likewise.
10374 (_G_uid_t): Likewise.
10375 (_G_wchar_t): Likewise.
10376 (_G_wint_t): Likewise.
10377 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10378 (_G_ssize_t): Likewise.
10379 (_G_off_t): Likewise.
10380 (_G_pid_t): Likewise.
10381 (_G_uid_t): Likewise.
10382 (_G_wchar_t): Likewise.
10383 (_G_wint_t): Likewise.
10384 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10385 (_G_ssize_t): Likewise.
10386 (_G_off_t): Likewise.
10387 (_G_pid_t): Likewise.
10388 (_G_uid_t): Likewise.
10389 (_G_wchar_t): Likewise.
10390 (_G_wint_t): Likewise.
10391
9fab36eb
SP
103922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10393
10394 * malloc/arena.c: Include malloc-sysdep.h.
10395 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10396 is sufficient to shrink the heap or an unmap is needed.
10397 * sysdeps/generic/malloc-sysdep.h: New file. Define
10398 new function check_may_shrink_heap.
10399 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10400 new function check_may_shrink_heap.
10401
2b4f00d1
SP
104022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10403
10404 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10405 comments.
10406
9a9028b1
DL
104072012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10408
57c69bef
DL
10409 * catgets/test-gencat.sh: Add "set -e".
10410 * elf/tst-pathopt.sh: Likewise.
10411 * grp/tst_fgetgrent.sh: Likewise.
10412 * iconvdata/run-iconv-test.sh: Likewise.
10413 * intl/tst-gettext.sh: Likewise.
10414 * intl/tst-gettext2.sh: Likewise.
10415 * intl/tst-gettext4.sh: Likewise.
10416 * intl/tst-gettext6.sh: Likewise.
10417 * intl/tst-translit.sh: Likewise.
10418 * io/ftwtest-sh: Likewise.
10419 * libio/test-freopen.sh: Likewise.
10420 * malloc/tst-mtrace.sh: Likewise.
10421 * posix/globtest.sh: Likewise.
10422 * posix/tst-getconf.sh: Likewise.
10423 * posix/wordexp-tst.sh: Likewise.
10424 * stdio-common/tst-printf.sh: Likewise.
10425 * stdio-common/tst-unbputc.sh: Likewise.
10426 * stdlib/tst-fmtmsg.sh: Likewise.
10427 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10428 * catgets/Makefile: Do not specify -e option when running
10429 testsuite shell scripts.
10430 * elf/Makefile: Likewise.
10431 * grp/Makefile: Likewise.
10432 * iconvdata/Makefile: Likewise.
10433 * intl/Makefile: Likewise.
10434 * io/Makefile: Likewise.
10435 * libio/Makefile: Likewise.
10436 * malloc/Makefile: Likewise.
10437 * posix/Makefile: Likewise.
10438 * stdio-common/Makefile: Likewise.
10439 * stdlib/Makefile: Likewise.
10440 * sysdeps/x86_64/Makefile: Likewise.
10441
9a9028b1
DL
10442 * io/ftwtest-sh: Add copyright header.
10443 * posix/globtest.sh: Likewise.
10444 * posix/tst-getconf.sh: Likewise.
10445 * posix/wordexp-tst.sh: Likewise.
10446 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10447
ced6f16e
L
104482012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10449
94b32c39
L
10450 [BZ #13679]
10451 * Makeconfig (+link): Defined as $(+link-static) if
10452 $(build-shared) isn't yes.
10453 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10454 isn't yes.
10455 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10456
189e935b
L
10457 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10458
ced6f16e
L
10459 [BZ #14562]
10460 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10461 new chunk size with MALLOC_ALIGN_MASK.
10462
a9f8e53a
JM
104632012-09-24 Joseph Myers <joseph@codesourcery.com>
10464
10465 [BZ #5044]
10466 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10467 <rounding-mode.h>.
10468 (__printf_fphex): Determine rounding using get_rounding_mode and
10469 round_away.
10470 * stdio-common/tst-printf-round.c (struct hex_test): New
10471 structure.
10472 (hex_tests): New variable.
10473 (test_hex_in_one_mode): New function.
10474 (do_test): Also run tests for hex float output.
10475
43153109
JM
104762012-09-21 Joseph Myers <joseph@codesourcery.com>
10477
10478 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10479 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10480 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10481 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10482 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10483 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10484 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10486
8a26625d
JM
104872012-09-20 Joseph Myers <joseph@codesourcery.com>
10488
10489 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10490 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10491 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10492 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10493
f3fd569c
DL
104942012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10495
10496 [BZ #14579]
10497 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10498 mode only.
10499 * elf/tst-rtld-load-self.sh: New test.
10500 * elf/Makefile: Run it.
10501
63bbedd4
JM
105022012-09-18 Joseph Myers <joseph@codesourcery.com>
10503
10504 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10505 (tst-writev-ENV): Remove.
10506 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10507
626f8b6a
CM
105082012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10509
10510 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10511
b7aaa4d6
JM
105122012-09-17 Joseph Myers <joseph@codesourcery.com>
10513
10514 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10515 unconditional.
10516 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10517 Likewise.
10518 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10519 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10520 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10521 Likewise.
10522
65513990
L
105232012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10524
10525 [BZ #14587]
10526 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10527 * config.make.in (have-cpp-asm-debuginfo): Removed.
10528 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10529 * configure: Regenerated.
10530
784761be
JM
105312012-09-14 Joseph Myers <joseph@codesourcery.com>
10532
10533 [BZ #5044]
10534 * stdio-common/printf_fp.c: Include <stdbool.h> and
10535 <rounding-mode.h>.
10536 (___printf_fp): Determine rounding using get_rounding_mode and
10537 round_away.
10538 * stdio-common/tst-printf-round.c: New file.
10539 * stdio-common/Makefile (tests): Add tst-printf-round.
10540 (link-libm): New variable.
10541 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10542
9503345f
L
105432012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10544
10545 [BZ #14576]
10546 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10547 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10548 Likewise.
10549 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10550 Likewise.
10551
ad35fc00
JM
105522012-09-13 Joseph Myers <joseph@codesourcery.com>
10553
10554 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10555 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10556 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10557 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10558
6c9b0f68
JM
105592012-09-12 Joseph Myers <joseph@codesourcery.com>
10560
10561 [BZ #14518]
10562 * include/rounding-mode.h: New file.
10563 * sysdeps/generic/get-rounding-mode.h: Likewise.
10564 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10565 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10566 (MAX_VALUE): New macro.
10567 (MIN_VALUE): Likewise.
10568 (overflow_value): New function.
10569 (underflow_value): Likewise.
10570 (round_and_return): Use overflow_value and underflow_value to
10571 determine return values in overflow and underflow cases. Use
10572 round_away to determine rounding depending on rounding mode.
10573 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10574 determine return values in overflow and underflow cases.
10575 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10576 (struct test_results): New structure.
10577 (struct test): Use struct test_results to store expected results
10578 for all rounding modes.
10579 (TEST): Include expected results for all rounding modes.
10580 (test_in_one_mode): New function.
10581 (do_test): Use test_in_one_mode to compute and check results.
10582 Check results for all rounding modes.
10583 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10584 $(link-libm).
10585
19fcedd5
AM
105862012-12-09 Allan McRae <allan@archlinux.org>
10587
1e9d84cd 10588 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 10589
8bbfd2f1
JM
105902012-09-11 Joseph Myers <joseph@codesourcery.com>
10591
10592 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10593 (_G_int32_t): Likewise.
10594 (_G_uint16_t): Likewise.
10595 (_G_uint32_t): Likewise.
10596 (_G_HAVE_BOOL): Likewise.
10597 (_G_HAVE_ATEXIT): Likewise.
10598 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10599 (_G_HAVE_IO_FILE_OPEN): Likewise.
10600 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10601 (_G_int32_t): Likewise.
10602 (_G_uint16_t): Likewise.
10603 (_G_uint32_t): Likewise.
10604 (_G_HAVE_BOOL): Likewise.
10605 (_G_HAVE_ATEXIT): Likewise.
10606 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10607 (_G_HAVE_IO_FILE_OPEN): Likewise.
10608 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10609 (_G_int32_t): Likewise.
10610 (_G_uint16_t): Likewise.
10611 (_G_uint32_t): Likewise.
10612 (_G_HAVE_BOOL): Likewise.
10613 (_G_HAVE_ATEXIT): Likewise.
10614 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10615 (_G_HAVE_IO_FILE_OPEN): Likewise.
10616
b1dc5912
L
106172012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 * csu/libc-tls.c: Update copyright years.
10620
0e886ef9
JM
106212012-09-10 Joseph Myers <joseph@codesourcery.com>
10622
28361c5e
JM
10623 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10624 [!_G_USING_THUNKS]: Remove conditional code.
10625 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10626 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10627
0e886ef9
JM
10628 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10629 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10630 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10631 (_G_VTABLE_LABEL_PREFIX): Likewise.
10632 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10633 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10634 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10635 (_G_VTABLE_LABEL_PREFIX): Likewise.
10636 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10637 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10638 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10639 (_G_VTABLE_LABEL_PREFIX): Likewise.
10640 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10641
bcba7aa2
L
106422012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10643
10644 * libio/Makefile: Include ../Makeconfig before tests.
10645 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10646 only if $(build-shared) is yes.
10647
06585ee8
L
10648 * iconv/gconv_db.c: Update copyright years.
10649
80ccd52c
LD
106502012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10651
10652 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10653 unwind info if defined PIC. Fix special cases description.
10654 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10655
10656 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10657 DP_HI_MASK entry.
10658 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10659
691bc9c1
L
106602012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10661
3d9b46b3
L
10662 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10663
de2139a9
L
10664 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10665 is NULL.
10666
5ca78dd0
L
10667 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10668 (LDLIBS-tst-chk4): This.
10669 (LDFLAGS-tst-chk5): Renamed to ...
10670 (LDLIBS-tst-chk5): This.
10671 (LDFLAGS-tst-chk6): Renamed to ...
10672 (LDLIBS-tst-chk6): This.
10673 (LDFLAGS-tst-lfschk4): Renamed to ...
10674 (LDLIBS-tst-lfschk4): This.
10675 (LDFLAGS-tst-lfschk5): Renamed to ...
10676 (LDLIBS-tst-lfschk5): This.
10677 (LDFLAGS-tst-lfschk6): Renamed to ...
10678 (LDLIBS-tst-lfschk6): This.
10679
691bc9c1
L
10680 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10681 on $(common-objpfx)soversions.mk.
10682
65cafb1c
JM
106832012-09-07 Joseph Myers <joseph@codesourcery.com>
10684
10685 [BZ #10014]
10686 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10687 example host name.
10688
c78ab094
SP
106892012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10690
10691 * malloc/arena.c (arena_get_retry): New function that gets
10692 another arena for the caller to try its request on.
10693 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10694 current arena cannot fulfill the request.
10695 (__libc_memalign): Likewise.
10696 (__libc_memalign): Likewise.
10697 (__libc_pvalloc): Likewise.
10698 (__libc_calloc): Likewise.
10699
01f49f59
JT
107002012-09-05 John Tobey <john.tobey@gmail.com>
10701
10702 [BZ #13542]
10703 * manual/arith.texi (Operations on Complex): Fix description
10704 of carg branch cut.
10705
4c23fed5
JM
107062012-09-06 Joseph Myers <joseph@codesourcery.com>
10707
1d3c8572
JM
10708 [BZ #10014]
10709 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10710 host name.
10711
4c23fed5
JM
10712 [BZ #10038]
10713 * manual/memory.texi (Memory): Make order of menu items match
10714 order of sections.
10715
04570aaa
L
107162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10717
10718 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10719 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10720 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10721
b80af2f4
L
107222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10723
10724 * csu/libc-tls.c (static_dtv): Renamed to ...
10725 (_dl_static_dtv): This. Make it global.
10726 (_dl_initial_dtv): Removed.
10727 (__libc_setup_tls): Updated.
10728 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10729 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10730 DL_INITIAL_DTV.
10731
2abe9f15
PM
107322012-09-06 Petr Machata <pmachata@redhat.com>
10733
10734 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10735 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10736 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10737 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10738
0948c3af
L
107392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 [BZ #14545]
10742 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10743 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10744 freeing dtv[-1].
10745
a5055ad1
L
107462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10747
10748 [BZ #14544]
10749 * Makeconfig (link-static-before-libc): Replace $(+prector)
10750 with $(+prectorT).
10751 (link-static-after-libc): Replace $(+postctor) with
10752 $(+postctorT).
10753 (link-bounded): Replace $(+prector)/$(+postctor) with
10754 $(+prectorT)/$(+postctorT).
10755 (+prectorT): New macro.
10756 (+postctorT): Likewise.
10757
ed8c2ecd
JM
107582012-09-06 Joseph Myers <joseph@codesourcery.com>
10759
10760 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10761 (round_str): Handle values above the maximum for IBM long double
10762 as inexact.
10763 * stdlib/tst-strtod-round.c (tests): Regenerated.
10764
14c996c8
AK
107652012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10766
10767 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10768 assembler flag.
10769 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10770 zarch_nohighgprs around the zarch optimized routines.
10771 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10772 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10773 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10774 for zarch.
10775
430d6ce6
DM
107762012-09-05 David S. Miller <davem@davemloft.net>
10777
10778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10779
ff04dda4
DM
10780 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10781 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10782 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10783 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10784 entries.
10785
24d4e01b
AO
107862012-09-05 Alexandre Oliva <aoliva@redhat.com>
10787
10788 * malloc/arena.c: Fold copyright years.
10789 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10790
61d58174
AO
107912012-09-05 Alexandre Oliva <aoliva@redhat.com>
10792
10793 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10794
20196a5e
AO
107952012-09-05 Alexandre Oliva <aoliva@redhat.com>
10796
10797 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10798
5c447383
AO
107992012-09-05 Alexandre Oliva <aoliva@redhat.com>
10800
10801 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10802 change internal state upon failure.
10803
fad64255
AO
108042012-09-05 Alexandre Oliva <aoliva@redhat.com>
10805
10806 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10807 * malloc/memusage.c (mmap): Likewise.
10808 (mmap64, mremap): Likewise. Adjust name in comment.
10809
1ffb8c90
SP
108102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10811
10812 * libio/fileops.c: Fix typos in comments.
10813 * libio/oldfileops.c: Likewise.
10814 * libio/wfileops.c: Likewise.
10815
6ef9cc37
SP
108162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10817
10818 [BZ #1349]
10819 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10820 (tst-malloc-usable-ENV): Set environment for test case.
10821 * malloc/hooks.c (malloc_check_get_size): New function to get
10822 requested size.
10823 * malloc/malloc.c (musable): Use malloc_check_get_size.
10824 * malloc/tst-malloc-usable.c: New test case.
10825
4d038ae3
AS
108262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10827
10828 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10829
c4e85184
AM
108302012-09-05 Allan McRae <allan@archlinux.org>
10831
b9dafc56 10832 [BZ #13966]
c4e85184
AM
10833 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10834 determine header location.
10835 * configure: Regenerated.
10836
e1343020
AS
108372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10838
10839 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10840 float format.
10841 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10842 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10843 format.
e1343020
AS
10844 (test): Regenerate.
10845
0a9f1987
DM
108462012-09-04 David S. Miller <davem@davemloft.net>
10847
10848 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10849 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10850 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10851
29237804
FW
108522012-09-04 Florian Weimer <fweimer@redhat.com>
10853
10854 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10855 failures.
10856
edb3cb88
FW
10857 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10858
60160d83
JM
108592012-09-04 Joseph Myers <joseph@codesourcery.com>
10860
10861 [BZ #9914]
10862 * libio/iogetdelim.c: Include <limits.h>.
10863 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10864 + len + 1 would overflow.
10865
bcd6c8dc
AJ
108662012-09-03 Andreas Jaeger <aj@suse.de>
10867
10868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10869 * sysdeps/i386/fpu/libm-test-ulps: Update.
10870
4ffffbd2
LD
108712012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10872
10873 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10874 Add s_sinf-sse2, s_conf-sse2.
10875
10876 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10877 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10878 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10879 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10880
10881 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10882 for using routine as __sinf_ia32.
10883 Use macro for function declaration and weak_alias.
10884 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10885 for using routine as __cosf_ia32.
10886 Use macro for function declaration and weak_alias.
10887
10888 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10889 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10890
10891 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10892 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10894
10895 * math/libm-test.inc (cos_test): Add more test cases.
10896 (sin_test): Likewise.
10897 (sincos_test): Likewise.
10898
511fa286
AK
108992012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10900
10901 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10902 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10903 hidden.
10904 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10905
5f30cfec
L
109062012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10907
10908 [BZ #14538]
10909 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10910 first element of the GOT.
10911 (elf_machine_load_address): Return the difference between
10912 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10913
0786794f
AM
109142012-09-01 Allan McRae <allan@archlinux.org>
10915
5f30cfec
L
10916 [BZ #13412]
10917 * configure.in (AWK): Require gawk version 3.0 or later.
10918 * configure: Regenerated.
0786794f 10919
26889eac
JM
109202012-09-01 Joseph Myers <joseph@codesourcery.com>
10921
10922 * sysdeps/unix/sysv/linux/kernel-features.h
10923 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10924 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10925 [__NR_clock_getres]: Make code unconditional.
10926 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10927 (clock_getcpuclockid): Remove code left unreachable by removal of
10928 conditionals.
10929 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10930 code unconditional.
10931 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10932 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10933 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10934 Make code unconditional.
10935 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10936 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10937 * sysdeps/unix/sysv/linux/clock_settime.c
10938 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10939 conditional code.
10940 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10941 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10942
d22e28b0
L
109432012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10944
10945 [BZ #14476]
10946 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10947 scripts/test-installation.pl.
10948
10949 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10950 and $ld_so_version if it is set.
10951
050af9c4
SP
109522012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10953
10954 [BZ #14516]
10955 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10956 failure if reading from procfs failed.
10957 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10958
ad845c0b
JM
109592012-08-27 Joseph Myers <joseph@codesourcery.com>
10960
10961 * sysdeps/unix/sysv/linux/kernel-features.h
10962 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10963 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10964 Remove conditional code.
10965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10966 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10967 Remove conditional code.
10968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10969 * sysdeps/unix/sysv/linux/i386/fxstat.c
10970 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10972 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10973 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10975 * sysdeps/unix/sysv/linux/i386/lxstat.c
10976 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10978 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10979 Remove conditional code.
10980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10981 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10982 Remove conditional code.
10983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10984 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10985 <kernel-features.h>.
10986 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10987 Remove.
10988 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10989 Remove conditional code.
10990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10992 Remove conditional.
10993
5dbf56af
MF
109942012-08-27 Mike Frysinger <vapier@gentoo.org>
10995
10996 [BZ #5400]
10997 * NEWS: Add fixed bug number.
10998
d6e70f43
JM
109992012-08-27 Joseph Myers <joseph@codesourcery.com>
11000
7efb4737
JM
11001 [BZ #14519]
11002 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11003 underflowing exponent in case of negative sign.
11004 * stdlib/tst-strtod-round-data: Add more tests.
11005 * stdlib/tst-strtod-round.c (tests): Regenerated.
11006
af92131a
JM
11007 [BZ #3479]
11008 * stdlib/strtod_l.c (NDIG): Remove.
11009 (HEXNDIG): Likewise.
11010 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11011 smallest representable value.
11012 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11013 lie within an exact representation of 1/2 ulp of the result.
11014 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11015 unconditionally.
11016 (TENS_P9_IDX): Define unconditionally.
11017 (TENS_P9_SIZE): Likewise.
11018 (TENS_P10_IDX): Likewise.
11019 (TENS_P10_SIZE): Likewise.
11020 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11021 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11022 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11023 entries for 10^2^13 and 10^2^14.
11024 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11025 (TENS_P13_IDX): Define.
11026 (TENS_P13_SIZE): Likewise.
11027 (TENS_P14_IDX): Likewise.
11028 (TENS_P14_SIZE): Likewise.
11029 (_fpioconst_pow10): Change array size to
11030 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11031 unconditional.
11032 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11033 1024]: Add entries for 10^2^13 and 10^2^14.
11034 [LAST_POW10 > _LAST_POW10]: Remove #error.
11035 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11036 (_fpioconst_pow10): Change array size to
11037 FPIOCONST_POW10_ARRAY_SIZE.
11038 * stdlib/gen-fpioconst.c: New file.
11039 * stdlib/gen-tst-strtod-round.c: Likewise.
11040 * stdlib/tst-strtod-round-data: Likewise.
11041 * stdlib/tst-strtod-round.c: Likewise.
11042 * stdlib/Makefile (tests): Add tst-strtod-round.
11043
d6e70f43
JM
11044 [BZ #14459]
11045 * stdlib/strtod_l.c: Include <stdint.h>.
11046 (NDEBUG): Do not define.
11047 (round_and_return): Change EXPONENT parameter to type intmax_t.
11048 Rearrange calculations to avoid internal overflow possibilities.
11049 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11050 Rearrange calculations to avoid internal overflow possibilities.
11051 Assert that number fits inside MPNSIZE limbs.
11052 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11053 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11054 calculations and add assertions to avoid internal overflow
11055 possibilities. Add casts to avoid signed/unsigned operations.
11056 * stdlib/tst-strtod-overflow.c: New file.
11057 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11058
1f529f7d
MP
110592012-08-25 Marek Polacek <polacek@redhat.com>
11060
11061 * time/time.h: Fix some typos in comments.
11062
59a629f1
RM
110632012-08-23 Roland McGrath <roland@hack.frob.com>
11064
11065 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11066 * posix/tst-rfc3484-2.c: Likewise.
11067 * posix/tst-rfc3484-3.c: Likewise.
11068
d3bafbc9
SM
110692012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11070
11071 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11072 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11073
4efcc022
JM
110742012-08-23 Joseph Myers <joseph@codesourcery.com>
11075
11076 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11077 #include of fxstatat64.c.
11078
3cc3ef96
RM
110792012-08-22 Roland McGrath <roland@hack.frob.com>
11080
f04e2132
RM
11081 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11082 * shadow/getspent_r.c: Likewise.
11083 * shadow/getspnam.c: Likewise.
11084 * shadow/getspnam_r.c: Likewise.
11085 * gshadow/getsgent.c: Likewise.
11086 * gshadow/getsgent_r.c: Likewise.
11087 * gshadow/getsgnam.c: Likewise.
11088 * gshadow/getsgnam_r.c: Likewise.
11089 * inet/getnetbyad.c: Likewise.
11090 * inet/getnetbyad_r.c: Likewise.
11091 * inet/getnetbynm.c: Likewise.
11092 * inet/getnetbynm_r.c: Likewise.
11093 * inet/getnetent.c: Likewise.
11094 * inet/getnetent_r.c: Likewise.
11095 * inet/getproto.c: Likewise.
11096 * inet/getproto_r.c: Likewise.
11097 * inet/getprtent.c: Likewise.
11098 * inet/getprtent_r.c: Likewise.
11099 * inet/getprtname.c: Likewise.
11100 * inet/getprtname_r.c: Likewise.
11101 * inet/getrpcbyname.c: Likewise.
11102 * inet/getrpcbyname_r.c: Likewise.
11103 * inet/getrpcbynumber.c: Likewise.
11104 * inet/getrpcbynumber_r.c: Likewise.
11105 * inet/getrpcent.c: Likewise.
11106 * inet/getrpcent_r.c: Likewise.
11107 * inet/getaliasent.c: Likewise.
11108 * inet/getaliasent_r.c: Likewise.
11109 * inet/getaliasname.c: Likewise.
11110 * inet/getaliasname_r.c: Likewise.
11111 * nscd/getgrgid_r.c: Likewise.
11112 * nscd/getgrnam_r.c: Likewise.
11113 * nscd/gethstbyad_r.c: Likewise.
11114 * nscd/gethstbynm3_r.c: Likewise.
11115 * nscd/getpwnam_r.c: Likewise.
11116 * nscd/getpwuid_r.c: Likewise.
11117 * nscd/getsrvbynm_r.c: Likewise.
11118 * nscd/getsrvbypt_r.c: Likewise.
11119 * nscd/gai.c: Likewise.
11120
c53d909c
RM
11121 * configure.in (build_nscd): New substituted variable, set
11122 by --disable-build-nscd and defaults to $use_nscd.
11123 * configure: Regenerated.
11124 * config.make.in (build-nscd): New substituted variable.
11125 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11126 Change conditional to require [$(build-nscd) = yes] as well.
11127 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11128
3cc3ef96
RM
11129 [BZ# 13696]
11130 * configure.in (use_nscd): New substituted variable, set by
11131 --disable-nscd. If enabled, define USE_NSCD.
11132 * configure: Regenerated.
11133 * config.h.in: Add USE_NSCD.
11134 * config.make.in (use-nscd): New substituted variable.
11135 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11136 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11137 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11138 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11139 (CFLAGS-getgrnam_r.c): Likewise.
11140 (CFLAGS-initgroups.c): Likewise.
11141 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11142 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11143 Variables removed.
11144 * inet/getnetgrent_r.c
11145 (nscd_setnetgrent): New function, broken out of ...
11146 (setnetgrent): ... here. Call it.
11147 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11148 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11149 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11150 * nscd/Makefile (routines, aux): Move definitions after include of
11151 Makeconfig. Conditionalize on [$(use-nscd) != no].
11152 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11153 Conditionalize on [USE_NSCD].
11154 (is_nscd, nscd_init_cb): Likewise.
11155 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11156 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11157 * nss/nss_db/db-init.c: Likewise.
11158 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11159 [USE_NSCD].
11160 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11161 (make_request): Use it.
11162 (cache_valid_p): New function.
11163 (__check_pf): Use it.
11164 * NEWS: Add item for --disable-nscd.
11165
07e51550
DL
111662012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11167
11168 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11169 to support sed >= 4.2.1-20-ga9bf076.
11170 * configure: Regenerated.
11171
35a5b08b
RM
111722012-08-22 Roland McGrath <roland@hack.frob.com>
11173
11174 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11175 Conditionalize whole body on [IREL].
11176
8479f23a
JL
111772012-08-22 Jeff Law <law@redhat.com>
11178
11179 [BZ #14505]
11180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11181 if the family is PF_UNSPEC.
11182
48da0b21
MF
111832012-08-22 Mike Frysinger <vapier@gentoo.org>
11184
11185 * Makerules (lib-version): Rename from V.
11186 (install-lib-nosubdir): Change V to lib-version.
11187
15d0da8c
WS
111882012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11189
11190 [BZ #14252]
11191 * powerpc32/power6/wcschr.c: New file.
11192 * powerpc32/power6/wcscpy.c: New file.
11193 * powerpc32/power6/wcsrchr.c: New file.
11194 * powerpc64/power6/wcschr.c: New file.
11195 * powerpc64/power6/wcscpy.c: New file.
11196 * powerpc64/power6/wcsrchr.c: New file.
11197
bcca0895
MK
111982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11199
11200 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11201 (two_way_short_needle): Use it.
5a4aaa33
RM
11202 * string/strstr.c (AVAILABLE1_USES_J): Define.
11203 * string/strcasestr.c: Likewise.
99677e57
MK
11204
11205 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11206 array references.
11207 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11208
400726de
MK
11209 [BZ #11607]
11210 * NEWS: Add an entry.
11211 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11212 define their defaults.
11213 (two_way_short_needle): Detect end-of-string on-the-fly.
11214 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11215 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11216 * string/bug-strcasestr1.c: New test.
11217 * string/Makefile: Run it.
11218
20a71f2c
MK
112192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11220
11221 [BZ #11607]
11222 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11223 the first character.
11224
21ad0558
RM
112252012-08-21 Roland McGrath <roland@hack.frob.com>
11226
11227 * csu/elf-init.c (__libc_csu_irel): Function removed.
11228 * csu/libc-start.c (apply_irel): New function.
11229 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11230
0e1d9911
JM
112312012-08-21 Joseph Myers <joseph@codesourcery.com>
11232
11233 * sysdeps/unix/sysv/linux/kernel-features.h
11234 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11235 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11236 <kernel-features.h>.
11237 [__NR_fadvise64_64]: Make code unconditional.
11238 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11239 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11240 !__NR_fadvise64_64)]: Likewise.
11241 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11242 !__NR_fadvise64_64))]: Likewise.
11243 [__NR_fadvise64]: Make code unconditional.
11244 [!__NR_fadvise64]: Remove conditional code.
11245 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11246 <kernel-features.h>.
11247 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11248 unconditional.
11249 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11250 conditional code.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11252 not include <kernel-features.h>.
11253 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11254 unconditional.
11255 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11256 conditional code.
11257 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11258 include <kernel-features.h>.
11259 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11260 unconditional.
11261 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11262 conditional code.
11263
14a50c9d
WS
112642012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11265
11266 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11267 slight instruction rearrangements per scrollpipe analysis.
11268 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11269
c0f4faf0
RM
112702012-08-20 Roland McGrath <roland@hack.frob.com>
11271
696da859
RM
11272 * manual/syslog.texi (syslog; vsyslog, closelog):
11273 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11274 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11275
c0f4faf0
RM
11276 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11277 DSOCAPS to match condition on defining it.
11278
348363b2
JM
112792012-08-20 Joseph Myers <joseph@codesourcery.com>
11280
a35cbf28
JM
11281 * sysdeps/unix/sysv/linux/kernel-features.h
11282 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11284 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11285 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11287 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11288 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11290 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11291 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11292
445f7ecd
JM
11293 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11294 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11295
348363b2
JM
11296 * sysdeps/unix/sysv/linux/kernel-features.h
11297 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11298 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11299 unconditional.
11300 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11301 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11302 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11303 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11304 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11305 Make code unconditional.
11306 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11307 (__mmap64) [!__NR_mmap2]: Likewise.
11308 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11309 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11310 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11311 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11312 [__NR_mmap2]: Make code unconditional.
11313 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11314 (__mmap64) [!__NR_mmap2]: Likewise.
11315
bc5bc0e5
AK
113162012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11317
11318 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11319
88d506de
AJ
113202012-08-18 Andreas Jaeger <aj@suse.de>
11321
11322 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11323
493387d2
MF
113242012-08-18 Mike Frysinger <vapier@gentoo.org>
11325
11326 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11327 * include/unistd.h (__have_sock_cloexec): Likewise.
11328 (__have_pipe2): Likewise.
11329 (__have_dup3): Likewise.
11330
a277af22
MF
113312012-08-18 Mike Frysinger <vapier@gentoo.org>
11332
11333 [BZ #9685]
11334 * include/unistd.h (__have_pipe2): Change define into an extern int.
11335 (__have_dup3): Likewise.
11336 * socket/have_sock_cloexec.c: Include fcntl.h.
11337 (__have_pipe2): New variable.
11338 (__have_dup3): Likewise.
11339
fdab8fd3
MF
113402012-08-17 Mike Frysinger <vapier@gentoo.org>
11341
11342 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11343
31035e80
MP
113442012-08-17 Marek Polacek <polacek@redhat.com>
11345
11346 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11347 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11348
3bd9e993
RM
113492012-08-17 Roland McGrath <roland@hack.frob.com>
11350
c91c505f
RM
11351 * configure.in: Add AC_SUBST for sysheaders.
11352 * configure: Regenerated.
11353 * config.make.in (sysheaders): New substituted variable.
11354
7c6f9d53
RM
11355 * sysdeps/unix/mkfifo.c: Moved ...
11356 * sysdeps/posix/mkfifo.c: ... here.
11357 * sysdeps/unix/mkfifoat.c: Moved ...
11358 * sysdeps/posix/mkfifoat.c: ... here.
11359
11360 * sysdeps/unix/utime.c: Moved ...
11361 * sysdeps/posix/utime.c: ... here.
11362
11363 * sysdeps/unix/time.c: Moved ...
11364 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11365 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11367
11368 * sysdeps/unix/nice.c: Moved ...
11369 * sysdeps/posix/nice.c: ... here.
11370
11371 * sysdeps/unix/alarm.c: Moved ...
11372 * sysdeps/posix/alarm.c: ... here.
11373
3bd9e993
RM
11374 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11375
d1f09384
JL
113762012-08-17 Jeff Law <law@redhat.com>
11377
11378 * intl/Makefile (codeset_mo): New variable.
11379 ($(codeset_mo)): New target.
11380 (tst-codeset.out): Depend on that. Remove explicit rule.
11381 (tst-gettext3.out, tst-gettext5.out): Likewise.
11382 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11383 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11384 * intl/tst-codeset.sh: Remove.
11385 * intl/tst-gettext3.sh: Likewise.
11386 * intl/tst-gettext5.sh: Likewise.
11387
2ae1ae5c
RM
113882012-08-17 Roland McGrath <roland@hack.frob.com>
11389
c31fdb83
RM
11390 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11391 * sysdeps/unix/syscalls.list: ... here.
11392
a0844057
RM
11393 * sysdeps/posix/getaddrinfo.c
11394 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11395 (gaiconf_init, gaiconf_reload): Use them.
11396 [!_STATBUF_ST_NSEC]
11397 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11398 Define using time_t rather than struct timespec.
11399
750c1f2a
RM
11400 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11401 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11402 Macros removed.
11403 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11404 [!NO_THREADS].
11405 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11406 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11407 Likewise.
11408
2ae1ae5c
RM
11409 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11410 __libc_cleanup_push argument.
11411
e66a42f5
RM
11412 * bits/param.h: New file.
11413 * misc/sys/param.h: New file.
11414 * include/sys/param.h: New file.
11415 * misc/Makefile (headers): Add bits/param.h.
11416 * sysdeps/generic/sys/param.h: File removed.
11417 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11418 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11419 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 11420 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 11421
b7c08a66
RM
11422 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11423 last change.
11424
b2e1c562
RM
11425 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11426 [_IO_MTSAFE_IO].
11427 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11428 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11429 New macros.
11430
c75ccd4c
RM
11431 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11432 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11433 rather than -D_IO_MTSAFE_IO conditionally.
11434 * stdio-common/Makefile (CPPFLAGS): Likewise.
11435 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11436 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11437 Use $(libio-mtsafe).
11438 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11439 of -D_IO_MTSAFE_IO.
11440 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11441 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11442 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11443 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11444 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11445 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11446 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11447 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11448 (CFLAGS-fread_u_chk.c): Likewise.
11449 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11450 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11451 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11452 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11453 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11454 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11455 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11456 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11457 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11458
11459 * libio/Makefile: Test [$(libc-reentrant) = yes]
11460 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11461
11462 * Makeconfig
11463 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11464 * sysdeps/pthread/configure: File removed.
11465 * sysdeps/pthread/Makeconfig: New file.
11466 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11467 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11468
d9195db8
GB
114692012-08-16 Gary Benson <gbenson@redhat.com>
11470
11471 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11472 unmapping the first object in a namespace.
11473
86466cd9
RM
114742012-08-16 Roland McGrath <roland@hack.frob.com>
11475
11476 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11477 (__internal_setnetgrent): ... this. Add internal_function to
11478 definition. Add libc_hidden_def.
11479 (setnetgrent): Update caller.
11480 (internal_endnetgrent): Renamed to ...
11481 (__internal_endnetgrent): ... this. Add internal_function to
11482 definition. Add libc_hidden_def.
11483 (endnetgrent): Update caller.
11484 (internal_getnetgrent_r): Renamed to ...
11485 (__internal_getnetgrent_r): ... this. Add internal_function to
11486 definition. Add libc_hidden_def.
11487 (__getnetgrent_r): Update caller.
11488 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11489
c3c8283c
JM
114902012-08-16 Joseph Myers <joseph@codesourcery.com>
11491
11492 * stdlib/longlong.h: Update from GCC.
11493
db1ee0a8
RM
114942012-08-16 Roland McGrath <roland@hack.frob.com>
11495
11496 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11497 on _QL, which is set by umul_ppmm but never used.
11498 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11499 variables, which are set by GMP macros but never used.
11500 * stdio-common/_itowa.c (_itowa): Likewise.
11501 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11502 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11503
30f69637
CD
115042012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11505
11506 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11507 struct La_sh_regs is not constant.
11508 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11509 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11510 and struct La_sparc64_regs are not constant.
11511
93a78ac4
JM
115122012-08-16 Joseph Myers <joseph@codesourcery.com>
11513
11514 * sysdeps/unix/sysv/linux/kernel-features.h
11515 (__ASSUME_POSIX_TIMERS): Remove.
11516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11518 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11519 Make code unconditional.
11520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11521 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11522 Make code unconditional.
11523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11524 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11525 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11526 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11527 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11528 Make code unconditional.
11529 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11530 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11531 (__libc_missing_posix_timers): Remove.
11532
dd924cd7
RM
115332012-08-15 Roland McGrath <roland@hack.frob.com>
11534
4b4f2771
RM
11535 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11536 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11537
601c888b
RM
11538 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11539
176790a7
RM
11540 * elf/dl-sym.c: Include <stdlib.h>.
11541
329bc018
RM
11542 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11543 constants, which avoids warnings in 32-bit builds.
11544
e04e272d
RM
11545 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11546 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11547
952bf94a
RM
11548 * misc/lseek.c: File moved to ...
11549 * io/lseek.c: ... here.
11550
7c99b50a
RM
11551 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11552
dd924cd7
RM
11553 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11554 shifting LEN more than 31 bits at once.
11555
b3f479a8
LD
115562012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11557
11558 [BZ #14195]
8c4ae0d4
RM
11559 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11560 segmentation fault for a case of two empty input strings.
b3f479a8
LD
11561 * string/test-strncasecmp.c (check1): Renamed to...
11562 (bz12205): ...this.
11563 (bz14195): Add new testcase for two empty input strings and N > 0.
11564 (test_main): Call new testcase, adapt for renamed function.
11565
9c55864e
AJ
115662012-08-15 Andreas Jaeger <aj@suse.de>
11567
11568 [BZ #14090]
11569 * crypt/md5test2.c: New test, based on test supplied by Serge
11570 Belyshev <belyshev@depni.sinp.msu.ru>.
11571 * crypt/Makefile (xtests): Add md5test-giant..
11572 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11573
02dcb6c5
PE
115742012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11575
11576 [BZ #14090]
11577 * crypt/md5.c (md5_process_block): Don't assume the buffer
11578 length is less than 2**32.
11579 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11580 length is less than 2**64.
11581
a3f95dcc
RM
115822012-08-15 Roland McGrath <roland@hack.frob.com>
11583
be75d758
RM
11584 * string/str-two-way.h: Include <sys/param.h>.
11585 (MAX): Macro removed.
11586
7312ca90
RM
11587 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11588 Move #define and #undef of memmove to just before and after
11589 including <string.h>.
11590
9a0a5486
RM
11591 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11592 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11593 and after including <string.h>. Move declarations of
11594 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11595 to before #include "string/memmove.c".
11596
67cc348d
RM
11597 * include/dirent.h: Declare __getdirentries.
11598
a3f95dcc
RM
11599 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11600 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11601
ca98e171
MF
116022012-08-14 Mike Frysinger <vapier@gentoo.org>
11603
11604 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11605 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11606 * sysdeps/i386/configure: Regenerated.
11607 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11608 STABS_CURRENT_FILE, and STABS_FUN.
11609 (END): Remove call to STABS_FUN_END.
11610 (STABS_CURRENT_FILE1): Delete.
11611 (STABS_CURRENT_FILE): Likewise.
11612 (STABS_FUN): Likewise.
11613 (STABS_FUN_END): Likewise.
11614 (STABS_FUN2): Likewise.
11615 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11616 * sysdeps/x86_64/configure: Regenerated.
11617
5908bf46
RM
116182012-08-14 Roland McGrath <roland@hack.frob.com>
11619
11620 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 11621 * elf/dl-lookup.c: Likewise.
5908bf46 11622
f2c05b9e
JM
116232012-08-14 Joseph Myers <joseph@codesourcery.com>
11624
11625 * sysdeps/unix/sysv/linux/kernel-features.h
11626 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11627 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11628 unconditionally.
11629 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11630 unconditionally.
11631 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11632 condition on __ASSUME_CLONE_THREAD_FLAGS.
11633
e11f5155
AJ
116342012-08-14 Andreas Jaeger <aj@suse.de>
11635
11636 * sysdeps/i386/fpu/libm-test-ulps: Update.
11637
51a9ba86
MK
116382012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11639
2fdd4f78
AJ
11640 * include/atomic.h (atomic_exchange_and_add): Split into ...
11641 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11642 New atomic macros.
51a9ba86 11643
ba6cba9e
MT
116442012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11645
11646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11647
42443a47
JL
116482012-08-13 Jeff Law <law@redhat.com>
11649
11650 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11651 null byte in the output string.
11652
121dce05
JM
116532012-08-10 Joseph Myers <joseph@codesourcery.com>
11654
11655 * sysdeps/unix/sysv/linux/kernel-features.h
11656 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11657 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11658 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11659 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11660 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11661 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11662 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11663
bf51f568
JL
116642012-08-09 Jeff Law <law@redhat.com>
11665
11666 [BZ #13939]
11667 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11668 When avoid_arena is set, don't retry in the that arena. Pick the
11669 next one, whatever it might be.
11670 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11671 (arena_lock): Pass in new parameter to arena_get2.
11672 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11673 arena_get2.
11674 (__libc_malloc): Unify retrying after main arena failure with
11675 __libc_memalign version.
11676 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11677
f85fa270
L
116782012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11679
11680 [BZ #14166]
11681 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11682 to __redirect_strstr.
11683 (__strstr_sse42): Use typeof __redirect_strstr.
11684 (__strstr_ia32): Likewise.
11685 (__libc_strstr): New prototype.
11686 (strstr): Renamed to ...
11687 (__libc_strstr): This.
11688 (strstr): New strong alias of __libc_strstr.
11689 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11691 __redirect_time.
11692 Include <time.h>.
11693 (__libc_time): New prototype.
11694 (time_ifunc): Replace time with __libc_time.
11695 (time): New strong alias and hidden definition of __libc_time.
11696 (__GI_time): Remove strong alias.
11697 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11698 Include <stddef.h>.
11699 (memmove): Redefined to __redirect_memmove.
11700 (__memmove_sse2): Use typeof __redirect_memmove.
11701 (__memmove_ssse3): Likewise.
11702 (__memmove_ssse3_back): Likewise.
11703 (__libc_memmove): New prototype.
11704 (memmove): Renamed to ...
11705 (__libc_memmove): This.
11706 (memmove): New strong alias of __libc_memmove.
11707
33b4a91e
MS
117082012-08-08 Mark Salter <msalter@redhat.com>
11709
11710 * elf/elf.h
11711 (R_MN10300_TLS_GD): Define.
11712 (R_MN10300_TLS_LD): Likewise.
11713 (R_MN10300_TLS_LDO): Likewise.
11714 (R_MN10300_TLS_GOTIE): Likewise.
11715 (R_MN10300_TLS_IE): Likewise.
11716 (R_MN10300_TLS_LE): Likewise.
11717 (R_MN10300_TLS_DTPMOD): Likewise.
11718 (R_MN10300_TLS_DTPOFF): Likewise.
11719 (R_MN10300_TLS_TPOFF): Likewise.
11720 (R_MN10300_SYM_DIFF): Likewise.
11721 (R_MN10300_ALIGN): Likewise.
11722 (R_MN10300_NUM): Update.
11723
b36137f1
JM
117242012-08-08 Joseph Myers <joseph@codesourcery.com>
11725
11726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11727 Remove.
11728
cdd915fd
RM
117292012-08-08 Roland McGrath <roland@hack.frob.com>
11730
a2433aac
RM
11731 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11732
cdd915fd
RM
11733 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11734 sysdeps/unix -> sysdeps/posix move.
11735 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11736
bf9b740a
AM
117372012-08-07 Allan McRae <allan@archlinux.org>
11738
11739 [BZ #14303]
11740 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11741 (SUNOS_CPP): Likewise.
11742 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11743 not found.
11744 (open_input): Call CPP using execvp.
11745
93df14ee
JM
117462012-08-07 Joseph Myers <joseph@codesourcery.com>
11747
11748 * sysdeps/unix/sysv/linux/kernel-features.h
11749 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11750 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11751 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11752 (__ASSUME_WAITID_SYSCALL): Likewise.
11753 * sysdeps/unix/sysv/linux/dl-execstack.c
11754 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11755 code unconditional.
11756 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11757 conditional code.
11758 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11759 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11760 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11761 code.
11762 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11763 unconditional.
11764 [__ASSUME_WAITID_SYSCALL]: Likewise.
11765 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11766
d34689de
RM
117672012-08-07 Roland McGrath <roland@hack.frob.com>
11768
a281decc
RM
11769 * sysdeps/unix/closedir.c: Renamed to ...
11770 * sysdeps/posix/closedir.c: ... here.
11771 * sysdeps/unix/dirfd.c: Renamed to ...
11772 * sysdeps/posix/dirfd.c: ... here.
11773 * sysdeps/unix/dirstream.h: Renamed to ...
11774 * sysdeps/posix/dirstream.h: ... here.
11775 * sysdeps/unix/fdopendir.c: Renamed to ...
11776 * sysdeps/posix/fdopendir.c: ... here.
11777 * sysdeps/unix/opendir.c: Renamed to ...
11778 * sysdeps/posix/opendir.c: ... here.
11779 * sysdeps/unix/readdir.c: Renamed to ...
11780 * sysdeps/posix/readdir.c: ... here.
11781 * sysdeps/unix/readdir_r.c: Renamed to ...
11782 * sysdeps/posix/readdir_r.c: ... here.
11783 * sysdeps/unix/rewinddir.c: Renamed to ...
11784 * sysdeps/posix/rewinddir.c: ... here.
11785 * sysdeps/unix/seekdir.c: Renamed to ...
11786 * sysdeps/posix/seekdir.c: ... here.
11787 * sysdeps/unix/telldir.c: Renamed to ...
11788 * sysdeps/posix/telldir.c: ... here.
11789 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11790 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11791 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11792 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11793
22895b47
RM
11794 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11795 * bits/fcntl.h: ... here.
11796
707a53b6
RM
11797 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11798 not 0.
11799 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11800 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11801 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11802 (struct flock): Move l_start, l_len to the beginning.
11803 Use __pid_t for l_pid.
11804 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11805 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11806 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11807 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11808 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11809 [__USE_LARGEFILE64] (struct flock64): New type.
11810 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11811
f0bd3e25
RM
11812 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11813 * bits/dirent.h: ... here.
11814
d34689de
RM
11815 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11816 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11817
6dad2c06
JM
118182012-08-07 Joseph Myers <joseph@codesourcery.com>
11819
11820 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11821 Change from 2.6.0 to 2.6.16.
11822 * sysdeps/unix/sysv/linux/configure: Regenerated.
11823 * sysdeps/unix/sysv/linux/kernel-features.h
11824 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11825 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11826 version.
11827 (__ASSUME_UTIMES): Likewise.
11828 (__ASSUME_CLONE_STOPPED): Remove.
11829 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11830 architectures, not kernel version.
11831 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11832 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11833 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11834 (__ASSUME_WAITID_SYSCALL): Likewise.
11835 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11836 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11837 * README: State 2.6.16 as minimum Linux kernel version. Do not
11838 refer to older versions.
11839
03af9520
RM
118402012-08-06 Roland McGrath <roland@hack.frob.com>
11841
8e49df1d
RM
11842 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11843 Define alphasort64 as an alias.
11844 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11845 Define versionsort64 as an alias.
11846 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11847 Define scandir64 as an alias.
11848 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11849 Define scandirat64 as an alias.
11850 * dirent/alphasort64.c (alphasort64):
11851 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11852 * dirent/versionsort64.c: Likewise.
11853 * dirent/scandir64.c: Likewise.
11854 * dirent/scandirat64.c: Likewise.
11855 * sysdeps/wordsize-64/alphasort.c: File removed.
11856 * sysdeps/wordsize-64/alphasort64.c: File removed.
11857 * sysdeps/wordsize-64/scandir.c: File removed.
11858 * sysdeps/wordsize-64/scandir64.c: File removed.
11859 * sysdeps/wordsize-64/scandirat.c: File removed.
11860 * sysdeps/wordsize-64/scandirat64.c: File removed.
11861 * sysdeps/wordsize-64/versionsort.c: File removed.
11862 * sysdeps/wordsize-64/versionsort64.c: File removed.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11864 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11865 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11866 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11867 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11868 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11869 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11870 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11871
11872 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11874 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11876 [defined __arch64__ || defined __sparcv9]
11877 (__INO_T_MATCHES_INO64_T): New macro.
11878 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11879 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11880 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11881 * sysdeps/unix/sysv/linux/bits/dirent.h
11882 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11883 (_DIRENT_MATCHES_DIRENT64): New macro.
11884
03af9520
RM
11885 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11886 Define lockf64 as an alias.
11887 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11888 Define fseeko64 as an alias.
11889 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11890 Define ftello64 as an alias.
11891 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11892 Define _IO_fgetpos64 and fgetpos64 as aliases.
11893 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11894 Define _IO_fsetpos64 and fsetpos64 as aliases.
11895 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11896 Conditionalize body on this.
11897 * libio/fseeko64.c: Likewise.
11898 * libio/ftello64.c: Likewise.
11899 * libio/iofgetpos64.c: Likewise.
11900 * libio/iofsetpos64.c: Likewise.
11901 * sysdeps/wordsize-64/lockf.c: File removed.
11902 * sysdeps/wordsize-64/lockf64.c: File removed.
11903 * sysdeps/wordsize-64/fseeko.c: File removed.
11904 * sysdeps/wordsize-64/fseeko64.c: File removed.
11905 * sysdeps/wordsize-64/ftello.c: File removed.
11906 * sysdeps/wordsize-64/ftello64.c: File removed.
11907 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11908 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11909 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11910 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11911 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11912 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11913 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11914 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11915 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11916 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11917 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11918 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11919 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11920 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11921
11922 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11924 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11926 [defined __arch64__ || defined __sparcv9]
11927 (__OFF_T_MATCHES_OFF64_T): New macro.
11928 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11929 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11930 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11931 (__OFF_T_MATCHES_OFF64_T): New macro.
11932
c5757acd
L
119332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11934
11935 * stdlib/secure-getenv.c (__secure_getenv): Replace
11936 GLIBC_2_16 with GLIBC_2_17.
11937
3a31811e
L
119382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11941 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11942
faa2bccb
DM
119432012-08-03 David S. Miller <davem@davemloft.net>
11944
11945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11946
85fe1997
JM
119472012-08-03 Joseph Myers <joseph@codesourcery.com>
11948
11949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11950 Remove.
11951 (__ASSUME_CORRECT_SI_PID): Likewise.
11952 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11953 (__ASSUME_TMPFS_NAME): Likewise.
11954 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11955 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11956 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11957 (HAVE_AUX_SECURE): Make definition unconditional.
11958 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11959 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11960
4f75b7a0
RM
119612012-08-03 Roland McGrath <roland@hack.frob.com>
11962
11963 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11964 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11965 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11966 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11967 __eloop_threshold instead of SYMLOOP_MAX.
11968
11969 * sysdeps/generic/eloop-threshold.h: New file.
11970 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11971 of MAXSYMLINKS.
11972 * elf/chroot_canon.c (chroot_canon): Likewise.
11973
7aab07e4
JM
119742012-08-03 Joseph Myers <joseph@codesourcery.com>
11975
11976 [BZ #13717]
11977 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11978 Change to 2.6.0 everywhere.
11979 * sysdeps/unix/sysv/linux/configure: Regenerated.
11980 * sysdeps/unix/sysv/linux/kernel-features.h
11981 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11982 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11983 kernel versions.
11984 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11985 (__ASSUME_FUTEX_REQUEUE): Remove.
11986 (__ASSUME_STATFS64): Define unconditionally.
11987 (__ASSUME_AT_SECURE): Likewise.
11988 (__ASSUME_CORRECT_SI_PID): Likewise.
11989 (__ASSUME_TGKILL): Define without depending on kernel version for
11990 i386.
11991 (__ASSUME_UTIMES): Likewise.
11992 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11993 kernel version.
11994 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11995 (__ASSUME_TMPFS_NAME): Likewise.
11996 * README: Update reference to Linux kernel versions.
11997
b67e9372
MP
119982012-08-02 Marek Polacek <polacek@redhat.com>
11999
1f529f7d 12000 [BZ# 14150]
b67e9372
MP
12001 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12002 libc_cv_asm_type_prefix with %.
12003 * configure: Regenerated.
d2441631
RM
12004 * include/libc-symbols.h: Remove comment about
12005 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12006 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12007 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12008 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12009 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12010 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12011 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12012 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12013 * elf/tst-unique2mod1.c: Likewise.
12014 * elf/tst-unique1mod2.c: Likewise.
12015 * elf/tst-unique1mod1.c: Likewise.
12016 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12017 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12018 Replace ASM_TYPE_DIRECTIVE with .type.
12019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12020 * sysdeps/i386/sysdep.h: Likewise.
12021 * sysdeps/x86_64/sysdep.h: Likewise.
12022 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12024 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12025 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12026 * sysdeps/powerpc/powerpc32/sysdep.h:
12027 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12028 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12029 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12030 * sysdeps/i386/fpu/e_powf.S: Likewise.
12031 * sysdeps/i386/fpu/e_expl.S: Likewise.
12032 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12033 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12034 * sysdeps/i386/fpu/e_pow.S: Likewise.
12035 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12036 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12037 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12038 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12039 * sysdeps/i386/fpu/e_log2.S: Likewise.
12040 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12041 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12042 * sysdeps/i386/fpu/e_powl.S: Likewise.
12043 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12044 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12045 * sysdeps/i386/fpu/e_logl.S: Likewise.
12046 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12047 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12048 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12049 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12050 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12051 * sysdeps/i386/fpu/e_log.S: Likewise.
12052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12053 * sysdeps/i386/fpu/e_logf.S: Likewise.
12054 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12055 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12056 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12057 * sysdeps/i386/fpu/e_log10.S: Likewise.
12058 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12059 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12060 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12061 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12062 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12063 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12064 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12065 * sysdeps/i386/i686/strtok.S: Likewise.
12066 * sysdeps/i386/i386-mcount.S: Likewise.
12067 * sysdeps/i386/strtok.S: Likewise.
12068 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12069 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12070 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12071 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12072 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12073 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12074 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12075 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12076 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12077 * sysdeps/x86_64/_mcount.S: Likewise.
12078 * sysdeps/x86_64/strtok.S: Likewise.
12079 * sysdeps/sh/_mcount.S: Likewise.
12080
2747bf9a
RM
120812012-08-01 Roland McGrath <roland@hack.frob.com>
12082
12083 * libio/iofopen.c: Include <fcntl.h>.
12084 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12085 (_IO_fopen64, fopen64): Define as aliases.
12086 * libio/iofopen64.c: Include <fcntl.h>.
12087 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12088 Conditionalize body on this.
12089 * sysdeps/wordsize-64/iofopen.c: File removed.
12090 * sysdeps/wordsize-64/iofopen64.c: File removed.
12091
3fb791b8
MP
120922012-08-01 Marek Polacek <polacek@redhat.com>
12093
12094 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12095 Use dlfcn directly instead of a variable.
12096 (binfmt-subdir): Do not define.
12097 (dlfcn): Likewise.
12098
a9f1039f
JM
120992012-08-01 Joseph Myers <joseph@codesourcery.com>
12100
23bddc06
JM
12101 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12102 Remove all definitions.
12103 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12104 <kernel-features.h>.
12105 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12106 (miss_F_GETOWN_EX): Remove all definitions.
12107 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12108 macro definition.
12109 [!__ASSUME_FCNTL64]: Remove conditional code.
12110 [__ASSUME_FCNTL64]: Make code unconditional.
12111 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12112 <kernel-features.h>.
12113 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12114 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12115 (lockf64) [__NR_fcntl64]: Make code unconditional.
12116 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12117
a9f1039f
JM
12118 * sysdeps/unix/sysv/linux/kernel-features.h
12119 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12120 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12121 Make code unconditional.
12122 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12123 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12125 [__NR_vfork]: Make code unconditional.
12126 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12127 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12129 [__NR_vfork]: Make code unconditional.
12130 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12131 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12132
09c0ee5f
RM
121332012-08-01 Roland McGrath <roland@hack.frob.com>
12134
48aec5b9
RM
12135 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12136 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12137
cd97c966
RM
12138 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12139 Define mkstemp64 as an alias.
3f55550c
RM
12140 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12141 Define mkstemps64 as an alias.
cd97c966
RM
12142 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12143 Define mkostemp64 as an alias.
b8625cfc
RM
12144 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12145 Define mkostemps64 as an alias.
cd97c966
RM
12146 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12147 Conditionalize body on this.
12148 * misc/mkostemp64.c: Likewise.
b8625cfc 12149 * misc/mkostemps64.c: Likewise.
3f55550c 12150 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12151 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12152 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12153 * sysdeps/wordsize-64/mkostemp.c: File removed.
12154 * sysdeps/wordsize-64/mkstemp.c: File removed.
12155 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12156 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12157 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12158 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12159
09c0ee5f
RM
12160 [BZ #14138]
12161 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12162 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12163 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12164 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12165
12166 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12167 compat_symbol macros from <shlib-compat.h> rather than the underlying
12168 default_symbol_version and symbol_version macros, so that DEFAULT
12169 lines in shlib-versions are respected.
12170 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12171
7e66ee51
FW
121722012-08-01 Florian Weimer <fweimer@redhat.com>
12173
12174 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12175 Declare with warn_unused_result.
12176 (setgid, setregid, setegid, setresgid): Likewise.
12177 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12178 Likewise.
12179 * WUR-REPORT: Remove set*id functions.
12180
d2a54255
PT
121812012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12182
12183 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12184
7ecdb005
RM
121852012-07-31 Roland McGrath <roland@hack.frob.com>
12186
b4180a5e 12187 [BZ #10191]
789bd351
RM
12188 * include/sys/socket.h (__libc_accept, __libc_accept4):
12189 Add attribute_hidden.
12190 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12191
40ce302d
RM
12192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12193 use of PTR_MANGLE.
12194 * inet/getnetgrent_r.c (setup): Likewise.
12195
7ecdb005
RM
12196 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12197
e2eabb2c
DM
121982012-07-31 David S. Miller <davem@davemloft.net>
12199
12200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12201
d0419dbf
JM
122022012-07-31 Joseph Myers <joseph@codesourcery.com>
12203
12204 [BZ #13629]
12205 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12206 value between 1.0 and 2.0 and smaller part has absolute value less
12207 than 1.0.
12208 * math/s_clog10.c (__clog10): Likewise.
12209 * math/s_clog10f.c (__clog10f): Likewise.
12210 * math/s_clog10l.c (__clog10l): Likewise.
12211 * math/s_clogf.c (__clogf): Likewise.
12212 * math/s_clogl.c (__clogl): Likewise.
12213 * math/libm-test.inc (clog_test): Add more tests.
12214 (clog10_test): Likewise.
12215 * sysdeps/i386/fpu/libm-test-ulps: Update.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217
2bc13872
FW
122182012-07-31 Florian Weimer <fweimer@redhat.com>
12219
12220 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12221 Exit with zero in case no suitable GID is found, and write a
12222 message to standard error.
12223
bea9b193
RM
122242012-07-30 Roland McGrath <roland@hack.frob.com>
12225
12226 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12227 rather than to 1.
12228 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12229 (MAXPATHLEN): Removed.
12230 (NOGROUP, NODEV): New macros.
12231 (setbit, clrbit, isset, isclr): New macros.
12232 (howmany, roundup, powerof2): New macros.
12233 (DEV_BSIZE): New macro.
12234
12235 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12236 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12237
12238 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12239 definition on [!__NO_LONG_DOUBLE_MATH].
12240
12241 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12242 PTR_MANGLE and PTR_DEMANGLE.
12243
12244 * socket/accept4.c (accept4): Rename to __libc_accept4.
12245 Define accept4 as a weak alias.
12246
12247 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12248 on [_DIRENT_HAVE_D_TYPE].
12249 * io/ftw.c (ftw_dir): Likewise.
12250
12251 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12252
12253 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12254
12255 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12256 Use the BSD numbers rather than the arbitrary ones we had.
12257 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12258 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12259 (SIGXCPU, SIGXFSZ): New macros.
12260 (_NSIG): Now 32.
12261
12262 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12263 initializer on [_LIBC_REENTRANT].
12264
12265 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12266 definitions inside [_POSIX_MAPPED_FILES].
12267
12268 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12269
12270 * dirent/opendir.c: Include <fcntl.h>.
12271
12272 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12273 (__libc_getspecific): Likewise.
12274 (__libc_key_create): Likewise.
12275
12276 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12277 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12278 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12279 (tmpfile64): Define as alias.
12280 * sysdeps/wordsize-64/tmpfile.c: File removed.
12281 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12282 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12284
12285 * stdio-common/vfscanf.c: Include <stdbool.h>.
12286 * nss/makedb.c: Likewise.
12287 * stdio-common/_i18n_number.h: Likewise.
12288 * argp/argp-help.c: Likewise.
12289 * posix/wordexp.c: Likewise.
12290 * sysdeps/posix/spawni.c: Likewise.
12291 * nss/nss_files/files-initgroups.c: Likewise.
12292 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12293 * nss/nss_files/files-initgroups.c: Likewise.
12294 * nss/nss_db/db-netgrp.c: Likewise.
12295 * nss/nss_db/db-initgroups.c: Likewise.
12296 * io/fchmodat.c: Include <sys/stat.h>.
12297
12298 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12299 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12300
12301 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12302 [HAVE_MMAP].
12303
12304 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12305 Add multiple inclusion protection.
12306
e5abc686
DM
123072012-07-27 David S. Miller <davem@davemloft.net>
12308
12309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12310
815e6fa3
GB
123112012-07-27 Gary Benson <gbenson@redhat.com>
12312
12313 [BZ #14298]
12314 * elf/rtld.c: Include <stap-probe.h>.
12315 (dl_main): Added static probes "init_start" and "init_complete".
12316 * elf/dl-load.c: Include <stap-probe.h>.
12317 (lose): Take new parameter "nsid".
12318 Added static probe "map_failed".
12319 (_dl_map_object_from_fd): Pass namespace id to lose.
12320 Added static probe "map_start".
12321 (open_verify): Pass namespace id to lose.
12322 * elf/dl-open.c: Include <stap-probe.h>.
12323 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12324 and "reloc_complete".
12325 * elf/dl-close.c: Include <stap-probe.h>.
12326 (_dl_close_worker): Added static probes "unmap_start" and
12327 "unmap_complete".
12328 * elf/rtld-debugger-interface.txt: New file documenting the above.
12329
9f98c16c
RM
123302012-07-26 Roland McGrath <roland@hack.frob.com>
12331
12332 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12333 rather than a string variable.
12334 * sunrpc/rpc_main.c (h_output): Likewise.
12335 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12336
f3c22df3
PT
123372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12338
12339 * inet/check_native.c: New file.
12340
3129cfc6
JM
123412012-07-26 Joseph Myers <joseph@codesourcery.com>
12342
da865e95
JM
12343 [BZ #13629]
12344 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12345 if larger part has absolute value 1.0.
12346 * math/s_clog10.c (__clog10): Likewise.
12347 * math/s_clog10f.c (__clog10f): Likewise.
12348 * math/s_clog10l.c (__clog10l): Likewise.
12349 * math/s_clogf.c (__clogf): Likewise.
12350 * math/s_clogl.c (__clogl): Likewise.
12351 * math/libm-test.inc (clog_test): Add more tests.
12352 (clog10_test): Likewise.
12353 * sysdeps/i386/fpu/libm-test-ulps: Update.
12354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12355
3129cfc6
JM
12356 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12357 (pltexit): Likewise.
12358 (La_regs): Likewise.
12359 (La_retval): Likewise.
12360 (int_retval): Likewise.
12361 Update #error for removed macros to refer only to definitions in
12362 tst-audit.h.
12363 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12364 macro.
12365 (pltexit): Likewise.
12366 (La_regs): Likewise.
12367 (La_retval): Likewise.
12368 (int_retval): Likewise.
12369 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12370 macro.
12371 (pltexit): Likewise.
12372 (La_regs): Likewise.
12373 (La_retval): Likewise.
12374 (int_retval): Likewise.
12375 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12376 macro.
12377 (pltexit): Likewise.
12378 (La_regs): Likewise.
12379 (La_retval): Likewise.
12380 (int_retval): Likewise.
12381 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12382 macro.
12383 (pltexit): Likewise.
12384 (La_regs): Likewise.
12385 (La_retval): Likewise.
12386 (int_retval): Likewise.
12387 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12388 macro.
12389 (pltexit): Likewise.
12390 (La_regs): Likewise.
12391 (La_retval): Likewise.
12392 (int_retval): Likewise.
12393 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12394 macro.
12395 (pltexit): Likewise.
12396 (La_regs): Likewise.
12397 (La_retval): Likewise.
12398 (int_retval): Likewise.
12399 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12400 macro definitions in tst-audit.h.
12401 * sysdeps/i386/tst-audit.h: New file.
12402 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12403 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12404 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12405 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12406 * sysdeps/sh/tst-audit.h: Likewise.
12407 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12408 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12409 * sysdeps/x86_64/tst-audit.h: Likewise.
12410
bfc07087
AJ
124112012-07-26 Andreas Jaeger <aj@suse.de>
12412
b1b2aaf8
AJ
12413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12414 ptrace.
12415
12416 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12417 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12418 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12419 PTRACE_O_MASK.
12420 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12423
bfc07087
AJ
12424 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12425 value.
12426
12427 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12428 _sigsys.
12429 (si_call_addr, si_syscall, si_arch): Define new macro.
12430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12431 _sigsys.
12432 (si_call_addr, si_syscall, si_arch): Define new marcro.
12433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12434 _sigsys.
12435 (si_call_addr, si_syscall, si_arch): Define new macro.
12436 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12437 _sigsys.
12438 (si_call_addr, si_syscall, si_arch): Define new macro.
12439
89b4b02f
JM
124402012-07-25 Joseph Myers <joseph@codesourcery.com>
12441
12442 [BZ #13717]
12443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12444 Change to 2.4.21 where previously 2.4.1.
12445 * sysdeps/unix/sysv/linux/configure: Regenerated.
12446 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12447 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12448 Linux kernel version.
12449 (__ASSUME_STD_AUXV): Remove.
12450 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12451 kernel version.
12452 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12453 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12454 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12455 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12456 (__ASSUME_NETLINK_SUPPORT): Likewise.
12457 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12458 (__no_netlink_support): Remove conditional definition.
12459 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12460 Remove.
12461 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12462 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12463 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12464 (if_nameindex_ioctl): Remove.
12465 (if_nameindex_netlink): Do not handle __no_netlink_support.
12466 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12467 code.
12468 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12469 Remove conditional code.
12470 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12471 code.
12472 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12473 unconditional.
12474 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12475 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12476 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12477 Remove.
12478 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12479 [!__ASSUME_STD_AUXV]: Remove conditional code.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12481 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12482 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12484 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12485 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12486 code.
12487 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12489 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12490 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12491 conditional code.
12492 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12494 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12495 code.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12497 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12498 conditional code.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12500 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12501 code unconditional.
12502 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12503 conditional code.
12504 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12505 unconditional.
12506 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12507 conditional code.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12509 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12510 unconditional.
12511 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12512 conditional code.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12514 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12515 code unconditional.
12516 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12517 conditional code.
12518 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12519 unconditional.
12520 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12521 conditional code.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12523 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12524 code unconditional.
12525 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12526 conditional code.
12527 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12528 unconditional.
12529 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12530 conditional code.
12531
842a39cd
AS
125322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12533
12534 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12535 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12536 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12537 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12538 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12539 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12540 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12541 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12542 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12543 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12544 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12545 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12546 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12547 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12549 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12550 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12552 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12555 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12557
84b3fd84
FW
125582012-07-25 Florian Weimer <fweimer@redhat.com>
12559
12560 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
12561 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12562 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12563 Introduce __libc_secure_getenv.
0c7936d5
FW
12564 * stdlib/Versions (2.17): Add secure_getenv
12565 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12566 * stdlib/secure-getenv.c: Rename __secure_getenv to
12567 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12568 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
12569 * stdlib/tst-secure-getenv.c: New.
12570 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
12571 * manual/startup.texi (Environment Access): Document
12572 secure_getenv.
84b3fd84
FW
12573 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12574 __libc_secure_getenv.
12575 * inet/ruserpass.c (ruserpass): Likewise.
12576 * malloc/mtrace.c (mtrace): Likewise.
12577 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 12578 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
12579 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12580 * sysdeps/posix/tempname.c: Likewise. Evaluate
12581 HAVE_SECURE_GETENV.
12582 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 12583 __secure_getenv to __libc_secure_getenv.
84b3fd84 12584 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12586 Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12588 Likewise.
12589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 12596
56e49b71
JM
125972012-07-25 Joseph Myers <joseph@codesourcery.com>
12598
12599 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12600 (struct La_i86_retval): Likewise.
12601 (struct La_x86_64_regs): Likewise.
12602 (struct La_x86_64_retval): Likewise.
12603 (struct La_x32_regs): Likewise.
12604 (struct La_x32_retval): Likewise.
12605 (struct La_ppc32_regs): Likewise.
12606 (struct La_ppc32_retval): Likewise.
12607 (struct La_ppc64_regs): Likewise.
12608 (struct La_ppc64_retval): Likewise.
12609 (struct La_sh_regs): Likewise.
12610 (struct La_sh_retval): Likewise.
12611 (struct La_s390_32_regs): Likewise.
12612 (struct La_s390_32_retval): Likewise.
12613 (struct La_s390_64_regs): Likewise.
12614 (struct La_s390_64_retval): Likewise.
12615 (struct La_sparc32_regs): Likewise.
12616 (struct La_sparc32_retval): Likewise.
12617 (struct La_sparc64_regs): Likewise.
12618 (struct La_sparc64_retval): Likewise.
12619 (struct audit_ifaces): Remove architecture-specific pltenter and
12620 pltexit members.
12621 * sysdeps/i386/ldsodefs.h: New file.
12622 * sysdeps/powerpc/ldsodefs.h: Likewise.
12623 * sysdeps/s390/ldsodefs.h: Likewise.
12624 * sysdeps/sh/ldsodefs.h: Likewise.
12625 * sysdeps/sparc/ldsodefs.h: Likewise.
12626 * sysdeps/x86_64/ldsodefs.h: Likewise.
12627
354691b7
MP
126282012-07-25 Marek Polacek <polacek@redhat.com>
12629
12630 [BZ #6808]
12631 * math/libm-test.inc (yn_test): Add another test.
12632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12633 to ERANGE when the result is +-Inf.
12634 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12635 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12636 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12637 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12638
bf9e2071
JM
126392012-07-24 Joseph Myers <joseph@codesourcery.com>
12640
12641 * conform/data/time.h-data (NULL): Use macro-constant. Require
12642 equal to 0.
12643 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12644 clock_t.
12645 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12646
57633811
TS
126472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12648
12649 * configure.in <sysdeps resolving>: Correct printing
12650 Implies_before.
12651 * configure: Regenerate.
12652
c23c33b0
TS
126532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12654
12655 * math/w_ilogb.c: Include <limits.h>.
12656 * math/w_ilogbl.c: Likewise.
12657
b5982523
JM
126582012-07-20 Joseph Myers <joseph@codesourcery.com>
12659
12660 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12661 va_copy. Document allowing for unavailable va_copy only as
12662 pre-C99 compatibility.
12663 * manual/string.texi (Copying and Concatenation): Use va_copy
12664 instead of __va_copy in concat example.
12665
ac4ea442
PT
126662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12667
12668 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12669 (__sendto): Use create_address_port. Initialize APORT and deallocate
12670 it if not null.
12671
f98eafbd
PT
12672 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12673 with O_NOLINK passed to __file_name_lookup.
12674
898c7aab
PT
12675 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12676 with O_NOLINK passed to __file_name_lookup.
12677
0ced335a
PT
12678 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12679 negative N or less than NGIDS.
12680
b3404dbd
PT
12681 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12682 type to string_t. Set ERANGE as errno and return it if NAME is not big
12683 enough. Use memcpy instead of strncpy.
12684
0f48659e
JM
126852012-07-20 Joseph Myers <joseph@codesourcery.com>
12686
12687 * elf/Makefile (check-data): Remove.
12688 (localplt.data): New vpath directive.
12689 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12690 instead of $(check-data).
12691 * scripts/data/localplt-generic.data: Move to ...
12692 * sysdeps/generic/localplt.data: ... here.
12693 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12694 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12695 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12697 ... here.
12698 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12700 ... here.
12701 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12703 ... here.
12704 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12706 ... here.
12707 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12709 ... here.
12710 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12712 ... here.
12713
d37cbdaa
AZ
127142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12715
12716 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12717 PPC32 and PPC64 files.
12718 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12719 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12720
46f85fc2
AK
127212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12722
12723 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12724 __makecontext_ret to ...
12725 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12726 ... here and call exit if uc_link is NULL. New file.
12727 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12728 __makecontext_ret.S.
12729 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12730 __makecontext_ret to ...
12731 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12732 ... here and call exit if uc_link is NULL. New file.
12733 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12734 __makecontext_ret.S.
12735
08f43f9b
AK
127362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12737
12738 * elf/elf.h (R_390_IRELATIVE): New definition.
12739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12740 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12741 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12743 (elf_machine_lazy_rel): Likewise.
12744 * sysdeps/s390/dl-irel.h: New file.
12745 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12746 * sysdeps/s390/s390-64/memset.S: New asm code.
12747 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12748 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12749 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12750 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12751 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12752 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12753 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12754 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12755 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12756 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12757 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12758 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12759 * sysdeps/s390/s390-32/memset.S: New asm code.
12760 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12761
3b05db33
MP
127622012-07-17 Marek Polacek <polacek@redhat.com>
12763
12764 [BZ #14349]
12765 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12766 * sysdeps/s390/s390-64/configure.in: Likewise.
12767 * sysdeps/sparc/configure.in: Likewise.
12768 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12769 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12770 * sysdeps/i386/configure.in: Likewise.
12771 * sysdeps/x86_64/configure.in: Likewise.
12772 * sysdeps/sh/configure.in: Likewise.
12773 * sysdeps/s390/s390-32/configure: Regenerated.
12774 * sysdeps/s390/s390-64/configure: Likewise.
12775 * sysdeps/x86_64/configure: Likewise.
12776 * sysdeps/sh/configure: Likewise.
12777 * sysdeps/powerpc/powerpc64/configure: Likewise.
12778 * sysdeps/powerpc/powerpc32/configure: Likewise.
12779 * sysdeps/sparc/configure: Likwise.
12780 * sysdeps/i386/configure: Likewise.
12781
a66877c6
MP
12782 * elf/dl-open.c: Comment fixes.
12783
cfc82fd8
JM
127842012-07-17 Joseph Myers <joseph@codesourcery.com>
12785
bd29910a
JM
12786 * Makefile [CXX] (check-data): Remove.
12787 [CXX] (c++-types.data): New vpath directive.
12788 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12789 vpath. Do not allow for C++ type data being missing.
12790 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12791 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12792 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12793 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12794 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12795 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12796 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12798 ... here.
12799 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12801 ... here.
12802 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12804 ... here.
12805 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12807 ... here.
12808 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12810 ... here.
12811 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12813 ... here.
12814 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12816 ... here.
12817 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12819
cfc82fd8
JM
12820 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12821 definitions to architecture-specific files.
12822 (TLS_IE): Likewise.
12823 (TLS_LD): Likewise.
12824 (TLS_GD): Likewise.
12825 * sysdeps/i386/tls-macros.h: New file.
12826 * sysdeps/powerpc/tls-macros.h: Likewise.
12827 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12828 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12829 * sysdeps/sh/tls-macros.h: Likewise.
12830 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12831 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12832 * sysdeps/x86_64/tls-macros.h: Likewise.
12833
f7db3170
TS
128342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12835
07cbfc23
TS
12836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12837 zero value for regular exit case.
12838
f7db3170
TS
12839 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12840 (__start_context): Preserve zero value for regular exit case.
12841
dc97c227
TS
128422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12843 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12844
12845 * manual/setjmp.texi (setcontext): Clarify normal process
12846 termination when uc_link is the null pointer.
12847 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12848 exit call.
12849
d0cd7d02
AS
128502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12851
12852 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12853 preprocessor. Test for each exception mask separately.
12854
dd318934
AJ
128552012-07-16 Andreas Jaeger <aj@suse.de>
12856
12857 * po/ru.po: Update from translation team.
12858
8048311a
JM
128592012-07-15 Joseph Myers <joseph@codesourcery.com>
12860
12861 * conform/data/string.h-data (NULL): Use macro-constant. Require
12862 equal to 0.
12863 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12864 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12865 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12866 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12868
b637d46e
AJ
128692012-07-13 Andreas Jaeger <aj@suse.de>
12870
12871 * po/fr.po: Update from translation team.
12872
541428fe
MP
128732012-07-12 Marek Polacek <polacek@redhat.com>
12874
12875 [BZ #14173]
12876 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12877 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12878 loop condition.
12879
ec332e94
JM
128802012-07-12 Joseph Myers <joseph@codesourcery.com>
12881
12882 [BZ #13717]
12883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12884 Change to 2.4.1 where previously 2.4.0.
12885 * sysdeps/unix/sysv/linux/configure: Regenerated.
12886 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12887 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12888 version.
12889 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12890 (__ASSUME_AT_CLKTCK): Remove.
12891 (__ASSUME_AT_PAGESIZE): Likewise.
12892 (__ASSUME_AT_XID): Likewise.
12893 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12894 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12895 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12896 unconditionally.
12897 (HAVE_AUX_PAGESIZE): Likewise.
12898 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12899 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12900 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12901
7b6e99be
JB
129022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12903
12904 [BZ #14307]
12905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12906 the temporary buffer used to invoke __gethostbyname2_r,
12907 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12908 host_data / struct gaih_addrtuple.
12909 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12910 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12911 header file nss/nsswitch.h.
12912 * nss/nsswitch.h (global scope): Add definition of implementation
12913 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12914 resolv/nss_dns/dns-host.c).
12915
608404eb
AJ
129162012-07-11 Andreas Jaeger <aj@suse.de>
12917
12918 * po/fr.po: Update from translation team.
12919
71220aca
AJ
12920 * po/sv.po: Update from translation team
12921 * po/fr.po: Another update from translation team.
12922
28cfe843
AZ
129232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12924
12925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12926 for subnormals or multiply small sinh result by itself.
12927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12929
6b90f981
DM
129302012-07-11 David S. Miller <davem@davemloft.net>
12931
12932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12933
c6825772
AS
129342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12935
12936 [BZ #14347]
12937 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12938 (INTERNAL_MARK): Shift it here.
12939
7b8e0d49
MP
129402012-07-10 Marek Polacek <polacek@redhat.com>
12941
12942 [BZ #14151]
12943 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12944 libc_cv_asm_global_directive with .globl.
12945 * configure: Regenerated.
12946 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12947 with .globl.
12948 * sysdeps/i386/configure: Regenerated.
12949 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12950 with .globl.
12951 * sysdeps/x86_64/configure: Regenerated.
12952 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12953 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12954 * elf/tst-unique2mod2.c: Likewise.
12955 * elf/tst-unique2mod1.c: Likewise.
12956 * elf/tst-unique1mod2.c: Likewise.
12957 * elf/tst-unique1mod1.c: Likewise.
12958 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12959 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12962 * sysdeps/mach/sysdep.h: Likewise.
12963 * sysdeps/i386/sysdep.h: Likewise.
12964 * sysdeps/i386/i386-mcount.S: Likewise.
12965 * sysdeps/x86_64/_mcount.S: Likewise.
12966 * sysdeps/x86_64/sysdep.h: Likewise.
12967 * sysdeps/sh/_mcount.S: Likewise.
12968 * sysdeps/sh/sysdep.h: Likewise.
12969 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12970 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12971 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12972 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12973 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12974 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12975 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12976 * locale/localeinfo.h: Likewise.
12977 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12978 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12979
6c55cda3
RM
129802012-07-09 Roland McGrath <roland@hack.frob.com>
12981
12982 [BZ #14336]
12983 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12984 system".
12985 * manual/message.texi (The Uniforum approach): Likewise.
12986 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12987 (glibc iconv Implementation): Likewise.
12988
638a572e
JM
129892012-07-09 Joseph Myers <joseph@codesourcery.com>
12990
12991 [BZ #14337]
12992 * math/s_clog.c (__clog): Avoid scaling a value down where that
12993 could result in underflow.
12994 * math/s_clog10.c (__clog10): Likewise.
12995 * math/s_clog10f.c (__clog10f): Likewise.
12996 * math/s_clog10l.c (__clog10l): Likewise.
12997 * math/s_clogf.c (__clogf): Likewise.
12998 * math/s_clogl.c (__clogl): Likewise.
12999 * math/libm-test.inc (clog_test): Add more tests.
13000 (clog10_test): Likewise.
13001 * sysdeps/i386/fpu/libm-test-ulps: Update.
13002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13003
261f4859
AS
130042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13005
0abaf3e4
AS
13006 [BZ #14283]
13007 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13008 by 7 not 8 to examine high bit of fractional part.
13009
261f4859
AS
13010 [BZ #14042]
13011 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13012 for call to __mcount_internal.
13013 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13014 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13015 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13016
f17ac40d
JM
130172012-07-06 Joseph Myers <joseph@codesourcery.com>
13018
9ad63c23
JM
13019 [BZ #14154]
13020 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13021 approximation for values within 0x1p-13f of an odd multiple of
13022 pi/4.
13023 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13024 exception. Add more tests.
13025 * sysdeps/i386/fpu/libm-test-ulps: Update.
13026
f17ac40d
JM
13027 [BZ #6778]
13028 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13029 inputs and return -1 for them. Do not check for +Inf in case not
13030 reachable for +Inf.
13031 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13032 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13034 and return -1 for them. Do not check for +Inf in case not
13035 reachable for +Inf.
13036 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13037 define.
13038 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13039 and return -1 for them. Do not check for +Inf in case not
13040 reachable for +Inf.
13041 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13042 spurious underflow.
13043 * sysdeps/i386/fpu/libm-test-ulps: Update.
13044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13045
fb21f89b
MF
130462012-07-06 Mike Frysinger <vapier@gentoo.org>
13047
13048 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13049
cdfe2c5e
JM
130502012-07-05 Joseph Myers <joseph@codesourcery.com>
13051
13052 [BZ #14157]
13053 [BZ #14331]
13054 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13055 could result in spurious underflow. Scale down values above
13056 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13057 * math/s_csqrtf.c (__csqrtf): Likewise.
13058 * math/s_csqrtl.c (__csqrtl): Likewise.
13059 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13060 spurious underflow.
13061 * sysdeps/i386/fpu/libm-test-ulps: Update.
13062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063
70d35b67
AS
130642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13065
704bc459
AS
13066 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13067 xopen-msg.sed.
13068 * catgets/xopen-msg.awk: New file.
13069 * catgets/xopen-msg.sed: Removed.
13070
70d35b67
AS
13071 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13072 po2text.sed.
13073 * intl/po2test.awk: New file.
13074 * intl/po2test.sed: Removed.
13075
ca61cf32
JM
130762012-07-04 Joseph Myers <joseph@codesourcery.com>
13077
13078 [BZ #14328]
13079 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13080 or multiply small sinh result by itself.
13081 * math/s_ctanf.c (__ctanf): Likewise.
13082 * math/s_ctanh.c (__ctanh): Likewise.
13083 * math/s_ctanhf.c (__ctanhf): Likewise.
13084 * math/s_ctanhl.c (__ctanhl): Likewise.
13085 * math/s_ctanl.c (__ctanl): Likewise.
13086 * math/libm-test.inc (ctan_test_tonearest): New function.
13087 (ctan_test_towardzero): Likewise.
13088 (ctan_test_downward): Likewise.
13089 (ctan_test_upward): Likewise.
13090 (ctanh_test_tonearest): Likewise.
13091 (ctanh_test_towardzero): Likewise.
13092 (ctanh_test_downward): Likewise.
13093 (ctanh_test_upward): Likewise.
13094 (main): Call these new functions.
13095 * sysdeps/i386/fpu/libm-test-ulps: Update.
13096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13097
ca48a46a
MF
130982012-07-03 Mike Frysinger <vapier@gentoo.org>
13099
13100 * .gitignore: Delete /ports entry.
13101
9d63d37d
AJ
131022012-07-03 Andreas Jaeger <aj@suse.de>
13103
13104 * po/bg.po: Update from translation team.
13105 * po/cs.po: Likewise.
13106 * po/de.po: Likewise.
13107 * po/hr.po: Likewise.
13108 * po/nl.pl: Likewise.
13109 * po/pl.po: Likewise.
13110 * po/vi.po: Likewise.
13111
370ca3d2
JM
131122012-07-03 Joseph Myers <joseph@codesourcery.com>
13113
95f5a9a8
JM
13114 * Makeconfig [!+link] (+link-before-libc): New variable.
13115 [!+link] (+link-after-libc): Likewise.
13116 [!+link] (+link-tests): Likewise.
13117 [!+link] (+link): Define in terms of $(+link-before-libc) and
13118 $(+link-after-libc).
13119 [!+link-static] (+link-static-before-libc): New variable.
13120 [!+link-static] (+link-static-after-libc): Likewise.
13121 [!+link-static] (+link-static-tests): Likewise.
13122 [!+link-static] (+link-static): Define in terms of
13123 $(+link-static-before-libc) and $(+link-static-after-libc).
13124 [build-shared] (link-libc-before-gnulib): New variable.
13125 [build-shared] (link-libc-tests): Likewise.
13126 [build-shared] (link-libc): Define in terms of
13127 $(link-libc-before-gnulib).
13128 [!build-shared] (link-libc-tests): New variable.
13129 (link-libc-static-tests): New variable.
13130 [!gnulib] (gnulib-arch): New variable.
13131 [!gnulib] (gnulib-tests): Likewise.
13132 [!gnulib] (static-gnulib-arch): Likewise.
13133 [!gnulib] (static-gnulib-tests): Likewise.
13134 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13135 Define with "=" instead of ":=".
13136 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13137 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13138 * Rules (binaries-all-notests): New variable.
13139 (binaries-all-tests): Likewise.
13140 (binaries-static-notests): Likewise.
13141 (binaries-static-tests): Likewise.
13142 (binaries-all): Define using $(binaries-all-notests) and
13143 $(binaries-all-tests).
13144 (binaries-static): Define using $(binaries-static-notests) and
13145 $(binaries-static-tests).
13146 (binaries-shared-tests): New variable.
13147 (binaries-shared-notests): Likewise.
13148 (binaries-shared): Remove variable.
13149 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13150 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13151 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13152 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13153 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13154 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13155 * elf/Makefile (sln-modules): New variable.
13156 (extra-objs): Add $(sln-modules:=.o).
13157 (ldconfig-modules): Add static-stubs.
13158 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13159 * elf/static-stubs.c: New file.
13160
7a845b2c
JM
13161 [BZ #14283]
13162 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13163 by 7 not 8 to examine high bit of fractional part. Use volatile
13164 variables when splitting into final array of floats if
13165 __FLT_EVAL_METHOD__ != 0.
13166 * math/libm-test.inc (cos_test): Add another test.
13167 (sin_test): Likewise.
13168 * sysdeps/i386/fpu/libm-test-ulps: Update.
13169
e2283f38
JM
13170 [BZ #14273]
13171 * math/libm-test.inc (cosh_test): Add more tests.
13172
370ca3d2
JM
13173 * version.h (RELEASE): Set to "development".
13174 (VERSION): Set to "2.16.90".
13175
ee9247c3
CD
131762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13177
13178 * NEWS: Update copyright. Remove last-updated date.
13179 Mention math library bug fixes and timezone data changes.
13180 * README: Mention GNU/Hurd, x32, and HPPA support status.
13181
4648c381
TS
131822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13183
13184 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13185
aac78a43
AJ
131862012-06-27 Andreas Jaeger <aj@suse.de>
13187
13188 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13189
ed3dbfad
AJ
131902012-06-25 Andreas Jaeger <aj@suse.de>
13191
13192 * sysdeps/s390/fpu/libm-test-ulps: Update.
13193
4d0ee855
AS
131942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13195 Thomas Schwinge <thomas@codesourcery.com>
13196
13197 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13198 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13200 fanotify_mark.
13201
af1bce34
TS
132022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13203
a9fa33ba
TS
13204 * sysdeps/mach/start.c: Remove file.
13205 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13206 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13207 * sysdeps/sh/init-first.c: Likewise.
13208
58f902b8
TS
13209 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13210 registers for frame unwinding purposes, add CFI directives.
13211 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13213 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13214 Likewise.
13215
1518f58b
TS
13216 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13217 __fortify_fail returning.
13218 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13219
db9b5059
TS
13220 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13221 sysdeps/sh/____longjmp_chk.S.
13222 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13223 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13224 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13225 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13226
967705fe
TS
13227 * sysdeps/sh/abort-instr.h: New file.
13228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13229 process in case exit returns.
13230
a9def8c4
TS
13231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13232 initialize the GOT register before use.
13233
2a649725
TS
13234 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13235 calculation of ARGC > 4.
13236
af1bce34
TS
13237 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13238 meaningful names to some local labels.
13239
d230f50a
KK
132402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13241 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13242
13243 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13244 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13245 (__arch_compare_and_exchange_val_16_acq): Likewise.
13246 (__arch_compare_and_exchange_val_32_acq): Likewise.
13247 (atomic_exchange_and_add): Fix gUSA sequence.
13248 (atomic_add): Likewise.
13249 (atomic_add_negative): Likewise.
13250 (atomic_add_zero): Likewise.
13251 (atomic_bit_test_set): Likewise.
13252
0479b305
AS
132532012-06-22 Andreas Schwab <schwab@redhat.com>
13254
13255 [BZ #13579]
13256 * include/link.h (struct link_map): Add l_free_initfini.
13257 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13258 l_initfini.
13259 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13260 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13261 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13262 set.
13263
0e3933b9
CD
132642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13265
13266 * configure.in: Use AC_LANG_SOURCE.
13267 * configure: Regenerate.
13268
4248b1b1
RM
132692012-06-22 Roland McGrath <roland@hack.frob.com>
13270
13271 * configure.in (libc_cv_localstatedir): New substituted variable.
13272 * configure: Regenerated.
13273 * config.make.in (localstatedir): New variable, substituted from
13274 libc_cv_localstatedir.
13275 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13276 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13277 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13278 * sysdeps/gnu/configure: Regenerated.
13279
006dd861
JL
132802012-06-21 Jeff Law <law@redhat.com>
13281
13282 [BZ #14277]
13283 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13284 free. Simplify list management for _LIBC case.
13285
79662d42
JM
132862012-06-21 Joseph Myers <joseph@codesourcery.com>
13287
b7abb4bf
JM
13288 [BZ #14273]
13289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13290 Clear sign bit of 64-bit integer value before comparing against
13291 overflow value.
13292
79662d42
JM
13293 * sysdeps/mach/configure: Regenerated.
13294
1f150908
L
132952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13296
13297 [BZ #14278]
13298 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13299
28363bbf
JL
133002012-06-21 Jeff Law <law@redhat.com>
13301
13302 [BZ #13882]
13303 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13304 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13306 * elf/dl-open.c (dl_open_worker): Likewise.
13307
09615db4
CD
133082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13309
13310 * scripts/list-sources.sh: Scan PORTS for translations.
13311 * po/libc.pot: Regenerated.
13312
2174c6dd
AJ
133132012-06-21 Andreas Jaeger <aj@suse.de>
13314
13315 [BZ #12194]
13316 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13317 warning.
13318 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13319 * bits/byteswap-16.h (__bswap_16): Likewise.
13320 * bits/byteswap.h (__bswap_constant_16): Likewise.
13321
3ee947b1
L
133222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13323
13324 [BZ #14117]
a2f34833
L
13325 * sysdeps/i386/fpu_control.h: Removed.
13326 * sysdeps/x86_64/fpu_control.h: Moved to ...
13327 * sysdeps/x86/fpu_control.h: Here.
13328
3ee947b1
L
13329 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13330 (_FPU_SETCW): Likewise.
13331
ed1825f8
L
133322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13333
25f1282a
L
13334 [BZ #14117]
13335 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13336 * sysdeps/x86/fpu/bits/mathinline.h: This.
13337 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13338
ed1825f8
L
13339 [BZ #14050]
13340 [BZ #14117]
13341 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13342 functions if __x86_64__ is defined.
13343
36d54b74
CLT
133442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13345
13346 * string/endian.h: Add !__ASSEMBLER__ condition for including
13347 conversion interfaces.
13348
10285c21
JM
133492012-06-15 Joseph Myers <joseph@codesourcery.com>
13350
13351 [BZ #14241]
13352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13353 of ABS(x) in calculating zero to negative powers other than odd
13354 integers.
13355 * math/libm-test.inc (pow_test): Add more tests.
13356
06c5abbd
AJ
133572012-06-15 Andreas Jaeger <aj@suse.de>
13358
13359 * manual/contrib.texi (Contributors): Update entry of Liubov
13360 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13361 Machado Filho.
13362
a3aeac40
CH
133632012-06-15 Cyril Hrubis <metan@ucw.cz>
13364
13365 * string/string.h: Add __wur to GNU version of strerror_r.
13366
49bdf4c1
L
133672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13368
13369 [BZ #14229]
13370 * string/Makefile (tests): Add tst-strtok_r.
13371 * string/tst-strtok_r.c: New file.
13372 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13373 RAX_LP/RDX_LP on SAVE_PTR.
13374
834f9b8d
RM
133752012-06-14 Roland McGrath <roland@hack.frob.com>
13376
13377 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13378
75fa1921
JM
133792012-06-14 Joseph Myers <joseph@codesourcery.com>
13380
13381 * libm_test.inc (csqrt_test): Allow more spurious underflow
13382 exceptions.
13383 (j0_test): Likewise.
13384 (j1_test): Likewise.
13385 (y0_test): Likewise.
13386 (y1_test): Likewise.
13387
771766df
CD
133882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13389
13390 * po/Makefile (libc.pot): Use UTF-8 charset.
13391
ceb9e56b
PP
133922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13393
13394 [BZ #14210]
13395 Suppress sign-conversion warning from FD_SET.
13396 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13397 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13398 not unsigned long int.
13399 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13400
ddb28975
L
134012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13402
13403 [BZ #14050]
13404 [BZ #14117]
13405 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13406 __extern_always_inline instead of __extern_inline.
13407 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13408 (__signbit): Likewise.
13409 (__signbitl): Support C++ namespace.
13410 (lrintf): New inline function.
13411 (lrint): Likewise.
13412 (llrintf): Likewise.
13413 (llrint): Likewise.
13414 (fmaxf): Likewise.
13415 (fmax): Likewise.
13416 (fminf): Likewise.
13417 (fmin): Likewise.
13418 (rint): Likewise.
13419 (rintf): Likewise.
13420 (ceil): Likewise.
13421 (ceilf): Likewise.
13422 (floor): Likewise.
13423 (floorf): Likewise.
13424 (nearbyint): Likewise.
13425 (nearbyintf): Likewise.
13426
d7b4fb26
TS
134272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13428
13429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13430 non-default versions.
13431
eb55f5c2
RM
134322012-06-11 Roland McGrath <roland@hack.frob.com>
13433
13434 [BZ #14218]
13435 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13436
366af02c
TS
134372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13438
99ff6e5c
TS
13439 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13440 (FE_UPWARD, FE_DOWNWARD): Don't define.
13441 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13442 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13443
366af02c
TS
13444 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13445 reading it.
13446 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13447 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13448
793ea851
KK
134492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13450
13451 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13453 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13454 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13455
a728a38f
L
134562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13457
13458 [BZ #14117]
c08010c7
L
13459 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13460 * sysdeps/i386/fpu/Implies: New file.
13461 * sysdeps/x86_64/fpu/Implies: Likewise.
13462 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13463 * sysdeps/x86/fpu/bits/fenv.h: This.
13464
a728a38f
L
13465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13466 __SSE_MATH__.
13467
6e230d11
SP
134682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13469
13470 [BZ #14134]
13471 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13472 character 0xffff that matches the last element of the
13473 conversion table.
13474
1b671feb
AZ
134752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13478 fmodl commit.
13479
6043738b
AZ
134802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13481
13482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13483 values higher than 25.6283.
13484
34ae0b32
AZ
134852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13486
13487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13488 subnormal exponent extraction and add some __builtin_expect.
13489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13490 Fix for subnormal mantissa calculation.
13491
1214ec8f
MF
134922012-06-04 Mike Frysinger <vapier@gentoo.org>
13493
13494 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13495 cpu2 is -1 and errno is not ENOSYS.
13496
f3d1f93c
L
134972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13498
13499 [BZ #14117]
0e4a3cd7
L
13500 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13501 * sysdeps/x86/bits/string.h: This.
13502 * sysdeps/x86_64/bits/string.h: Removed.
13503
6704c645
L
13504 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13505 if not compiling for x86-64, but compiling for >= i486.
13506
48495318
L
13507 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13508 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13509
14adcbfc
L
13510 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13511 New macro from Linux kernel 3.4.0.
13512 (FP_XSTATE_MAGIC2): Likewise.
13513 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13514 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13515 (struct _fpx_sw_bytes): New struct.
13516 (struct _xsave_hdr): Likewise.
13517 (struct _ymmh_state): Likewise.
13518 (struct _xstate): Likewise.
13519
68e408ab
L
13520 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13521 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13523 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13524 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13525 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13526
f3d1f93c
L
13527 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13528 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13529 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13530 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13531 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13532 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13533
d9dc34cd
TMQMF
135342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13535
13536 [BZ #13743]
13537 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13538 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13539 (sysdep_headers): Include sys/platform/ppc.h.
13540 * sysdeps/powerpc/test-gettimebase.c: Test for
13541 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13542 * manual/Makefile (appendices): Include platform.texi.
13543 * manual/contrib.texi (Contributors): Update @node pointers.
13544 * manual/maint.texi (Maintenance): Likewise.
13545 (Platform): New node.
13546 * manual/platform.texi: New file. Document the new features.
13547
4af3879c
SP
135482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13549 Jakub Jelinek <jakub@redhat.com>
13550
13551 [BZ #14188]
13552 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13553 where __builtin_expect is unavailable.
13554
2fd6ff13
DM
135552012-06-03 David S. Miller <davem@davemloft.net>
13556
13557 * stdlib/longlong.h: Updated from GCC.
13558
173f7220
AS
135592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13560
13561 [BZ #14042]
13562 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13563 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13564 __mcount_internal.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13566 (GLIBC_2.16): Likewise.
13567
f34a1c6f
L
135682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13569
13570 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13571
88a4576f
JM
135722012-06-01 Joseph Myers <joseph@codesourcery.com>
13573
ea32bcdd
JM
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13575 (default-abi): New variable.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13577 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13578 variable.
13579 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13580 Likewise.
13581 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13582 Likewise.
13583 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13584 Likewise.
13585
88a4576f
JM
13586 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13587 definition. Document in comment.
13588
402fe938
DM
135892012-06-01 David S. Miller <davem@davemloft.net>
13590
13591 * stdlib/longlong.h: Updated from GCC.
13592
3553723f
L
135932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13594
13595 [BZ #14117]
3bd872c4
L
13596 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13597 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13598 sys/debugreg.h sys/io.h here.
13599 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13600 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13601 sys/io.h.
13602 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13603 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13604 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13605 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13606 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13607 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13608
3553723f
L
13609 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13610 Define only if __x86_64__ is defined.
13611
4842e4fe
JM
136122012-06-01 Joseph Myers <joseph@codesourcery.com>
13613
c5bfe3d5
JM
13614 [BZ #14048]
13615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13616 Use int64_t for variable i.
13617 * math/libm-test.inc (fmod_test): Add more tests.
13618
4842e4fe
JM
13619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13620 z computation is not scheduled after fetestexcept.
13621 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13622 Use math_force_eval instead of asm to ensure calculation scheduled
13623 before exception test.
13624 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13625 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13626
efb73488
AJ
136272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13628
13629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13630 computation is not scheduled after fetestexcept.
13631
29bcce7c
L
136322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 [BZ #14117]
13635 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13636 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13637
73a68f94
AZ
136382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13639
13640 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13641 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13642
67b6df78
L
136432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13644
edf2933a 13645 [BZ #14117]
ebc64a18
L
13646 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13647 <bits/wordsize.h>.
13648 (__WCHAR_MIN): Support __WORDSIZE == 64.
13649 (__WCHAR_MAX): Likewise.
13650
edf2933a
L
13651 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13653
57c6cf40
L
13654 [BZ #14183]
13655 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13656 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13657
67b6df78 13658 [BZ #14117]
8eb6281e
L
13659 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13660 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13661
aac639f4
L
13662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13663 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13664
67b6df78
L
13665 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13666 Defined to 1 if __x86_64__ isn't defined.
13667 (_STAT_VER_LINUX_OLD): New.
13668 (st_atime): Remove duplicate.
13669 (st_mtime): Likewise.
13670 (st_ctime): Likewise.
13671
1c2cfe81
DM
136722012-05-31 David S. Miller <davem@davemloft.net>
13673
13674 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13675 entries.
13676
5be8418c
AS
136772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13678
e7725326
AS
13679 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13680 gen-libm-test.pl.
13681
5be8418c
AS
13682 [BZ #14132]
13683 * elf/dl-reloc.c: Include <_itoa.h>.
13684 (_dl_reloc_bad_type): Remove use of INTUSE.
13685 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13686 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13687 * stdio-common/psiginfo.c (psiginfo): Likewise.
13688 * stdio-common/psignal.c (psignal): Likewise.
13689 * string/strsignal.c (strsignal): Likewise.
13690 * include/signal.h (_sys_siglist): Declare hidden proto.
13691 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13692 INTVARDEF with libc_hidden_data_def.
13693 * stdio-common/itoa-udigits.c: Likewise.
13694 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13695 (_itoa_lower_digits_internal): Remove declaration.
13696 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13697 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13698 (_sys_sigabbrev_internal): Remove aliases.
13699 (_sys_siglist): Define hidden alias.
13700
507352f1
MT
137012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13702
13703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13704 bits/sysctl.h.
13705
42bbb1c3
L
137062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13707
13708 [BZ #14117]
6bd784b6
L
13709 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13710 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13711
8bca20f0
L
13712 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13713 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13714 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13715 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13717 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13718
f9e890a9
L
13719 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13720 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13721 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13722
471101a1
L
13723 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13724 with __addr.
13725 (insw): Likewise.
13726 (insl): Likewise.
13727 (outsb): Likewise.
13728 (outsw): Likewise.
13729 (outsl): Likewise.
13730
6451c862
L
13731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13733 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13734
a254b8c9
L
13735 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13736 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13737 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13738 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13739 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13740 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13741
b8dfdd92
L
13742 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13743 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13744
578cd270
L
13745 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13746 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13747
de662f5f
L
13748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13750 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13751
25653439
L
13752 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13753 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13754 to ...
13755 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13756
6bad24a0
L
13757 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13758 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13759 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13760
42bbb1c3
L
13761 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13762 for x86-64.
13763 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13764
2d10d547
JM
137652012-05-31 Joseph Myers <joseph@codesourcery.com>
13766
13767 * math/math.h (M_El): Use two more decimal places.
13768 (M_LOG2El): Likewise.
13769 (M_LOG10El): Likewise.
13770 (M_LN2l): Likewise.
13771 (M_LN10l): Likewise.
13772 (M_PIl): Likewise.
13773 (M_PI_2l): Likewise.
13774 (M_PI_4l): Likewise.
13775 (M_1_PIl): Likewise.
13776 (M_2_PIl): Likewise.
13777 (M_2_SQRTPIl): Likewise.
13778 (M_SQRT2l): Likewise.
13779 (M_SQRT1_2l): Likewise.
13780
f230c29b
DM
137812012-05-31 David S. Miller <davem@davemloft.net>
13782
13783 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13784 values between float registers.
13785 * sysdeps/sparc/sparc64/memset.S: Likewise.
13786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13787
fed806c3
MF
137882012-05-31 Mike Frysinger <vapier@gentoo.org>
13789
13790 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13791 -D_FORTIFY_SOURCE=1.
13792 (CPPFLAGS-tst-longjmp_chk.c): Define.
13793 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13794 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13795 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13796 CFLAGS-tst-wchar-h.c.
13797
30917259
MP
137982012-05-31 Marek Polacek <polacek@redhat.com>
13799
13800 [BZ #14132]
13801 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13802 __endmntent_internal): Remove declaration.
13803 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13804 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13805 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13806
1c58d5dc
DM
138072012-05-30 David S. Miller <davem@davemloft.net>
13808
13809 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13810 (___Q_simulate_exceptions): Use real FP ops rather than writing
13811 into the %fsr.
13812 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13813 Likewise.
13814
7dc00e0d
L
138152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 [BZ #14117]
0bd53985
L
13818 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13819 * sysdeps/x86/bits/xtitypes.h: This.
13820
3a257e66
L
13821 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13822 * sysdeps/x86/bits/wordsize.h: This.
13823
62f62904
L
13824 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13825 * sysdeps/x86/bits/huge_vall.h: This.
13826
404fe9d9
L
13827 * sysdeps/i386/bits/select.h: Removed.
13828 * sysdeps/x86_64/bits/select.h: Renamed to ...
13829 * sysdeps/x86/bits/select.h: This.
13830
d48d0446
L
13831 * sysdeps/i386/bits/setjmp.h: Removed.
13832 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13833 * sysdeps/x86/bits/setjmp.h: This.
13834
7dc00e0d
L
13835 * sysdeps/i386/bits/mathdef.h: Removed.
13836 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13837 * sysdeps/x86/bits/mathdef.h: This.
13838
03277f8f
AS
138392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13840
13841 [BZ #14132]
13842 * include/sys/socket.h (__connect_internal)
13843 (__libc_sa_len_internal): Remove declaration.
13844 (__connect, __libc_sa_len): Declare hidden_proto.
13845 (SA_LEN): Remove use of INTUSE.
13846 * socket/connect.c: Add libc_hidden_def.
13847 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13848 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13849 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13850 alias.
13851 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13852 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13853 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13854 of adding _internal alias.
13855
13764867
L
138562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 [BZ #14117]
6bd97696
L
13859 * sysdeps/i386/bits/link.h: Removed.
13860 * sysdeps/i386/bits/linkmap.h: Likewise.
13861 * sysdeps/x86_64/bits/link.h: Renamed to ...
13862 * sysdeps/x86/bits/link.h: This.
13863 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13864 * sysdeps/x86/bits/linkmap.h: This.
13865
f726f0bb
L
13866 * sysdeps/i386/bits/endian.h: Removed.
13867 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13868 * sysdeps/x86/bits/endian.h: This.
13869
13764867
L
13870 * sysdeps/i386/bits/byteswap.h: Removed.
13871 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13872 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13873 * sysdeps/x86/bits/byteswap.h: This.
13874 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13875 * sysdeps/x86/bits/byteswap-16.h: This.
13876 * sysdeps/i386/Implies: Add x86.
13877 * sysdeps/x86_64/Implies: Likewise.
13878
ae251b0b
DM
138792012-05-30 David S. Miller <davem@davemloft.net>
13880
13881 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13882 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13883 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13884 (FP_TRAPPING_EXCEPTIONS): Define.
13885 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13886 (FP_TRAPPING_EXCEPTIONS): Define.
13887 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13888 subnormals only when inexact has been signalled or underflow
13889 exceptions are enabled.
13890 (_FP_PACK_CANONICAL): Likewise.
13891
d5c90867
L
138922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13893
13894 [BZ #14183]
13895 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13896 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13897
63f1549e
RH
138982012-05-30 Richard Henderson <rth@twiddle.net>
13899
8d8f2279
RH
13900 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13901 with #ifndef NOT_IN_libc.
13902
63f1549e
RH
13903 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13904 marked to avoid plt entry.
13905
0ab0291b
L
139062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13907
13908 [BZ #14112]
13909 * Makeconfig (default-abi): New macro.
13910 (abi-includes): Likewise.
13911 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13912 $(abi-$(default-abi)-lib-soname) for soname if defined.
13913 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13914 abi-variants.
13915 * Makefile (installed-stubs): Likewise.
13916 * include/stubs-biarch.h: Removed.
13917 * scripts/lib-names.awk: Only handle one library at a time.
13918 * scripts/soversions.awk: Remove WORDSIZE support.
13919 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13920 entries.
13921 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13922 Removed.
13923 (syscall-list-default-condition): Likewise.
13924 (syscall-list-default-condition): Likewise.
13925 (syscall-list-includes): Likewise.
13926 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13927 syscall-list-* with abi-*. Handle undefined abi-variants.
13928 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13929 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13930 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13931 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13932 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13933 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13934 Removed.
13935 (syscall-list-32-options): Likewise.
13936 (syscall-list-32-condition): Likewise.
13937 (syscall-list-64-options): Likewise.
13938 (syscall-list-64-condition): Likewise.
13939 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13940 macro.
13941 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13942 Renamed to ...
13943 (abi-*): This.
13944 (abi-64-ld-soname): New macro.
13945 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13947 Renamed to ...
13948 (abi-*): This.
13949 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13950 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13951
4da0431d
JM
139522012-05-30 Joseph Myers <joseph@codesourcery.com>
13953
3a85279c
JM
13954 * sysdeps/unix/sysv/linux/kernel-features.h
13955 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13956 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13957 include <kernel-features.h>.
13958 [!__NR_ftruncate64]: Remove conditional code.
13959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13960 [__NR_ftruncate64]: Make code unconditional.
13961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13962 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13963 include <kernel-features.h>.
13964 [!__NR_ftruncate64]: Remove conditional code.
13965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13966 [__NR_ftruncate64]: Make code unconditional.
13967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13969 include <kernel-features.h>.
13970 [!__NR_ftruncate64]: Remove conditional code.
13971 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13972 [__NR_ftruncate64]: Make code unconditional.
13973 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13975 include <kernel-features.h>.
13976 [!__NR_ftruncate64]: Remove conditional code.
13977 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13978 [__NR_ftruncate64]: Make code unconditional.
13979 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13980
4da0431d
JM
13981 * configure.in (libc_cv_fpie): Weaken to a compile test using
13982 LIBC_TRY_CC_OPTION.
13983 * configure: Regenerated.
13984
11ef492c
AK
139852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13986
13987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13991 Refreshed.
13992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13998 Refreshed.
13999
d66ef399
DM
140002012-05-27 David S. Miller <davem@davemloft.net>
14001
14002 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14003 (___Q_zero): New.
14004 (__Q_simulate_exceptions): Return void. Change to simulate
14005 exceptions by writing into the %fsr.
14006 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14007 (__Qp_handle_exceptions): Likewise.
14008 (numbers): Delete.
14009 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14010 __Qp_handle_exceptions.
14011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14012 __Qp_handle_exceptions.
14013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14014 as unused and give dummy FP_RND_NEAREST initializer.
14015 (FP_INHIBIT_RESULTS): Define.
14016 (___Q_simulate_exceptions): Update declaration.
14017 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14018 formatting.
14019 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14020 as unused and give dummy FP_RND_NEAREST initializer.
14021 (__Qp_handle_exceptions): Update declaration.
14022 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14023 formatting.
14024
04fb54b5
TS
140252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14026
14027 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14028 the temporary FPU control word.
14029 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14030 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14031 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14032 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14033 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14034 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14035 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14036 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14037 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14038 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14039 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14040
3f99608f
KK
140412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14042
14043 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14044 fields.
14045
65a4de4e
CLT
140462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14047
14048 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14049 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14050 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14051 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14052 Likewise.
14053 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14054 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14055 Likewise.
14056
15749d40
UD
140572012-05-27 Ulrich Drepper <drepper@gmail.com>
14058
14059 * po/h.po: Update from translation team.
14060
25dbcb27
AS
140612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14062
3d3f8e55
AS
14063 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14064
25dbcb27
AS
14065 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14066 handling of denormals.
14067 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14068 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14069 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14070 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14074 Likewise.
14075
7ad47a80 140762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14077
14078 [BZ #14152]
14079 * math/libm-test.inc (fma_test): Don't always expect underflow
14080 exception.
14081
9c6ea9fa
SP
140822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14083
14084 [BZ #12416]
14085 * elf/tst-execstack.c: Include stackinfo.h.
14086 (do_test): Adjust test case to ensure that pthread_getattr_np
14087 behaviour remains the same after marking stack executable.
14088
a8239222
JM
140892012-05-25 Joseph Myers <joseph@codesourcery.com>
14090
14091 * sysdeps/unix/sysv/linux/kernel-features.h
14092 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14093 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14094 kernel-features.h.
14095 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14096 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14097 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14098 kernel-features.h.
14099 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14100 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14101
918b5606
L
141022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14103
14104 * configure.in: Define the default includes to being none.
14105 * configure: Regenerated.
14106
3a097cc7
RM
141072012-05-25 Roland McGrath <roland@hack.frob.com>
14108
8422c9a5
RM
14109 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14110 * sysdeps/x86_64/setjmp.S: Likewise.
14111 * sysdeps/i386/bsd-setjmp.S: Likewise.
14112 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14113 * sysdeps/i386/setjmp.S: Likewise.
14114 * sysdeps/i386/__longjmp.S: Likewise.
14115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14116 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14117
3a097cc7
RM
14118 * include/stap-probe.h: New file.
14119 * configure.in: Handle --enable-systemtap.
14120 * configure: Regenerated.
14121 * config.h.in (USE_STAP_PROBE): New #undef.
14122 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14123 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14124 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14125
21708942
JM
141262012-05-25 Joseph Myers <joseph@codesourcery.com>
14127
14128 [BZ #13717]
14129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14130 to 2.4.0 where earlier.
14131 * sysdeps/unix/sysv/linux/configure: Regenerated.
14132 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14133 <kernel-features.h>.
14134 [__ASSUME_32BITUIDS]: Make code unconditional.
14135 [!__ASSUME_32BITUIDS]: Remove conditional code.
14136 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14137 <kernel-features.h>.
14138 [__ASSUME_32BITUIDS]: Make code unconditional.
14139 [!__ASSUME_32BITUIDS]: Remove conditional code.
14140 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14141 [__ASSUME_32BITUIDS]: Make code unconditional.
14142 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14143 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14144 <kernel-features.h>.
14145 [__ASSUME_32BITUIDS]: Make code unconditional.
14146 [!__ASSUME_32BITUIDS]: Remove conditional code.
14147 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14148 <kernel-features.h>.
14149 [__ASSUME_32BITUIDS]: Make code unconditional.
14150 [!__ASSUME_32BITUIDS]: Remove conditional code.
14151 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14152 <kernel-features.h>.
14153 [__ASSUME_32BITUIDS]: Make code unconditional.
14154 [!__ASSUME_32BITUIDS]: Remove conditional code.
14155 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14156 <kernel-features.h>.
14157 [__ASSUME_32BITUIDS]: Make code unconditional.
14158 [!__ASSUME_32BITUIDS]: Remove conditional code.
14159 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14160 <kernel-features.h>.
14161 [__ASSUME_32BITUIDS]: Make code unconditional.
14162 [!__ASSUME_32BITUIDS]: Remove conditional code.
14163 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14164 <kernel-features.h>.
14165 [__ASSUME_32BITUIDS]: Make code unconditional.
14166 [!__ASSUME_32BITUIDS]: Remove conditional code.
14167 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14168 <kernel-features.h>.
14169 [__ASSUME_32BITUIDS]: Make code unconditional.
14170 [!__ASSUME_32BITUIDS]: Remove conditional code.
14171 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14172 <kernel-features.h>.
14173 [__ASSUME_32BITUIDS]: Make code unconditional.
14174 [!__ASSUME_32BITUIDS]: Remove conditional code.
14175 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14176 <kernel-features.h>.
14177 [__ASSUME_32BITUIDS]: Make code unconditional.
14178 [!__ASSUME_32BITUIDS]: Remove conditional code.
14179 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14180 <kernel-features.h>.
14181 [__ASSUME_32BITUIDS]: Make code unconditional.
14182 [!__ASSUME_32BITUIDS]: Remove conditional code.
14183 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14184 <kernel-features.h>.
14185 [__NR_setresgid] (__setresgid): Do not declare.
14186 [__ASSUME_32BITUIDS]: Make code unconditional.
14187 [!__ASSUME_32BITUIDS]: Remove conditional code.
14188 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14189 <kernel-features.h>.
14190 [__NR_setresuid] (__setresuid): Do not declare.
14191 [__ASSUME_32BITUIDS]: Make code unconditional.
14192 [!__ASSUME_32BITUIDS]: Remove conditional code.
14193 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14194 <kernel-features.h>.
14195 [__ASSUME_32BITUIDS]: Make code unconditional.
14196 [!__ASSUME_32BITUIDS]: Remove conditional code.
14197 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14198 <kernel-features.h>.
14199 [__ASSUME_32BITUIDS]: Make code unconditional.
14200 [!__ASSUME_32BITUIDS]: Remove conditional code.
14201 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14202 <kernel-features.h>.
14203 [__ASSUME_32BITUIDS]: Make code unconditional.
14204 [!__ASSUME_32BITUIDS]: Remove conditional code.
14205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14206 <kernel-features.h>.
14207 [__ASSUME_32BITUIDS]: Make code unconditional.
14208 [!__ASSUME_32BITUIDS]: Remove conditional code.
14209 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14210 <kernel-features.h>.
14211 [__ASSUME_32BITUIDS]: Make code unconditional.
14212 [!__ASSUME_32BITUIDS]: Remove conditional code.
14213 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14214 <kernel-features.h>.
14215 [__ASSUME_32BITUIDS]: Make code unconditional.
14216 [!__ASSUME_32BITUIDS]: Remove conditional code.
14217 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14218 <kernel-features.h>.
14219 [__ASSUME_32BITUIDS]: Make code unconditional.
14220 [!__ASSUME_32BITUIDS]: Remove conditional code.
14221 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14222 <kernel-features.h>.
14223 [__ASSUME_32BITUIDS]: Make code unconditional.
14224 [!__ASSUME_32BITUIDS]: Remove conditional code.
14225 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14226 <kernel-features.h>.
14227 [__ASSUME_32BITUIDS]: Make code unconditional.
14228 [!__ASSUME_32BITUIDS]: Remove conditional code.
14229 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14230 <kernel-features.h>.
14231 [__ASSUME_32BITUIDS]: Make code unconditional.
14232 [!__ASSUME_32BITUIDS]: Remove conditional code.
14233 * sysdeps/unix/sysv/linux/kernel-features.h
14234 (__ASSUME_SETRESUID_SYSCALL): Remove.
14235 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14236 (__ASSUME_32BITUIDS): Likewise.
14237 (__ASSUME_LDT_WORKS): Likewise.
14238 (__ASSUME_O_DIRECTORY): Likewise.
14239 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14240 architecture but not kernel version.
14241 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14242 (__ASSUME_MMAP2_SYSCALL): Likewise.
14243 (__ASSUME_STAT64_SYSCALL): Likewise.
14244 (__ASSUME_IPC64): Likewise.
14245 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14246 <kernel-features.h>.
14247 [__ASSUME_32BITUIDS]: Make code unconditional.
14248 [!__ASSUME_32BITUIDS]: Remove conditional code.
14249 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14250 <kernel-features.h>.
14251 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14252 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14253 132096]: Remove conditional code.
14254 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14255 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14256 <kernel-features.h>.
14257 [__ASSUME_32BITUIDS]: Make code unconditional.
14258 [!__ASSUME_32BITUIDS]: Remove conditional code.
14259 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14260 <kernel-features.h>.
14261 [__ASSUME_32BITUIDS]: Make code unconditional.
14262 [!__ASSUME_32BITUIDS]: Remove conditional code.
14263 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14264 <kernel-features.h>.
14265 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14266 unconditional.
14267 (__setresgid): Do not declare.
14268 [__ASSUME_32BITUIDS]: Make code unconditional.
14269 [!__ASSUME_32BITUIDS]: Remove conditional code.
14270 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14271 <kernel-features.h>.
14272 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14273 unconditional.
14274 (__setresuid): Do not declare.
14275 [__ASSUME_32BITUIDS]: Make code unconditional.
14276 [!__ASSUME_32BITUIDS]: Remove conditional code.
14277 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
14282 <kernel-features.h>.
14283 [__ASSUME_32BITUIDS]: Make code unconditional.
14284 [!__ASSUME_32BITUIDS]: Remove conditional code.
14285
a386f1cc
RH
142862012-05-25 Richard Henderson <rth@twiddle.net>
14287
14288 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14289 dl_hwcap to ifunc resolver.
14290 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14291 elf_ifunc_invoke.
14292 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14293 dl_hwcap to ifunc resolver.
14294 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14295
b6550497
JM
142962012-05-24 Joseph Myers <joseph@codesourcery.com>
14297
14298 [BZ #14153]
14299 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14300 for |x| <= 2**-26, not 2**-57.
14301 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14302 exception.
14303
b0bc23a1
JL
143042012-05-24 Jeff Law <law@redhat.com>
14305
14306 * stdio-common/Makefile (tests): Add bug25.
14307 * stdio-common/bug25.c: New test.
14308
347c92e9
L
143092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14310
14311 [BZ #13576]
14312 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14313 multiple of MALLOC_ALIGNMENT in size.
14314 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14315
6bcc8b3f
JM
143162012-05-24 Joseph Myers <joseph@codesourcery.com>
14317
14318 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14319 Require >= 256.
14320 (FILENAME_MAX): Use macro-int-constant.
14321 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14322 (_IOFBF): Use macro-int-constant.
14323 (_IOLBF): Likewise.
14324 (_IONBF): Likewise.
14325 (SEEK_CUR): Likewise.
14326 (SEEK_END): Likewise.
14327 (SEEK_SET): Likewise.
14328 (TMP_MAX): Likewise.
14329 (EOF): Use macro-int-constant. Require < 0.
14330 (NULL): Use macro-constant. Require == 0.
14331 (stdin): Require type to be FILE *.
14332 (stdout): Likewise.
14333 (stderr): Likewise.
14334 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14335 macro-int-constant.
14336 (EXIT_SUCCESS): Likewise.
14337 (NULL): Use macro-constant. Require == 0.
14338 (RAND_MAX): Use macro-int-constant.
14339 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14340 [C99-based standards] (strtof): Require function.
14341 [C99-based standards] (strtold): Likewise.
14342 [C99-based standards] (strtoll): Likewise.
14343 [C99-based standards] (strtoull): Likewise.
14344 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14345 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14346 [ISO || ISO99 || ISO11] (math.h): Likewise.
14347 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14348 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14350
d18ea0c5
AS
143512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14352
14353 [BZ #14132]
56d25bb8
AS
14354 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14355 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14356 * intl/dgettext.c (DCGETTEXT): Likewise.
14357 * intl/gettext.c (DCGETTEXT): Likewise.
14358 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14359 * posix/regex_internal.h (gettext): Likewise.
14360 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14361 Remove declaration.
14362 * include/argz.h (__argz_count_internal)
14363 (__argz_stringify_internal): Remove declaration.
14364 (__argz_count, __argz_stringify): Declare hidden proto.
14365 * intl/dcgettext.c: Remove use of INTDEF.
14366 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14367 * string/argz-stringify.c: Likewise.
14368 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14369 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14370 Declare hidden proto.
d18ea0c5
AS
14371 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14372 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14373 Declare hidden proto.
14374 * include/stdio.h (__asprintf_internal): Don't declare.
14375 (__asprintf): Don't define as macro. Declare hidden proto.
14376 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14377 (__fsetlocking): Declare hidden proto.
14378 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14379 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14380 hidden proto.
14381 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14382 (_IO_setlinebuf): Remove use of INTUSE.
14383 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14384 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14385 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14386 Remove declaration.
14387 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14388 (_IO_do_flush): Remove use of INTUSE.
14389 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14390 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14391 (_IO_adjust_column, _IO_least_wmarker)
14392 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14393 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14394 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14395 (_IO_default_doallocate, _IO_wdefault_doallocate)
14396 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14397 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14398 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14399 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14400 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14401 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14402 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14403 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14404 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14405 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14406 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14407 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14408 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14409 proto.
14410 (_IO_flush_all_internal, _IO_adjust_column_internal)
14411 (_IO_default_uflow_internal, _IO_default_finish_internal)
14412 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14413 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14414 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14415 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14416 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14417 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14418 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14419 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14420 (_IO_file_close_internal, _IO_file_close_it_internal)
14421 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14422 (_IO_file_init_internal, _IO_file_attach_internal)
14423 (_IO_file_fopen_internal, _IO_file_read_internal)
14424 (_IO_file_sync_internal, _IO_file_seek_internal)
14425 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14426 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14427 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14428 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14429 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14430 (_IO_list_all_internal, _IO_link_in_internal)
14431 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14432 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14433 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14434 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14435 (_IO_do_write_internal, _IO_padn_internal)
14436 (_IO_getline_info_internal, _IO_getline_internal)
14437 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14438 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14439 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14440 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14441 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14442 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14443 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14444 with libc_hidden_ver, remove use of INTUSE.
14445 * libio/genops.c: Likewise.
14446 * libio/freopen.c: Likewise.
14447 * libio/freopen64.c: Likewise.
14448 * libio/iofclose.c: Likewise.
14449 * libio/iofdopen.c: Likewise.
14450 * libio/iofflush.c: Likewise.
14451 * libio/iofflush_u.c: Likewise.
14452 * libio/iofgets.c: Likewise.
14453 * libio/iofgets_u.c: Likewise.
14454 * libio/iofopen.c: Likewise.
14455 * libio/iofopncook.c: Likewise.
14456 * libio/iofread.c: Likewise.
14457 * libio/iofread_u.c: Likewise.
14458 * libio/ioftell.c: Likewise.
14459 * libio/iofwrite.c: Likewise.
14460 * libio/iogetline.c: Likewise.
14461 * libio/iogets.c: Likewise.
14462 * libio/iogetwline.c: Likewise.
14463 * libio/iopadn.c: Likewise.
14464 * libio/iopopen.c: Likewise.
14465 * libio/ioseekoff.c: Likewise.
14466 * libio/ioseekpos.c: Likewise.
14467 * libio/iosetbuffer.c: Likewise.
14468 * libio/iosetvbuf.c: Likewise.
14469 * libio/ioungetc.c: Likewise.
14470 * libio/ioungetwc.c: Likewise.
14471 * libio/iovdprintf.c: Likewise.
14472 * libio/iovsprintf.c: Likewise.
14473 * libio/iovsscanf.c: Likewise.
14474 * libio/memstream.c: Likewise.
14475 * libio/obprintf.c: Likewise.
14476 * libio/oldfileops.c: Likewise.
14477 * libio/oldiofclose.c: Likewise.
14478 * libio/oldiofdopen.c: Likewise.
14479 * libio/oldiofopen.c: Likewise.
14480 * libio/oldiopopen.c: Likewise.
14481 * libio/oldstdfiles.c: Likewise.
14482 * libio/putc.c: Likewise.
14483 * libio/setbuf.c: Likewise.
14484 * libio/setlinebuf.c: Likewise.
14485 * libio/stdfiles.c: Likewise.
14486 * libio/strops.c: Likewise.
14487 * libio/vasprintf.c: Likewise.
14488 * libio/vscanf.c: Likewise.
14489 * libio/vsnprintf.c: Likewise.
14490 * libio/vswprintf.c: Likewise.
14491 * libio/wfiledoalloc.c: Likewise.
14492 * libio/wfileops.c: Likewise.
14493 * libio/wgenops.c: Likewise.
14494 * libio/wmemstream.c: Likewise.
14495 * libio/wstrops.c: Likewise.
14496 * libio/__fpurge.c: Likewise.
14497 * libio/__fsetlocking.c: Likewise.
14498 * assert/assert.c: Likewise.
14499 * debug/fgets_chk.c: Likewise.
14500 * debug/fgets_u_chk.c: Likewise.
14501 * debug/fread_chk.c: Likewise.
14502 * debug/fread_u_chk.c: Likewise.
14503 * debug/gets_chk.c: Likewise.
14504 * debug/obprintf_chk.c: Likewise.
14505 * debug/vasprintf_chk.c: Likewise.
14506 * debug/vdprintf_chk.c: Likewise.
14507 * debug/vsnprintf_chk.c: Likewise.
14508 * debug/vsprintf_chk.c: Likewise.
14509 * malloc/mtrace.c: Likewise.
14510 * misc/error.c: Likewise.
14511 * misc/syslog.c: Likewise.
14512 * stdio-common/asprintf.c: Likewise.
14513 * stdio-common/fxprintf.c: Likewise.
14514 * stdio-common/getw.c: Likewise.
14515 * stdio-common/isoc99_fscanf.c: Likewise.
14516 * stdio-common/isoc99_scanf.c: Likewise.
14517 * stdio-common/isoc99_vfscanf.c: Likewise.
14518 * stdio-common/isoc99_vscanf.c: Likewise.
14519 * stdio-common/isoc99_vsscanf.c: Likewise.
14520 * stdio-common/printf-prs.c: Likewise.
14521 * stdio-common/printf_fp.c: Likewise.
14522 * stdio-common/printf_fphex.c: Likewise.
14523 * stdio-common/printf_size.c: Likewise.
14524 * stdio-common/putw.c: Likewise.
14525 * stdio-common/scanf.c: Likewise.
14526 * stdio-common/sprintf.c: Likewise.
14527 * stdio-common/tmpfile.c: Likewise.
14528 * stdio-common/vfprintf.c: Likewise.
14529 * stdio-common/vfscanf.c: Likewise.
14530 * stdlib/strfmon_l.c: Likewise.
14531 * sunrpc/openchild.c: Likewise.
14532 * sunrpc/xdr_stdio.c: Likewise.
14533 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14534 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14535
d6c33fda
RM
145362012-05-24 Roland McGrath <roland@hack.frob.com>
14537
c1487492
RM
14538 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14539
14540 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14541 in the third column, to generate for the shared library an IFUNC
14542 that uses _dl_vdso_vsym.
14543 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14544 * Makeconfig (object-suffixes-noshared): New variable.
14545
14546 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14547 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14548 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14549 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14550
d6c33fda
RM
14551 [BZ #14132]
14552 * include/sys/time.h (__gettimeofday): Remove macro.
14553 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14554 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14555 Remove INTDEF.
14556 (__gettimeofday): Add libc_hidden_def.
14557 (gettimeofday): Add libc_hidden_weak.
14558 * sysdeps/mach/gettimeofday.c: Likewise.
14559 * sysdeps/posix/gettimeofday.c: Likewise.
14560 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14561 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14563 (__gettimeofday_internal): Remove strong_alias.
14564 (__gettimeofday): Add libc_hidden_def.
14565 (gettimeofday): Add libc_hidden_weak.
14566 * sysdeps/unix/syscalls.list (gettimeofday):
14567 Remove __gettimeofday_internal alias.
14568
b5a2bbe6
L
145692012-05-24 Daniel Jacobowitz <drow@false.org>
14570 H.J. Lu <hongjiu.lu@intel.com>
14571
14572 [BZ #12495]
14573 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14574 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14575 (largebin_index_32_big): New.
14576 (largebin_index): Use it for 16-byte alignment.
14577 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14578 correction with front_misalign.
14579
cfba4fda
L
145802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14581
7f907421
L
14582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14584 Likewise.
14585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14586 Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14588 Likewise.
14589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14590 Likewise.
14591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14592 Likewise.
14593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14594 Likewise.
14595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14596 Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14598 Likewise.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14600 Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14602 Likewise.
14603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14604 Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14606 Likewise.
14607
cfba4fda
L
14608 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14609 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14610
80bad0cc
JM
146112012-05-24 Joseph Myers <joseph@codesourcery.com>
14612
7a25eb06
JM
14613 [BZ #10846]
14614 [BZ #14036]
14615 * math/libm-test.inc (exp_test): Add test from bug 14036.
14616 (pow_test): Add test from bug 10846.
14617
795405f9
JM
14618 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14619 and other flags.
14620 (special_function): Do not include flags in test name.
14621 (parse_args): Likewise.
14622 * sysdeps/i386/fpu/libm-test-ulps: Update.
14623 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14624 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14625 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14627
80bad0cc
JM
14628 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14629 exceptions.
14630 * math/libm-test.inc ("Philosophy"): Update comment about
14631 exception testing.
14632 (UNDERFLOW_EXCEPTION): New macro.
14633 (UNDERFLOW_EXCEPTION_OK): Likewise.
14634 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14635 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14636 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14637 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14638 (INVALID_EXCEPTION_OK): Update value.
14639 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14640 (OVERFLOW_EXCEPTION_OK): Likewise.
14641 (IGNORE_ZERO_INF_SIGN): Likewise.
14642 (test_exceptions): Handle underflow exceptions.
14643 (acos_test): Update for underflow exception expectations.
14644 (cexp_test): Likewise.
14645 (clog_test): Likewise.
14646 (clog10_test): Likewise.
14647 (csqrt_test): Likewise.
14648 (ctan_test): Likewise.
14649 (ctanh_test): Likewise.
14650 (exp_test): Likewise.
14651 (exp10_test): Likewise.
14652 (exp2_test): Likewise.
14653 (expm1_test): Likewise.
14654 (fma_test): Likewise.
14655 (j0_test): Likewise.
14656 (jn_test): Likewise.
14657 (nexttoward_test): Likewise.
14658 (pow_test): Likewise.
14659 (scalbn_test): Likewise.
14660 (scalbln_test): Likewise.
14661 (tan_test): Likewise.
14662 (y1_test): Likewise.
14663 * sysdeps/i386/fpu/libm-test-ulps: Update.
14664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14665
9e0e3d0b
DM
146662012-05-23 David S. Miller <davem@davemloft.net>
14667
14668 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14669 (__libc_sigaction): Remove unused local variables.
14670
ccd0a08f
L
146712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14674
62bdf9a6
PE
146752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14676
f8591f80
PE
14677 mktime: avoid signed integer overflow
14678 * time/mktime.c (__mktime_internal): Do not mishandle the case
14679 where diff == INT_MIN.
14680
94c7d826
PE
14681 mktime: simplify computation of average
14682 * time/mktime.c (ranged_convert): Use new time_t_avg function
14683 instead of rolling our own (probably-slower) code.
14684
ce73d683
PE
14685 mktime: do not assume signed right shift propagates sign bit
14686 * time/mktime.c (isdst_differ): New static function.
14687 (__mktime_internal): No need to normalize tm_isdst now.
14688 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14689 tm_isdst values.
14690
72a22e59
PE
14691 mktime: merge another wrapv change from gnulib
14692 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14693 from some compilers.
14694
68605433
PE
14695 mktime: remove incorrect attempt at unusual arithmetics
14696 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14697 The code didn't really work on such machines anyway.
14698 (TYPE_MINIMUM): Assume two's complement.
14699 (twos_complement_arithmetic): Verify that long_int and time_t
14700 are two's complement (or unsigned, in the latter case).
14701
03cf7fe3
PE
14702 mktime: check signed shifts on long_int and time_t, too
14703 * time/mktime.c (SHR): Check that shifts work as desired
14704 on the types long_int and time_t too, as SHR is used on
14705 such types.
14706
f04dfbc2
PE
14707 mktime: do not assume 'long' is wide enough
14708 * time/mktime.c (verify): Move decl up.
14709 (long_int): New type.
14710 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14711 to remove assumption in the code that 'long' is wide enough to
14712 store year values. This assumption is not true on x32 and on
14713 some non-glibc platforms.
14714
62bdf9a6
PE
14715 mktime: merge wrapv change from gnulib
14716 * time/mktime.c (WRAPV): New macro.
14717 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14718 (guess_time_tm, __mktime_internal): Do not assume that signed
14719 integer overflow wraps around; modern compilers generate code
14720 where this assumption is no longer valid.
14721
5e292e4f
L
147222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14723
14724 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14725 Replace "jmp L(pseudo_end)" with "ret".
14726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14727 Likewise.
14728
8caf8c87
AJ
147292012-05-23 Andreas Jaeger <aj@suse.de>
14730
14731 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14732 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14733
1a09dc56
AJ
147342012-05-23 Andreas Jaeger <aj@suse.de>
14735 Maximilian Attems <max@stro.at>
14736
14737 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14738 New macros.
14739
1c87aba0
L
147402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14741
14742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14743 code so that pseudo_end is just ret and the stack pointer is
14744 correct also for static library in error case.
14745
40e45bd5
JM
147462012-05-23 Joseph Myers <joseph@codesourcery.com>
14747
c2670533
JM
14748 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14749 move to syscalls.list.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14754
40e45bd5
JM
14755 * manual/install.texi (Running make install): Do not mention Linux
14756 kernel version for which pt_chown is not needed.
14757 (Linux): Do not mention problems with nscd with 2.0 kernels.
14758 * INSTALL: Regenerated.
14759
be08eda5
AJ
147602012-05-23 Andreas Jaeger <aj@suse.de>
14761
14762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14763 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14764 macro.
14765 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14766 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14767 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14769 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14775 * sysdeps/unix/sysv/linux/bits/in.h
14776 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14777
a6a056bb
RM
147782012-05-22 Roland McGrath <roland@hack.frob.com>
14779
14780 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14781 (PREPARE_VERSION): Just use assert instead, it will be elided
14782 under [NDEBUG] anyway.
14783
c9009328
L
147842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14785
14786 * sysdeps/unix/sysv/linux/Makefile: Include
14787 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14788 (sysdep_routines): Remove sysctl.
c9009328
L
14789 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14790 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14791 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14792 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14793 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14794
73338355
AJ
147952012-05-22 Andreas Jaeger <aj@suse.de>
14796
14797 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14798 that pseudo_end is just ret and the stack pointer is correct also
14799 for static library in error case.
14800
d44638b0
PP
148012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14802
14803 [BZ #14122]
14804 * nss/nsswitch.c (defconfig_entries): New variable.
14805 (__nss_database_lookup): Don't leak defconfig entries.
14806 (nss_parse_service_list): Don't leak on error paths.
14807 (free_database_entries): New function.
14808 (free_defconfig): New function.
14809 (free_mem): Move common code to free_database_entries.
14810
31a39bd8
L
148112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14812
da0331a8
L
14813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14814 Add arch_prctl.
14815 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14816
31a39bd8
L
14817 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14818 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14820 New macro.
14821 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14822 (INTERNAL_SYSCALL_TYPES): Likewise.
14823 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14824 (LOAD_REGS_TYPES_[1-6]): Likewise.
14825 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14826 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14827
45470df3
AZ
148282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14829
14830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14831 copysignl for GLIBC_2_0.
14832 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14833 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14835 logbl for GLIBC_2_0.
14836 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14837 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14838
98a61bcb
L
148392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14840
a4f6e481
L
14841 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14842 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14843
f63d5db6
L
14844 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14845 Use "neg %eax".
14846
98a61bcb
L
14847 * time/mktime.c: Update copyright years.
14848
95770f14
PE
148492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14850
6226efbd
PE
14851 mktime: merge comment-quoting-style change from gnulib
14852 * time/mktime.c: Quote 'like this' in comments.
14853 The GNU coding standards suggest that we no longer quote `like this',
14854 as "`" and "'" are typically rendered asymmetrically nowadays.
14855 The typical gnulib style is to quote 'like this' when quoting
14856 code, and "like this" when quoting English.
14857
b99e4f78
PE
14858 * time/mktime.c (compile-command): Add "-I.".
14859
643e01e6
PE
14860 mktime: merge mktime-internal.h change from gnulib
14861 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14862
2554247d
PE
14863 mktime: merge time_r change from gnulib
14864 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14865
826dd0ab
PE
14866 mktime: merge DEBUG change from gnulib
14867 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14868 case system <time.h> has a #define.
14869
bd83aabe
PE
14870 mktime: merge <sys/types.h> change from gnulib
14871 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14872 since <time.t> is now guaranteed to define time_t.
14873
95770f14
PE
14874 mktime: merge HAVE_CONFIG_H change from gnulib
14875 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14876
5e1a27a9
L
148772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14878
0e44a77e
L
14879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14880 Use "neg %eax".
14881
5e1a27a9
L
14882 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14883 __rlim_t cast.
14884 (struct rusage): Use anonymous union to pad each field to
14885 __syscall_slong_t.
14886
46259bec
DM
148872012-05-21 David S. Miller <davem@davemloft.net>
14888
14889 * Makefules (o-iterator): Remove .s cases.
14890 (compile-command.s): Delete.
14891 (COMPILE.s): Delete.
14892 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14893
59f0c22e
JM
148942012-05-21 Joseph Myers <joseph@codesourcery.com>
14895
14896 * configure.in (libc_cv_predef_stack_protector): Only consider
14897 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14898 * configure: Regenerated.
14899
20c07380
L
149002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14901
bbb3154b
L
14902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14903 New macro. Use R*LP on int and pointer.
14904 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14905 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14906 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14907 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14908
20c07380
L
14909 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14910 [__WORDSIZE_TIME64_COMPAT32] instead of
14911 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14912 (struct utmp): Likewise.
14913 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14914 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14915 Renamed to ...
14916 (__WORDSIZE_TIME64_COMPAT32): This.
14917 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14918 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14919 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14920 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14921 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14922 (__WORDSIZE_TIME64_COMPAT32): New macro.
14923
d8d1017e
AJ
149242012-05-21 Andreas Jaeger <aj@suse.de>
14925
14926 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14927 only if [SHARED]. Add prototype for __wcschr_ia32.
14928
6c7fb145
RM
149292012-05-21 Roland McGrath <roland@hack.frob.com>
14930
14931 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14932 of %rbp unmolested in the jmp_buf while mangling the low bits.
14933 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14934 unmolested high bits of %rbp while demangling the low bits.
14935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14936
66274218
AJ
149372012-05-21 Andreas Jaeger <aj@suse.de>
14938
07c58f8f
AJ
14939 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14940 * sunrpc/svc_simple.c: Use it for registerrpc.
14941 * sunrpc/xcrypt.c: Use it for passwd2des.
14942
66274218
AJ
14943 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14944
61f65140
L
149452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14946
14947 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14948 Don't define if [__SYSCALL_WORDSIZE != 32].
14949 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14950 New macro.
14951
5fefb436
AJ
149522012-05-21 Bruno Haible <bruno@clisp.org>
14953 Andreas Jaeger <aj@suse.de>
14954
14955 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14956 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14957 inptr and inend for must_buffer_ch.
14958 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14959 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14960 * stdio-common/Makefile (tests): Remove bug15.
14961 (bug15-ENV): Remove macro.
14962 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14963 anymore.
14964
d8e272ab
AJ
149652012-05-19 Andreas Jaeger <aj@suse.de>
14966 Roland McGrath <roland@hack.frob.com>
14967
14968 * manual/contrib.texi: Completely rewritten. It contains now an
14969 alphabetical list of contributors and their contributions.
14970
4a56a162
RH
149712012-05-21 Richard Henderson <rth@twiddle.net>
14972
14973 * misc/getauxval.c (__getauxval): Use unsigned long int.
14974 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14975 (getauxval): Use unsigned long int.
14976
d024d23c
L
149772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14978
14979 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14980
cbc00a03
RM
149812012-05-21 Roland McGrath <roland@hack.frob.com>
14982
14983 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14984 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14985 __alignof__ (long double).
14986
478143fa
AZ
149872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14988
14989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14990
c7683a6d
RH
149912012-05-20 Richard Henderson <rth@twiddle.net>
14992
14993 * misc/getauxval.c: New file.
14994 * misc/sys/auxv.h: New file.
14995 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14996 (routines): Add getauxval.
14997 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14999 * elf/dl-sysdep.c (_dl_auxv): Remove.
15000 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15001 * elf/dl-support.c (_dl_auxv): New variable.
15002 (_dl_aux_init): Initialize it.
15003 * manual/startup.texi (Auxiliary Vector): New node.
15004 * sysdeps/generic/bits/hwcap.h: New file.
15005 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15006 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15007 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15008 * sysdeps/sparc/sysdep.h: ... here. Include it.
15009 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15012 Update.
c7683a6d
RH
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15021
a6f1845d
AZ
150222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15023
15024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15025
cbcbe830
DM
150262012-05-19 David S. Miller <davem@davemloft.net>
15027
15028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15029
e0b16cc2
JM
150302012-05-19 Joseph Myers <joseph@codesourcery.com>
15031
15032 [BZ #14123]
15033 * math/s_ccosh.c: Include <float.h>
15034 (__ccosh): Avoid internal overflow calculating sinh and cosh
15035 values before multiplying by sin and cos values.
15036 * math/s_ccoshf.c: Likewise.
15037 * math/s_ccoshl.c: Likewise.
15038 * math/s_csin.c: Likewise.
15039 * math/s_csinf.c: Likewise.
15040 * math/s_csinl.c: Likewise.
15041 * math/s_csinh.c: Likewise.
15042 * math/s_csinhf.c: Likewise.
15043 * math/s_csinhl.c: Likewise.
15044 * math/libm-test.inc (ccos_test): Add more tests.
15045 (ccosh_test): Likewise.
15046 (csin_test): Likewise.
15047 (csinh_test): Likewise.
15048 * sysdeps/i386/fpu/libm-test-ulps: Update.
15049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15050
6ad13e08
L
150512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15052
f66f0ce8
L
15053 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15054 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15055
6ad13e08
L
15056 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15057
b1d072a7
JM
150582012-05-19 Joseph Myers <joseph@codesourcery.com>
15059
15060 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15061 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15062 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15063 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15064 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15065 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15066 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15067 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15068 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15069 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15070 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15071 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15072 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15073 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15074 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15075 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15076 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15077 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15078 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15079 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15080 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15081 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15082 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15083 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15084 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15085 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15086 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15087 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15088 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15089 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15090 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15091
9eae47cb
AJ
150922012-05-18 Andreas Jaeger <aj@suse.de>
15093
15094 * csu/.gitignore: Delete.
15095
bb07f69f
L
150962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15097
15098 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15099 (timex): Use __syscall_slong_t.
15100
e6bdb741
AJ
151012012-05-18 Andreas Jaeger <aj@suse.de>
15102 Carlos O'Donell <carlos_odonell@mentor.com>
15103
15104 * manual/install.texi (Configuring and compiling): Update
15105 description about files modified in the source directory.
d6c33fda 15106 * INSTALL: Regenerated.
e6bdb741 15107
1b74487e
L
151082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15109
15110 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15111 value. Use "or" to set return value to -1.
15112 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15113 negate return value.
15114
a88b64b9
TMQMF
151152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15116
15117 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15118 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15119 failure if the compiler has Graphite support disabled.
15120 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15121 Likewise.
15122 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15123 CFLAGS-memmove.c): Likewise.
15124 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15125 Likewise.
15126
3707636e
L
151272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15128
610b8622
L
15129 * sysdeps/x86_64/x32/_itoa.h: New file.
15130
7cd195df
L
15131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15132 getdents system call only if kernel and user dirents have the
15133 same d_ino and d_off.
15134
94b07d20
L
15135 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15136 LLONG_MAX != LONG_MAX.
15137 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15138 (_fitoa_word): Likewise.
15139
18298070
L
15140 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15141 years.
15142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15143 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15144 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15145
553c7ea4
L
15146 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15147 include <bits/wordsize.h>. Check __x86_64__ instead of
15148 __WORDSIZE.
15149 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15150 if __x86_64__ is defined. Use anonymous union on fpstate.
15151
3707636e
L
15152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15153 anonymous union.
15154
b53ef01a
AS
151552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15156
37fb1dc0
AS
15157 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15158 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15159 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15160 Refer to _rtld_local_ro instead of _rtld_global_ro.
15161 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15162 Likewise.
15163 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15164 Likewise.
15165 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15166 Likewise.
15167 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15168 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15169 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15170
b53ef01a
AS
15171 * sysdeps/powerpc/powerpc32/dl-machine.c
15172 (__elf_machine_runtime_setup) [PROF]: Don't reference
15173 _dl_prof_resolve.
15174
7a185db2
AJ
151752012-05-18 Andreas Jaeger <aj@suse.de>
15176
15177 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15178 function only available for GCCs before 3.4 since GCC 3.4
15179 introduced a builtin.
15180 (lrint): Likewise.
15181 (llrintf): Likewise.
15182 (llrint): Likewise.
15183 (fmaxf): Likewise.
15184 (fmax): Likewise.
15185 (fminf): Likewise.
15186 (fmin): Likewise.
15187 (rint): Likewise.
15188 (rintf): Likewise.
15189 (nearbyint): Likewise.
15190 (nearbyintf): Likewise.
15191 (ceil): Likewise.
15192 (ceilf): Likewise.
15193 (floor): Likewise.
15194 (floorf): Likewise.
15195
3e5aef87
L
151962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15197
428bd707
L
15198 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15199 on both fields and cast pointer to __syscall_ulong_t.
15200
3e5aef87
L
15201 * bits/types.h (__fsword_t): New type.
15202 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15203 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15205 (__FSWORD_T_TYPE): Likewise.
15206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15207 (__FSWORD_T_TYPE): Likewise.
15208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15209 (__FSWORD_T_TYPE): Likewise.
15210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15211 (__FSWORD_T_TYPE): Likewise.
15212 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15213 __SWORD_TYPE with __fsword_t.
15214 (statfs64): Likewise.
15215
1ba7c3dc
DM
152162012-05-17 David S. Miller <davem@davemloft.net>
15217
15218 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15219
59910343
AJ
152202012-05-17 Andreas Jaeger <aj@suse.de>
15221
15222 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15223 warning.
15224
2e4c1e9e
L
152252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15226
15227 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15228
de7f5ce7
AJ
152292012-05-17 Andreas Jaeger <aj@suse.de>
15230
15231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15232 when it is used.
15233
286abc3d
CM
152342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15235
15236 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15237
477cc68e
L
152382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15239
15240 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15241 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15242
1a0994f5
CD
152432012-05-17 Andreas Jaeger <aj@suse.de>
15244 Carlos O'Donell <carlos_odonell@mentor.com>
15245
15246 [BZ #14059]
15247 * sysdeps/x86_64/multiarch/init-arch.h
15248 (bit_YMM_Usable): Rename to...
15249 (bit_AVX_Usable): ... this.
15250 (bit_FMA4_Usable): New macro.
15251 (bit_XMM_state): New macro.
15252 (bit_YMM_state): New macro.
15253 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15254 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15255 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15256 (CPUID_OSXSAVE): New macro.
15257 (CPUID_AVX): New macro.
15258 (CPUID_FMA4): New macro.
15259 (index_YMM_Usable): Rename to...
15260 (index_AVX_Usable): ... this.
15261 (HAS_AVX): Use HAS_ARCH_FEATURE.
15262 (HAS_FMA4): Likewise.
15263 (HAS_YMM_USABLE): Remove.
15264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15265 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15266 are present.
15267 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15268 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15269 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15270 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15271 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15272
0af797de
CM
152732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15274
15275 * math/libm-test.c: Support platforms without multiple rounding modes.
15276 * math/bug-nextafter.c: Support platforms without FP exceptions.
15277 * math/bug-nexttoward.c: Likewise.
15278 * math/test-fenv.c: Likewise.
15279 * math/test-misc.c: Likewise.
15280 * stdlib/bug-getcontext.c: Likewise.
15281
e39745ff
AJ
152822012-05-17 Andreas Jaeger <aj@suse.de>
15283
15284 * manual/examples/search.c (critter_cmp): Change signature to
15285 avoid warnings.
15286 * manual/string.texi (Collation Functions): Likewise.
15287
48970aba
L
152882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15289
15290 * bits/types.h: Fold copyright years.
15291 * bits/typesizes.h: Likewise.
15292 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15296 * time/time.h: Likewise.
15297
bedee953
PP
152982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15299
15300 [BZ #208]
15301 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15302 in instead of returning them. Return void.
15303 (__libc_mallinfo): Accumulate over all arenas.
15304 (__malloc_stats): Adjust for change in int_mallinfo interface.
15305
61653dfb
RM
153062012-05-16 Roland McGrath <roland@hack.frob.com>
15307
30b99d79
RM
15308 [BZ #10375]
15309 * configure.in (NM): Add AC_CHECK_TOOL for it.
15310 (libc_extra_cflags): New substituted variable.
15311 Check for -fstack-protector being used implicitly.
15312 * configure: Regenerated.
15313 * config.make.in (config-extra-cflags): New variable,
15314 gets @libc_extra_cflags@.
15315 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15316
61653dfb
RM
15317 [BZ #10375]
15318 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15319 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15320 * configure: Regenerated.
15321 * config.make.in (CPPUNDEFS): New substituted variable.
15322 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15323 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15324 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15325
661768bb
L
153262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15327
15328 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15329 (mq_attr): Use __syscall_slong_t.
15330
d4261567
L
153312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15332
15333 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15334 Check __x86_64__ instead of __WORDSIZE.
15335 (_STAT_VER_LINUX): Likewise.
15336 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15337 __syscall_ulong_t and __syscall_slong_t.
15338 (stat64): Likewise.
15339
cf3ff365
L
153402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15341
15342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15343
76cf3e4d
L
153442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15345
15346 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15347
a637753a
L
153482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15349
15350 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15351 __syscall_ulong_t.
15352
d5e05119
L
15353 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15354 include <bits/wordsize.h>. Check __x86_64__ instead of
15355 __WORDSIZE.
15356 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15357 defined.
15358 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15359
f62ee380
L
15360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15361 include <bits/wordsize.h>. Check __x86_64__ instead of
15362 __WORDSIZE.
15363 (user_regs_struct): Use "__extension__ unsigned long long"
15364 instead of "unsigned long" if __x86_64__ is defined.
15365 (user): Likewise. Pad after pointer field if __ILP32__ is
15366 defined.
15367
4e124ced
JM
153682012-05-16 Joseph Myers <joseph@codesourcery.com>
15369
6a3951a0
JM
15370 * configure.in (makeinfo): Require version 4.5 or later. Allow
15371 versions 5 to 9.
15372 * configure: Regenerated.
15373 * manual/install.texi (texinfo): Increase version requirement to
15374 4.5 or later.
15375 * INSTALL: Regenerated.
15376
4e124ced
JM
15377 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15378
953ca31a
L
153792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15380
15381 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15382
617aca05
L
15383 * sysdeps/x86_64/x32/ffs.c: New file.
15384
5762f7ae
L
15385 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15386 __syscall_ulong_t.
15387 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15388 defined. Use __syscall_ulong_t.
15389 (shminfo): Use __syscall_ulong_t.
15390 (shm_info): Likewise.
15391
a26b6856
L
15392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15393 __syscall_ulong_t.
15394
cb2b9ef7
L
15395 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15396 <bits/wordsize.h>.
15397 (msgqnum_t): Use __syscall_ulong_t.
15398 (msglen_t): Likewise.
15399 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15400 __syscall_ulong_t.
15401
34683bb0
L
15402 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15404
84a68786
L
15405 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15406
48baa5f1
L
15407 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15408 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15409
180be88b
L
15410 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15411 __syscall_slong_t.
15412
5e90c8ad
L
15413 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15414 include <bits/wordsize.h>. Check __x86_64__ instead of
15415 __WORDSIZE.
15416
23dfb58b
L
15417 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15418 "unsigned long long int" if __x86_64__ is defined.
15419 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15420
ce5d54b0
L
15421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15422 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15423 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15424
13dc9eac
L
15425 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15426 <stdint.h>.
15427 (GET_PC): Cast to uintptr_t first.
15428 (GET_FRAME): Likewise.
15429 (GET_STACK): Likewise.
15430
a7895d15
L
15431 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15432 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15433 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15434 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15435 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15436 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15437 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15438 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15439 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15441 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15442 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15443 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15444 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15445 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15446 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15448 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15449 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15452 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15460
656416c9
AS
154612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15462
5bd66283
AS
15463 * Makerules (+depfiles): Also collect depfiles from .oS in
15464 $(extra-objs).
15465 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15466 .oS, $(libnldbl-routines)).
15467
656416c9
AS
15468 * Makerules (native-compile-mkdep-flags): Define.
15469 * sunrpc/Makefile (extra-objs): Add $(addprefix
15470 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15471 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15472 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15473 calling $(make-target-directory).
15474
a46f2169
L
154752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15476
15477 * bits/types.h (__snseconds_t): Removed.
15478 * time/time.h (struct timespec): Replace __snseconds_t with
15479 __syscall_slong_t.
15480 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15481 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15482 Likewise.
15483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15484 (__SNSECONDS_T_TYPE): Likewise.
15485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15486 (__SNSECONDS_T_TYPE): Likewise.
15487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15488 (__SNSECONDS_T_TYPE): Likewise.
15489
6af6528b
L
154902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15491
15492 * sysdeps/mach/hurd/bits/typesizes.h
15493 (__SYSCALL_SLONG_TYPE): New macro.
15494 (__SYSCALL_ULONG_TYPE): Likewise.
15495
de986b56
L
154962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15497
15498 * bits/types.h (__syscall_slong_t): New type.
15499 (__syscall_ulong_t): Likewise.
15500
15501 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15502 (__SYSCALL_ULONG_TYPE): Likewise.
15503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15504 (__SYSCALL_SLONG_TYPE): Likewise.
15505 (__SYSCALL_ULONG_TYPE): Likewise.
15506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15507 (__SYSCALL_SLONG_TYPE): Likewise.
15508 (__SYSCALL_ULONG_TYPE): Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15510 (__SYSCALL_SLONG_TYPE): Likewise.
15511 (__SYSCALL_ULONG_TYPE): Likewise.
15512
85736dc7
L
155132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15514
15515 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15516 Add sigaltstack-offsets.sym.
15517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15518 <sigaltstack-offsets.h>.
15519 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15520 longjmp_msg pointer.
15521 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15522 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15523 signal stack.
15524 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15525
cc03b296
JM
155262012-05-15 Joseph Myers <joseph@codesourcery.com>
15527
a9538892
JM
15528 * elf/stackguard-macros.h: Remove file.
15529 * sysdeps/generic/stackguard-macros.h: New file.
15530 * sysdeps/i386/stackguard-macros.h: Likewise.
15531 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15532 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15533 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15534 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15535 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15536 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15537 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15538 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15539 <elf/stackguard-macros.h>.
15540
cc03b296
JM
15541 [BZ #14109]
15542 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15543 __aligned__ in attribute.
15544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15545 (gregset_t): Likewise.
15546
93171016
L
155472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15548
15549 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15550 * sysdeps/x86_64/64/Implies-after: Here. New file.
15551 * sysdeps/x86_64/x32/Implies-after: New file.
15552
d86813a0
L
155532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15554
15555 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15556 and access return value for _dl_profile_fixup. Use R10_LP to
15557 load frame size.
15558
2953ec75
L
155592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15562
3b550e9e
L
155632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15564
15565 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15566 * sysdeps/x86_64/x32/sysdep.h: New file.
15567
eda41706
L
155682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15571 * sysdeps/x86_64/setjmp.S: Likewise.
15572
9ea01d93
AZ
155732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15574
15575 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15576 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15577 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15578 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15579 remove unused global constant.
15580
02a91938
CM
155812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15582
15583 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15584 include of <not-cancel.h>.
15585
6540185f
RM
155862012-05-15 Roland McGrath <roland@hack.frob.com>
15587
15588 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15589
509072a0
AJ
155902012-05-15 Jeff Law <law@redhat.com>
15591 Andreas Jaeger <aj@suse.de>
15592
15593 [BZ #13594]
15594 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15595 out from...
15596 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15597 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15598 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15599 code changing __hst_map_handle.map.
15600
ba75122d
RM
156012012-05-15 Roland McGrath <roland@hack.frob.com>
15602
15603 * configure.in (sysnames): Look for Implies-before and Implies-after
15604 files.
15605 * configure: Regenerated.
15606
890d8bd8
L
156072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15608
15609 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15610 8-byte data alignment with LP_SIZE alignment.
15611
f6ee6623
L
156122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15613
15614 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15615 into R10_LP.
15616
ea2626f6
L
156172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15618
15619 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15620
085f715e
L
156212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15624 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15625 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15626 Likewise.
15627 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15628
be8498fc
L
156292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15630
15631 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15632 (stackinfo_sub_sp): Likewise.
15633
70bc83b9
L
156342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15635
15636 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15637 RAX_LP.
15638
9bc0b730
L
156392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15642 into R*_LP.
15643
6d2850e7
L
156442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15645
15646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15647 sizes into R*_LP.
15648
3cb84561
L
156492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15650
15651 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15652
54e2ed81
L
156532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15654
15655 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15656 into R11_LP and load __x86_64_shared_cache_size_half into
15657 R8_LP.
15658
8a17f349
L
156592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15660
15661 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15662 R8_LP.
15663
777b1eea
AZ
156642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15665
15666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15667 logb for POWER7.
15668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15669 logbf for POWER7.
15670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15671 logbl for POWER7.
15672 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15673 powerpc32/power7/fpu/s_logb.c via #include.
15674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15675 powerpc32/power7/fpu/s_logbf.c via #include.
15676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15677 powerpc32/power7/fpu/s_logbl.c via #include.
15678
d20d4ac2
JM
156792012-05-15 Joseph Myers <joseph@codesourcery.com>
15680
15681 * README.libm: Remove file.
15682
6cdef1ab
L
156832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15684
15685 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15686 count for x32. Use R*_LP and omit operand-size suffix.
15687
0b254d8f
L
156882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15689
15690 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15691 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15692 * sysdeps/x86_64/x32/shlib-versions: New file.
15693
ceb809dc
RM
156942012-05-14 Roland McGrath <roland@hack.frob.com>
15695
15696 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15697 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15698 Use _dl_fatal_printf instead.
15699
37f1abd4
JM
157002012-05-14 Joseph Myers <joseph@codesourcery.com>
15701
15702 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15703 set if not set by the user. Do not allow for being unset.
15704 * sysdeps/unix/sysv/linux/configure: Regenerated.
15705
11de3a33
L
157062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15707
15708 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15709 the `q' suffix from lea and replace .quad with ASM_ADDR.
15710
e02f153a
L
157112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15714 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15715 instead of $17.
15716 (PTR_DEMANGLE): Likewise.
15717
520ae0fd
L
157182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15719
15720 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15721 (LP_OP): Likewise.
15722 (ASM_ADDR): Likewise.
15723 (RAX_LP): Likewise.
15724 (RBP_LP): Likewise.
15725 (RBX_LP): Likewise.
15726 (RCX_LP): Likewise.
15727 (RDI_LP): Likewise.
15728 (RSI_LP): Likewise.
15729 (RSP_LP): Likewise.
15730 (R8_LP): Likewise.
15731 (R9_LP): Likewise.
15732 (R10_LP): Likewise.
15733 (R10_LP): Likewise.
15734 (R11_LP): Likewise.
15735 (R12_LP): Likewise.
15736 (R13_LP): Likewise.
15737 (R14_LP): Likewise.
15738 (R15_LP): Likewise.
15739
b985be81
L
157402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15741
15742 * sysdeps/x86_64/x32/dl-machine.h: New file.
15743
6a4888ff
AJ
157442012-05-14 Andreas Jaeger <aj@suse.de>
15745
15746 * manual/Makefile (subdir): Remove export of subdir.
15747 (all): Remove target.
15748 (.PHONY): Remove all from list.
15749 (mkinstalldirs): Remove.
15750 (.PHONY): Remove installdirs from list.
15751 ($(inst_infodir)/libc.info): Use make-target-directory.
15752 (installdirs): Remove.
15753 (subdir_%): Remove.
15754 (glibc-targets): Remove.
15755 (lib): Remove.
15756 (stubs): Remove.
15757 ($(objpfx)stubs ../po/manual.pot): Remove.
15758 ($(objpfx)stamp%): Remove.
15759 (make-target-directory): Remove.
15760 (subdir_install): Remove.
15761 (routines): Remove.
15762 (aux): Remove.
15763 (sources): Remove.
15764 (objects): Remove.
15765 (headers): Remove.
15766
15767 [BZ #13750]
15768 * manual/.gitignore: Remove, it's not needed anymore.
15769 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15770 all files in it.
15771 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15772 directory.
15773 (texis): Renamed to $(objpfx)texis.
15774 (texis-path): New, contains path to generated files.
15775 (chapters.%): Use texis-path for complete path, add extra argument
15776 libc-texinfo.sh.
15777 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15778 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15779 (summary,texi, stamp-summary): Use complete path of
15780 files. Generate files in build dir.
15781 (dir-add.texi): Build in build dir.
15782 (libm-err.texi,stamp-libm-err): Likewise.
15783 (version.texi, stamp-version): Likewise.
15784 (.%c.texi): Likewise.
15785 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15786 (mostlyclean): Remove target.
15787 (realclean): Remove target.
15788 (generated): Add new variable with contents from mostlyclean and
15789 realclean, remove entries duplicated in common-mostlyclean, add
15790 stamp-libm-err and stamp-version.
15791 (generated-dirs): Add libc directory.
15792 ($(inst_infodir)/libc.info): Install files from build dir.
15793
15794 * manual/install.texi (Configuring and compiling): Adjust since
15795 the info files are not part of the tar ball anymore.
15796
7ac77294
AJ
157972012-05-14 Andreas Jaeger <aj@suse.de>
15798
15799 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15800 variable.
15801
ffb7875d
JM
158022012-05-14 Joseph Myers <joseph@codesourcery.com>
15803
15804 [BZ #13717]
15805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15806 to 2.2.0 where earlier.
15807 * sysdeps/unix/sysv/linux/configure: Regenerated.
15808 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15809 Remove conditional code.
15810 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15811 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15812 Remove conditional code.
15813 [!__NR_lchown]: Likewise.
15814 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15815 [__NR_lchown]: Likewise.
15816 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15817 comment referencing __ASSUME_LCHOWN_SYSCALL.
15818 * sysdeps/unix/sysv/linux/i386/sigaction.c
15819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15822 Remove conditional code.
15823 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15824 (__protocol_available): Remove #if 0 code.
15825 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15826 conditional code.
15827 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15828 * sysdeps/unix/sysv/linux/kernel-features.h
15829 (__ASSUME_GETCWD_SYSCALL): Don't define.
15830 (__ASSUME_REALTIME_SIGNALS): Likewise.
15831 (__ASSUME_PREAD_SYSCALL): Likewise.
15832 (__ASSUME_PWRITE_SYSCALL): Likewise.
15833 (__ASSUME_POLL_SYSCALL): Likewise.
15834 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15835 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15836 non-SPARC.
15837 (__ASSUME_SIOCGIFNAME): Don't define.
15838 (__ASSUME_MSG_NOSIGNAL): Likewise.
15839 (__ASSUME_SENDFILE): Define unconditionally.
15840 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15841 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15842 conditional code.
15843 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15844 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15845 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15846 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15847 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15848 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15849 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15863 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15866 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15869 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15872 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15874 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15875 Remove conditional code.
15876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15877 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15878 Remove conditional code.
15879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15880 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15881 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15882 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15883 Remove conditional code.
15884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15885 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15886 Remove conditional code.
15887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15888 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15889 Remove conditional code.
15890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15891 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15892 Remove conditional code.
15893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15894 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15895 Remove conditional code.
15896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15897 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15900 * sysdeps/unix/sysv/linux/sigaction.c
15901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15903 * sysdeps/unix/sysv/linux/sigpending.c
15904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15906 * sysdeps/unix/sysv/linux/sigprocmask.c
15907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15909 * sysdeps/unix/sysv/linux/sigsuspend.c
15910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15912 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15913 (__libc_missing_rt_sigs): Remove.
15914 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15915 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15916 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15917 Remove conditional code.
15918 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15919 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15920 return 1.
15921 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15922 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15923 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15924 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15925
1bfb7291
AJ
159262012-05-14 Andreas Jaeger <aj@suse.de>
15927
caae5a81
AJ
15928 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15929 it's not used in glibc.
15930 (__coshm1): Likewise.
15931 (__acosh1p): Likewise.
15932 (__sgn): Likewise.
15933
1bfb7291
AJ
15934 * manual/string.texi (Copying and Concatenation): Add missing
15935 variable in concat example.
15936 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15937
c044d724
L
159382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15939
144c5467 15940 [BZ #14103]
c044d724
L
15941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15942 __builtin_clzl with __builtin_clzll.
15943
2523c62b
L
159442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15945
15946 [BZ #14104]
15947 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15948 libc_freeres_ptr.
15949
d7bb4c42
LD
159502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15951
15952 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15953 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15954 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15955 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15956
9dc4e1fb
MF
159572012-05-14 Mike Frysinger <vapier@gentoo.org>
15958
15959 * NEWS: Update ia64 info.
15960
c7df0112
AS
159612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15962
15963 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15964 used as bcopy.
15965
dc70356c
TS
159662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15967
15968 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15969 * sysdeps/unix/syscalls.list (dup3): Likewise.
15970 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15971 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15972
9fb1a21f
L
159732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15976 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15977
4822a2a5
L
159782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15979
15980 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15981 thread pointer.
15982 (TLS_IE): Use mov/add instead of movq/addq to load thread
15983 pointer.
15984 (TLS_GD_PREFIX): New.
15985 (TLS_GD): Use it.
15986
842b81d6
DM
159872012-05-11 David S. Miller <davem@davemloft.net>
15988
15989 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15990 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15991 (_FPU_SETCW): Likewise.
15992
1cf463cd
L
159932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15994
15995 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15996 is 32-byte aligned.
15997
60cc4a18
AS
159982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15999
16000 [BZ #11837]
16001 * iconvdata/gb18030.c: Update tables.
16002 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16003 characters specially.
16004 (BODY for TO_LOOP): Add encoding of missing ranges.
16005
febb44a4
TS
160062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16007
16008 [BZ #13673]
16009 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16010 * sysdeps/mach/hurd/dup3.c: Likewise.
16011 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16012 * sysdeps/powerpc/memmove.c:: Likewise.
16013
0a10fb9e
L
160142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16015
16016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16017 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16018
df8a552f
L
160192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16020
16021 * elf/elf.h (R_X86_64_RELATIVE64): New.
16022 (R_X86_64_NUM): Updated.
16023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16024 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16025 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16026 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16027 tst-quad1pie tst-quad2pie
16028 (modules-names): Add tst-quadmod1 tst-quadmod2.
16029 ($(objpfx)tst-quad1): New dependency.
16030 ($(objpfx)tst-quad2): Likewise.
16031 ($(objpfx)tst-quad1pie): Likewise.
16032 ($(objpfx)tst-quad2pie): Likewise.
16033 * sysdeps/x86_64/tst-quad1.c: New file.
16034 * sysdeps/x86_64/tst-quad1pie.c: New file.
16035 * sysdeps/x86_64/tst-quad2.c: Likewise.
16036 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16037 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16038 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16039 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16040 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16041
f34d6f84
ST
160422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16043
f42d41d1
ST
16044 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16045 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16046 * streams/stropts.h (t_scalar_t): Define type.
16047
3c3571fc
ST
16048 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16049 (_PATH_PRESERVE): Set to "/var/lib".
16050 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16051
61f06bd3
ST
16052 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16053 instead of int.
16054
918d4d71
ST
16055 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16056 if __dir_mkfile succeeded.
16057
f34d6f84
ST
16058 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16059 checking for _hurd_dtablesize. Unlock it right after having
16060 finished _hurd_dtable allocation.
16061
10589b4a
TS
160622012-05-10 Thomas Schwinge <thomas@schwinge.name>
16063
674cdbc7
TS
16064 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16065 * sysdeps/mach/hurd/configure: Regenerated.
16066 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16067 special-casing to...
16068 * sysdeps/gnu/configure.in: ... this new file.
16069 * sysdeps/unix/sysv/linux/configure: Regenerated.
16070 * sysdeps/gnu/configure: New generated file.
16071
8e41b99f
TS
16072 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16073 for Linux: use nsec instead of usec, as well as:
16074 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16075 members of type struct timespec.
16076 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16077 New macros.
16078 (struct stat64): Likewise.
16079 (_STATBUF_ST_NSEC): New macro.
16080 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16081
10589b4a
TS
16082 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16083 __strtoul_internal rather than strtoul.
16084
63643c85
PT
160852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16086
16087 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16088 and reject them.
16089
3faebe6a
ST
160902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16091
16092 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16093 which preserves existing values.
16094 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16095
c6474b07
PT
160962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16097
16098 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16099 TIMEOUT values. Return EINVAL for NFDS values either negative or
16100 greater than FD_SETSIZE.
16101
1043890b
ST
161022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16103
16104 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16105 allocated, call __vm_protect to finish enabling the existing space, and
16106 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16107 allocate the remainder.
16108
37ed8b9b
PT
161092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16110
16111 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16112 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16113
db653660
ST
161142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16115
37ed8b9b
PT
16116 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16117 sysdeps/mach/hurd/readlink.c.
b29d4053 16118
db653660
ST
16119 * posix/tst-sysconf.c (posix_options): Only use
16120 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16121 _POSIX_SYNCHRONIZED_IO when they are defined
16122 * sysdeps/mach/hurd/bits/posix_opt.h:
16123 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16124 (_XOPEN_REALTIME): Undefine macro.
16125 (_XOPEN_REALTIME_THREADS): Undefine macro.
16126 (_XOPEN_SHM): Undefine macro.
16127 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16128 macro to -1.
16129 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16130 macro to -1.
16131 (_POSIX_ASYNC_IO): Undefine macro.
16132 (_POSIX_PRIORITIZED_IO): Undefine macro.
16133 (_POSIX_SPIN_LOCKS): Define macro to -1.
16134
ee16e894
ST
16135 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16136 SA_NODEFER, SA_RESETHAND.
16137 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16138 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16139 F_DUPFD_CLOEXEC.
16140
6103ae3b
TS
161412012-05-10 Thomas Schwinge <thomas@schwinge.name>
16142
16143 * elf/Makefile (pldd-modules): Define unconditionally.
16144
80b4e5f3
TS
161452012-05-10 Thomas Schwinge <thomas@schwinge.name>
16146
16147 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16148
edadcbd6
ST
161492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16150
16151 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16152 Return ENOENT when name is empty.
16153 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16154
80694780
TS
161552012-05-10 Thomas Schwinge <thomas@schwinge.name>
16156
1792c087
TS
16157 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16158
80694780
TS
16159 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16160
6b645f0d
ST
161612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16162
80694780
TS
16163 Fix mlock in all cases except non-readable pages.
16164 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16165 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16166
6b645f0d
ST
16167 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16168 (__mkdir): When path is `/', just fail with EEXIST.
16169 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16170
e468f8a3
TS
161712012-05-10 Thomas Schwinge <thomas@schwinge.name>
16172
16173 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16174 <sys/uio.h> (for writev).
16175 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16176 and <sys/param.h> (for MIN).
16177
a4186cff
PT
161782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16179
16180 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16181 REQUESTED_TIME. Properly set the remaining time and return EINTR
16182 if interrupted.
16183
510bbf14
TS
161842012-05-10 Thomas Schwinge <thomas@schwinge.name>
16185
16186 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16187 Depend on against $(link-rpcuserlibs).
16188
5d5722e8
ST
161892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16190
a4186cff
PT
16191 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16192 (__libc_stack_end): Do not use attribute_relro.
16193 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16194 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16195 to libthread-provided value.
a4186cff
PT
16196 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16197 attribute_relro.
5d5722e8 16198
37233df9
TS
161992012-05-10 Thomas Schwinge <thomas@schwinge.name>
16200
be971a2b
TS
16201 [BZ #3748]
16202 * bits/libc-lock.h (__libc_once_get): New macro.
16203 * sysdeps/mach/bits/libc-lock.h: Likewise.
16204 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16206 instead of using implementation details.
16207
37233df9
TS
16208 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16209 * libio/freopen.c: Likewise.
16210 * libio/freopen64.c: Likewise.
16211 * misc/syslog.c: Likewise.
16212 * nscd/connections.c: Likewise.
16213 * nscd/netgroupcache.c: Likewise.
16214 * sysdeps/posix/getcwd.c: Likewise.
16215
38de94a5
RM
162162012-05-10 Roland McGrath <roland@hack.frob.com>
16217
16218 * math/w_ilogbf.c: Add #include <limits.h>.
16219
67530489
ST
162202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16221
a4186cff 16222 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16223 path instead of returning without unlocking.
16224
67530489
ST
16225 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16226 immediate-write ioctls.
16227 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16228
5aa3a74a
TS
162292012-05-10 Thomas Schwinge <thomas@schwinge.name>
16230
18bad2ae
TS
16231 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16232 __builtin_frame_address instead of making assumptions about the
16233 location of the return address relative to DATA. Force early load of
16234 the return address.
16235 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16236 __builtin_frame_address.
16237
5aa3a74a
TS
16238 dup3 for GNU Hurd.
16239 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16240 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16241 implement dup3 and do some further code clean-ups.
16242 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16243 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16244
ecd0de9a
ST
162452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16246
cd9fa985
ST
16247 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16248
a4186cff
PT
16249 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16250 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16251 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16252 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16253 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16254 d->port.lock.
802ca5a5 16255
a4186cff
PT
16256 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16257 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16258 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16259
bcf55240
TS
162602012-05-10 Thomas Schwinge <thomas@schwinge.name>
16261
6960eb42
TS
16262 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16263 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16264 definitions.
16265
eb43375f
TS
16266 accept4 for GNU Hurd.
16267 * include/sys/socket.h (__libc_accept4): New prototype.
16268 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16269 to implement __libc_accept4.
16270 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16271 __libc_accept4.
16272 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16273
bcf55240
TS
16274 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16275 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16276 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16277 signal-defines.sym.
16278
6178c55b
ST
162792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16280
a4186cff 16281 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16282
6f080c2f
TS
162832012-05-10 Thomas Schwinge <thomas@schwinge.name>
16284
16285 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16286 assertion on O_CLOEXEC flag.
16287 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16288 * hurd/intern-fd.c: Likewise.
16289 * hurd/port2fd.c: Likewise.
16290
bcfe3a54
ST
162912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16292
16293 [BZ #3906]
16294 * bits/in.h (IPV6_PKTINFO): Define new macro.
16295 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16296
89c9aa49
AZ
162972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16298
16299 [BZ #13954]
16300 [BZ #13955]
16301 [BZ #13956]
16302 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16304 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16307 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16308 * math/libm-test.inc (logb_test) : Additional logb tests.
16309
021db4be
AJ
163102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16311 Andreas Jaeger <aj@suse.de>
16312
16313 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16314 * configure: Regenerated.
16315 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16316 * config.make.in (link-obsolete-rpc): New substituted variable.
16317 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16318 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16319 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16320 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16321 so that libc.a contains the symbols.
16322 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16323 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16324 * sunrpc/auth_none.c: Likewise.
16325 * sunrpc/auth_unix.c: Likewise.
16326 * sunrpc/authdes_prot.c: Likewise.
16327 * sunrpc/authuxprot.c: Likewise.
16328 * sunrpc/clnt_gen.c: Likewise.
16329 * sunrpc/clnt_perr.c: Likewise.
16330 * sunrpc/clnt_raw.c: Likewise.
16331 * sunrpc/clnt_simp.c: Likewise.
16332 * sunrpc/clnt_tcp.c: Likewise.
16333 * sunrpc/clnt_udp.c: Likewise.
16334 * sunrpc/clnt_unix.c: Likewise.
16335 * sunrpc/des_crypt.c: Likewise.
16336 * sunrpc/des_soft.c: Likewise.
16337 * sunrpc/get_myaddr.c: Likewise.
16338 * sunrpc/key_call.c: Likewise.
16339 * sunrpc/key_prot.c: Likewise.
16340 * sunrpc/netname.c: Likewise.
16341 * sunrpc/pm_getmaps.c: Likewise.
16342 * sunrpc/pm_getport.c: Likewise.
16343 * sunrpc/pmap_clnt.c: Likewise.
16344 * sunrpc/pmap_prot.c: Likewise.
16345 * sunrpc/pmap_prot2.c: Likewise.
16346 * sunrpc/pmap_rmt.c: Likewise.
16347 * sunrpc/publickey.c: Likewise.
16348 * sunrpc/rpc_cmsg.c: Likewise.
16349 * sunrpc/rpc_common.c: Likewise.
16350 * sunrpc/rpc_dtable.c: Likewise.
16351 * sunrpc/rpc_prot.c: Likewise.
16352 * sunrpc/rpc_thread.c: Likewise.
16353 * sunrpc/rtime.c: Likewise.
16354 * sunrpc/svc.c: Likewise.
16355 * sunrpc/svc_auth.c: Likewise.
16356 * sunrpc/svc_raw.c: Likewise.
16357 * sunrpc/svc_run.c: Likewise.
16358 * sunrpc/svc_tcp.c: Likewise.
16359 * sunrpc/svc_udp.c: Likewise.
16360 * sunrpc/svc_unix.c: Likewise.
16361 * sunrpc/svcauth_des.c: Likewise.
16362 * sunrpc/xcrypt.c: Likewise.
16363 * sunrpc/xdr.c: Likewise.
16364 * sunrpc/xdr_array.c: Likewise.
16365 * sunrpc/xdr_float.c: Likewise.
16366 * sunrpc/xdr_intXX_t.c: Likewise.
16367 * sunrpc/xdr_mem.c: Likewise.
16368 * sunrpc/xdr_rec.c: Likewise.
16369 * sunrpc/xdr_ref.c: Likewise.
16370 * sunrpc/xdr_sizeof.c: Likewise.
16371 * sunrpc/xdr_stdio.c: Likewise.
16372
b5c086a2
RM
163732012-05-10 Roland McGrath <roland@hack.frob.com>
16374
16375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16376 change. Update copyright years.
16377
6d74dd09
JM
163782012-05-10 Joseph Myers <joseph@codesourcery.com>
16379
16380 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16381
28e72501
MK
163822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16383 Joseph Myers <joseph@codesourcery.com>
16384 Paul Pluzhnikov <ppluzhnikov@google.com>
16385
16386 [BZ #14012]
16387 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16388 requiring rpcgen.
16389 [cross-compiling] (extra-libs): Likewise.
16390 [cross-compiling] (extra-libs-others): Likewise.
16391 [cross-compiling] (librpcsvc-routines): Likewise.
16392 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16393 [cross-compiling] (omit-deps): Likewise.
16394 (sunrpc-CPPFLAGS): New variable.
16395 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16396 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16397 (cross-rpcgen-objs): New variable.
16398 (extra-objs): Append $(cross-rpcgen-objs).
16399 ($(cross-rpcgen-objs)): New rule.
16400 ($(objpfx)cross-rpcgen): Likewise.
16401 (rpcgen-cmd): Define to use $(built-program-file). Expand
16402 comment.
16403 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16404 ($(objpfx)x%.stmp): Likewise.
16405 * sunrpc/proto.h [IS_IN_build] (_): Define.
16406 [IS_IN_build] (_libc_intl_domainname): Likewise.
16407
c8c59454
L
164082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16409
16410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16411 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16412 and R_X86_64_TPOFF64.
16413
6f27cd16
JM
164142012-05-10 Joseph Myers <joseph@codesourcery.com>
16415
16416 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16417 sysdeps/unix/sysv/syscalls.list.
16418 (stime): Likewise.
16419 (utime): Likewise.
16420 * sysdeps/unix/sysv/syscalls.list: Remove file.
16421
02467e1c
PE
164222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16423
16424 [BZ #3440]
16425 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16426 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16427 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16428 (__LC_IDENTIFICATION): Make these macros useful in #if
16429 expressions, as required by C99.
16430
da392631
AS
164312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16432
16433 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16434 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16435 after this.
16436
8115f29b
L
164372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16438
16439 * stdlib/longlong.h: Updated from GCC.
16440
bdd74070
AJ
164412012-05-09 Andreas Jaeger <aj@suse.de>
16442
edfe0dbe
AJ
16443 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16444 default is first entry.
16445 (run_mode): Set type.
16446 (main): Remove informal message about syslog.
16447 (options): Fix typo.
16448
bcfe3a54
ST
16449 [BZ #14053]
16450 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 16451 to asm.
bcfe3a54
ST
16452 (lrint): Likewise.
16453 (llrintf): Likewise.
16454 (llrint): Likewise.
16455 (rint): Likewise.
16456 (rintf): Likewise.
16457 (nearbyint): Likewise.
16458 (nearbyintf): Likewise.
bdd74070 16459
91d8d69e
AJ
164602012-05-09 Andreas Jaeger <aj@suse.de>
16461 Pedro Alves <palves@redhat.com>
16462
16463 * nscd/nscd.c (run_mode): Use enum.
16464 (main): Cleanup coding style issue.
16465
bb90b80b
AJ
164662012-05-09 Alexandre Oliva <aoliva@redhat.com>
16467 Andreas Jaeger <aj@suse.de>
16468
bcfe3a54
ST
16469 * nscd/nscd.c (go_background): Replaced with...
16470 (run_mode): ... this.
bb90b80b 16471 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
16472 (options): Add -F --foreground.
16473 (main): Implement it.
16474 (parse_opt): Parse it.
bb90b80b 16475
1a4b75a1
AJ
164762012-05-09 Andreas Jaeger <aj@suse.de>
16477
16478 [BZ #14083]
16479 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16480 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16481 -Wconversion warning.
16482 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16483 Likewise.
16484
b1cc2472
JM
164852012-05-09 Joseph Myers <joseph@codesourcery.com>
16486
16487 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16488 == 0.
16489 (LC_ALL): Use macro-int-constant.
16490 (LC_COLLATE): Likewise.
16491 (LC_CTYPE): Likewise.
16492 (LC_MESSAGES): Likewise.
16493 (LC_MONETARY): Likewise.
16494 (LC_NUMERIC): Likewise.
16495 (LC_TIME): Likewise.
16496 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16497 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16499 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16500 Specify type.
16501 [C99-based standards] (float_t): Expect type.
16502 [C99-based standards] (double_t): Expect type.
16503 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16504 type.
16505 [C99-based standards] (HUGE_VALL): Likewise.
16506 [C99-based standards] (INFINITY): Likewise.
16507 [C99-based standards] (NAN): Likewise.
16508 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16509 [C99-based standards] (FP_NAN): Likewise.
16510 [C99-based standards] (FP_NORMAL): Likewise.
16511 [C99-based standards] (FP_SUBNORMAL): Likewise.
16512 [C99-based standards] (FP_ZERO): Likewise.
16513 [C99-based standards] (FP_FAST_FMA): Use
16514 optional-macro-int-constant. Specify type. Require == 1.
16515 [C99-based standards] (FP_FAST_FMAF): Likewise.
16516 [C99-based standards] (FP_FAST_FMAL): Likewise.
16517 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16518 [C99-based standards] (FP_ILOGBNAN): Likewise.
16519 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16520 Specify type.
16521 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16522 [C99-based standards] (math_errhandling): Specify type.
16523 [ISO99 || ISO11] (signgam): Do not allow.
16524 [non-C99-based standards] (copysignf): Do not allow.
16525 [non-C99-based standards] (exp2f): Likewise.
16526 [non-C99-based standards] (log2f): Likewise.
16527 [non-C99-based standards] (modff): Allow.
16528 [non-C99-based standards] (erff): Do not allow.
16529 [non-C99-based standards] (erfcf): Likewise.
16530 [non-C99-based standards] (gammaf): Likewise.
16531 [non-C99-based standards] (hypotf): Likewise.
16532 [non-C99-based standards] (j0f): Likewise.
16533 [non-C99-based standards] (j1f): Likewise.
16534 [non-C99-based standards] (jnf): Likewise.
16535 [non-C99-based standards] (lgammaf): Likewise.
16536 [non-C99-based standards] (tgammaf): Likewise.
16537 [non-C99-based standards] (y0f): Likewise.
16538 [non-C99-based standards] (y1f): Likewise.
16539 [non-C99-based standards] (ynf): Likewise.
16540 [non-C99-based standards] (isnanf): Likewise.
16541 [non-C99-based standards] (acoshf): Likewise.
16542 [non-C99-based standards] (asinhf): Likewise.
16543 [non-C99-based standards] (atanhf): Likewise.
16544 [non-C99-based standards] (cbrtf): Likewise.
16545 [non-C99-based standards] (expm1f): Likewise.
16546 [non-C99-based standards] (ilogbf): Likewise.
16547 [non-C99-based standards] (log1pf): Likewise.
16548 [non-C99-based standards] (logbf): Likewise.
16549 [non-C99-based standards] (nextafterf): Likewise.
16550 [non-C99-based standards] (remainderf): Likewise.
16551 [non-C99-based standards] (rintf): Likewise.
16552 [non-C99-based standards] (scalbf): Likewise.
16553 [non-C99-based standards] (copysignl): Likewise.
16554 [non-C99-based standards] (exp2l): Likewise.
16555 [non-C99-based standards] (log2l): Likewise.
16556 [non-C99-based standards] (modfl): Allow.
16557 [non-C99-based standards] (erfl): Do not allow.
16558 [non-C99-based standards] (erfcl): Likewise.
16559 [non-C99-based standards] (gammal): Likewise.
16560 [non-C99-based standards] (hypotl): Likewise.
16561 [non-C99-based standards] (j0l): Likewise.
16562 [non-C99-based standards] (j1l): Likewise.
16563 [non-C99-based standards] (jnl): Likewise.
16564 [non-C99-based standards] (lgammal): Likewise.
16565 [non-C99-based standards] (tgammal): Likewise.
16566 [non-C99-based standards] (y0l): Likewise.
16567 [non-C99-based standards] (y1l): Likewise.
16568 [non-C99-based standards] (ynl): Likewise.
16569 [non-C99-based standards] (isnanl): Likewise.
16570 [non-C99-based standards] (acoshl): Likewise.
16571 [non-C99-based standards] (asinhl): Likewise.
16572 [non-C99-based standards] (atanhl): Likewise.
16573 [non-C99-based standards] (cbrtl): Likewise.
16574 [non-C99-based standards] (expm1l): Likewise.
16575 [non-C99-based standards] (ilogbl): Likewise.
16576 [non-C99-based standards] (log1pl): Likewise.
16577 [non-C99-based standards] (logbl): Likewise.
16578 [non-C99-based standards] (nextafterl): Likewise.
16579 [non-C99-based standards] (remainderl): Likewise.
16580 [non-C99-based standards] (rintl): Likewise.
16581 [non-C99-based standards] (scalbl): Likewise.
16582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16583 [non-C99-based standards] (FP_*): Do not allow.
16584 [C99-based standards] (FP_*): Change to
16585 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16586 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16587 allow.
16588 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16589 (SIG_ERR): Likewise.
16590 [X/Open-based standards] (SIG_HOLD): Likewise.
16591 (SIG_IGN): Likewise.
16592 (SIGABRT): Use macro-int-constant. Specify type. Require
16593 positive value.
16594 (SIGFPE): Likewise.
16595 (SIGILL): Likewise.
16596 (SIGINT): Likewise.
16597 (SIGSEGV): Likewise.
16598 (SIGTER): Likewise.
16599 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16600 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16601 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16602 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16603 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16604 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16605 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16606 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16607 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16608 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16609 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16610 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16611 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16612 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16613 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16614 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16615 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16616 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16617 [X/Open-based standards] (SIGTRAP): Likewise.
16618 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16619 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16620 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16621 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16622 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16623 allow.
16624
b9f1922d
IW
166252012-05-08 Ian Wienand <ianw@vmware.com>
16626
16627 [BZ #14080]
16628 * time/tzset.c (__tzset_parse_tz): Update default rules for
16629 daylight time changes in the Energy Policy Act of 2005.
16630
1db86e88
AJ
166312012-05-09 Andreas Jaeger <aj@suse.de>
16632
16633 [BZ #13983]
16634 * elf/ldconfig.c (parse_conf): Change string to make clear that
16635 ldconfig only issued a warning if ld.so.conf does not exist.
16636
dee4a4e3
DM
166372012-05-08 David S. Miller <davem@davemloft.net>
16638
ee0db190
DM
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16640 movxtod instead of popping the value on the stack.
16641
dee4a4e3
DM
16642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16643
6a43ec98
CD
166442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16645
16646 * config.h.in: Add HAVE_ARM_PCS_VFP.
16647
05c2c961
RMG
166482012-05-08 Roland Mc Grath <roland@hack.frob.com>
16649
bcfe3a54
ST
16650 [BZ #13979]
16651 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16652 checking but the checks are disabled for any reason.
05c2c961 16653
4b30f61a
L
166542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16655
16656 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16657 and ELF64_R_TYPE with ELFW(R_TYPE).
16658
eee2bc67
JM
166592012-05-08 Joseph Myers <joseph@codesourcery.com>
16660
7ea5391a
JM
16661 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16662 (ulimit): Likewise.
16663
eee2bc67
JM
16664 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16665 (settimeofday): Likewise.
16666
abb66a67
MF
166672012-05-08 Mike Frysinger <vapier@gentoo.org>
16668
16669 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16670 a struct th_u2 inside the union, and move tu_block/tu_code into
16671 a new th_u3 union of tu_block/tu_code inside of that. Move
16672 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16673 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16674 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16675 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16676 (th_stuff): Change to th_u1.tu_stuff.
16677 (th_data): Define.
16678 (th_msg): Change to th_u1.th_u2.tu_data.
16679
7f18b530
DM
166802012-05-07 David S. Miller <davem@davemloft.net>
16681
05760585
DM
16682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16683
7f18b530
DM
16684 [BZ #14074]
16685 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16686 (SETUP_PIC_REG): Use it.
16687 (SETUP_PIC_REG_LEAF): Use it.
16688
495fd99f
JM
166892012-05-07 Joseph Myers <joseph@codesourcery.com>
16690
16691 [BZ #13885]
16692 [BZ #13923]
16693 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16694 USE_AS_EXPM1L.
16695 (EXPL_FINITE): Likewise.
16696 (FLDLOG): Likewise.
16697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16698 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16699 e_expl.S.
16700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16701 USE_AS_EXPM1L.
16702 (EXPL_FINITE): Likewise.
16703 (FLDLOG): Likewise.
16704 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16705 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16706 e_expl.S.
16707 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16708 test of -max_value argument for long double.
16709 * sysdeps/i386/fpu/libm-test-ulps: Update.
16710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16711
6693d694
DM
167122012-05-06 David S. Miller <davem@davemloft.net>
16713
16714 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16715 quad soft-float symbols whose references which are compiler
16716 generated.
16717 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16718
6c23e11c
JM
167192012-05-06 Joseph Myers <joseph@codesourcery.com>
16720
d8b82cad
JM
16721 [BZ #13884]
16722 [BZ #13914]
16723 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16724 USE_AS_EXP10L.
16725 (EXPL_FINITE): Likewise.
16726 (FLDLOG): Likewise.
16727 (c0): Likewise.
16728 (c1): Likewise.
16729 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16730 Adjust comments for base varying.
16731 (__expl_finite): Change alias to EXPL_FINITE.
16732 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16733 e_expl.S.
16734 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16735 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16737 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16738 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16739 USE_AS_EXP10L.
16740 (EXPL_FINITE): Likewise.
16741 (FLDLOG): Likewise.
16742 (c0): Likewise.
16743 (c1): Likewise.
16744 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16745 Adjust comments for base varying.
16746 (__expl_finite): Change alias to EXPL_FINITE.
16747 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16748 tests for bugs.
16749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16750
6c23e11c
JM
16751 [BZ #14064]
16752 * math/libm-test.inc (check_float_internal): Correct ulp
16753 calculation for subnormal expected results.
16754
29ba805c
AJ
167552012-05-06 Andreas Jaeger <aj@suse.de>
16756
16757 * Makeconfig (+math-flags): New, set to -frounding-math.
16758 (+cflags): Add +math-flags so that all of glibc gets compiled with
16759 it.
16760
16761 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16762
7b17aeda
JM
167632012-05-05 Joseph Myers <joseph@codesourcery.com>
16764
5779f134
JM
16765 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16766 Disable one test.
16767
41498f4d
JM
16768 [BZ #13787]
16769 [BZ #13922]
16770 [BZ #14036]
16771 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16772 (__ieee754_expl): Allow for and saturate large arguments.
16773 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16774 (u_threshold): Likewise.
16775 (__exp): Call __ieee754_exp before checking for overflow and
16776 underflow.
16777 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16778 (u_threshold): Likewise.
16779 (__expf): Call __ieee754_expf before checking for overflow and
16780 underflow.
16781 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16782 (u_threshold): Likewise.
16783 (__expl): Call __ieee754_expl before checking for overflow and
16784 underflow.
16785 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16786 (__ieee754_expl): Allow for and saturate large arguments.
16787 * math/libm-test.inc (exp_test): Add another test. Do not allow
16788 missing overflow exception on overflow.
16789 (expm1_test): Do not allow missing overflow exception on overflow.
16790
6698b8bf
JM
16791 * sysdeps/i386/fpu/e_expl.c: Move to ...
16792 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16793 rather than using inline asm.
16794 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16795 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16796 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16797
7b17aeda
JM
16798 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16799 (nice): Likewise.
16800 (poll): Likewise.
16801 (signal): Likewise.
16802 (time): Likewise.
16803 (times): Likewise.
16804
f7c85819
JM
168052012-05-04 Joseph Myers <joseph@codesourcery.com>
16806
16807 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16808 sysdeps/unix/common/syscalls.list.
16809 (fchmod): Likewise.
16810 (fchown): Likewise.
16811 (ftruncate): Likewise.
16812 (getrusage): Likewise.
16813 (gettimeofday): Likewise.
16814 (setpgid): Likewise.
16815 (setregid): Likewise.
16816 (setreuid): Likewise.
16817 (sigaction): Likewise.
16818 (truncate): Likewise.
16819 (vhangup): Likewise.
16820 * sysdeps/unix/common/syscalls.list: Remove file.
16821 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16822 * sysdeps/unix/sysv/linux/Implies: Likewise.
16823
336270d0
L
168242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16825
16826 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16828 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16829 Moved to ...
16830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16831 Here.
16832 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16833 to ...
16834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16835 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16836 to ...
16837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16838 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16839 to ...
16840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16841 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16842 to ...
16843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16844 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16845 to ...
16846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16847 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16848 to ...
16849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16850 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16851 to ...
16852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16853 Here.
16854 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16855 to ...
16856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16857 Here.
16858 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16859 to ...
16860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16861 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16862 Moved to ...
16863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16864 Here.
16865 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16866 to ...
16867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16868
d128e450
JM
168692012-05-04 Joseph Myers <joseph@codesourcery.com>
16870
fa8ee516
JM
16871 * sysdeps/unix/common/bits/dirent.h: Remove file.
16872 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16873
d128e450
JM
16874 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16875 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16876 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16877 * sysdeps/unix/bsd/isatty.c: Likewise.
16878 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16879 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16880 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16881
ff8faaf0 168822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16883
62881be4 16884 [BZ #13563]
31dc8730
AZ
16885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16886 long double comparison inaccuracies.
16887 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16889
6fef930c
AS
168902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16891
16892 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16894
8f203e6c
JM
168952012-05-04 Joseph Myers <joseph@codesourcery.com>
16896
16897 [BZ #14049]
16898 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16899 nonzero digits before rounding a hex value.
16900 * stdlib/tst-strtod.c (tests): Add another test.
16901
5197d9c2
AK
169022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16903
16904 * sysdeps/s390/fpu/libm-test-ulps: Update.
16905
f0c1dedf
AJ
169062012-05-03 Andreas Jaeger <aj@suse.de>
16907
16908 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16909 does not get optimized out.
16910 (malloc_opt_barrier): New.
16911
a65ef2ae 169122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16913 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16914
2b942cb7 16915 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16916 intermediate file deletion.
2b942cb7 16917 (generated): Add .symlist files.
a65ef2ae 16918
54b71e02
JM
169192012-05-03 Joseph Myers <joseph@codesourcery.com>
16920
16921 [BZ #13775]
16922 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16923 Redirect under this condition.
16924 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16925 [__USE_GNU] (__dprintf_chk): Not under this condition.
16926 [__USE_GNU] (__vdprintf_chk): Likewise.
16927 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16928 under this condition.
16929 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16930 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16931 [__USE_XOPEN2K8] (vdprintf): Likewise.
16932 [__USE_GNU] (__dprintf_chk): Not under this condition.
16933 [__USE_GNU] (__vdprintf_chk): Likewise.
16934 [__USE_GNU] (dprintf): Likewise.
16935 [__USE_GNU] (vdprintf): Likewise.
16936
d3dfcc41
RM
169372012-05-03 Roland McGrath <roland@hack.frob.com>
16938
16939 * elf/Makefile (common-generated): Set this instead of generated for
16940 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16941 $(all-built-dso)-derived lists.
16942
7ac30cc5
AJ
169432012-05-03 Andreas Jaeger <aj@suse.de>
16944
0c51e550
AJ
16945 * sysdeps/i386/fpu/libm-test-ulps: Update.
16946
7ac30cc5
AJ
16947 * FAQ: Removed.
16948 * FAQ.in: Likewise.
16949 * scripts/gen-FAQ.pl: Likewise.
16950 * manual/install.texi (Installation): Point to online location of
16951 FAQ.
16952 * Makefile (files-for-dist): Remove FAQ.
16953 (FAQ): Remove.
16954
d4c2917f
AM
169552012-05-02 Allan McRae <allan@archlinux.org>
16956
16957 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16958 (LDFLAGS-reldepmod5.so): Likewise.
16959 (LDFLAGS-reldep6mod1.so): Likewise.
16960 (LDFLAGS-reldep6mod4.so): Likewise.
16961 (LDFLAGS-reldep8mod3.so): Likewise.
16962 (LDFLAGS-unload4mod1.so): Likewise.
16963 (LDFLAGS-unload4mod2.so): Likewise.
16964 (LDFLAGS-tst-initorder): Likewise.
16965 (LDFLAGS-tst-initordera2.so): Likewise.
16966 (LDFLAGS-tst-initordera3.so): Likewise.
16967 (LDFLAGS-tst-initordera4.so): Likewise.
16968 (LDFLAGS-tst-initorderb2.so): Likewise.
16969 (LDFLAGS-noload): Likewise.
16970 (LDFLAGS-next): Likewise.
16971 (LDFLAGS-order2mod1.so): Likewise.
16972 (LDFLAGS-order2mod2.so): Likewise.
16973 (LDFLAGS-tst-initorder2): Likewise.
16974 (LDFLAGS-tst-initorder2a.so): Likewise.
16975 (LDFLAGS-tst-initorder2b.so): Likewise.
16976 (LDFLAGS-tst-initorder2c.so): Likewise.
16977 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16978
d77f993f
DM
169792012-05-02 David S. Miller <davem@davemloft.net>
16980
16981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16982
171a70b4
PP
169832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16984
16985 [BZ #14055]
16986 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16987
0be196ad
AJ
169882012-05-02 Andreas Jaeger <aj@suse.de>
16989
16990 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16991 since we manipulate rounding mode.
16992 (CPPFLAGS-test-idouble.c): Likewise.
16993 (CPPFLAGS-test-ifloat.c): Likewise.
16994 (CFLAGS-test-ldouble.c): Likewise.
16995 (CFLAGS-test-double.c): Likewise.
16996 (CFLAGS-test-float.c): Likewise.
16997 (CFLAGS-test-misc.c): Likewise.
16998 (CFLAGS-test-test-fenv.c): Likewise.
16999
4f9d04aa
AZ
170002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17001
2b942cb7
RM
17002 [BZ #2550]
17003 [BZ #2570]
17004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17005 comparisons to determine direction to adjust input.
4f9d04aa 17006
82a79e7d
RM
170072012-05-01 Roland McGrath <roland@hack.frob.com>
17008
f5a01ca9
RM
17009 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17010 output to the target.
17011
90fe4186
RM
17012 * scripts/localplt.awk: New file.
17013 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17014 (check-localplt-CFLAGS): Variable removed.
17015 ($(all-built-dso:=.jmprel)): New static pattern rule.
17016 (generated): Add those targets.
17017 (localplt-built-dso): New variable.
17018 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17019
17020 * elf/check-localplt.c: File removed.
17021
82397ed6
RM
17022 * scripts/check-execstack.awk: New file.
17023 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17024 (check-execstack-CFLAGS): Variable removed.
17025 ($(objpfx)check-execstack.h): Target removed.
17026 ($(objpfx)execstack-default): New target.
17027 (generated): Add that instead of check-execstack.h.
17028 ($(all-built-dso:=.phdr)): New static pattern rule.
17029 (generated): Add those targets.
17030 * elf/check-execstack.c: File removed.
17031
82a79e7d
RM
17032 * scripts/check-textrel.awk: New file.
17033 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17034 (check-textrel-CFLAGS): Variable removed.
17035 (all-built-dso): Use := to define.o
17036 ($(all-built-dso:=.dyn)): New static pattern rule.
17037 (generated): Add those targets.
17038 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17039 * config.make.in (READELF): New substituted variable.
17040 * elf/check-textrel.c: File removed.
17041
62fde54f 170422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17043
615605c9
JM
17044 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17045 allow.
17046 * conform/data/ctype.h-data [C99-based standards] (isblank):
17047 Expect function.
17048 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17049 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17051 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17052 Specify type. Require positive value.
17053 (EILSEQ): Likewise.
17054 (ERANGE): Likewise.
17055 [ISO || POSIX] (EILSEQ): Do not expect.
17056 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17057 Specify type. Require positive value.
17058 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17059 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17060 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17061 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17062 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17063 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17064 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17065 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17066 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17067 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17068 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17069 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17070 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17071 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17072 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17073 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17074 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17075 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17076 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17077 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17078 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17079 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17080 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17081 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17082 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17083 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17084 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17085 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17086 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17087 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17088 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17089 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17090 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17091 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17092 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17093 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17094 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17095 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17096 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17097 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17098 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17099 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17100 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17101 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17102 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17103 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17104 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17105 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17106 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17107 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17108 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17109 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17110 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17111 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17112 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17113 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17114 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17115 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17116 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17117 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17118 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17119 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17120 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17121 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17122 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17123 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17124 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17125 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17126 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17127 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17128 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17129 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17132 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17133 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17134 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17135 Require >= 2.
17136 (FLT_ROUNDS): Expect as macro, not constant.
17137 (FLT_MANT_DIG): Use macro-int-constant.
17138 (DBL_MANT_DIG): Likewise.
17139 (LDBL_MANT_DIG): Likewise.
17140 (FLT_DIG): Likewise.
17141 (DBL_DIG): Likewise.
17142 (LDBL_DIG): Likewise.
17143 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17144 (DBL_MIN_EXP): Likewise.
17145 (LDBL_MIN_EXP): Likewise.
17146 (FLT_MAX_EXP): Use macro-int-constant.
17147 (DBL_MAX_EXP): Likewise.
17148 (LDBL_MAX_EXP): Likewise.
17149 (FLT_MAX_10_EXP): Likewise.
17150 (DBL_MAX_10_EXP): Likewise.
17151 (LDBL_MAX_10_EXP): Likewise.
17152 (FLT_MAX): Use macro-constant.
17153 (DBL_MAX): Likewise.
17154 (LDBL_MAX): Likewise.
17155 (FLT_EPSILON): Use macro-constant. Give upper bound.
17156 (DBL_EPSILON): Likewise.
17157 (LDBL_EPSILON): Likewise.
17158 (FLT_MIN): Likewise.
17159 (DBL_MIN): Likewise.
17160 (LDBL_MIN): Likewise.
17161 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17162 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17163 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17164 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17165 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17166 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17167 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17168 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17169 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17170 [ISO11] (FLT_TRUE_MIN): Likewise.
17171 [ISO11] (LDBL_TRUE_MIN): Likewise.
17172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17173 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17174 (SCHAR_MIN): Use macro-int-constant. Specify type.
17175 (SCHAR_MAX): Likewise.
17176 (UCHAR_MAX): Likewise.
17177 (CHAR_MIN): Likewise.
17178 (CHAR_MAX): Likewise.
17179 (MB_LEN_MAX): Use macro-int-constant.
17180 (SHRT_MIN): Use macro-int-constant. Specify type.
17181 (SHRT_MAX): Likewise.
17182 (USHRT_MAX): Likewise.
17183 (INT_MAX): Likewise.
17184 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17185 bound negative.
17186 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17187 bound with "U".
17188 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17189 bound with "L".
17190 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17191 bound negative. Suffix upper bound with "L".
17192 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17193 bound with "UL".
17194 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17195 Specify type.
17196 [C99-based standards] (LLONG_MAX): Likewise.
17197 [C99-based standards] (ULLONG_MAX): Likewise.
17198 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17199 == 0.
17200 [ISO11] (max_align_t): Require type.
17201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17202
c9140a62
JM
17203 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17204 from $CFLAGS, without defining away __attribute__ calls.
17205 (checknamespace): Use $CFLAGS_namespace.
17206
9af0bf29
JM
17207 * conform/conformtest.pl (@keywords): Only include C99 keywords
17208 for standards based on C99 or C11.
17209
343222a2
JM
17210 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17211 Disable tests.
17212 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17213 UNIX98]: Likewise.
17214
661f8cf0
JM
17215 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17216 usability of symbols in #if.
17217
ee74b9cb
JM
17218 * conform/conformtest.pl: If macro or constant types start
17219 "promoted:", expect the symbol to be of the following type
17220 promoted by the integer promotions.
62fde54f 17221
aafc49b3
JM
17222 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17223 in one place. Also handle "macro-constant".
17224
fefdf574
JM
17225 * conform/conformtest.pl: Only accept expected macro values with
17226 "==". Parse all "macro" lines in one place.
17227 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17228
f2d922fe
JM
17229 * conform/conformtest.pl: Handle braced types on "constant" lines
17230 instead of handling "typed-constant".
17231 * conform/data/signal.h-data: Use "constant" instead of
17232 "typed-constant".
17233
d22956c9
JM
17234 * conform/conformtest.pl: Handle "optional-" at start of lines in
17235 one place rather than duplicating several cases. Handle each
17236 format of "macro" line with initial "optional-".
17237
028e2e38
JM
17238 * conform/conformtest.pl: Only accept expected constant or
17239 optional-constant values with "==". Parse all "constant" lines in
17240 one place. Parse all "optional-constant" lines in one place.
17241 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17242 * conform/data/fmtmsg.h-data: Likewise.
17243 * conform/data/netinet/in.h-data: Likewise.
17244 * conform/data/tar.h-data: Likewise.
17245 * conform/data/limits.h-data: Use "==" form on "constant" and
17246 "optional-constant" lines.
17247
1b8f2850
JM
17248 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17249 Use -std=c99 for XOPEN2K.
17250 (@knownproblems): Remove.
17251 (newtoken): Don't check %isknown.
17252
a05a144b
JM
17253 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17254 Do not expect macro.
17255 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17256 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17257 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17258 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17259 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17260 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17261 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17262 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17263 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17264 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17265 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17266 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17267 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17268 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17269 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17270 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17271 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17272 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17273 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17274 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17275 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17276 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17277 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17278 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17279 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17280 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17281 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17282 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17283 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17284 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17285 [XPG3] (acosh): Likewise.
17286 [XPG3] (asinh): Likewise.
17287 [XPG3] (atanh): Likewise.
17288 [XPG3] (cbrt): Likewise.
17289 [XPG3] (expm1): Likewise.
17290 [XPG3] (ilogb): Likewise.
17291 [XPG3] (log1p): Likewise.
17292 [XPG3] (logb): Likewise.
17293 [XPG3] (nextafter): Likewise.
17294 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17295 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17296 [XPG3] (remainder): Likewise.
17297 [XPG3] (rint): Likewise.
17298 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17299 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17300 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17301 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17302 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17303 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17304 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17305 [UNIX98 || XOPEN2K] (scalb): Expect.
17306 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17307 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17308 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17309 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17310 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17311 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17312 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17313 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17314 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17315 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17316 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17317 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17318 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17319 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17320 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17321 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17322 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17323 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17324 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17325 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17326 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17327 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17328 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17329 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17330 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17331 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17332 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17333 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17334 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17335 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17336 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17337 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17338 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17339 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17340 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17341 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17342 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17343 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17344 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17345 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17346 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17347 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17348 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17349 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17350 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17351 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17352 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17353 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17354 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17355 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17356 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17357 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17358 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17359 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17360 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17361 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17362 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17363 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17364 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17365 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17366 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17367 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17368 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17369 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17370 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17371 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17372 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17373 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17375 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17376 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17377 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17378 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17379 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17380 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17381 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17382 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17384 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17385 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17386 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17387 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17388 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17389 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17390 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17391 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17392 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17393 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17394 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17395 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17396 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17397 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17398 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17399 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17400 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17402 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17403 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17404 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17405 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17406 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17407 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17408 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17409 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17412 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17413 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17414 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17415 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17416 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17417 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17418 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17419 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17421 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17422 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17424 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17425 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17426 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17427 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17428 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17429 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17430 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17431 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17433 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17434 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17435 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17436 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17437 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17438 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17439 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17440 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17441 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17443
73c5ebe3
JM
17444 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17445 _XOPEN_SOURCE_EXTENDED for XPG4.
17446
39c33b6c
JM
17447 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17448
62fde54f
JM
17449 * Makeconfig (localtime): Remove variable.
17450 (inst_localtime-file): Likewise.
17451
0741d64c
AS
174522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17453
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17455 Update.
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17457 Update.
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17459 Update.
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17461 Update.
17462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17463 Update.
17464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17465 Update.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17467 Update.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17469 Update.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17471 Update.
17472
7cb029ee
JM
174732012-05-01 Joseph Myers <joseph@codesourcery.com>
17474
17475 [BZ #2550]
17476 [BZ #2570]
17477 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17478 comparisons to determine direction to adjust input.
17479 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17480 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17481 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17482 Likewise.
17483 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17484 Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17486 Likewise.
17487 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17488 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17489 Likewise.
17490 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17491 Likewise.
17492 * math/libm-test.inc (nexttoward_test): Add more tests.
17493
412bd966
AS
174942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17495
17496 [BZ #14040]
17497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17498 in version GLIBC_2.1, not GLIBC_2.0.
17499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17500 Likewise.
17501
9568c0c2
JM
175022012-04-30 Joseph Myers <joseph@codesourcery.com>
17503
adfbc8ac
JM
17504 [BZ #13942]
17505 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17506 (1 - x) * (1 + x).
17507 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17508 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17509 * math/libm-test.inc (acos_test): Add more tests.
17510 (asin_test): Likewise.
17511 * sysdeps/i386/fpu/libm-test-ulps: Update.
17512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17513
5ba3cc69
JM
17514 [BZ #14034]
17515 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17516 of square root.
17517 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17518 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17519 * math/libm-test.inc (acos_test_tonearest): New function.
17520 (acos_test_towardzero): Likewise.
17521 (acos_test_downward): Likewise.
17522 (acos_test_upward): Likewise.
17523 (asin_test_tonearest): Likewise.
17524 (asin_test_towardzero): Likewise.
17525 (asin_test_downward): Likewise.
17526 (asin_test_upward): Likewise.
17527 (main): Call the new functions.
17528 * sysdeps/i386/fpu/libm-test-ulps: Update.
17529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17530
9568c0c2
JM
17531 [BZ #13884]
17532 [BZ #13924]
17533 * math/e_exp10.c: Include <float.h>.
17534 (__ieee754_exp10): Handle underflow here rather than multiplying
17535 large negative argument by M_LN10.
17536 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17537 of __ieee754_expf.
17538 * math/e_exp10l.c: Include <float.h>.
17539 (__ieee754_exp10l): Handle underflow here rather than multiplying
17540 large negative argument by M_LN10l.
17541 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17542 spurious overflow exception on underflow.
17543
5ac3ea17
MP
175442012-04-29 Marek Polacek <polacek@redhat.com>
17545
17546 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17547 (__fortify_function): New macro.
17548 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17549 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17550 __extern_always_inline.
17551 * libio/bits/stdio2.h: Likewise.
17552 * libio/bits/stdio.h: Likewise.
17553 * string/string.h: Likewise.
17554 * string/bits/string3.h: Likewise.
17555 * include/stdio.h: Likewise.
17556 * stdlib/bits/stdlib.h: Likewise.
17557 * stdlib/stdlib.h: Likewise.
17558 * rt/bits/mqueue2.h: Likewise.
17559 * rt/mqueue.h: Likewise.
17560 * posix/bits/unistd.h: Likewise.
17561 * posix/unistd.h: Likewise.
17562 * io/bits/poll2.h: Likewise.
17563 * io/bits/fcntl2.h: Likewise.
17564 * io/fcntl.h: Likewise.
17565 * io/sys/poll.h: Likewise.
17566 * misc/bits/syslog.h: Likewise.
17567 * misc/bits/syslog-ldbl.h: Likewise.
17568 * misc/sys/syslog.h: Likewise.
17569 * socket/bits/socket2.h: Likewise.
17570 * socket/sys/socket.h: Likewise.
17571 * debug/tst-chk1.c: Likewise.
17572 * wcsmbs/bits/wchar2.h: Likewise.
17573 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17574 * wcsmbs/wchar.h: Likewise.
17575
ecf0ebfb
AJ
175762012-04-29 Andreas Jaeger <aj@suse.de>
17577
17578 * Makerules (tests): Remove enable-check-abi protection.
17579 (check-abi-warn): Remove.
17580 (check-abi-%): Remove check-abi-warn usage.
17581
17582 * configure.in: Remove check-abi configure option.
17583 * configure: Regenerated.
17584 * config.make.in (enable-check-abi): Remove.
17585
6d5c57fa
AS
175862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17587
24c5d07e 17588 [BZ #14033]
ded5180a
AS
17589 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17590 double functions to double *_finite functions.
17591
7e0d315d
AS
17592 [BZ #13941]
17593 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17594 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17595 LDBL_MIN_EXP.
17596 * stdio-common/Makefile (tests): Add tst-sprintf3.
17597 * stdio-common/tst-sprintf3.c: New file.
17598
6d5c57fa
AS
17599 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17600 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17601
0749ff8b
JM
176022012-04-28 Joseph Myers <joseph@codesourcery.com>
17603
17604 * conform/conformtest.pl: Remove duplicate typed-constant
17605 handling.
17606
8dbd5d7b
DM
176072012-04-28 David S. Miller <davem@davemloft.net>
17608
17609 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17610 (check-abi-%): Remove AWK script prerequisite and explicit
17611 abilist directory.
17612 (check-abi): Rewrite to just diff the symlist with the abilist.
17613 (config-tls, config-abi-config): Delete, no longer used.
17614 (update-abi-%): Remove AWK script and explicit abilist directory.
17615 (update-abi): Rewrite to simply compare and conditionally copy the
17616 symlist and the sysdep abilist file. Remove update-abi-config
17617 checks.
17618 * abilist/ld.abilist: Remove.
17619 * abilist/libBrokenLocale.abilist: Remove.
17620 * abilist/libanl.abilist: Remove.
17621 * abilist/libcrypt.abilist: Remove.
17622 * abilist/libdl.abilist: Remove.
17623 * abilist/librt.abilist: Remove.
17624 * abilist/libthread_db.abilist: Remove.
17625 * abilist/libutil.abilist: Remove.
17626 * scripts/extract-abilist.awk: Remove.
17627 * scripts/merge-abilist.awk: Remove.
17628 * sysdeps/generic/libcidn.abilist: New file.
17629 * sysdeps/generic/libnss_compat.abilist: New file.
17630 * sysdeps/generic/libnss_db.abilist: New file.
17631 * sysdeps/generic/libnss_dns.abilist: New file.
17632 * sysdeps/generic/libnss_files.abilist: New file.
17633 * sysdeps/generic/libnss_hesiod.abilist: New file.
17634 * sysdeps/generic/libnss_nis.abilist: New file.
17635 * sysdeps/generic/libnss_nisplus.abilist: New file.
17636 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17637 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17638 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17639 file.
17640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17641 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17642 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17643 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17644 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17645 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17646 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17647 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17648 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17649 file.
17650 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17651 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17652 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17653 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17654 file.
17655 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17656 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17657 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17658 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17659 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17660 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17661 file.
17662 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17663 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17664 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17665 file.
17666 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17668 New file.
17669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17670 New file.
17671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17672 New file.
17673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17674 New file.
17675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17676 New file.
17677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17678 New file.
17679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17680 New file.
17681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17682 New file.
17683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17684 New file.
17685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17686 New file.
17687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17688 New file.
17689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17690 New file.
17691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17692 New file.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17694 file.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17696 New file.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17698 New file.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17700 file.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17702 New file.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17704 New file.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17706 file.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17708 New file.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17710 New file.
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17712 New file.
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17714 New file.
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17716 New file.
17717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17718 New file.
17719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17721 file.
17722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17723 New file.
17724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17725 file.
17726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17727 file.
17728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17729 file.
17730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17731 file.
17732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17733 file.
17734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17735 New file.
17736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17737 file.
17738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17739 file.
17740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17741 New file.
17742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17743 file.
17744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17746 file.
17747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17748 New file.
17749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17750 file.
17751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17752 file.
17753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17754 file.
17755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17756 file.
17757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17758 file.
17759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17760 New file.
17761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17762 file.
17763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17764 file.
17765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17766 New file.
17767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17768 file.
17769 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17770 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17771 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17772 file.
17773 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17774 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17775 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17776 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17777 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17778 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17779 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17780 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17781 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17782 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17785 file.
17786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17787 New file.
17788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17789 file.
17790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17791 file.
17792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17793 file.
17794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17795 file.
17796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17797 file.
17798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17799 New file.
17800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17801 New file.
17802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17803 file.
17804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17805 New file.
17806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17807 file.
17808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17810 file.
17811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17812 New file.
17813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17814 file.
17815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17816 file.
17817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17818 file.
17819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17820 file.
17821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17822 file.
17823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17824 New file.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17826 New file.
17827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17828 file.
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17830 New file.
17831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17832 file.
17833
41d73a1b
JM
178342012-04-28 Joseph Myers <joseph@codesourcery.com>
17835
17836 * conform/conformtest.pl: Fix typo in handling typed-constant from
17837 allow-header.
17838
28aeeda4
JM
178392012-04-27 Joseph Myers <joseph@codesourcery.com>
17840
adae8f5e
JM
17841 * README: Cut down references to pre-2.6 Linux kernels and
17842 Linuxthreads. Update lists of configurations in libc and ports
17843 and sort alphabetically. Say "or newer" with Linux kernel version
17844 requirements.
17845
28aeeda4
JM
17846 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17847
a462cb63
RA
178482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17849
17850 [BZ #887]
17851 * math/libm-test.inc (logb_test_downward): New test to expose
17852 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17853 rounding mode.
17854
6ad3493e
JM
178552012-04-27 Joseph Myers <joseph@codesourcery.com>
17856
17857 [BZ #14027]
17858 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17859 to be done.
17860 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17861 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17862
2ce4f015
JM
178632012-04-26 Joseph Myers <joseph@codesourcery.com>
17864
5aeb141a
JM
17865 * sysdeps/unix/i386/brk.S: Remove file.
17866 * sysdeps/unix/i386/dl-brk.S: Likewise.
17867 * sysdeps/unix/i386/pipe.S: Likewise.
17868 * sysdeps/unix/i386/sigreturn.S: Likewise.
17869 * sysdeps/unix/i386/syscall.S: Likewise.
17870 * sysdeps/unix/i386/vfork.S: Likewise.
17871 * sysdeps/unix/i386/wait.S: Likewise.
17872
7143acae
JM
17873 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17874 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17875
2ce4f015
JM
17876 * configure.in (arm*-none*): Do not allow without
17877 --enable-hacker-mode.
17878 (netbsd*): Remove case setting base_os.
17879 (386bsd*): Likewise.
17880 (freebsd*): Likewise.
17881 (bsdi*): Likewise.
17882 (osf*): Likewise.
17883 (sunos*): Likewise.
17884 (ultrix*): Likewise.
17885 (newsos*): Likewise.
17886 (dynix*): Likewise.
17887 (*bsd*): Likewise.
17888 (sysv*): Likewise.
17889 (isc*): Likewise.
17890 (esix*): Likewise.
17891 (sco*): Likewise.
17892 (minix*): Likewise.
17893 (irix4*): Likewise.
17894 (irix6*): Likewise.
17895 (solaris[2-9]*): Likewise.
17896 (none): Likewise.
17897 * configure: Regenerated.
17898
0ac229c8
AZ
178992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17900
17901 [BZ #11521]
17902 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17903 overflow or cancellation in calculating denominator.
17904 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17905 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17906 down expression to avoid unexpected rounding in newer GCCs.
17907 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17908
33f244f4
DM
179092012-04-26 David S. Miller <davem@davemloft.net>
17910
17911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17912 long-double compat symbols.
17913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17926
cfa1f3e8
DM
179272012-04-25 David S. Miller <davem@davemloft.net>
17928
17929 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17930 HWCAP_* values only after the memory barriers have been defined.
17931 (atomic_full_barrier): Define.
17932 (atomic_read_barrier): Define.
17933 (atomic_write_barrier): Define.
17934
6e236b92
SP
179352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17936
17937 * shlib-versions: Add libgcc_s version information.
17938 * sysdeps/generic/libgcc_s.h: Remove.
17939 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17940 libgcc_s.h.
17941 * sysdeps/gnu/unwind-resume.c: Likewise.
17942 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17943
aab39a09
DM
179442012-04-25 David S. Miller <davem@davemloft.net>
17945
17946 * sysdeps/unix/sparc/brk.S: Delete.
17947 * sysdeps/unix/sparc/dl-brk.S: Delete.
17948 * sysdeps/unix/sparc/pipe.S: Delete.
17949 * sysdeps/unix/sparc/sysdep.S: Delete.
17950 * sysdeps/unix/sparc/sysdep.h: Delete.
17951 * sysdeps/unix/sparc/vfork.S: Delete.
17952 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17953 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17955 ret_ERRVAL, r0, r1, MOVE): Define.
17956 (JUMPTARGET): Remove.
17957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17958 sysdeps/unix/sparc/sysdep.h
17959 (ENTRY, END): Remove.
17960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17961
a3cc4f48
JM
179622012-04-25 Joseph Myers <joseph@codesourcery.com>
17963
2ed8cda2
JM
17964 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17965 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17966 -DIS_IN_build.
17967
35d76d59
JM
17968 * timezone/README: Update upstream location and email address for
17969 tzcode and tzdata.
17970 * timezone/zdump.c: Update from tzcode 2012b.
17971 * timezone/zic.c: Likewise.
17972
a3cc4f48
JM
17973 * configure.in (libc_cv_as_needed): Remove test.
17974 * configure: Regenerated.
17975 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17976 conditional definition.
17977 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17978 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17979 * config.make.in (have-as-needed): Remove variable.
17980
ceab42c3
SP
179812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17982 Paul Pluzhnikov <ppluzhnikov@google.com>
17983
17984 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17985 strings correctly.
17986
3ce2865f
CLT
179872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17988
17989 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17990 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17991 * sysdeps/sh/strlen.S: Likewise.
17992
f37e0d68
JM
179932012-04-24 Joseph Myers <joseph@codesourcery.com>
17994
ae186e9a
JM
17995 * sysdeps/unix/fork.S: Remove file.
17996 * sysdeps/unix/i386/fork.S: Likewise.
17997 * sysdeps/unix/sparc/fork.S: Likewise.
17998
b96914af
JM
17999 * sysdeps/unix/system.c: Remove file.
18000 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18001
f37e0d68
JM
18002 * sysdeps/unix/getegid.S: Remove file.
18003 * sysdeps/unix/geteuid.S: Likewise.
18004
87ef29ca
RM
180052012-04-24 Roland McGrath <roland@hack.frob.com>
18006
83bcd236
RM
18007 * scripts/check-localplt.awk: New file.
18008 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18009 of diff.
18010 * scripts/data/localplt-generic.data: Add a comment.
18011
87ef29ca
RM
18012 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18013 NODE when __dir_mkfile failed.
18014 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18015 Reported by Ludovic Courtès <ludo@gnu.org>.
18016
e5a6e567
AJ
180172012-04-24 Andreas Jaeger <aj@suse.de>
18018
18019 * Makerules (common-clean): Also remove gen-as-const-headers
18020 files.
18021
c1820385
JM
180222012-04-24 Joseph Myers <joseph@codesourcery.com>
18023
18024 * Makerules (native-compile): Do not change working directory for
18025 build. Use $(OUTPUT_OPTION) in command.
18026 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18027
94e02fc4
AZ
180282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18029
18030 [BZ #13886]
18031 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18032 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18033 * math/libm-test.inc (floor_test): Add more tests.
18034 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18035
3a533ca3
JM
180362012-04-24 Joseph Myers <joseph@codesourcery.com>
18037
940ab4b3
JM
18038 * sysdeps/unix/getdents.c: Remove file.
18039 * sysdeps/unix/sysv/getdents.c: Likewise.
18040 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18041
90e037bd
JM
18042 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18043 sysdeps/unix/mman/syscalls.list.
18044 (mmap): Likewise.
18045 (mprotect): Likewise.
18046 (msync): Likewise.
18047 (munmap): Likewise.
18048 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18049 * sysdeps/unix/mman/syscalls.list: Remove.
18050 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18051
3a533ca3
JM
18052 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18053 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18054 * configure: Regenerated.
18055 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18056 $(libgcc_s_suffix).
18057 * config.make.in (libgcc_s_suffix): Remove variable.
18058
1ad743de
JM
180592012-04-23 Joseph Myers <joseph@codesourcery.com>
18060
4ad451e2
JM
18061 * sysdeps/unix/sysv/gethostname.c: Move to ...
18062 * sysdeps/posix/gethostname.c: ... here.
18063
5e37ce39
JM
18064 * sysdeps/unix/execve.S: Remove file.
18065
1ad743de
JM
18066 * sysdeps/unix/_exit.S: Remove file.
18067
4e681b5b
AJ
180682012-04-23 Andreas Jaeger <aj@suse.de>
18069
18070 [BZ #13739]
18071 * manual/Makefile: Remove make dist support, there's no
18072 need for a stand-alone documentation tar ball.
18073 (TEXI2DVI): Define always, it's not in Makeconfig.
18074 (dist): Removed.
18075 (tar-it): Removed.
18076 (edition): Removed.
18077 (glibc-doc-$(edition).tar): Removed
18078 (%.Z): Removed.
18079 (%.gz): Removed.
18080 (%.uu): Removed.
18081 (ETAGS): Remove, it's in Makeconfig.
18082 (move-if-change): Remove, it's in Makeconfig.
18083
38686a03 180842012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18085
18086 [BZ #13970]
18087 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18088 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18089 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18090 (strtod_l, strtof_l, strtold_l): Remove __wur.
18091 It is not necessarily an error to ignore strtol's return value.
18092 One can reliably look at the stored endptr to decide whether
18093 the number had valid syntax.
18094
7c0616fa
AJ
180952012-04-21 Andreas Jaeger <aj@suse.de>
18096
803cb6b7 18097 [BZ #13739]
7c0616fa
AJ
18098 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18099
b0fe253f
JM
181002012-04-21 Joseph Myers <joseph@codesourcery.com>
18101
18102 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18103 * sysdeps/unix/sysv/Versions: Remove file.
18104
8280f22d
MT
181052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18106
18107 [BZ #13927]
18108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18109
75ce411f 181102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18111
18112 [BZ #7064]
18113 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18114 version from __vm86.
18115
097d59fa
JM
181162012-04-20 Joseph Myers <joseph@codesourcery.com>
18117
a90f3bcb
JM
18118 * sysdeps/unix/common/lxstat.c: Remove file.
18119 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18120
edc7ea78
JM
18121 * sysdeps/unix/sysv/Makefile: Remove file.
18122
cb78c221
JM
18123 * sysdeps/unix/sysv/direct.h: Remove file.
18124
efa6a45f
JM
18125 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18126 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18127 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18128 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18129 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18130 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18131 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18132
9c9f2d0c
JM
18133 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18134
4541c83b
JM
18135 * sysdeps/unix/xmknod.c: Remove file.
18136 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18137
f5d153a0
JM
18138 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18139
aa746595
JM
18140 * sysdeps/unix/sysv/i386/time.S: Remove file.
18141
cce5905e
JM
18142 * sysdeps/unix/fxstat.c: Remove file.
18143 * sysdeps/unix/xstat.c: Likewise.
18144 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18145
37fa3841
JM
18146 * sysdeps/unix/sysv/sigaction.c: Remove file.
18147
ff1962a3
JM
18148 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18149 (sysdep_headers): Remove variable.
18150 [termio.h not in sysdep_headers] (generated): Likewise.
18151 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18152 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18153 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18154 * sysdeps/unix/sysv/tcflow.c: Likewise.
18155 * sysdeps/unix/sysv/tcflush.c: Likewise.
18156 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18157 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18158 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18159 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18160 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18161
e7740d31
JM
18162 * sysdeps/unix/siglist.c: Remove file.
18163
ee06f18b
JM
18164 * sysdeps/unix/getppid.S: Remove file.
18165
097d59fa
JM
18166 * sysdeps/unix/mkdir.c: Remove file.
18167 * sysdeps/unix/rmdir.c: Likewise.
18168
ff3d51ec
AS
181692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18170
18171 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18172 ERR_MAX value.
18173 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18174 errlist-compat value.
18175
50f81fd7
DM
181762012-04-18 David S. Miller <davem@davemloft.net>
18177
18178 * sysdeps/generic/memcopy.h (reg_char): Delete.
18179 * debug/strcat_chk.c: Use char, not reg_char.
18180 * debug/strcpy_chk.c: Likewise.
18181 * debug/strncat_chk.c: Likewise.
18182 * debug/strncpy_chk.c: Likewise.
18183 * string/memchr.c: Likewise.
18184 * string/memrchr.c: Likewise.
18185 * string/rawmemchr.c: Likewise.
18186 * string/strcat.c: Likewise.
18187 * string/strchr.c: Likewise.
18188 * string/strchrnul.c: Likewise.
18189 * string/strcmp.c: Likewise.
18190 * string/strcpy.c: Likewise.
18191 * string/strncat.c: Likewise.
18192 * string/strncmp.c: Likewise.
18193 * string/strncpy.c: Likewise.
18194
8ff41c46
WS
181952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18196
18197 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18198 __builtin_memcopy is called when src and dest ranges are known to not
18199 overlap.
18200
6b652f46
WS
182012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18202
18203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18204 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18205 fwd_align_merge macro call.
18206 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18207 bwd_align_merge macro call.
18208 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18209
b282631e
WS
182102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18211
18212 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18213 bwd_align_merge macros.
18214 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18215 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18216 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18217
95aa737c
DM
182182012-04-18 David S. Miller <davem@davemloft.net>
18219
18220 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18221
7a99a614
AJ
182222012-04-18 Andreas Jaeger <aj@suse.de>
18223
18224 [BZ# 6794]
18225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18226 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18227 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18228
18229 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18230 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18231 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18232
18233 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18234 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18235 Adjust for changed ldbl-128 files.
18236
18237 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18238 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18239 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18240
e5270c23
DM
182412012-04-17 David S. Miller <davem@davemloft.net>
18242
18243 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18244
fb5e92c9
AS
182452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18246
18247 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18248 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18249 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18250 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18252 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18253
76da7265
AZ
182542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18255
18256 [BZ #6794]
18257 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18258 * math/libm-test.inc: Add ilogb errno and exception tests.
18259 * math/w_ilogb.c: New file: ilogb wrapper.
18260 * math/w_ilogbf.c: New file: ilogbf wrapper.
18261 * math/w_ilogbl.c: New file: ilogbl wrapper.
18262 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18263 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18264 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18265 exception being thrown with 0.0 as argument.
18266 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18267 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18268 exception being thrown with 0.0 as argument.
18269 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18270 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18271 exception being thrown with 0.0 as argument.
18272 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18273 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18274 exception being thrown with 0.0 as argument.
18275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18276 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18277 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18278 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18279 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18280 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18281 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18282 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18283 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18284
0396e69d
PB
182852012-04-17 Petr Baudis <pasky@ucw.cz>
18286
18287 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18288 with altivec.
18289
750b5926
MP
182902012-04-16 Marek Polacek <polacek@redhat.com>
18291
18292 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18293
751728a1
MP
182942012-04-16 Marek Polacek <polacek@redhat.com>
18295
18296 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18297 operands of fdivp instruction.
18298
34a27407
L
182992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18300
18301 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18302 * elf/tst-auditmod3b.c: Likewise.
18303 * elf/tst-auditmod4b.c: Likewise.
18304 * elf/tst-auditmod5b.c: Likewise.
18305 * elf/tst-auditmod6b.c: Likewise.
18306 * elf/tst-auditmod6c.c: Likewise.
18307 * elf/tst-auditmod7b.c: Likewise.
18308 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18309 * sysdeps/x86_64/preconfigure.in: Likewise.
18310 * sysdeps/x86_64/preconfigure: Regenerated.
18311
7e73e17d
L
183122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18315 __ILP32__.
18316
c7a6ab72
AB
183172012-04-13 Antoine Balestrat <merkil33@gmail.com>
18318
18319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18320 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18321
a9e8e0e0
CL
183222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18323
18324 [BZ #13973]
18325 * locale/iso-639.def: Fix gl language name. Spotted by
18326 Yaron Shahrabani.
18327
ec98af7d
RM
183282012-04-12 Roland McGrath <roland@hack.frob.com>
18329
18330 [BZ #2074]
18331 * libio/libio.h (__io_write_fn): Update comment.
18332
247c3ede
PB
183332012-04-12 Petr Baudis <pasky@ucw.cz>
18334
18335 [BZ #2074]
18336 * stdio.texi (Hook Functions): The user provided writer function
18337 is not allowed to return -1.
18338
55939d6d
DM
183392012-04-11 David S. Miller <davem@davemloft.net>
18340
18341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18342
90020f5a
MF
183432012-04-11 Mike Frysinger <vapier@gentoo.org>
18344
18345 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18346 Add a leading slash to rtkaio.
18347
288f9098
JM
183482012-04-11 Jim Meyering <meyering@redhat.com>
18349
90020f5a
MF
18350 [BZ #11959]
18351 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18352 It is not necessarily an error to ignore fwrite's return
18353 value. One can reliably use ferror to test for errors after
18354 the fact.
288f9098 18355
4be2b570
L
183562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18357
18358 * bits/types.h (__snseconds_t): New type.
18359 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18360
18361 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18363 (__SNSECONDS_T_TYPE): Likewise.
18364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18365 (__SNSECONDS_T_TYPE): Likewise.
18366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18367 (__SNSECONDS_T_TYPE): Likewise.
18368
288f9098 183692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18370
18371 [BZ #2636]
18372 * manual/time.texi (Processor Time): Return type of times is
18373 elapsed real time since an arbitrary point in the past.
18374 (CPU Time): Move CLK_TCK from here...
18375 (Processor Time): ...to here. Correct description.
18376 * manual/conf.texi (Constants for Sysconf): Correct description of
18377 _SC_CLK_TCK.
18378
d7dd4413
DM
183792012-04-10 David S. Miller <davem@davemloft.net>
18380
18381 [BZ #13967]
18382 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18383 where the is a gap between DT_REL(A) and DT_JMPREL.
18384
b46068fc
L
183852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18386
18387 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18388 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18389 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18390
73d65cc3
SP
183912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18392
18393 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18394 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18395 (dl_main): Handle --inhibit-cache.
18396 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18397 _dl_inhibit_cache.
18398 * elf/dl-load.c (_dl_map_object): Use it.
18399 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18400
bcc8d661
JM
184012012-04-09 Joseph Myers <joseph@codesourcery.com>
18402
8f9a2fae
JM
18403 [BZ #13872]
18404 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18405 (__ieee754_powl): Saturate large exponents rather than testing for
18406 overflow of y*log2(x).
18407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18408 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18409 exceptions.
18410
bcc8d661
JM
18411 [BZ #11521]
18412 * math/s_ctan.c: Include <float.h>.
18413 (__ctan): Avoid internal overflow or cancellation in calculating
18414 denominator.
18415 * math/s_ctanf.c: Likewise.
18416 * math/s_ctanl.c: Likewise.
18417 * math/s_ctanh.c: Likewise.
18418 * math/s_ctanhf.c: Likewise.
18419 * math/s_ctanhl.c: Likewise.
18420 * math/libm-test.inc (ctan_test): Add more tests.
18421 (ctanh_test): Likewise.
18422 * sysdeps/i386/fpu/libm-test-ulps: Update.
18423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18424
823fbbb4
AJ
184252012-04-09 Andreas Jaeger <aj@suse.de>
18426
03879793
AJ
18427 [BZ #6894]
18428 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18429 is an optional BSD extension.
18430
823fbbb4
AJ
18431 [BZ #10254]
18432 * manual/stdio.texi (Opening Streams): Document additional fopen
18433 parameters.
18434
8de131cb
RM
184352012-04-09 Roland McGrath <roland@hack.frob.com>
18436
18437 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18438 %eax without telling the compiler.
18439
c0ed9d7d
CD
184402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18441
18442 [BZ # 13963]
18443 * manual/install.texi: Use sourceware.org.
18444
c483f6b4
JM
184452012-04-09 Joseph Myers <joseph@codesourcery.com>
18446
d7dd9453
JM
18447 [BZ #13873]
18448 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18449 (__ieee754_pow): Generate overflow and underflow using huge*huge
18450 and tiny*tiny rather than just returning constant infinity or zero
18451 for large exponents.
18452 * math/libm-test.inc (pow_test): Require overflow exceptions for
18453 applicable cases of large exponents.
18454
c483f6b4
JM
18455 [BZ #706]
18456 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18457 (__ieee754_pow): Use iterative multiplication algorithm only for
18458 integer exponents with absolute value below 1024. Check for odd
18459 integer exponents when using algorithm for real exponents.
18460 * math/libm-test.inc (pow_test): Add more tests.
18461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18462
d2de7579
JM
184632012-04-08 Joseph Myers <joseph@codesourcery.com>
18464
18465 [BZ #13705]
18466 * math/libm-test.inc (exp_test): Do not allow overflow exception
18467 on underflow test.
18468
f77f1232
AJ
184692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18470
18471 [BZ #13705]
18472 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18473 instead of __kernel_standard_f.
18474
3884932b
MF
184752012-04-08 Mike Frysinger <vapier@gentoo.org>
18476
18477 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18478 * sysdeps/x86_64/memset_chk.S: Likewise.
18479
54472e9c
AJ
184802012-04-08 Andreas Jaeger <aj@suse.de>
18481
6ab0fbfc
AJ
18482 [BZ #10153]
18483 * manual/startup.texi (Environment Access): Describe return value
18484 for putenv and setenv.
18485
61efba8c
AJ
18486 [BZ #6895]
18487 * manual/filesys.texi (Directory Entries): Add description for
18488 DT_LNK.
18489
95c3f29a
AJ
18490 [BZ #6890]
18491 * manual/filesys.texi (Directory Entries): Clarify that it's file
18492 system not operating system in the description of DT_UNKNOWN.
18493
54472e9c
AJ
18494 [BZ #6578]
18495 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18496
624254b1
SC
184972012-04-08 Stephen Compall <s11@member.fsf.org>
18498
18499 [BZ #6649]
18500 * manual/llio.texi (Opening and Closing Files): Add cross
18501 reference to explain mode argument.
18502
1e4920e0
MF
185032012-04-07 Mike Frysinger <vapier@gentoo.org>
18504
18505 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18506 * sysdeps/x86_64/memset_chk.S: Likewise.
18507
5ed848f3
DM
185082012-04-07 David S. Miller <davem@davemloft.net>
18509
18510 * elf/elf.h (R_SPARC_WDISP10): Define.
18511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18512 R_SPARC_SIZE32.
18513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18514 R_SPARC_SIZE64 and R_SPARC_H34.
18515
96154cd8
CD
185162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18517
18518 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18519 conditions and remove no longer applicable assertion.
18520
9904dc47
L
185212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18522
18523 * bits/byteswap.h: Include <features.h>.
18524 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18525 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18526
f8887d0a
L
185272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18528
18529 * bits/byteswap.h (__bswap_16): Removed.
18530 Include <bits/byteswap-16.h> to get __bswap_16.
18531 * sysdeps/i386/bits/byteswap.h: Likewise.
18532 * sysdeps/s390/bits/byteswap.h: Likewise.
18533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18534 * bits/byteswap-16.h: New file.
18535 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18536 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18537 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18538 * string/Makefile (headers): Add bits/byteswap-16.h.
18539
62470f60
PP
185402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18541
18542 [BZ #13895]
18543 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18544 extra indirection.
18545 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18546 * nss/tst-nss-static.c: New.
18547
4dad7bab
RM
185482012-04-06 Robert Millan <rmh@gnu.org>
18549
18550 [BZ #6486]
18551 * manual/llio.texi (File Position Primitive): lseek
18552 refers to WHENCE when it really means OFFSET.
18553
e9142a17
AJ
185542012-04-06 Andreas Jaeger <aj@suse.de>
18555
2c040eff
AJ
18556 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18557 strncmp declarations.
18558
e9142a17
AJ
18559 * abilist/libc.abilist: Add __poll and __ppoll.
18560
ff9f1c5f
DM
185612012-04-05 David S. Miller <davem@davemloft.net>
18562
dcd2ae90
DM
18563 * scripts/check-local-headers.sh: Accept a host triplet in the
18564 path matched by the exclude regexp.
18565
993eb054
DM
18566 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18567 definition.
18568 * sysdeps/powerpc/powerpc32/dl-machine.h
18569 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18570 * sysdeps/s390/s390-32/dl-machine.h
18571 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18572 * sysdeps/sparc/sparc32/dl-machine.h
18573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18574 * sysdeps/sparc/sparc64/dl-machine.h
18575 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18576
ff9f1c5f
DM
18577 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18578 lazy binding.
48e2e132 18579 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
18580 undefined symbol errors.
18581
48e2e132 18582 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
18583 DT_NEEDED entries.
18584
e80d6f94
MM
185852012-04-05 Michael Matz <matz@suse.de>
18586
18587 [BZ #13592]
18588 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18589
349fa79f
AJ
185902012-04-05 Andreas Jaeger <aj@suse.de>
18591
18592 [BZ #13908]
18593 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18594 comment.
18595
f402708f
KK
185962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18597
18598 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18599 which ROUND is no valid rounding mode.
18600
2ecccfc9
KK
186012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18602
18603 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18604 read again.
18605 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18606
8a53f50f
KK
186072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18608
18609 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18610 an exception using FPU order intentionally.
18611
186122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18613
18614 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18615 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18616 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18617 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18618
d653abb7
SJ
186192012-04-05 Simon Josefsson <simon@josefsson.org>
18620
18621 [BZ #12340]
18622 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18623 EINVAL when BUFLEN is too smal.
18624
c3b1bf7d
TS
186252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18626
18627 [BZ #13553]
18628 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18629 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18630
b1aa60f3
AJ
186312012-04-03 Andreas Jaeger <aj@suse.de>
18632
c3b1bf7d 18633 [BZ #13938]
67f60a26
AJ
18634 * manual/setjmp.texi (System V contexts): Fix sentence.
18635
b1aa60f3
AJ
18636 [BZ #13926]
18637 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18638 New macro for this case.
18639 [!__GNUC__] (__bswap_64): New inline function for this case.
18640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18641 * bits/byteswap.h: Likewise.
18642 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18643 ull, guard with __GLIBC_HAVE_LONG_LONG.
18644
18645 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18646 __GLIBC_HAVE_LONG_LONG.
18647
18648 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18649 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18650
39c59c35
TMQMF
186512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18652
18653 [BZ #13691]
18654 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18655 inptr and inend, rather than using last_ch.
18656
135ffda8
DM
186572012-04-02 David S. Miller <davem@davemloft.net>
18658
18659 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18660 * stdio-common/printf-parse.h (read_int): Change return type to
18661 'int', return -1 on INT_MAX overflow.
18662 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18663 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18664 overflows INT_MAX. Check for overflow of in-format-string precision
18665 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18666 SIZE_MAX not INT_MAX for integer overflow test.
18667 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18668 skip the construct in the format string but do not record anything.
18669 * stdio-common/bug22.c: Adjust to test both width/prevision
18670 INT_MAX overflow as well as total length INT_MAX overflow. Check
18671 explicitly for proper errno values.
18672
228c019e
TS
186732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18674
302cadd3
TS
18675 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18676 CHAR_MAX.
18677 * string/test-strcmp.c [! WIDE]: Likewise.
18678 * time/tst-mktime2.c: Likewise for INT_MAX.
18679 * string/test-string.h: #include <sys/param.h> for MIN.
18680
228c019e
TS
18681 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18682 * sysdeps/i386/init-first.c (init): Likewise.
18683 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18684 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18685 * sysdeps/sh/init-first.c (init): Likewise.
18686
cfa633f5
UD
186872012-04-01 Ulrich Drepper <drepper@gmail.com>
18688
18689 * po/ru.po: Update from translation team.
d1635ef8 18690 * po/vi.po: Likewise.
cfa633f5 18691
6cd0a5ea
SP
186922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18693
18694 * resolv/nss_dns/dns-host.c: Merge copyright years.
18695
4b43400f
LD
186962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18697
18698 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18699 Optimize memcpy with prefetch if
18700 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18701 src, dst pointers have unequal 16 byte alignments.
18702
48c41d04
SP
187032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18704
18705 [BZ #13928]
18706 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18707 from a CNAME entry and return the minimum ttl for the query.
18708 (gaih_getanswer_slice): Likewise.
18709
b8dc394d
JL
187102012-03-30 Jeff Law <law@redhat.com>
18711
18712 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18713 due to long keys.
18714 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18715 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18716
2f5a5ed0
JL
18717 * resolv/nss_dns/dns-host.c: Update copyright year.
18718
1d39e359
UD
187192012-03-30 Ulrich Drepper <drepper@gmail.com>
18720
c030f70c 18721 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 18722 requests to save a system call. Fix check that all bytes are sent.
c030f70c 18723
1d39e359
UD
18724 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18725 comments for sendmmsg.
18726
187272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
18728
18729 [BZ #13691]
18730 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18731 with only 1 character between 0x0041 and 0x01b0.
18732 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18733 * wcsmbs/tst-mbsnrtowcs.c: New file.
18734
20fde227
DM
187352012-03-29 David S. Miller <davem@davemloft.net>
18736
18737 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18738 small copies by hand.
18739
984a4237
JL
187402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18741
18742 [BZ #13761]
18743 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18744 _nss_compat_initgroups_dyn): Fall back to malloc/free
18745 for large group memberships.
18746
18c9d62b
DM
187472012-03-28 David S. Miller <davem@davemloft.net>
18748
88d85d4f
DM
18749 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18750 that branches into memcpy.
18751 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18754 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18756 bits.
18757 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18758 implementation too.
18759 * sysdeps/sparc/mempcpy.S: New file.
18760
e5aa83e1
DM
18761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18762 the IFUNC routine in the libc case.
18763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18764
88570753
DM
18765 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18766 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18767 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18768 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18769 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18770 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18771 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18772 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18773
249d7567
DM
18774 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18775 loop to 256 bytes instead of 64 bytes and fix test signedness.
18776
18c9d62b
DM
18777 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18778 * sysdeps/sparc/sparc32/Makefile: rather than here...
18779 * sysdeps/sparc/sparc64/Makefile: and here.
18780
05f3d1f6
UD
187812012-03-28 Ulrich Drepper <drepper@gmail.com>
18782
18783 * malloc/mallocbug.c: Avoid warnings about unused variables.
18784
86ae07a8
JL
187852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18786
18787 [BZ #13760]
18788 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18789 in the right place. Discard and retry query if response is
18790 larger than input buffer size.
18791
41bf21a1
JM
187922012-03-28 Joseph Myers <joseph@codesourcery.com>
18793
d6270972
JM
18794 [BZ #369]
18795 [BZ #2678]
18796 [BZ #3866]
18797 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18798 x for large integer exponent.
18799 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18800 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18801 sign of result as needed afterwards.
18802 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18803 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18804 result for underflowing pow the same as for overflow.
18805 (__kernel_standard_l): Handle powl overflow and underflow here
18806 rather than calling __kernel_standard.
18807 * math/libm-test.inc (pow_test): Add more tests.
18808
414fca03 18809 [BZ #3868]
41bf21a1
JM
18810 [BZ #13879]
18811 [BZ #13910]
18812 [BZ #13911]
18813 [BZ #13912]
18814 [BZ #13913]
18815 [BZ #13915]
18816 [BZ #13916]
18817 [BZ #13917]
18818 [BZ #13918]
18819 [BZ #13919]
18820 [BZ #13920]
18821 [BZ #13921]
18822 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18823 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18824 (__kernel_standard_l): New function.
18825 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18826 __kernel_standard.
18827 * math/w_acosl.c (__acosl): Likewise.
18828 * math/w_asinl.c (__asinl): Likewise.
18829 * math/w_atan2l.c (__atan2l): Likewise.
18830 * math/w_atanhl.c (__atanhl): Likewise.
18831 * math/w_coshl.c (__coshl): Likewise.
18832 * math/w_exp10l.c (__exp10l): Likewise.
18833 * math/w_exp2l.c (__exp2l): Likewise.
18834 * math/w_fmodl.c (__fmodl): Likewise.
18835 * math/w_hypotl.c (__hypotl): Likewise.
18836 * math/w_j0l.c (__j0l, __y0l): Likewise.
18837 * math/w_j1l.c (__j1l, __y1l): Likewise.
18838 * math/w_jnl.c (__jnl, __ynl): Likewise.
18839 * math/w_lgammal.c (__lgammal): Likewise.
18840 * math/w_log10l.c (__log10l): Likewise.
18841 * math/w_log2l.c (__log2l): Likewise.
18842 * math/w_logl.c (__logl): Likewise.
18843 * math/w_powl.c (__powl): Likewise.
18844 * math/w_remainderl.c (__remainderl): Likewise.
18845 * math/w_scalbl.c (sysv_scalbl): Likewise.
18846 * math/w_sinhl.c (__sinhl): Likewise.
18847 * math/w_sqrtl.c (__sqrtl): Likewise.
18848 * math/w_tgammal.c (__tgammal): Likewise.
18849 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18850 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18851 * math/libm-test.inc (acos_test): Add more tests.
18852 (acosh_test): Likewise.
18853 (asin_test): Likewise.
18854 (atanh_test): Likewise.
18855 (exp_test): Likewise.
18856 (exp10_test): Likewise.
18857 (exp2_test): Likewise.
18858 (expm1_test): Likewise.
18859 (lgamma_test): Likewise.
18860 (log_test): Likewise.
18861 (log10_test): Likewise.
18862 (log1p_test): Likewise.
18863 (log2_test): Likewise.
18864 (pow_test): Do not allow some spurious overflow exceptions.
18865 (sqrt_test): Add more tests.
18866 (tgamma_test): Likewise.
18867 (y0_test): Likewise.
18868 (y1_test): Likewise.
18869 (yn_test): Likewise.
18870
dd62fda6
AB
188712012-03-27 Anton Blanchard <anton@samba.org>
18872
18873 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18874 MAP_HUGETLB.
18875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18878
1e3cdfda
AJ
188792012-03-27 David S. Miller <davem@davemloft.net>
18880
b855ab85
DM
18881 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18882
1e3cdfda
AJ
18883 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18884 have-as-vis3 check.
18885
188862012-03-27 Andreas Jaeger <aj@suse.de>
18887
18888 * sysdeps/x86_64/elf/configure.in: Moved to ...
18889 * sysdeps/x86_64/configure.in: ... here.
18890 * sysdeps/x86_64/elf/start.S: Moved to ...
18891 * sysdeps/x86_64/start.S: ... here.
18892 * sysdeps/x86_64/elf/configure: Delete.
18893
18894 * sysdeps/x86_64/configure.in: Merge contents from
18895 sysdeps/i386/configure.in (without i686 check).
18896
18897 * sysdeps/i386/elf/Versions: Merge into ...
18898 * sysdeps/i386/Versions: ... this.
18899 * sysdeps/i386/elf/Versions: Delete file.
18900 * sysdeps/i386/elf/start.S: Moved to ...
18901 * sysdeps/i386/start.S: ...here.
18902 * sysdeps/i386/elf/configure.in: Merge into...
18903 * sysdeps/i386/configure.in: ...here.
18904 * sysdeps/i386/elf/configure.in: Delete file.
18905 * sysdeps/i386/elf/configure: Delete file.
18906
18907 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18908 * debug/backtracesyms.c: ... here.
18909 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18910 * debug/backtracesymsfd.c: ... here.
18911 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18912 * sysdeps/generic/ifunc-sel.h: ... here.
18913
18914 * sysdeps/unix/i386/start.c: Delete file.
18915 * sysdeps/unix/sparc/start.c: Delete file.
18916 * sysdeps/unix/start.c: Delete file.
18917
18918 * sysdeps/sh/elf/configure.in: Moved to ...
18919 * sysdeps/sh/configure.in: ... here.
18920 * sysdeps/sh/elf/start.S: Moved to ...
18921 * sysdeps/sh/start.S: ... here.
18922 * sysdeps/sh/elf/configure: Delete file.
18923
18924 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18925 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18926 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18927 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18928 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18929 * sysdeps/powerpc/powerpc64/start.S: here.
18930 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18931 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18932 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18933 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18934 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18935
18936 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18937 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18938 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18939 * sysdeps/powerpc/powerpc32/start.S: ... here.
18940 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18941 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18942 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18943
18944 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18945 * sysdeps/powerpc/ifunc-sel.h: ... here.
18946 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18947 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18948
18949 * sysdeps/sparc/elf/configure.in: Moved to ...
18950 * sysdeps/sparc/configure.in: ... here.
18951 * sysdeps/sparc/elf/configure: Delete file.
18952 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18953 * sysdeps/sparc/sparc32/start.S: ... here.
18954 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18955 * sysdeps/sparc/sparc64/start.S: ... here.
18956 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18957 * sysdeps/sparc/sparc32/Makefile: ... this.
18958 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18959 * sysdeps/sparc/sparc64/Makefile: ... this.
18960
18961 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18962 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18963 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18964 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18965 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18966 * sysdeps/s390/s390-32/setjmp.S: ... here.
18967 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18968 * sysdeps/s390/s390-32/configure.in: ... here.
18969 * sysdeps/s390/s390-32/elf/configure: Delete file.
18970 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18971 * sysdeps/s390/s390-32/start.S: ... here.
18972
18973 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18974 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18975 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18976 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18977 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18978 * sysdeps/s390/s390-64/setjmp.S: ... here.
18979 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18980 * sysdeps/s390/s390-64/configure.in: ... here
18981 * sysdeps/s390/s390-64/elf/configure: Delete file.
18982 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18983 * sysdeps/s390/s390-64/start.S: ... here.
18984 * sysdeps/s390/s390-64/elf/configure: Delete.
18985
18986 * configure.in: Remove support for elf directories in sysdeps.
18987
18988 * configure: Regenerated.
18989 * sysdeps/i386/configure: Regenerated.
18990 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18991 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18992 * sysdeps/s390/s390-32/configure: Regenerated.
18993 * sysdeps/s390/s390-64/configure: Regenerated.
18994 * sysdeps/sh/configure: Regenerated.
18995 * sysdeps/sparc/configure: Regenerated.
18996 * sysdeps/x86_64/configure: Regenerated.
18997
a3f61311
AS
189982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18999
c876e002
AS
19000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19001
a3f61311
AS
19002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19003 denormal result into account.
19004
ac4c54f0
RM
190052012-03-25 Roland McGrath <roland@hack.frob.com>
19006
19007 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19008 Reported by Allan McRae <allan@archlinux.org>.
19009
6a9b9c02
JL
190102012-03-23 Jeff Law <law@redhat.com>
19011
19012 * nss/getnssent.c (__nss_getent): Fix typo.
19013
4c42a0c1
DM
190142012-03-23 David S. Miller <davem@davemloft.net>
19015
19016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19017
1532c7ac
L
190182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19019
19020 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19021 to pad to uint64_t for each field.
19022 (dl_tls_index): Replace unsigned long with uint64_t.
19023
3ff42526
PP
190242012-03-23 Daniel Jacobowitz <dmj@google.com>
19025 Paul Pluzhnikov <ppluzhnikov@google.com>
19026
19027 [BZ #6528]
19028 * grp/Makefile (otherlibs): Don't set it.
19029 * inet/Makefile (otherlibs): Likewise.
19030 * login/Makefile (otherlibs): Likewise.
19031 * nscd/Makefile (otherlibs): Likewise.
19032 * posix/Makefile (otherlibs): Likewise.
19033 * pwd/Makefile (otherlibs): Likewise.
19034 * rt/Makefile (otherlibs): Likewise.
19035 * sunrpc/Makefile (otherlibs): Likewise.
19036 * nss/Makefile (otherlibs): Likewise.
19037 Add libnss_files to routines and static-only-routines.
19038 ($(objpfx)getent): Remove rule.
19039 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19040 static-only-routines.
19041
7c69cd14
JM
190422012-03-22 Joseph Myers <joseph@codesourcery.com>
19043
19044 [BZ #13892]
19045 * math/s_cexp.c: Include <float.h>.
19046 (__cexp): Handle exp result overflowing not necessarily
19047 overflowing both real and imaginary parts of result.
19048 * math/s_cexpf.c: Likewise.
19049 * math/s_cexpl.c: Likewise.
19050 * math/libm-test.inc (cexp_test): Add more tests.
19051 * sysdeps/i386/fpu/libm-test-ulps: Update.
19052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19053
81b035fe
L
190542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19055
19056 * include/link.h (ELFW): New macro.
19057 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19058 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19059
1da7940c
L
190602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19061
19062 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19063 with uint64_t.
19064
b749dbb9
L
190652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19068 declaration.
19069 (struct La_x32_retval): Likewise.
19070
2ff87f3f
L
190712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19072
19073 * sysdeps/x86_64/preconfigure.in: New file.
19074 * sysdeps/x86_64/preconfigure: New generated file.
19075
c0df8e69
JM
190762012-03-22 Joseph Myers <joseph@codesourcery.com>
19077
48e44791
JM
19078 [BZ #13824]
19079 * math/e_exp2l.c: Include <float.h>.
19080 (__ieee754_exp2l): Handle overflow and underflow cases
19081 separately. Only pass fractional part of argument to
19082 __ieee754_expl.
19083 * math/libm-test.inc (exp2_test): Add more tests.
19084
c0df8e69
JM
19085 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19086 negating x to take absolute value.
19087 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19088 Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19091 Likewise.
19092 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19093 computing low part if x was negated.
19094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19095
c8e43ba7
L
190962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19099 la_x32_gnu_pltexit.
19100 (pltexit): Cast int_retval to ptrdiff_t.
19101 * elf/tst-auditmod3b.c: Likewise.
19102 * elf/tst-auditmod4b.c: Likewise.
19103 * elf/tst-auditmod5b.c: Likewise.
19104 * elf/tst-auditmod6b.c: Likewise.
19105 * elf/tst-auditmod6c.c: Likewise.
19106 * elf/tst-auditmod7b.c: Likewise.
19107
19108 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19109 and x32_gnu_pltexit.
19110
19111 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19112 __ELF_NATIVE_CLASS.
19113 (La_x32_regs): New macro.
19114 (La_x32_retval): Likewise.
19115 (la_x32_gnu_pltenter): New function prototype.
19116 (la_x32_gnu_pltexit): Likewise.
19117
7998fa78
AS
191182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19119
dcb33988
AS
19120 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19121 exponent.
19122
233fc563
AS
19123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19124
7998fa78
AS
19125 * configure.in (libc_cv_cc_nofma): Check for option to disable
19126 generation of FMA instructions.
19127 * configure: Regenerate.
19128 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19129 * sysdeps/ieee754/dbl-64/Makefile: New file.
19130 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19131 Remove brandred-fma4.
19132 (CFLAGS-brandred-fma4.c): Remove.
19133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19134 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19135 define.
19136 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19137 define.
19138
8e95c99a
L
191392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19140
19141 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19142 LLONG_MAX != LONG_MAX.
19143 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19144 (_fitoa_word): Likewise.
19145 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19146 LLONG_MAX != LONG_MAX.
19147 * stdio-common/_itowa.h: Include <_itoa.h>.
19148 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19149 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19150 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19151 only if not defined.
19152 (_ITOA_WORD_TYPE): Likewise.
19153 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19154 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19155
6f4db457
DM
191562012-03-21 David S. Miller <davem@davemloft.net>
19157
19158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19159
7785fe5a
L
191602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19161
19162 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19163 of x86_64 when setting libc_cv_slibdir, libdir and
19164 libc_cv_localedir.
19165 * sysdeps/unix/sysv/linux/configure: Regenerated.
19166
4535cd55
JM
191672012-03-21 Joseph Myers <joseph@codesourcery.com>
19168
19169 * manual/lang.texi (Old Varargs): Remove section.
19170 (How Variadic): Update menu.
19171 (va_start): Do not mention varargs.h.
19172
17228132
TS
191732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19174 Joseph Myers <joseph@codesourcery.com>
19175
19176 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19177 link test.
19178 * configure: Regenerated.
19179
8149f976
TS
191802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19181
05f3d1f6
UD
19182 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19183 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19184 conformtest.pl
8149f976 19185
1a4ac776
JM
191862012-03-21 Joseph Myers <joseph@codesourcery.com>
19187
be22ce65
JM
19188 * NOTES: Remove.
19189 * Makefile (files-for-dist): Remove NOTES.
19190 (NOTES): Remove rule.
19191 * README: Don't refer to NOTES.
19192 * manual/creature.texi: Don't include macros.texi.
19193 * manual/intro.texi (creature.texi): Remove comment referring to
19194 NOTES.
19195
40b601fb
JM
19196 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19197 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19198 * configure: Regenerated.
19199 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19200 LIBC_TRY_CC_OPTION.
19201 (libc_cv_as_i686): Likewise.
19202 (libc_cv_cc_avx): Likewise.
19203 (libc_cv_cc_sse2avx): Likewise.
19204 (libc_cv_cc_fma4): Likewise.
19205 (libc_cv_cc_novzeroupper): Likewise.
19206 * sysdeps/i386/configure: Regenerated.
19207
1a4ac776
JM
19208 [BZ #13883]
19209 * sysdeps/i386/fpu/s_cexp.S: Remove.
19210 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19211 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19212 * math/libm-test.inc (cexp_test): Add more tests.
19213 * sysdeps/i386/fpu/libm-test-ulps: Update.
19214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19215
a458e7fe
AM
192162012-03-21 Allan McRae <allan@archlinux.org>
19217
19218 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19219
0cb7efc5
JM
192202012-03-21 Joseph Myers <joseph@codesourcery.com>
19221
19222 [BZ #13871]
19223 * math/w_exp2.c: Do not include <float.h>.
19224 (o_threshold, u_threshold): Remove.
19225 (__exp2): Calculate result before checking finiteness and calling
19226 __kernel_standard.
19227 * math/w_exp2f.c: Likewise.
19228 * math/w_exp2l.c: Likewise.
19229 * math/libm-test.inc (exp2_test): Require overflow exception for
19230 1e6 input.
2460d3aa
JM
19231
19232 [BZ #3866]
19233 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19234 range of signed 64-bit integers before using fistpll. Remove
19235 checks for whether integers fit in mantissa bits.
19236 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19237 the range of signed 32-bit integers before using fistpl. Remove
19238 checks for whether integers fit in mantissa bits.
19239 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19240 (__ieee754_powl): Test for y outside the range of signed 64-bit
19241 integers before using fistpll. Reduce 64-bit values to 63-bit
19242 ones as needed.
19243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19244 divide-by-zero is raised for zero to large negative powers.
19245 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19246 (__ieee754_powl): Test for y outside the range of signed 64-bit
19247 integers before using fistpll. Reduce 64-bit values to 63-bit
19248 ones as needed.
19249 * math/libm-test.inc (pow_test): Add more tests.
19250
eb96ffb0
L
192512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19252
19253 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19254 <stdio-common/_itoa.h>.
19255 * debug/segfault.c: Likewise.
19256 * elf/dl-cache.c: Likewise.
19257 * elf/dl-minimal.c: Likewise.
19258 * elf/dl-misc.c: Likewise.
19259 * elf/dl-sysdep.c: Likewise.
19260 * elf/dl-version.c: Likewise.
19261 * elf/rtld.c: Likewise.
19262 * hurd/hurdsock.c: Likewise.
19263 * hurd/lookup-retry.c: Likewise.
19264 * malloc/malloc.c: Likewise.
19265 * malloc/mtrace.c: Likewise.
19266 * nscd/nscd_getgr_r.c: Likewise.
19267 * nscd/nscd_getpw_r.c: Likewise.
19268 * nscd/nscd_getserv_r.c: Likewise.
19269 * posix/getopt_init.c: Likewise.
19270 * posix/wordexp.c: Likewise.
19271 * stdio-common/_itoa.c: Likewise.
19272 * stdio-common/printf_fphex.c: Likewise.
19273 * stdio-common/vfprintf.c: Likewise.
19274 * string/_strerror.c: Likewise.
19275 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19276 * sysdeps/i386/i686/hp-timing.h: Likewise.
19277 * sysdeps/mach/_strerror.c: Likewise.
19278 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19279 * sysdeps/mach/hurd/sethostid.c: Likewise.
19280 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19281 * sysdeps/mach/xpg-strerror.c: Likewise.
19282 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19283 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19284 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19285 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19286 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19287 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19288 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19289 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19290 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19291 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19292 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19293 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19294 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19295 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19296 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19297 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19298 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19299 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19300 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19301 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19302 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19303
19304 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19305
19306 * stdio-common/_itoa.h: Moved to ...
19307 * sysdeps/generic/_itoa.h: Here.
19308
19309 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19310
19311 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19312 instead of "_itoa.h" and "_itowa.h".
19313 * stdio-common/vfprintf.: Likewise.
19314
d1af992d
L
193152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19318 <bits/wordsize.h>.
19319 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19320 (__signbit): Likwise.
19321 (llrintf): Likwise.
19322 (llrint): Likwise.
19323
114883e0
L
193242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19325
19326 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19327 __WORDSIZE != 64.
19328
c135cc1b
JM
193292012-03-20 Joseph Myers <joseph@codesourcery.com>
19330
19331 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19332 OVERFLOW_EXCEPTION_OK.
19333 * math/libm-test.inc ("Philosophy"): Update comment about
19334 exception testing.
19335 (OVERFLOW_EXCEPTION): Define.
19336 (OVERFLOW_EXCEPTION_OK): Likewise.
19337 (INVALID_EXCEPTION_OK): Renumber.
19338 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19339 (IGNORE_ZERO_INF_SIGN): Likewise.
19340 (test_exceptions): Handle FE_OVERFLOW.
19341 (exp10_test): Expect overflow exceptions.
19342 (exp2_test): Likewise.
19343 (expm1_test): Likewise.
19344 (nextafter_test): Likewise.
19345 (pow_test): Likewise.
19346 (scalbn_test): Likewise.
19347 (scalbln_test): Likewise.
19348
95443d88
L
193492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * sysdeps/x86_64/bits/atomic.h
19352 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19353 64bit integer.
19354 (atomic_exchange_acq): Likewise.
19355 (__arch_exchange_and_add_body): Likewise.
19356 (__arch_add_body): Likewise.
19357 (atomic_add_negative): Likewise.
19358 (atomic_add_zero): Likewise.
19359
490df6c4
L
193602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19361
c2722551 19362 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19363 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19364
5e52b189
L
193652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19366
19367 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19368 Check __x86_64__ instead of __WORDSIZE.
19369
a9879d4c
L
193702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19371
19372 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19373
5df98260
DM
193742012-03-19 David S. Miller <davem@davemloft.net>
19375
e1497744
DM
19376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19377
5df98260
DM
19378 * sysdeps/sparc/fpu/fenv_private.h: New file.
19379 * sysdeps/sparc/fpu/math_private.h: Use it.
19380 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19381 Remove.
19382 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19383 (libc_feholdexcept_setroundl): Remove.
19384 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19385 Remove.
19386 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19387 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19388
b4c35121
L
193892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19390
19391 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19392 int64_t instead of long int.
19393 (INSERT_WORDS64): Likwise.
19394
56965fd7
L
193952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19396
19397 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19398 _Unwind_GetCFA return to _Unwind_Ptr first.
19399
83d1aec8
JM
194002012-03-19 Joseph Myers <joseph@codesourcery.com>
19401
1897ad44
JM
19402 [BZ #13629]
19403 * math/s_clog.c: Include <float.h>.
19404 (__clog): Scale large or subnormal inputs.
19405 * math/s_clogf.c: Likewise.
19406 * math/s_clogl.c: Likewise.
19407 * math/s_clog10.c: Include <float.h>.
19408 (M_LOG10_2): Define.
19409 (__clog10): Scale large or subnormal inputs.
19410 * math/s_clog10f.c: Likewise.
19411 * math/s_clog10l.c: Likewise.
19412 * math/libm-test.inc (clog_test): Add more tests.
19413 (clog10_test): Likewise.
19414 * sysdeps/i386/fpu/libm-test-ulps: Update.
19415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19416
7726d6a9
JM
19417 [BZ #11451]
19418 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19419 x and y.
19420 * math/libm-test.inc (atan2_test): Add another test.
19421
83d1aec8
JM
19422 * Makerules (common-objdir-compile): Remove.
19423 * sysdeps/unix/Makefile (config-generated): Do not add
19424 $(unix-generated) to variable.
19425 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19426 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19427 Remove rule.
19428 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19429 Likewise.
19430 [generic bits/local_lim.h] (before-compile): Do not append to
19431 variable.
19432 [generic bits/local_lim.h] (common-generated): Likewise.
19433 [generic sys/param.h] (before-compile): Do not append to variable.
19434 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19435 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19436 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19437 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19438 include.
19439 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19440 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19441 [generic sys/param.h] ($(addprefix
19442 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19443 [generic sys/param.h] (common-generated): Do not append to
19444 variable.
19445 [generic sys/param.h] (sysdep_headers): Likewise.
19446 [generic bits/errno.h] (before-compile): Do not append to
19447 variable.
19448 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19449 rule.
19450 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19451 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19452 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19453 [generic bits/errno.h] (common-generated): Do not append to
19454 variable.
19455 [generic bits/ioctls.h] (before-compile): Do not append to
19456 variable.
19457 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19458 rule.
19459 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19460 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19461 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19462 rule.
19463 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19464 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19465 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19466 [generic bits/ioctls.h] (common-generated): Do not append to
19467 variable.
19468 [generic sys/syscall.h] (syscall.h): Remove variable.
19469 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19470 rule.
19471 [generic sys/syscall.h] (before-compile): Do not append to
19472 variable.
19473 [generic sys/syscall.h] (common-generated): Likewise.
19474 * sysdeps/unix/errnos-tmpl.c: Remove file.
19475 * sysdeps/unix/errnos.awk: Likewise.
19476 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19477 * sysdeps/unix/ioctls.awk: Likewise.
19478 * sysdeps/unix/mk-local_lim.c: Likewise.
19479 * sysdeps/unix/snarf-ioctls: Likewise.
19480
4851a949
RH
194812012-03-19 Richard Henderson <rth@twiddle.net>
19482
bd37f2ee
RH
19483 * sysdeps/i386/fpu/fenv_private.h: New file.
19484 * sysdeps/i386/fpu/math_private.h: Use it.
19485 (math_opt_barrier, math_force_eval): Remove.
19486 (libc_feholdexcept_setround_53bit): Remove.
19487 (libc_feupdateenv_53bit): Remove.
19488 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19489 (math_opt_barrier, math_force_eval): Remove.
19490 (libc_feholdexcept): Remove.
19491 (libc_feholdexcept_setround): Remove.
19492 (libc_fetestexcept, libc_fesetenv): Remove.
19493 (libc_feupdateenv_test): Remove.
19494 (libc_feupdateenv, libc_feholdsetround): Remove.
19495 (libc_feresetround): Remove.
19496
d0adc922
RH
19497 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19498 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19499
0fe0f1f8
RH
19500 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19501 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19502 (libc_feupdateenv_testl): New.
19503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19504 (libc_feupdateenv_testf): New.
19505 (libc_feupdateenv): Use libc_feupdateenv_test.
19506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19507 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19508
eb92c487
RH
19509 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19510 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19511 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19512 (libc_feresetround_noex): New.
19513 (libc_feresetround_noexf): New.
19514 (libc_feresetround_noexl): New.
19515 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19516 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19517 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19518 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19519 SET_RESTORE_ROUND.
19520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19522 (__cos): Likewise.
19523 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19524 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19525 SET_RESTORE_ROUND_NOEX.
19526 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19527 SET_RESTORE_ROUND_NOEXF.
19528 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19529 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19530 (libc_feholdsetroundf): New.
19531 (libc_feresetround, libc_feresetroundf): New.
19532
7d2e8012
RH
19533 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19534 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19535 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19536
b4dabbb4
RH
19537 * sysdeps/generic/math_private.h: Include <fenv.h>.
19538 (default_libc_feholdexcept): New.
19539 (default_libc_feholdexcept_setround): New.
19540 (default_libc_fesetenv, default_libc_feupdateenv): New.
19541 (libc_feholdexcept): Only define if undefined.
19542 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19543 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19544 (libc_feholdexcept_setroundl): Likewise.
19545 (libc_feholdexcept_setround_53bit): Likewise.
19546 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19547 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19548 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19549 (libc_feupdateenv_53bit): Likewise.
19550 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19551 (libc_feholdexcept): Convert from macro to inline function.
19552 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19553 (libc_fesetenv, libc_feupdateenv): Likewise.
19554
4851a949
RH
19555 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19556 not previously defined.
19557 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19558 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19559 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19560 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19561 * sysdeps/ieee754/flt-32/math_private.h: New file.
19562 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19563 math_private.h below SET_FLOAT_WORD.
19564 (__isnan, __isinf_ns, __finite): Remove.
19565 (__isnanf, __isinf_nsf, __finitef): Remove.
19566
e79d442e
AS
195672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19568
19569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19570
90b80344
DM
195712012-03-17 David S. Miller <davem@davemloft.net>
19572
19573 [BZ #6471]
19574 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19575 for 2.16.
19576
edc21804
DM
195772012-03-16 David S. Miller <davem@davemloft.net>
19578
77e927af
DM
19579 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19580 warnings.
19581
374976dd
DM
19582 [BZ #6471]
19583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19584 properly.
19585 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19586 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19587 sysdep_routines when subdir is sysvipc.
19588 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19589 __getshmlba helper.
19590
edc21804
DM
19591 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19592
473c3ef3
L
195932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19594
19595 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19596 [__LP64__].
19597
eb0f39b6
L
195982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19599
19600 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19601 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19602 (__lround): Renamed to ...
19603 (__llround): This. Replace long int with long long int.
19604 Define lround functions as aliases of llround functions.
19605 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19606
6b6cd74b
L
196072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19610 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19611 adresses to uintptr_t. Replace "long int" and "unsigned long
19612 int" with "greg_t" on va_arg.
19613
f1a77b01
L
196142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19615
19616 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19617 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19618
19619 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19620 Move e_machine check before EI_CLASS check. Handle x32
19621 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19622 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19623 SKIP_EM_IA_64 and include
19624 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19625
19626 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19627 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19628 (add_system_dir): New macro.
19629
19630 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19631 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19632
11b90b9f
JM
196332012-03-16 Joseph Myers <joseph@codesourcery.com>
19634
c36e1d23
JM
19635 [BZ #2551]
19636 [BZ #2552]
19637 [BZ #2553]
19638 [BZ #2554]
19639 [BZ #2562]
19640 [BZ #2563]
19641 [BZ #2565]
19642 [BZ #2566]
19643 [BZ #2576]
19644 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19645 (y0): Likewise.
19646 * math/w_j0f.c (j0f): Likewise.
19647 (y0f): Likewise.
19648 * math/w_j0l.c (__j0l): Likewise.
19649 (__y0l): Likewise.
19650 * math/w_j1.c (j1): Likewise.
19651 (y1): Likewise.
19652 * math/w_j1f.c (j1f): Likewise.
19653 (y1f): Likewise.
19654 * math/w_j1l.c (__j1l): Likewise.
19655 (__y1l): Likewise.
19656 * math/w_jn.c (jn): Likewise.
19657 (yn): Likewise.
19658 * math/w_jnf.c (jnf): Likewise.
19659 (ynf): Likewise.
19660 * math/w_jnl.c (__jnl): Likewise.
19661 (__ynl): Likewise.
19662 * math/libm-test.inc (j0_test): Add more tests.
19663 (j1_test): Likewise.
19664 (jn_test): Likewise. Add trailing semicolon to existing test.
19665 (y0_test): Likewise.
19666 (y1_test): Likewise.
19667 * sysdeps/i386/fpu/libm-test-ulps: Update.
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19669
11b90b9f
JM
19670 [BZ #13851]
19671 [BZ #13854]
19672 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19673 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19674 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19675 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19676 (__tanl): Set errno for infinite argument.
19677 * sysdeps/i386/fpu/mptan.c: Remove.
19678 * sysdeps/i386/fpu/s_tan.S: Likewise.
19679 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19680 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19681 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19682 * math/libm-test.inc (tan_test): Add more tests and enable more
19683 tests for double and long double.
19684 * sysdeps/i386/fpu/libm-test-ulps: Update.
19685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19686
6a1bd2a1
JK
196872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19688
19689 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19690 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19691
10a803e0
RM
196922012-03-16 Roland McGrath <roland@hack.frob.com>
19693
19694 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19695 * configure.in: Use it for both main tree and add-ons.
19696 * configure: Regenerated.
19697
f196c7f7
L
196982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19699
19700 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19701
8848d99d
JM
197022012-03-16 Joseph Myers <joseph@codesourcery.com>
19703
96cbe7f4
JM
19704 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19705 in comment.
19706
8848d99d
JM
19707 [BZ #13851]
19708 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19709 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19710 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19712 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19713 infinite argument.
19714 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19716 != 0 for prec == 2.
19717 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19718 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19719 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19720 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19721 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19722 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19723 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19724 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19725 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19726 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19727 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19728 * math/libm-test.inc (cos_test): Add more tests and enable more
19729 tests for long double.
19730 (sin_test): Likewise.
19731 (sincos_test): Likewise.
19732 * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734
dd7f4703
DM
197352012-03-16 David S. Miller <davem@davemloft.net>
19736
19737 * sysdeps/sparc/fpu/math_private.h: New file.
19738
006f1daa
DM
197392012-03-15 David S. Miller <davem@davemloft.net>
19740
c0c83bc8
DM
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19742 file.
e6a62e18 19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19745 file.
e6a62e18
DM
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19752 sysdep routines.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19754
88cb87d9
DM
19755 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19756 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19757
006f1daa 19758 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19760 sparc-ifunc.h
006f1daa 19761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19763 Likewise.
19764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19765 Likewise.
006f1daa
DM
19766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19770 Likewise.
006f1daa
DM
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19776 Likewise.
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19778 Likewise.
006f1daa
DM
19779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19803
11e0098e
AS
198042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19805
19806 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19807 scaling.
19808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19809
e85b09d0
AJ
198102012-03-15 Andreas Jaeger <aj@suse.de>
19811
19812 [BZ #13852]
19813 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19814 ieee754/flt-32 implementation for sin, cos and sincos.
19815 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19816 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19817 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19818 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19819 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19820 ieee754/flt-32 implementation for tan.
19821
19822 * math/libm-test.inc (cos_test): Enable some large input tests for
19823 float as well
19824 (sin_test): Likewise.
19825 (sincos_test): Likewise.
19826 (tan_test): Add tests for large input.
19827
19828 * sysdeps/i386/fpu/libm-test-ulps: Update.
19829
81c64153
AJ
198302012-03-15 Andreas Jaeger <aj@suse.de>
19831
19832 [BZ #13658]
19833 * math/libm-test.inc (cos_test): Add more test cases.
19834 (sin_test): Likewise.
19835 (sincos_test): Likewise.
19836
7bbfa5c6
AJ
198372012-03-15 Andreas Jaeger <aj@suse.de>
19838
19839 [BZ #13837]
19840 * math/libm-test.inc (cos_test): Add a test case for large input
19841 value.
19842 (sin_test): Likewise.
19843 (sincos_test): Likewise.
19844
198452012-03-15 Andreas Jaeger <aj@suse.de>,
19846 Joseph Myers <joseph@codesourcery.com>
19847
19848 [BZ #13658]
0671f479 19849 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19850 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19851 * sysdeps/i386/fpu/branred.c: Likewise.
19852 * sysdeps/i386/fpu/dosincos.c: Likewise.
19853 * sysdeps/i386/fpu/mpa.c: Likewise.
19854 * sysdeps/i386/fpu/s_cos.S: Likewise.
19855 * sysdeps/i386/fpu/s_sin.S: Likewise.
19856 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19857 * sysdeps/i386/fpu/sincos32.c: Likewise.
19858
19859 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19860 Define.
19861 (libc_feupdateenv_53bit): Define.
19862 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19863 Define.
19864 (libc_feupdateenv_53bit): Define.
19865
19866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19867 53 bit (without extend i386 double precision).
19868
19869 * math/libm-test.inc (sincos_test): Add tests for large input.
19870 (sin): Likewise.
19871 (cos): Likewise.
19872
19873 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19874
9cad04ea
AS
198752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19876
19877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19878
f7062b9a
DM
198792012-03-15 David S. Miller <davem@davemloft.net>
19880
19881 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19882 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19883 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19884 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19897 file.
f7062b9a 19898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19900 file.
f7062b9a 19901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19903 file.
f7062b9a 19904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19906 file.
f7062b9a
DM
19907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19909 fmin/fmax sysdep routines.
19910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19911
7bd951ff
DM
199122012-03-14 David S. Miller <davem@davemloft.net>
19913
559398ab
DM
19914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19943 routines.
19944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19945 file.
559398ab 19946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19948 file.
559398ab 19949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19951 file.
559398ab 19952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19954 file.
559398ab 19955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19957 file.
559398ab 19958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19960 file.
19961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19962 file.
19963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19964 file.
19965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19966 file.
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19968 New file.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19970 file.
19971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19972 file.
559398ab 19973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19975 file.
559398ab 19976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19978 file.
559398ab 19979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19981 file.
559398ab 19982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19984 VIS3 routines.
559398ab
DM
19985
19986 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19987 New file.
19988
5a1c1e32
DM
19989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19990
eae47a36
DM
19991 * sysdeps/sparc/configure.in: New file.
19992 * sysdeps/sparc/configure: Generate.
19993 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19994 * configure: Regenerate.
19995 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19996 * config.make.in (have-as-vis3): New.
19997 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19998 available use -Av9d instead of -Av9a.
19999 * sysdeps/sparc/sparc64/Makefile: Likewise.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20002 New file.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20004 file.
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20006 New file.
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20008 file.
eae47a36
DM
20009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20014
c0c83bc8
DM
20015 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20016 fzeros/fnegs to load 0x80000000 into a float register instead of
20017 using the stack.
7bd951ff
DM
20018 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20019
bd951ccb
JM
200202012-03-14 Joseph Myers <joseph@codesourcery.com>
20021
20022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20023 bits/syscall.h.
20024 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20025 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20026 ($(inst_includedir)/bits/syscall.h): Remove rule.
20027 ($(objpfx)bits/syscall.d): Include instead of
20028 $(objpfx)syscall-list.d.
20029 (generated): Change syscall-list.h and syscall-list.d to
20030 bits/syscall.h and bits/syscall.d.
20031
bb4e6db2
RM
200322012-03-14 Roland McGrath <roland@hack.frob.com>
20033
20034 [BZ #13846]
20035 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20036
aa4a2ae1
JM
200372012-03-14 Joseph Myers <joseph@codesourcery.com>
20038
e456826d
JM
20039 [BZ #13841]
20040 * math/s_csqrt.c: Include <float.h>.
20041 (__csqrt): Scale large or subnormal inputs.
20042 * math/s_csqrtf.c: Likewise.
20043 * math/s_csqrtl.c: Likewise.
20044 * math/libm-test.inc (csqrt_test): Add more tests.
20045 * sysdeps/i386/fpu/libm-test-ulps: Update.
20046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047
aa4a2ae1
JM
20048 [BZ #13840]
20049 * math/libm-test.inc (hypot_test): Add more tests.
20050
7c10fd35
DM
200512012-03-13 David S. Miller <davem@davemloft.net>
20052
20053 [BZ #13840]
20054 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20055 double-precision for the calculation instead of scaling.
20056
f453b98b
JM
200572012-03-13 Joseph Myers <joseph@codesourcery.com>
20058
20059 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20060 manipulate bits before adding and subtracting TWO52[sx].
20061 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20063 Likewise.
20064 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20065
09a3453f
DM
200662012-03-13 David S. Miller <davem@davemloft.net>
20067
8e59da90
DM
20068 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20069 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20071 rtld-global-offsets.h
20072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20073
2a8ab7f2
DM
20074 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20075 large parameters.
20076
10f62770
DM
20077 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20078
5f0bdb18
DM
20079 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20080 'err' in the ifdef scope in which it is actually used.
20081
09a3453f
DM
20082 * nss/nss_db/db-init.c: Include string.h
20083
b4b2eb5e
DM
200842012-03-12 David S. Miller <davem@davemloft.net>
20085
98bb2f1c
DM
20086 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20087 masking out of the most significant byte of random value used.
20088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20089 Fix coding style in previous change.
20090
b4b2eb5e
DM
20091 * sysdeps/unix/sysv/linux/kernel-features.h
20092 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20093 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20094 expression.
20095 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20096 later.
20097
6e226b09
DM
200982012-03-11 David S. Miller <davem@davemloft.net>
20099
a1bcbd40
DM
20100 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20101 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20103 for 'resultvar' otherwise things get truncated on 64-bit.
20104
cb9d6174
DM
20105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20106 Fix masking out of the most significant byte of random value used.
20107
6e226b09
DM
20108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20109
058c132d
AS
201102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20111
20112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20113
2d2cd515
DM
201142012-03-09 David S. Miller <davem@davemloft.net>
20115
20116 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20117 variables with appropriate CPP guards.
20118 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20119 frame pointer, not the stack pointer. Correct layout comments. Fix test
20120 on resulting framesize and the management of the outregs buffer for pltexit.
20121 Preserve floating point return values across _dl_call_pltexit call.
20122 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20123 framesize and the management of the outregs buffer for pltexit.
20124 Preserve floating point return values across _dl_call_pltexit
20125 call.
20126 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20127 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20128 (print_exit): Fix format string for return register value.
20129
9a07f9d0
JM
201302012-03-10 Joseph Myers <joseph@codesourcery.com>
20131
20132 * sunrpc/Makefile (others): Add rpcgen.
20133 ($(objpfx)rpcgen): Remove special build rule and dependency on
20134 libc.
20135 * sunrpc/rpcgen.c: New file.
20136
547b5e30
PE
201372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20138
c524201a
PE
20139 [BZ #13673]
20140 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20141 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20142 * sysdeps/i386/crti.S: Likewise.
20143 * sysdeps/i386/crtn.S: Likewise.
20144 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20145 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20146 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20147 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20148 * sysdeps/sh/crti.S: Likewise.
20149 * sysdeps/sh/crtn.S: Likewise.
20150 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20151
7b6235f2
PE
20152 [BZ #13673]
20153 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20154 with URL.
20155 * locale/programs/locfile-kw.gperf: Likewise.
20156 * locale/programs/charmap-kw.h: Regenerated.
20157 * locale/programs/locfile-kw.h: Likewise.
20158
547b5e30
PE
20159 [BZ #13673]
20160 * intl/plural.y: Replace FSF snail mail address with URL.
20161 * intl/plural.c: Regenerated.
20162
5f0a5dae
RH
201632012-03-09 Richard Henderson <rth@twiddle.net>
20164
20165 * include/math_private.h: Remove file.
20166 * math/math_private.h: Move file ...
20167 * sysdeps/generic/math_private.h: ... here.
20168
b8c03620
RH
20169 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20170 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20171 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20172
4e234f5d 20173 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20174 and <math_private.h>.
20175 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20176 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20177 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20178 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20179 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20180 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20181 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20189 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20190 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20194 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20197 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20199 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20202 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20210 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20211 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20212 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20213 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20214 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20216 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20217 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20219 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20220 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20221 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20222 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20225 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20226 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20227 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20228 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20229 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20231 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20234 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20235 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20236 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20239 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20242 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20244 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20263 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20264 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20265 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20266 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20267 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20269 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20270 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20271 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20272 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20273 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20274 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20275 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20276 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20277 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20278 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20279 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20280 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20281 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20282 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20283 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20285 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20286 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20287 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20289 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20290 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20291 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20292 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20293 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20294 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20297 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20298 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20299 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20301 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20302 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20305 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20306 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20307 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20308 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20311 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20319 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20320 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20322 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20323 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20324 * sysdeps/ieee754/k_standard.c: Likewise.
20325 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20326 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20329 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20331 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20333 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20334 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20335 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20337 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20338 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20339 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20340 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20345 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20346 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20444 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20445 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20447 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20452 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20473 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20474 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20475 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20485 * sysdeps/ieee754/s_lib_version.c: Likewise.
20486 * sysdeps/ieee754/s_matherr.c: Likewise.
20487 * sysdeps/ieee754/s_signgam.c: Likewise.
20488 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20489 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20490 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20491 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20492 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20493 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20494 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20495 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20496 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20497 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20498 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20499 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20500 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20501 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20502 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20504 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20505 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20506 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 20509
1991fa03
JM
205102012-03-09 Joseph Myers <joseph@codesourcery.com>
20511
20512 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20513 * sunrpc/rpc_main.c: Likewise.
20514 * sunrpc/rpc_svcout.c: Likewise.
20515
60d6f5a6
DM
205162012-03-09 David S. Miller <davem@davemloft.net>
20517
20518 * include/math_private.h: New file.
20519
4962050e
JM
205202012-03-09 Joseph Myers <joseph@codesourcery.com>
20521
02a6f887
JM
20522 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20523 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20524 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20525 from <bits/socket_type.h>.
20526 (enum __socket_type): Don't define here.
20527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20529 bits/socket_type.h.
20530
c6e013c1
JM
20531 [BZ #13566]
20532 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20533 checking __USE_GNU.
20534
4962050e
JM
20535 * Makerules ($(inst_includedir)/%.h): New rule.
20536 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20537 (install-others): Remove variable setting.
20538 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20539
38842f45
RH
205402012-03-08 Richard Henderson <rth@twiddle.net>
20541
67bb6da6
RH
20542 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20543 from macro to inline function; merge with the
20544 !__LIBC_INTERNAL_MATH_INLINES version.
20545 (__ieee754_sqrtf): Likewise.
20546
15194b4b
RH
20547 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20548 to inline function.
20549 (__rintf, __floor, __floorf): Likewise.
20550
64e21ede
RH
20551 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20552 macro to inline function.
20553 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20554
38842f45
RH
20555 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20556 not <math/math_private.h>.
20557
c64bf5fe
DM
205582012-03-08 David S. Miller <davem@davemloft.net>
20559
20560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20561 copyright year.
20562 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20563
82d86f28
TS
205642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20565
20566 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20567 normalization.
20568 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20569 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20570
aea5d727
UD
205712012-03-08 Ulrich Drepper <drepper@gmail.com>
20572
20573 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20574 be defined individually, they must be defined as a block. Define
20575 S for printing a string instead of hidint the different by using a
20576 macro for adding the 'l'.
20577 * stdio-common/tst-fphex-wide.c: Adjust.
20578
70bca0a3
MP
205792012-03-07 Marek Polacek <polacek@redhat.com>
20580
20581 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20582
65b81130
MP
205832012-03-08 Marek Polacek <polacek@redhat.com>
20584
20585 [BZ #13806]
20586 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20587 * stdio-common/tst-fphex.c: Define a few macros to make the
20588 test reusable. Use them.
20589 * stdio-common/tst-fphex-wide.c: New file.
20590
07037eeb
JM
205912012-03-08 Joseph Myers <joseph@codesourcery.com>
20592
a7a93d50
JM
20593 [BZ #6911]
20594 * manual/macros.texi (gnusystems): New macro.
20595 (nongnusystems): Likewise.
20596 (gnulinuxhurdsystems): Likewise.
20597 (gnuhurdsystems): Likewise..
20598 (gnulinuxsystems): Likewise.
20599 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20600 variants of the GNU system, not "GNU system".
20601 * manual/conf.texi: Likewise.
20602 * manual/errno.texi: Likewise. Update example of errno macro
20603 expansion.
20604 * manual/filesys.texi: Likewise.
20605 (getumask): Document as specific to GNU/Hurd.
20606 * manual/install.texi: Likewise. Reword some references to
20607 GNU/Linux.
20608 * manual/intro.texi: Likewise.
20609 * manual/io.texi: Likewise.
20610 (File Name Portability): Detail which constraints are inapplicable
20611 to all GNU systems and which are only inapplicable to GNU/Hurd.
20612 * manual/job.texi: Likewise.
20613 * manual/llio.texi: Likewise.
20614 (O_NOCTTY): Document as present on GNU/Linux.
20615 * manual/maint.texi: Likewise.
20616 * manual/memory.texi: Likewise.
20617 * manual/pattern.texi: Likewise.
20618 * manual/pipe.texi: Likewise.
20619 * manual/process.texi: Likewise.
20620 * manual/resource.texi: Likewise.
20621 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20622 child on GNU/Hurd.
20623 * manual/setjmp.texi: Likewise.
20624 * manual/signal.texi: Likewise.
20625 * manual/startup.texi: Likewise.
20626 * manual/stdio.texi: Likewise.
20627 * manual/terminal.texi: Likewise.
20628 (ONLCR): Document as POSIX.
20629 (OXTABS): Document availability on GNU/Linux as XTABS.
20630 (ONOEOT): Document availability separately from other bits.
20631 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20632 * manual/time.texi: Likewise.
20633 * manual/users.texi: Likewise.
20634 * INSTALL: Regenerated.
20635 * sysdeps/gnu/errlist.c: Regenerated.
20636
07037eeb
JM
20637 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20638 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20639 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20640 puts.
20641 * configure: Regenerated.
20642
d1d3431a
JM
206432012-03-07 Joseph Myers <joseph@codesourcery.com>
20644
af6a1e37
JM
20645 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20646 default includes instead of AC_HEADER_CHECK.
20647 * sysdeps/i386/configure: Regenerated.
20648
d1d3431a
JM
20649 [BZ #10716]
20650 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20651 * math/s_cacoshf.c (__cacoshf): Likewise.
20652 * math/s_cacoshl.c (__cacoshl): Likewise.
20653 * math/s_casinh.c (__casinh): Set signs of result from argument.
20654 * math/s_casinhf.c (__casinhf): Likewise.
20655 * math/s_casinhl.c (__casinhl): Likewise.
20656 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20657 (casinh_test): Add more tests.
20658 * sysdeps/i386/fpu/libm-test-ulps: Update.
20659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20660
482ff4da
UD
206612012-03-07 Ulrich Drepper <drepper@gmail.com>
20662
872fda05
UD
20663 * po/zh_TW.po: Update from translation team.
20664
a4300c7a
UD
20665 * login/Makefile (distribute): Remove variable.
20666 * catgets/Makefile: Likewise.
20667 * mach/Makefile: Likewise.
20668 * malloc/Makefile: Likewise.
20669 * misc/Makefile: Likewise.
20670 * iconv/Makefile: Likewise.
20671 * nscd/Makefile: Likewise.
20672 * hurd/Makefile: Likewise.
20673 * manual/Makefile: Likewise.
20674 * locale/Makefile: Likewise.
20675 * intl/Makefile: Likewise.
20676 * conform/Makefile: Likewise.
20677 * nss/Makefile: Likewise.
20678 * time/Makefile: Likewise.
20679 * soft-fp/Makefile: Likewise.
20680 * dirent/Makefile: Likewise.
20681 * gmon/Makefile: Likewise.
20682 * po/Makefile: Likewise.
20683 * rt/Makefile: Likewise.
20684 * socket/Makefile: Likewise.
20685 * math/Makefile: Likewise.
20686 * signal/Makefile: Likewise.
20687 * debug/Makefile: Likewise.
20688 * elf/Makefile: Likewise.
20689 * timezone/Makefile: Likewise.
20690 * stdlib/Makefile: Likewise.
20691 * iconvdata/Makefile: Likewise.
20692 * sunrpc/Makefile: Likewise.
20693 * io/Makefile: Likewise.
20694 * argp/Makefile: Likewise.
20695 * inet/Makefile: Likewise.
20696 * hesiod/Makefile: Likewise.
20697 * grp/Makefile: Likewise.
20698 * csu/Makefile: Likewise.
20699 * wctype/Makefile: Likewise.
20700 * crypt/Makefile: Likewise.
20701 * libio/Makefile: Likewise.
20702 * string/Makefile: Likewise.
20703 * nis/Makefile: Likewise.
20704 * resolv/Makefile: Likewise.
20705 * stdio-common/Makefile: Likewise.
20706 * wcsmbs/Makefile: Likewise.
20707 * dlfcn/Makefile: Likewise.
20708 * posix/Makefile: Likewise.
20709
3b7c4e74 20710 [BZ #6959]
482ff4da
UD
20711 * timezone/Makefile: Don't install timezone files, just the programs
20712 and scripts.
20713
f72ed77d
UD
207142012-03-06 Ulrich Drepper <drepper@gmail.com>
20715
a000466f
UD
20716 * nss/databases.def: Add missing gshadow entry.
20717
f72ed77d
UD
20718 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20719
a53b7a4e
MP
207202012-03-06 Marek Polacek <polacek@redhat.com>
20721
20722 [BZ #13726]
20723 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20724 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20725 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20726 * stdio-common/tst-long-dbl-fphex.c: New file.
20727
e9258400
DM
207282012-03-06 David S. Miller <davem@davemloft.net>
20729
20730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20731 (set_obp_int): New function.
20732 (get_obp_int): New function.
20733 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
20734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20735 Avoid unused variable warnings on 'val' and use builtin_expect.
20736 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20737 __builtin_expect.
e9258400
DM
20738 (INLINE_CLONE_SYSCALL): Likewise.
20739
3bd2c723
DM
207402012-03-05 David S. Miller <davem@davemloft.net>
20741
20742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20743
bbb78d03
AS
207442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20745
884c5db4
AS
20746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20747
bbb78d03
AS
20748 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20749 only for |x| >= 40.
20750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20751
1c9f702a 207522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20753
20754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20755 Replace gettimeofday with __vdso_gettimeofday.
20756
7be16f82
RM
20757 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20758 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20759 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20760
20761 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20762 time with __vdso_time.
20763
ed58a00f
JM
207642012-03-05 Joseph Myers <joseph@codesourcery.com>
20765
20766 * manual/lang.texi (size_t): Note types to which size_t may be
20767 equivalent with the GNU C Library, but do not describe when
20768 differences between them are significant.
20769
30ee4ced
AJ
207702012-03-05 Andreas Jaeger <aj@suse.de>
20771
20772 * sysdeps/i386/fpu/libm-test-ulps: Update.
20773
b7cd39e8
JM
207742012-03-05 Joseph Myers <joseph@codesourcery.com>
20775
20776 [BZ #3976]
20777 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20778 (__ieee754_pow): Save and restore rounding mode and use
20779 round-to-nearest for main computations.
20780 * math/libm-test.inc (pow_test_tonearest): New function.
20781 (pow_test_towardzero): Likewise.
20782 (pow_test_downward): Likewise.
20783 (pow_test_upward): Likewise.
20784 (main): Call the new functions.
20785 * sysdeps/i386/fpu/libm-test-ulps: Update.
20786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20787
20788 [BZ #3976]
20789 * math/libm-test.inc (cosh_test_tonearest): New function.
20790 (cosh_test_towardzero): Likewise.
20791 (cosh_test_downward): Likewise.
20792 (cosh_test_upward): Likewise.
20793 (sinh_test_tonearest): Likewise.
20794 (sinh_test_towardzero): Likewise.
20795 (sinh_test_downward): Likewise.
20796 (sinh_test_upward): Likewise.
20797 (main): Call the new functions.
20798 * sysdeps/i386/fpu/libm-test-ulps: Update.
20799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20800
6c6a98c9
TV
208012012-03-05 Tom de Vries <tom@codesourcery.com>
20802
20803 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20804 default stack guard is set in last bytes.
20805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20806
21bb2d2e 208072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20808
21bb2d2e 20809 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20810
21bb2d2e
AJ
20811 [BZ #13656]
20812 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20813 possibly allocate from heap instead of stack.
20814 * stdio-common/bug-vfprintf-nargs.c: New file.
20815 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20816
c6922934
AS
208172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20818
20819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20820
bc957d53
MP
208212012-03-03 Marek Polacek <polacek@redhat.com>
20822
20823 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20824 * math/math_private.h: Likewise.
20825 * stdlib/tst-strtod.c: Likewise.
20826 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20827 * sysdeps/x86_64/bits/atomic.h: Likewise.
20828
6358490d
DM
208292012-03-02 David S. Miller <davem@davemloft.net>
20830
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20835 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20836 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20837 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20838 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20839
01ae168d
RM
208402012-03-02 Roland McGrath <roland@hack.frob.com>
20841
d9a17c07
RM
20842 [BZ #13792]
20843 * manual/examples/README: New file, says the example source files
20844 can be used under GPL>=2.
20845 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20846 line containing just "*/".
20847 * manual/examples/add.c: Add copyright header (GPL>=2).
20848 * manual/examples/argp-ex1.c: Likewise.
20849 * manual/examples/argp-ex2.c: Likewise.
20850 * manual/examples/argp-ex3.c: Likewise.
20851 * manual/examples/argp-ex4.c: Likewise.
20852 * manual/examples/atexit.c: Likewise.
20853 * manual/examples/db.c: Likewise.
20854 * manual/examples/dir.c: Likewise.
20855 * manual/examples/dir2.c: Likewise.
20856 * manual/examples/execinfo.c: Likewise.
20857 * manual/examples/filecli.c: Likewise.
20858 * manual/examples/filesrv.c: Likewise.
20859 * manual/examples/fmtmsgexpl.c: Likewise.
20860 * manual/examples/genpass.c: Likewise.
20861 * manual/examples/inetcli.c: Likewise.
20862 * manual/examples/inetsrv.c: Likewise.
20863 * manual/examples/isockad.c: Likewise.
20864 * manual/examples/longopt.c: Likewise.
20865 * manual/examples/memopen.c: Likewise.
20866 * manual/examples/memstrm.c: Likewise.
20867 * manual/examples/mkfsock.c: Likewise.
20868 * manual/examples/mkisock.c: Likewise.
20869 * manual/examples/mygetpass.c: Likewise.
20870 * manual/examples/pipe.c: Likewise.
20871 * manual/examples/popen.c: Likewise.
20872 * manual/examples/rprintf.c: Likewise.
20873 * manual/examples/search.c: Likewise.
20874 * manual/examples/select.c: Likewise.
20875 * manual/examples/setjmp.c: Likewise.
20876 * manual/examples/sigh1.c: Likewise.
20877 * manual/examples/sigusr.c: Likewise.
20878 * manual/examples/stpcpy.c: Likewise.
20879 * manual/examples/strdupa.c: Likewise.
20880 * manual/examples/strftim.c: Likewise.
20881 * manual/examples/strncat.c: Likewise.
20882 * manual/examples/subopt.c: Likewise.
20883 * manual/examples/swapcontext.c: Likewise.
20884 * manual/examples/termios.c: Likewise.
20885 * manual/examples/testopt.c: Likewise.
20886 * manual/examples/testpass.c: Likewise.
20887 * manual/examples/timeval_subtract.c: Likewise.
20888
01ae168d
RM
20889 [BZ #13792]
20890 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20891 function to ...
20892 * manual/timeval_subtract.c.texi: ... here, new file.
20893
49efa33d
DM
208942012-03-02 David S. Miller <davem@davemloft.net>
20895
20896 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20897
28afd92d
JM
208982012-03-02 Joseph Myers <joseph@codesourcery.com>
20899
804360ed
JM
20900 [BZ #3976]
20901 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20902 (__sin): Save and restore rounding mode and use round-to-nearest
20903 for all computations.
20904 (__cos): Save and restore rounding mode and use round-to-nearest
20905 for all computations.
20906 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20907 <fenv.h>.
20908 (tan): Save and restore rounding mode and use round-to-nearest for
20909 all computations.
20910 * math/libm-test.inc (cos_test_tonearest): New function.
20911 (cos_test_towardzero): Likewise.
20912 (cos_test_downward): Likewise.
20913 (cos_test_upward): Likewise.
20914 (sin_test_tonearest): Likewise.
20915 (sin_test_towardzero): Likewise.
20916 (sin_test_downward): Likewise.
20917 (sin_test_upward): Likewise.
20918 (tan_test_tonearest): Likewise.
20919 (tan_test_towardzero): Likewise.
20920 (tan_test_downward): Likewise.
20921 (tan_test_upward): Likewise.
20922 (main): Call the new functions.
20923 * sysdeps/i386/fpu/libm-test-ulps: Update.
20924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20925
a6d06d7b
JM
20926 [BZ #10135]
20927 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20928 small n, then large n, before computing and testing k+n.
20929 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20931 Likewise.
20932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20933 Likewise.
20934 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20935 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20936 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20937 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20940 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20941 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20942 * math/libm-test.inc (scalbn_test): Add more tests.
20943 (scalbln_test): Likewise.
20944
07e12bb3
JM
20945 * manual/filesys.texi (mode_t): Describe constraints on size and
20946 signedness, not exact equivalence to a particular type.
20947 (ino_t): Likewise.
20948 (ino64_t): Likewise.
20949 (dev_t): Likewise.
20950 (nlink_t): Likewise.
20951 (blkcnt_t): Likewise.
20952 (blkcnt64_t): Likewise.
20953 * manual/llio.texi (off_t): Likewise.
20954
28afd92d
JM
20955 [BZ #3976]
20956 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20957 (__ieee754_exp): Save and restore rounding mode and use
20958 round-to-nearest for all computations.
20959 * math/libm-test.inc (exp_test_tonearest): New function.
20960 (exp_test_towardzero): Likewise.
20961 (exp_test_downward): Likewise.
20962 (exp_test_upward): Likewise.
20963 (main): Call the new functions.
20964 * sysdeps/i386/fpu/libm-test-ulps: Update.
20965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20966
b1eeb65d
CD
209672012-03-01 Chris Demetriou <cgd@google.com>
20968
20969 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20970 have predictable order.
20971
53362a4b
DM
209722012-03-01 David S. Miller <davem@davemloft.net>
20973
3c969083
DM
20974 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20975
759707de
DM
20976 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20977 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20978 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20979 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20980
dfdb8ff2
DM
20981 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20982 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20983 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20985 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20986 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20987 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20988 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20989 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20990
ead89f96
DM
20991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20992
7f66bd07
DM
20993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20994 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20996
53362a4b
DM
20997 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20998 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20999 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21004 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21005 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21006 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21007 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21008 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21010 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21011 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21013 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21014 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21015 * sysdeps/sparc/elf/configure: Regenerated.
21016
7b1902cb
JM
210172012-03-01 Joseph Myers <joseph@codesourcery.com>
21018
bec039bc
JM
21019 * configure.in (AS, LD): Require binutils 2.20 or later.
21020 * configure: Regenerated.
21021 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21022 as required minimum version.
21023 * INSTALL: Regenerated.
21024
7b1902cb
JM
21025 [BZ #2541]
21026 [BZ #4108]
21027 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21028 before squaring exponent.
21029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21030 bottom long double and 27 bits of top long double before squaring
21031 exponent.
21032 * math/libm-test.inc (erfc_test): Add more tests.
21033 * sysdeps/i386/fpu/libm-test-ulps: Update.
21034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21036
f775c276
KT
210372012-03-01 Kai Tietz <ktietz@redhat.com>
21038
21039 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21040 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21041 containing bit-fields.
21042 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21043 * soft-fp/single.h (_FP_UNION_S): Likewise.
21044 * soft-fp/double.h (_FP_UNION_D): Likewise.
21045
5b8a4d4a
JM
210462012-02-29 Joseph Myers <joseph@codesourcery.com>
21047
0bab47b6
JM
21048 [BZ #13786]
21049 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21050 not include ../strcmp.S.
21051 [USE_AS_STRNCASECMP_L]: Likewise.
21052 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21053 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21054 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21055 (__strncasecmp_l_ia32): Define as alias to
21056 __strncasecmp_l_nonascii.
21057
0fcad3e2
JM
21058 [BZ #5794]
21059 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21060 * sysdeps/i386/fpu/libm-test-ulps: Update.
21061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21062
5b8a4d4a
JM
21063 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21065
8fdceb2e
JL
210662012-02-29 Jeff Law <law@redhat.com>
21067
21068 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21069 out of bounds read.
21070
1f393a11
MP
210712012-02-29 Marek Polacek <polacek@redhat.com>
21072
21073 [BZ #13706]
21074 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21075 * elf/Makefile: Add rules to run tst-unused-dep.out.
21076
8847f037
DM
210772012-02-28 David S. Miller <davem@davemloft.net>
21078
21079 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21080 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21083 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21084 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21085
169d7f11
JM
210862012-02-29 Joseph Myers <joseph@codesourcery.com>
21087
21088 * math/libm-test.inc (llround_test): Move one test from
21089 lround_test. Use TEST_f_L in moved test.
21090 (lround_test): Move misplaced test to llround_test. Add testcase
21091 from bug 2561.
21092
39adf059
UD
210932012-02-28 Ulrich Drepper <drepper@gmail.com>
21094
21095 * sysdeps/x86_64/fpu/e_expf.S: New file.
21096 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21097
71b5d1c5
SB
210982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21099
21100 [BZ #13637]
21101 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21102 of remain_len that may cause incomplete multi-byte character and
21103 false match.
21104 * posix/bug-regex33.c: New file.
21105 * posix/Makefile (tests): Add bug-regex33.
21106
1f77f049
JM
211072012-02-28 Joseph Myers <joseph@codesourcery.com>
21108
21109 * manual/macros.texi: New file.
21110 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21111 * manual/libc.texinfo: Include macros.texi.
21112 * manual/creatute.texi: Likewise.
21113 * manual/install.texi: Likewise.
21114 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21115 @glibcadj{} in references to the GNU C Library.
21116 * manual/charset.texi: Likewise.
21117 * manual/conf.texi: Likewise.
21118 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21119 when not using those macros.
21120 * manual/creature.texi: Likewise.
21121 * manual/crypt.texi: Likewise.
21122 * manual/errno.texi: Likewise.
21123 * manual/filesys.texi: Likewise.
21124 * manual/header.texi: Likewise.
21125 * manual/install.texi: Likewise.
21126 * manual/intro.texi: Likewise.
21127 * manual/io.texi: Likewise.
21128 * manual/job.texi: Likewise.
21129 * manual/lang.texi: Likewise.
21130 * manual/libc.texiinfo: Likewise.
21131 * manual/llio.texi: Likewise.
21132 * manual/locale.texi: Likewise.
21133 * manual/maint.texi: Likewise.
21134 * manual/math.texi: Likewise.
21135 * manual/memory.texi: Likewise.
21136 * manual/message.texi: Likewise.
21137 * manual/nss.texi: Likewise.
21138 * manual/pattern.texi: Likewise.
21139 * manual/process.texi: Likewise.
21140 * manual/resource.texi: Likewise.
21141 * manual/search.texi: Likewise.
21142 * manual/setjmp.texi: Likewise.
21143 * manual/signal.texi: Likewise.
21144 * manual/socket.texi: Likewise.
21145 * manual/startup.texi: Likewise.
21146 * manual/stdio.texi: Likewise.
21147 * manual/string.texi: Likewise.
21148 * manual/sysinfo.texi: Likewise.
21149 * manual/syslog.texi: Likewise.
21150 * manual/terminal.texi: Likewise.
21151 * manual/time.texi: Likewise.
21152 * manual/users.texi: Likewise.
21153 * INSTALL: Regenerated.
21154 * NOTES: Regenerated.
d40c5d54 21155 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21156
450bf206
AS
211572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21158
21159 * include/dirent.h: Include <dirstream.h> before
21160 <dirent/dirent.h>.
21161
741a235b
DM
211622012-02-28 David S. Miller <davem@davemloft.net>
21163
21164 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21165 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21166 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21167 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21168
d6b5aa58
DM
211692012-02-27 David S. Miller <davem@davemloft.net>
21170
1aff59a3
DM
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21173 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21174 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21175
d6b5aa58
DM
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21177 frame pointer instead of stack pointer relative arg slot.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21179 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21180 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21181
433f48bf
CD
211822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21183
21184 [BZ #3992]
21185 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21186
d674b76d
DM
211872012-02-27 David S. Miller <davem@davemloft.net>
21188
21189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21193 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21194 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21195 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21196 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21197
0e7727f7
JM
211982012-02-27 Joseph Myers <joseph@codesourcery.com>
21199
21200 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21201 later. Allow versions 5-9.
43be4ca2 21202 * configure: Regenerated.
0e7727f7
JM
21203 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21204 required minimum version and 4.6 as recommended version. Do not
21205 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21206 * INSTALL: Regenerated.
0e7727f7 21207
a78bc654
DM
212082012-02-27 David S. Miller <davem@davemloft.net>
21209
428d5830
DM
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21214 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21215 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21216 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21217 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21218
a78bc654
DM
21219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21220 manipulate bits before adding and subtracting TWO112[sx].
21221 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21222
4579f81c
RM
212232012-02-27 Roland McGrath <roland@hack.frob.com>
21224
36c8acb4
RM
21225 [BZ #13775]
21226 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21227 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21228 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21229 being in POSIX, because they are in 1003.1-2008.
21230
84ad622b
RM
21231 * rt/tst-aio.c: Include <fcntl.h>.
21232 * rt/tst-aio7.c: Likewise.
21233 * rt/tst-aio64.c: Likewise.
21234
4579f81c
RM
21235 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21236
abd923db
JM
212372012-02-27 Joseph Myers <joseph@codesourcery.com>
21238
21239 * manual/install.texi (--with-headers): Describe headers as
21240 interface headers, not private headers.
21241 (Specific advice for GNU/Linux systems): Describe use of headers
21242 from "make headers_install", not private headers from older
21243 kernels.
43be4ca2 21244 * INSTALL: Regenerated.
abd923db
JM
21245 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21246 Change to 2.6.19.
21247 * sysdeps/unix/sysv/linux/configure: Regenerated.
21248
6664049b
JM
21249 * manual/llio.texi (fclean): Remove documentation.
21250
bb8b6697
JM
21251 * manual/Makefile (libc-texi-generated): New variable. Include
21252 version.texi.
21253 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21254 $(libc-texi-generated), not duplicated list of files.
21255 (version.texi, stamp-version): New rules.
21256 (realclean): Remove $(libc-texi-generated), not individual files
21257 from that list. Do not remove dir-add.texinfo.
21258 * manual/libc.texinfo: Comment out uses of edition numbers and
21259 references to printed manual. Remove last-updated dates.
21260 (EDITION): Comment out.
21261 (ISBN): Likewise.
21262 (VERSION, UPDATED): Remove.
21263 (version.texi): Include.
21264
12e5c3b9
AS
212652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21266
21267 * sysdeps/posix/spawni.c: Include <signal.h>.
21268 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21269 * sysdeps/pthread/aio_fsync.c: Likewise.
21270
4efeffc1 212712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21272
ba63ba08
UD
21273 * conform/Makefile (tests): Run only when not cross-compiling and
21274 when fast-check is not defined.
21275
d94a4670
UD
21276 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21277 * conform/data/limits.h-data: Fixes for POSIX2008.
21278 * conform/run-conformtest.sh: Run all tests.
21279 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21280 headers.
21281 * include/bits/dlfcn.h: Likewise.
21282 * include/langinfo.h: Likewise.
21283 * include/monetary.h: Likewise.
21284 * include/sys/poll.h: Likewise.
21285
21286 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21287 for __USE_GNU.
21288 * posix/spawn.h: Define __need_sigset_t.
21289 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21290 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21291 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21292 to get sigevent_t only.
21293 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21294 only for __USE_GNU.
21295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21296 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21297 process_vm_writev only for __USE_GNU.
21298 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21299
21300 * conform/Makefile: For now ignore errors from run-conformtest.
21301 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21302 POSIX to avoid namespace pollution. Don't prepend headers.
21303 * conform/data/aio.h-data: Fixes for POSIX testing.
21304 * conform/data/fcntl.h-data: Likewise.
21305 * conform/data/glob.h-data: Likewise.
21306 * conform/data/grp.h-data: Likewise.
21307 * conform/data/pthread.h-data: Likewise.
21308 * conform/data/pwd.h-data: Likewise.
21309 * conform/data/signal.h-data: Likewise.
21310 * conform/data/spawn.h-data: Likewise.
21311 * conform/data/stdio.h-data: Likewise.
21312 * conform/data/stdlib.h-data: Likewise.
21313 * conform/data/stropts.h-data: Likewise.
21314 * conform/data/sys/mman.h-data: Likewise.
21315 * conform/data/sys/stat.h-data: Likewise.
21316 * conform/data/sys/types.h-data: Likewise.
21317 * conform/data/sys/wait.h-data: Likewise.
21318 * conform/data/time.h-data: Likewise.
21319 * conform/data/unistd.h-data: Likewise.
21320 * conform/data/utime.h-data: Likewise.
21321
21322 * io/sys/stat.h: fchmod was always in POSIX.
21323 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21324 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21325 * rt/aio.h: Define __need_timespec before including <time.h>.
21326 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21327 struct. Add forward declaration of pthread_attr_t and use it in
21328 sigevent.
21329 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21330 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21331 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21332 always remove CLK_TCK definition.
21333
c20105c3
AS
213342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21335
21336 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21337
7a270350
UD
213382012-02-25 Ulrich Drepper <drepper@gmail.com>
21339
31341567
UD
21340 * conform/run-conformtest.sh: New file.
21341 * conform/Makefile: Run run-conformtest for tests.
21342 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21343 support.
21344
21345 * conform/data/uchar.h-data: New file.
21346 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21347 * conform/data/arpa/inet.h-data: Likewise.
21348 * conform/data/assert.h-data: Likewise.
21349 * conform/data/complex.h-data: Likewise.
21350 * conform/data/cpio.h-data: Likewise.
21351 * conform/data/ctype.h-data: Likewise.
21352 * conform/data/dirent.h-data: Likewise.
21353 * conform/data/dlfcn.h-data: Likewise.
21354 * conform/data/errno.h-data: Likewise.
21355 * conform/data/fcntl.h-data: Likewise.
21356 * conform/data/float.h-data: Likewise.
21357 * conform/data/fmtmsg.h-data: Likewise.
21358 * conform/data/fnmatch.h-data: Likewise.
21359 * conform/data/ftw.h-data: Likewise.
21360 * conform/data/glob.h-data: Likewise.
21361 * conform/data/grp.h-data: Likewise.
21362 * conform/data/iconv.h-data: Likewise.
21363 * conform/data/inttypes.h-data: Likewise.
21364 * conform/data/langinfo.h-data: Likewise.
21365 * conform/data/libgen.h-data: Likewise.
21366 * conform/data/limits.h-data: Likewise.
21367 * conform/data/locale.h-data: Likewise.
21368 * conform/data/math.h-data: Likewise.
21369 * conform/data/monetary.h-data: Likewise.
21370 * conform/data/mqueue.h-data: Likewise.
21371 * conform/data/ndbm.h-data: Likewise.
21372 * conform/data/net/if.h-data: Likewise.
21373 * conform/data/netdb.h-data: Likewise.
21374 * conform/data/netinet/in.h-data: Likewise.
21375 * conform/data/nl_types.h-data: Likewise.
21376 * conform/data/poll.h-data: Likewise.
21377 * conform/data/pthread.h-data: Likewise.
21378 * conform/data/pwd.h-data: Likewise.
21379 * conform/data/regex.h-data: Likewise.
21380 * conform/data/sched.h-data: Likewise.
21381 * conform/data/search.h-data: Likewise.
21382 * conform/data/semaphore.h-data: Likewise.
21383 * conform/data/setjmp.h-data: Likewise.
21384 * conform/data/signal.h-data: Likewise.
21385 * conform/data/spawn.h-data: Likewise.
21386 * conform/data/stdarg.h-data: Likewise.
21387 * conform/data/stdio.h-data: Likewise.
21388 * conform/data/stdlib.h-data: Likewise.
21389 * conform/data/string.h-data: Likewise.
21390 * conform/data/strings.h-data: Likewise.
21391 * conform/data/stropts.h-data: Likewise.
21392 * conform/data/sys/ipc.h-data: Likewise.
21393 * conform/data/sys/mman.h-data: Likewise.
21394 * conform/data/sys/msg.h-data: Likewise.
21395 * conform/data/sys/resource.h-data: Likewise.
21396 * conform/data/sys/select.h-data: Likewise.
21397 * conform/data/sys/sem.h-data: Likewise.
21398 * conform/data/sys/shm.h-data: Likewise.
21399 * conform/data/sys/socket.h-data: Likewise.
21400 * conform/data/sys/stat.h-data: Likewise.
21401 * conform/data/sys/statvfs.h-data: Likewise.
21402 * conform/data/sys/time.h-data: Likewise.
21403 * conform/data/sys/timeb.h-data: Likewise.
21404 * conform/data/sys/times.h-data: Likewise.
21405 * conform/data/sys/types.h-data: Likewise.
21406 * conform/data/sys/uio.h-data: Likewise.
21407 * conform/data/sys/un.h-data: Likewise.
21408 * conform/data/sys/utsname.h-data: Likewise.
21409 * conform/data/sys/wait.h-data: Likewise.
21410 * conform/data/syslog.h-data: Likewise.
21411 * conform/data/tar.h-data: Likewise.
21412 * conform/data/termios.h-data: Likewise.
21413 * conform/data/utime.h-data: Likewise.
21414 * conform/data/utmpx.h-data: Likewise.
21415 * conform/data/varargs.h-data: Likewise.
21416 * conform/data/wchar.h-data: Likewise.
21417 * conform/data/wctype.h-data: Likewise.
21418 * conform/data/wordexp.h-data: Likewise.
21419
21420 * include/stropts.h: New file.
21421 * include/uchar.h: New file.
21422 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21423 * include/assert.h: Likewise.
21424 * include/ctype.h: Likewise.
21425 * include/dirent.h: Likewise.
21426 * include/dlfcn.h: Likewise.
21427 * include/fcntl.h: Likewise.
21428 * include/fnmatch.h: Likewise.
21429 * include/glob.h: Likewise.
21430 * include/grp.h: Likewise.
21431 * include/libio.h: Likewise.
21432 * include/locale.h: Likewise.
21433 * include/math.h: Likewise.
21434 * include/net/if.h: Likewise.
21435 * include/netdb.h: Likewise.
21436 * include/netinet/in.h: Likewise.
21437 * include/pthread.h: Likewise.
21438 * include/pwd.h: Likewise.
21439 * include/regex.h: Likewise.
21440 * include/sched.h: Likewise.
21441 * include/search.h: Likewise.
21442 * include/setjmp.h: Likewise.
21443 * include/signal.h: Likewise.
21444 * include/stdio.h: Likewise.
21445 * include/stdlib.h: Likewise.
21446 * include/string.h: Likewise.
21447 * include/sys/cdefs.h: Likewise.
21448 * include/sys/mman.h: Likewise.
21449 * include/sys/msg.h: Likewise.
21450 * include/sys/resource.h: Likewise.
21451 * include/sys/select.h: Likewise.
21452 * include/sys/socket.h: Likewise.
21453 * include/sys/stat.h: Likewise.
21454 * include/sys/statvfs.h: Likewise.
21455 * include/sys/time.h: Likewise.
21456 * include/sys/times.h: Likewise.
21457 * include/sys/uio.h: Likewise.
21458 * include/sys/utsname.h: Likewise.
21459 * include/sys/wait.h: Likewise.
21460 * include/termios.h: Likewise.
21461 * include/time.h: Likewise.
21462 * include/ulimit.h: Likewise.
21463 * include/unistd.h: Likewise.
21464 * include/utime.h: Likewise.
21465 * include/wchar.h: Likewise.
21466 * include/wctype.h: Likewise.
21467 * include/wordexp.h: Likewise.
21468
21469 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21470
7a270350
UD
21471 * time/time.h: TIME_UTC must be a macro.
21472 Make timespec_get available for ISO C11 only as well.
21473
7724defc
UD
214742012-02-24 Ulrich Drepper <drepper@gmail.com>
21475
21476 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21477 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21478
6b1d1d46
JM
214792012-02-24 Joseph Myers <joseph@codesourcery.com>
21480
21481 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 21482
0f8bbd69
JM
214832012-02-24 Joseph Myers <joseph@codesourcery.com>
21484
21485 * manual/texinfo.tex: Update to version 2012-01-19.16.
21486
66ab80bc
JM
214872012-02-24 Joseph Myers <joseph@codesourcery.com>
21488
21489 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21490
74981cc5
RM
214912012-02-24 Roland McGrath <roland@hack.frob.com>
21492
ee968201
RM
21493 [BZ #13738]
21494 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21495 * manual/fdl-1.3.texi: New file.
21496 * manual/fdl-1.1.texi: File removed.
21497
74981cc5
RM
21498 [BZ #13738]
21499 * manual/libc.texinfo (FDL_VERSION): New @set.
21500 Use it for mention of FDL in cover text.
21501 (Documentation License): Use it in @include file name.
21502
7bb764bc
JM
215032012-02-22 Joseph Myers <joseph@codesourcery.com>
21504 Roland McGrath <roland@hack.frob.com>
21505
21506 [BZ #5461]
21507 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21508 not LONG_LONG_MAX and LONG_LONG_MIN.
21509 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21510 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21511 name.
21512 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21513
6cbeae47
JM
215142012-02-22 Joseph Myers <joseph@codesourcery.com>
21515
21516 [BZ #2547]
21517 [BZ #11365]
21518 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21519 manipulate bits before adding and subtracting TWO23[sx].
21520 * math/libm-test.inc (nearbyint_test): Add more tests.
21521
fe45ce09
JM
215222012-02-22 Joseph Myers <joseph@codesourcery.com>
21523
21524 [BZ #2548]
21525 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21526 bits before adding and subtracting TWO23[sx].
21527 * math/libm-test.inc (rint_test): Add more tests.
21528 (rint_test_tonearest): Likewise.
21529 (rint_test_towardzero): Likewise.
21530 (rint_test_downward): Likewise.
21531 (rint_test_upward: Likewise.
21532
ff3b3d82
JM
215332012-02-22 Joseph Myers <joseph@codesourcery.com>
21534
21535 [BZ #10110]
21536 * include/stdc-predef.h: New file. Extracted from features.h.
21537 * include/features.h: Include stdc-predef.h.
21538 * Makefile (headers): Add stdc-predef.h.
21539 * CONFORMANCE (Compiler limitations): Update.
21540
ef0aab35
JM
215412012-02-22 Joseph Myers <joseph@codesourcery.com>
21542
21543 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21544
58639409
DM
215452012-02-21 David S. Miller <davem@davemloft.net>
21546
21547 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21548 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21549
c0e70b25
DM
215502012-02-20 David S. Miller <davem@davemloft.net>
21551
21552 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21553 using a normal save/restore sequence, rather than allocating a
21554 dummy stack frame just to store a frame pointer and restore.
21555 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21556
fb06851d
JM
215572012-02-21 Joseph Myers <joseph@codesourcery.com>
21558
21559 * manual/install.texi: Fix stray word in line-wrapped comment.
21560
7a8b71c3
DM
215612012-02-20 David S. Miller <davem@davemloft.net>
21562
d510c123
DM
21563 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21564 both binutils and gcc support GOTDATA.
21565
0722d7c2
DM
21566 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21567 "rd %pc" in the PIC register setup sequences.
21568
3d2b3019
DM
21569 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21570 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21571 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21572 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21573 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21575 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21578 (SYSCALL_ERROR_HANDLER): Likewise.
21579 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21580 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21582 (SYSCALL_ERROR_HANDLER): Likewise.
21583
c80098a9
DM
21584 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21585 (HAVE_GCC_GOTDATA): New.
21586 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21587 relocation support in both binutils and gcc.
21588 * sysdeps/sparc/elf/configure: Regenerate.
21589
3a2545a0
DM
21590 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21591 * sysdeps/sparc/sparc32/elf/configure: Delete.
21592 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21593 * sysdeps/sparc/sparc64/elf/configure: Delete.
21594 * sysdeps/sparc/elf/configure.in: New file.
21595 * sysdeps/sparc/elf/configure: Generate.
21596
7a8b71c3
DM
21597 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21598 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21599 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21600 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21601 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21602
f1e86fca
JM
216032012-02-21 Joseph Myers <joseph@codesourcery.com>
21604
21605 * manual/install.texi: Do not mention specific glibc version
21606 numbers.
21607 * manual/libc.texinfo (VERSION, UPDATED): Update.
21608 (@copying): Use @copyright{} and range of years.
21609
0e7dfaef
JM
216102012-02-21 Joseph Myers <joseph@codesourcery.com>
21611
21612 [BZ #13695]
21613 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21614 [crti.S not in sysdirs] (generated): Do not append.
21615 [crti.S not in sysdirs] (omit-deps): Likewise.
21616 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21617 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21618 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21619 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21620 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21621 Likewise.
21622 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21623 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21624 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21625 * csu/defs.awk: Remove file.
21626 * sysdeps/generic/initfini.c: Likewise.
21627 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21628 variable.
21629 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21630 Likewise.
21631
599af3ca
JM
216322012-02-20 Joseph Myers <joseph@codesourcery.com>
21633
21634 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21635 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21636 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21638 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21639 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21640 <bits/epoll.h>.
21641 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21642 (__EPOLL_PACKED): Define to empty if not defined by
21643 <bits/epoll.h>.
21644 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21646 bits/epoll.h.
21647
0e499750
JM
216482012-02-20 Joseph Myers <joseph@codesourcery.com>
21649
21650 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21651 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21652 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21653 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21654 <bits/timerfd.h>.
21655 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21657 bits/timerfd.h.
21658
5ad91f6e
JM
216592012-02-20 Joseph Myers <joseph@codesourcery.com>
21660
21661 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21662 in C locale.
21663 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21664 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21667
06b99b02
AJ
216682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21669
21670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21671 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21672
7638c0fd
AS
216732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21674
21675 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21676 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21677 defined.
21678 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21679 Likewise.
21680 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21681 entry for 2.16.
21682
92221550
AJ
216832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21684
21685 * math/w_acos.c: Use non-signaling floating-point comparisons.
21686 * math/w_acosf.c: Likewise.
21687 * math/w_acosh.c: Likewise.
21688 * math/w_acoshf.c: Likewise.
21689 * math/w_acoshl.c: Likewise.
21690 * math/w_acosl.c: Likewise.
21691 * math/w_asin.c: Likewise.
21692 * math/w_asinf.c: Likewise.
21693 * math/w_asinl.c: Likewise.
21694 * math/w_atanh.c: Likewise.
21695 * math/w_atanhf.c: Likewise.
21696 * math/w_atanhl.c: Likewise.
21697 * math/w_exp2.c: Likewise.
21698 * math/w_exp2f.c: Likewise.
21699 * math/w_exp2l.c: Likewise.
21700 * math/w_j0.c: Likewise.
21701 * math/w_j0f.c: Likewise.
21702 * math/w_j0l.c: Likewise.
21703 * math/w_j1.c: Likewise.
21704 * math/w_j1f.c: Likewise.
21705 * math/w_j1l.c: Likewise.
21706 * math/w_jn.c: Likewise.
21707 * math/w_jnf.c: Likewise.
21708 * math/w_log.c: Likewise.
21709 * math/w_log10.c: Likewise.
21710 * math/w_log10f.c: Likewise.
21711 * math/w_log10l.c: Likewise.
21712 * math/w_log2.c: Likewise.
21713 * math/w_log2f.c: Likewise.
21714 * math/w_log2l.c: Likewise.
21715 * math/w_logf.c: Likewise.
21716 * math/w_logl.c: Likewise.
21717 * math/w_sqrt.c: Likewise.
21718 * math/w_sqrtf.c: Likewise.
21719 * math/w_sqrtl.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21723 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21724 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21725
ebaf36eb
JM
217262012-02-19 Joseph Myers <joseph@codesourcery.com>
21727
21728 [BZ #9739]
21729 * manual/string.texi (strnlen): Use correct parameter name in
21730 equivalent expression.
21731
71c254a6
JM
217322012-02-19 Joseph Myers <joseph@codesourcery.com>
21733
21734 [BZ #11174]
21735 * manual/users.texi (seteuid): Consistently use neweuid for
21736 argument name.
21737
16d2c631
JM
217382012-02-19 Joseph Myers <joseph@codesourcery.com>
21739
21740 [BZ #13704]
21741 * manual/nss.texi (Services in the NSS configuration): Correct
21742 list of services in example configuration file.
21743
cd837b09
NB
217442012-02-19 Nick Bowler <nbowler@draconx.ca>
21745
21746 [BZ #11322]
21747 * manual/arith.texi: Remove statements about negative zero
21748 behaving identically to zero.
21749
02c4bbad
JM
217502012-02-18 Joseph Myers <joseph@codesourcery.com>
21751
21752 [BZ #5993]
21753 * manual/install.texi: Do not document upgrading from libc5.
21754
366842e7
JM
217552012-02-18 Joseph Myers <joseph@codesourcery.com>
21756
21757 [BZ #4596]
21758 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21759
dd54084d
DM
217602012-02-18 David S. Miller <davem@davemloft.net>
21761
21762 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21763 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21764 %o7 across the call.
21765 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21766 instead.
21767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21768 SETUP_PIC_REG_LEAF.
21769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21770 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21771 * sysdeps/sparc/crtn.S: Likewise.
21772
2bcc53a3
UD
217732012-02-17 Ulrich Drepper <drepper@gmail.com>
21774
21775 * aout/Makefile: Remove.
21776
09c093b5
RK
217772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21778
21779 [BZ #13058]
21780 * manual/examples/argp-ex1.c (main): Format definition in GNU
21781 style.
21782 * manual/examples/argp-ex2.c (main): Likewise.
21783 * manual/examples/argp-ex3.c (main): Likewise.
21784 * manual/examples/argp-ex4.c (main): Likewise.
21785 * manual/examples/longopt.c (main): Use new-style prototype
21786 definition.
21787 * manual/examples/strncat.c (main): Specify return type and use
21788 (void) for arguments.
21789 * manual/examples/subopt.c (main): Use char **argv argument.
21790
2ee633a2
JM
217912012-02-17 Joseph Myers <joseph@codesourcery.com>
21792
21793 [BZ #5077]
21794 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21795 rounding modes.
21796
0520adde
FB
217972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21798
21799 [BZ #6907]
21800 * manual/string.texi (strchr): Change when strchrnul is
21801 recommended.
21802
3f4081cd
DGM
218032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21804
21805 [BZ #174]
21806 * manual/locale.texi (setlocale): Document LOCPATH.
21807
d1b10e78
JM
218082012-02-17 Joseph Myers <joseph@codesourcery.com>
21809
21810 [BZ #10210]
21811 * manual/process.texi (execle): Move @dots{} before last argument.
21812
79c6869c
PB
218132012-02-17 Paul Bolle <pebolle@tiscali.nl>
21814
21815 [BZ #12047]
21816 * manual/charset.texi (Generic Charset Conversion): Fix typo
21817 (LC_TYPE -> LC_CTYPE).
21818
cc6e48bc
NB
218192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21820
21821 [BZ #5805]
21822 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21823 (scalbnf): Likewise.
21824 (scalbnl): Likewise.
21825 (scalbln): Likewise.
21826 (scalblnf): Likewise.
21827 (scalblnl): Likewise.
21828 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21829 (vwarnx): Likewise.
21830 (verr): Likewise.
21831 (verrx): Likewise.
21832 * manual/filesys.texi (telldir): Use braces around return type.
21833 * manual/llio.texi (mmap): Add space after comma.
21834 (mmap64): Likewise.
21835 * manual/math.texi (jn): Use @var{} on parameter names.
21836 (jnf): Likewise.
21837 (jnl): Likewise.
21838 (yn): Likewise.
21839 (ynf): Likewise.
21840 (ynl): Likewise.
21841 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21842 line.
21843 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21844 "...".
21845 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21846 (sched_get_priority_max): Likewise.
21847 * manual/signal.texi (sigvec): Add space after comma.
21848 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21849 names.
21850 (if_indextoname): Likewise.
21851 (if_freenameindex): Likewise.
21852 (sendto): Use ',' instead of '.' in prototype.
21853 * manual/startup.texi (syscall): Use @dots{} instead of literal
21854 "...".
21855 * manual/stdio.texi (__fpending): Separate initial words of
21856 paragraph from @deftypefun line.
21857 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21858 "...".
21859 (vsyslog): Use @var{} on parameter names.
21860 * manual/terminal.texi (stty): Use @var{} on parameter names.
21861 * manual/users.texi (getutmp): Use @var{} on parameter names.
21862 (getutmpx): Likewise.
21863
5b23062f
JM
218642012-02-17 Joseph Myers <joseph@codesourcery.com>
21865
21866 [BZ #6884]
21867 * manual/stdio.texi (fopen): Fix typos in description of
21868 ",ccs=STRING".
21869
8dee4833
AJ
218702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21871
21872 [BZ #4026]
21873 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21874 get clock_id definition.
21875
9078ce93
TS
218762012-02-17 Thomas Schwinge <thomas@schwinge.name>
21877
21878 [BZ #4822]
21879 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21880 (madvise): Cast every argument to void on its own.
21881
3835c55f
JM
218822012-02-17 Joseph Myers <joseph@codesourcery.com>
21883
21884 [BZ #9902]
21885 * manual/startup.texi (Exit Status): Fix typo.
21886
35c47e37
JM
218872012-02-17 Joseph Myers <joseph@codesourcery.com>
21888
21889 [BZ #10140]
21890 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21891 * manual/examples/argp-ex2.c: Likewise.
21892 * manual/examples/argp-ex3.c: Likewise.
21893
e3b69ca7
RH
218942012-02-16 Richard Henderson <rth@redhat.com>
21895
21896 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21897 * sysdeps/s390/s390-32/initfini.c: Remove.
21898 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21899 * sysdeps/s390/s390-64/initfini.c: Remove.
21900
df83af67
KK
219012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21902
21903 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21904 compiler output for sysdeps/generic/initfini.c.
21905 * sysdeps/sh/elf/initfini.c: Remove file.
21906
f63f3380
DM
219072012-02-16 David S. Miller <davem@davemloft.net>
21908
fb59b3a4
DM
21909 [BZ #11494]
21910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21911
f63f3380
DM
21912 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21913 * sysdeps/sparc/crti.S: New file.
21914 * sysdeps/sparc/crtn.S: New file.
21915 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21916 * sysdeps/sparc/sparc64/Makefile: Likewise.
21917
df6a4a4a
MF
219182012-02-15 Mike Frysinger <vapier@gentoo.org>
21919
6dd8f3dc 21920 [BZ #3335]
df6a4a4a
MF
21921 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21922
1cac7236
RM
219232012-02-15 Roland McGrath <roland@hack.frob.com>
21924
d2c736f8
RM
21925 [BZ #4822]
21926 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21927
1cac7236
RM
21928 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21929 (write, read, close): Likewise.
21930 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21931
8e475601
JM
219322012-02-15 Joseph Myers <joseph@codesourcery.com>
21933
21934 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21935 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21936 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21937 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21938 <bits/signalfd.h>.
21939 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21941 bits/signalfd.h.
21942
ed656b40
MP
219432012-02-14 Marek Polacek <polacek@redhat.com>
21944
21945 * sysdeps/x86_64/crti.S: New file.
21946 * sysdeps/x86_64/crtn.S: New file.
21947 * sysdeps/x86_64/elf/initfini.c: Remove file.
21948
2a979d3a
JM
219492012-02-13 Joseph Myers <joseph@codesourcery.com>
21950
21951 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21952 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21953 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21954 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21955 <bits/inotify.h>.
21956 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21958 bits/inotify.h.
21959
2a418ac3
JM
219602012-02-13 Joseph Myers <joseph@codesourcery.com>
21961
21962 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21963 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21964 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21965 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21966 <bits/eventfd.h>.
21967 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21969 bits/eventfd.h.
21970
fb779be7
TS
219712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21972
e19e83c5
RM
21973 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21974 __feraiseexcept instead of feraiseexcept.
7c35ffed 21975
fb779be7
TS
21976 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21977 nanosleep invocations.
21978 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21979 strings, and add error checking for a nanosleep invocations.
21980
59ba27a6
PE
219812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21982
21983 Replace FSF snail mail address with URLs, as per GNU coding standards.
21984 Most of the snail mail addresses were wrong anyway, and omitting
21985 them makes the source code easier to maintain. Almost all of the
21986 changes are to license notices and to locale LC_IDENTIFICATION
21987 addresses, except for this one:
21988 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21989 not its snail mail address.
21990
57b957eb
RH
219912012-02-09 Richard Henderson <rth@twiddle.net>
21992
af850b1c
RH
21993 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21994 of kernel-features.h.
21995
57b957eb
RH
21996 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21997
6b73181a
MP
219982012-02-08 Marek Polacek <polacek@redhat.com>
21999
22000 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22001 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22002 * sysdeps/gnu/_G_config.h: Likewise.
22003 * sysdeps/generic/_G_config.h: Likewise.
22004
26ecc33a
AS
220052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22006
6c6dbc63
AS
22007 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22008 tests.
22009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22010
e216c012
AS
22011 * sysdeps/powerpc/powerpc32/crti.S: New file.
22012 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22013 * sysdeps/powerpc/powerpc64/crti.S: New file.
22014 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22015
26ecc33a
AS
22016 * Makeconfig (have-initfini): Don't set.
22017 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22018 * configure.in (nopic_initfini): Don't substitute.
22019 * config.h.in (HAVE_INITFINI): Don't #undef.
22020 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22021 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22022
3add8e13
JM
220232012-02-08 Joseph Myers <joseph@codesourcery.com>
22024
22025 Support crti.S and crtn.S provided directly by architectures.
22026 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22027 [crti.S in sysdirs] (omit-deps): Likewise.
22028 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22029 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22030 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22031 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22032 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22033 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22034 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22035 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22036 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22037 compiler output for sysdeps/generic/initfini.c.
22038 * sysdeps/i386/elf/Makefile: Remove file.
22039 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22040
a22f12b4
MP
220412012-02-07 Marek Polacek <polacek@redhat.com>
22042
22043 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22044 * sysdeps/gnu/_G_config.h: Likewise.
22045 * sysdeps/mach/hurd/_G_config.h: Likewise.
22046
148cf100
MP
220472012-02-07 Marek Polacek <polacek@redhat.com>
22048
22049 * math/Makefile (tests): Add tst-CMPLX2.
22050 * math/tst-CMPLX2.c: New file.
22051
cfdc0dd7
AS
220522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22053
84ba42c4
AS
22054 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22055
cfdc0dd7
AS
22056 * math/libm-test.inc (jn_test): Add missing L suffix.
22057
622c86f4
MP
220582012-02-06 Marek Polacek <polacek@redhat.com>
22059
22060 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22061 * sysdeps/i386/fpu/e_powf.S: Likewise.
22062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22063 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22064 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22065 * sysdeps/i386/fpu/e_pow.S: Likewise.
22066 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22067 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22068 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22069 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22070 * sysdeps/i386/fpu/e_log2.S: Likewise.
22071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22072 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22073 * sysdeps/i386/fpu/e_powl.S: Likewise.
22074 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22075 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22076 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22077 * sysdeps/i386/fpu/e_logl.S: Likewise.
22078 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22079 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22080 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22081 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22082 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22083 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22084 * sysdeps/i386/fpu/e_log.S: Likewise.
22085 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22087 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22088 * sysdeps/i386/fpu/e_logf.S: Likewise.
22089 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22090 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22091 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22092 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22093 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22094 * sysdeps/i386/fpu/e_log10.S: Likewise.
22095 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22097 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22098 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22099 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22100 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22101 * sysdeps/i386/asm-syntax.h: Likewise.
22102 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22103 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22104 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22105 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22106 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22107 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22108 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22109 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22110 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22111 * sysdeps/powerpc/sysdep.h: Likewise.
22112 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22113 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22114
d4a54ac6
JM
221152012-02-06 Joseph Myers <joseph@codesourcery.com>
22116
22117 [BZ #411]
22118 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22119
314054ea
JM
221202012-02-06 Joseph Myers <joseph@codesourcery.com>
22121
22122 * sysdeps/i386/sysdep.h: Include <features.h>.
22123 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22124 version.
22125
d8e0ca50
JM
221262012-02-05 Joseph Myers <joseph@codesourcery.com>
22127
22128 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22129 Define.
22130 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22131 LOAD_PIC_REG_STR.
22132
b1da7dd9
JM
221332012-02-03 Joseph Myers <joseph@codesourcery.com>
22134
22135 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22136 (SETUP_PIC_REG): Use GET_PC_THUNK.
22137 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22138 macro.
22139
9a1d9254
JM
221402012-02-03 Joseph Myers <joseph@codesourcery.com>
22141
22142 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22143 for non-PIC compilation.
22144 (SETUP_PIC_REG): Add .p2align directive.
22145 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22146 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22147 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22148 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22149 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22150 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22151 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22152 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22153 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22154 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22155 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22156 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22157 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22158 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22159 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22160 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22161 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22162 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22163 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22164 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22165 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22167 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22168 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22171 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22173 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22174 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22175 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22176 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22177 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22178 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22179 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22180 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22181 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22182 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22183 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22184 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22185 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22186
65dc3b75
JM
221872012-02-03 Joseph Myers <joseph@codesourcery.com>
22188
22189 * math/tst-CMPLX.c: Include <stdio.h>.
22190
d55bf177
JM
221912012-01-31 Joseph Myers <joseph@codesourcery.com>
22192
22193 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22194 float.
22195 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22196 * sysdeps/sparc/bits/mathdef.h: Likewise.
22197
69db4f8f
MP
221982012-01-31 Marek Polacek <polacek@redhat.com>
22199
22200 * libio/libio.h: Don't define _PARAMS.
22201 * locale/programs/config.h: Don't define PARAMS.
22202 * stdlib/strtol_l.c: Likewise.
22203 (__strtol_l): Remove PARAMS from the prototype.
22204
41b81892
UD
222052012-01-31 Ulrich Drepper <drepper@gmail.com>
22206
3b49edc0
UD
22207 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22208 names. Just use the correct names. Remove unnecessary wrapper
22209 functions.
22210 * malloc/arena.c: Likewise.
22211 * malloc/hooks.c: Likewise.
22212
41b81892
UD
22213 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22214 ARENA_TEST says not to. Simplify test for creation of a new arena.
22215 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22216
27a25b6e
UD
222172012-01-30 Ulrich Drepper <drepper@gmail.com>
22218
22219 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22220 into tail calls.
22221 (update_get_addr): New function.
22222 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22223 GET_ADDR_MODULE parameter.
22224
c8a89e7d
JM
222252012-01-30 Joseph Myers <joseph@codesourcery.com>
22226
22227 * crypt/cert.c: Remove __STDC__ conditionals.
22228 * crypt/crypt-entry.c: Likewise.
22229 * crypt/crypt_util.c: Likewise.
22230 * libio/filedoalloc.c: Likewise.
22231 * libio/fileops.c: Likewise.
22232 * libio/genops.c: Likewise.
22233 * libio/iofclose.c: Likewise.
22234 * libio/iofdopen.c: Likewise.
22235 * libio/iofopen.c: Likewise.
22236 * libio/iofopen64.c: Likewise.
22237 * libio/iogetdelim.c: Likewise.
22238 * libio/iopopen.c: Likewise.
22239 * libio/obprintf.c: Likewise.
22240 * libio/oldfileops.c: Likewise.
22241 * libio/oldiofclose.c: Likewise.
22242 * libio/oldiofdopen.c: Likewise.
22243 * libio/oldiofopen.c: Likewise.
22244 * libio/oldiopopen.c: Likewise.
22245 * libio/wfiledoalloc.c: Likewise.
22246 * libio/wgenops.c: Likewise.
22247 * locale/programs/xmalloc.c: Likewise.
22248 * misc/syslog.c: Likewise.
22249 * stdio-common/xbug.c: Likewise.
22250 * string/memchr.c: Likewise.
22251 * string/memcmp.c: Likewise.
22252 * string/memrchr.c: Likewise.
22253 * string/rawmemchr.c: Likewise.
22254 * sysdeps/posix/getcwd.c: Likewise.
22255 * time/strftime_l.c: Likewise.
22256
3b100462
JM
222572012-01-30 Joseph Myers <joseph@codesourcery.com>
22258
22259 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22260 * config.make.in (config-cflags-sse2avx): Define.
22261 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22262 Fix typo.
22263
607998af
CM
222642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22265
22266 * scripts/config.guess: Update from upstream config git repository.
22267 * scripts/config.sub: Likewise.
22268
3601428f
CM
222692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22270
3ac8b282
CM
22271 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22272 (EM_NUM): Update.
22273 (R_TILEPRO_*, R_TILEGX_*): New macros.
22274
e034841e
CM
22275 * scripts/firstversions.awk: Fix bug in version range handling.
22276
540d7568
CM
22277 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22278
3601428f
CM
22279 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22280
463de862
CM
22281 * include/sys/epoll.h: New file.
22282 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22283 libc_hidden_def.
22284
73139a76
UD
222852012-01-28 Ulrich Drepper <drepper@gmail.com>
22286
96bc5b45
UD
22287 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22288 Avoid unnecessary __WORDSIZE == 64 test.
22289 (fmaxf): Use VEX format if possible.
22290 (fmax): Likewise.
22291 (fminf): Likewise.
22292 (fmin): Likewise.
22293
56f6f6a2
UD
22294 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22295 * math/math_private.h: Remove libc_fegetround* and
22296 libc_fesetround*.
22297 * sysdeps/i386/configure.in: Check for -msse2avx.
22298 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22299 also if SSE2AVX is defined.
22300 Remove libc_fegetround* and libc_fesetround*.
22301 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22302 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22304 of HAS_YMM_USABLE.
22305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22306 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22308 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22309 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22310
73139a76
UD
22311 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22312
d73f93a4
AZ
223132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314
22315 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22316 size is not set.
22317 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22318
6ee65ed6
UD
223192012-01-27 Ulrich Drepper <drepper@gmail.com>
22320
22321 [BZ #13618]
22322 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22323 relocation.
22324 * Makeconfig (libm): Define.
22325 * elf/Makefile: Add rules to build and run tst-relsort1.
22326 * elf/tst-relsort1.c: New file.
22327 * elf/tst-relsort1mod1.c: New file.
22328 * elf/tst-relsort1mod2.c: New file.
22329
8db21882
JM
223302012-01-27 Joseph Myers <joseph@codesourcery.com>
22331
22332 * math/s_ldexp.c: Remove __STDC__ conditionals.
22333 * math/s_ldexpf.c: Likewise.
22334 * math/s_ldexpl.c: Likewise.
22335 * math/s_nextafter.c: Likewise.
22336 * math/s_nexttowardf.c: Likewise.
22337 * math/s_significand.c: Likewise.
22338 * math/s_significandf.c: Likewise.
22339 * math/s_significandl.c: Likewise.
22340 * math/w_jnl.c: Likewise.
22341 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22342 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22343 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22344 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22345 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22360 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22361 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22362 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22363 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22365 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22366 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22367 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22368 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22369 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22370 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22371 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22372 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22374 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22375 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22376 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22377 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22378 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22379 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22380 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22381 * sysdeps/ieee754/k_standard.c: Likewise.
22382 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22383 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22384 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22385 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22386 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22387 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22389 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22391 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22392 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22394 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22395 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22396 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22404 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22440 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22441 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22443 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22448 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22456 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22457 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22461 * sysdeps/ieee754/s_matherr.c: Likewise.
22462 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22463 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22466
965a54a4
JM
224672012-01-26 Joseph Myers <joseph@codesourcery.com>
22468
22469 * crypt/md5.h: Remove __STDC__ conditionals.
22470 * libio/libioP.h: Likewise.
22471 * locale/programs/config.h: Likewise.
22472 * sysdeps/generic/sysdep.h: Likewise.
22473 * sysdeps/i386/asm-syntax.h: Likewise.
22474 * sysdeps/s390/asm-syntax.h: Likewise.
22475 * sysdeps/unix/sysdep.h: Likewise.
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22478
7071ad79
JM
224792012-01-26 Joseph Myers <joseph@codesourcery.com>
22480
22481 * libio/libio.h: Remove __STDC__ conditionals.
22482 * malloc/obstack.h: Likewise.
22483 * math/complex.h: Likewise.
22484 * math/math.h: Likewise.
22485 * sysdeps/generic/_G_config.h: Likewise.
22486 * sysdeps/gnu/_G_config.h: Likewise.
22487 * sysdeps/mach/hurd/_G_config.h: Likewise.
22488 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22489 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22490 * sysdeps/sparc/bits/mathdef.h: Likewise.
22491
afc5ed09
UD
224922012-01-26 Ulrich Drepper <drepper@gmail.com>
22493
22494 [BZ #13583]
22495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 22496 Clean up HAS_* macros.
afc5ed09 22497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
22498 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22499 possible.
22500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22501 HAS_AVX.
22502 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22503 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22504 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22505 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 22507
bdb6de1d
JM
225082012-01-25 Joseph Myers <joseph@codesourcery.com>
22509
22510 * elf/tst-unique3.cc (gets): Remove declaration.
22511 * elf/tst-unique3lib.cc (gets): Likewise.
22512 * elf/tst-unique3lib2.cc (gets): Likewise.
22513 * elf/tst-unique4.cc (gets): Likewise.
22514
b15549e6
UD
225152012-01-24 Ulrich Drepper <drepper@gmail.com>
22516
22517 * include/stdio.h: Add C++ protection. Add gets declarations and
22518 definitions.
22519 * debug/tst-chk1.c: Don't declare gets here.
22520 * stdio-common/tst-gets.c: Likewise.
22521
a037381f
JM
225222012-01-24 Joseph Myers <joseph@codesourcery.com>
22523
22524 * posix/glob: Remove directory.
22525
f1d4aa75
JM
225262012-01-24 Joseph Myers <joseph@codesourcery.com>
22527
22528 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22529
81c0c964
PT
225302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22531
22532 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22533 of the non-standard EPFNOSUPPORT.
22534
0ea698ae
ST
225352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22536
22537 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22538 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22539 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22540
d220b117
UD
225412012-01-21 Ulrich Drepper <drepper@gmail.com>
22542
22543 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22544
3e1aa84e
UD
225452012-01-20 Ulrich Drepper <drepper@gmail.com>
22546
22547 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22548 transient errors.
22549 * nscd/grpcache.c (cache_addgr): Likewise.
22550 * nscd/hstcache.c (cache_addhst): Likewise.
22551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22552 * nscd/pwdcache.c (cache_addpw): Likewise.
22553 * nscd/servicescache.c (cache_addserv): Likewise.
22554
400aa020
UD
225552012-01-16 Ulrich Drepper <drepper@gmail.com>
22556
d77e7869
UD
22557 * malloc/malloc.c: Various cleanups.
22558 * malloc/hooks.c: Likewise.
22559
400aa020
UD
22560 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22561 * stdlib/bug-fmtmsg1.c: New file.
22562
22563 * stdlib/fmtmsg.c (init): Add missing unlock.
22564 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22565
e0a309cf
MP
225662012-01-12 Marek Polacek <polacek@redhat.com>
22567
22568 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22569 and _GNU_SOURCE.
22570
929d11c7
WS
225712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22572
22573 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22574 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22575 macro to ensure uniqueness of label name.
22576 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22577 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22578
41d0e869
UD
225792012-01-11 Ulrich Drepper <drepper@gmail.com>
22580
0cc5ed3b
UD
22581 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22582
41d0e869
UD
22583 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22584 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22585 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22587
a47a831a
UD
225882012-01-10 Ulrich Drepper <drepper@gmail.com>
22589
daa891c0
UD
22590 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22591
22592 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22593 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22594 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22595
e58ef0f2
UD
22596 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22597
a47a831a 22598 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
22599 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 22601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
22602
22603 * math/bits/math-finite.h: Add ldexp support.
22604
a0bfc9c7
MP
226052012-01-10 Marek Polacek <polacek@redhat.com>
22606
22607 * locale/programs/localedef.h (show_archive_content): Add noreturn
22608 attribute.
22609
d6e97a1d
UD
226102012-01-09 Ulrich Drepper <drepper@gmail.com>
22611
22612 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22613
d5835c26
UD
226142012-01-08 Ulrich Drepper <drepper@gmail.com>
22615
e5f484c6
UD
22616 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22617
d5835c26
UD
22618 * io/Makefile (headers): Add bits/poll2.h.
22619
d1f741e9
WS
226202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22621
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22623 typo #include statement.
22624
ec09c1c4
UD
226252012-01-08 Ulrich Drepper <drepper@gmail.com>
22626
22627 * include/sys/cdefs.h: Define __attribute_alloc_size.
22628 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22629 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22630 * elf/pldd.c: Likewise.
22631 * iconv/iconv_charmap.c: Likewise.
22632 * iconv/iconvconfig.c: Likewise.
22633 * iconv/strtab.c: Likewise.
22634 * locale/programs/locale.c: Likewise.
22635 * locale/programs/localedef.h: Likewise.
22636 * locale/programs/simple-hash.c: Likewise.
22637 * nscd/nscd.h: Likewise.
22638 * nss/makedb.c: Likewise.
22639 * sysdeps/generic/ldconfig.h: Likewise.
22640 * locale/programs/localedef.c: Remove xmalloc prototype.
22641 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22642
20b38e03
PP
226432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22644
22645 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22646 appropriate.
22647
a0da5fe1
UD
226482012-01-08 Ulrich Drepper <drepper@gmail.com>
22649
1d5a644a 22650 * math/Makefile (tests): Add tst-CMPLX.
669704fd 22651 * math/tst-CMPLX.c: New file.
1d5a644a 22652
8784a6db
UD
22653 * math/complex.h (CMPLXL): Fix typo.
22654
d9a216c0
UD
22655 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22656 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22657 GLIBC_2.16.
22658 * debug/tst-chk1.c: Add poll and ppoll tests.
22659 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22660 * include/sys/poll.h: Add hidden proto for ppoll.
22661 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22662 * sysdeps/mach/hurd/ppoll.c: Likewise.
22663 * io/ppoll.c: Likewise.
22664 * debug/poll_chk.c: New file.
22665 * debug/ppoll_chk.c: New file.
22666 * include/bits/poll2.h: New file.
22667 * io/bits/poll2.h: New file.
22668
ac097f5c
UD
22669 [BZ #1350]
22670 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22671
2119dcfa
UD
22672 * configure.in: static is always set to yes. Remove.
22673 * config.make.in: Don't set build-static.
22674 * Makeconfig: Remove use of build-static.
22675 * dlfcn/Makefile: Likewise.
22676 * elf/Makefile: Likewise.
22677 * math/Makefile: Likewise.
22678 * misc/Makefile: Likewise.
22679 * nptl/Makefile: Likewise.
22680 * sysdeps/mach/hurd/Makefile: Likewise.
22681
121766a9
UD
22682 * configure.in: PWD_P is not used anymore.
22683 * config.make.in: Remove PWD_P entry.
22684
51a1d39c 22685 * configure.in: Remove last remnants of RANLIB.
8720d066 22686 No need to check for signed size_t anymore.
215f4bdc
UD
22687 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22688 and IA-64.
3857022a 22689 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
22690 * aclocal.m4: Likewise.
22691
d3ed7225
UD
22692 * wcsmbs/mbrtoc16.c: Implement using towc function.
22693 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22694 * wcsmbs/wcsmbsload.c: Likewise.
22695 * iconv/gconv_simple.c: Likewise.
22696 * iconv/gconv_int.h: Likewise.
22697 * iconv/gconv_builtin.h: Likewise.
22698 * iconv/iconv_prog.c: Remove CHAR16 handling.
22699
22700 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22701
22702 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22703
a0da5fe1
UD
22704 * configure.in: Remove --with-elf and --enable-bounded options.
22705 Dont set base_machine for ia64. More non-ELF conditions removed.
22706 Remove testing and setting of leading underscore information.
22707 * config.make.in (build-bounded): Set to no.
22708 * config.h.in: Remove NO_UNDERSCORES entry.
22709 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22710 them.
22711 * csu/start.c: Remove !NO_UNDERSCORE code.
22712 * locale/localeinfo.h: Likewise.
22713 * sysdeps/generic/machine-gmon.h: Likewise.
22714 * sysdeps/generic/sysdep.h: Likewise.
22715 * sysdeps/i386/sysdep.h: Likewise.
22716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22717 * sysdeps/mach/sysdep.h: Likewise.
22718 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22720 * sysdeps/sh/sysdep.h: Likewise.
22721 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22722 * sysdeps/unix/i386/sysdep.S: Likewise.
22723 * sysdeps/unix/sparc/start.c: Likewise.
22724 * sysdeps/unix/sparc/sysdep.S: Likewise.
22725 * sysdeps/unix/sparc/sysdep.h: Likewise.
22726 * sysdeps/unix/start.c: Likewise.
22727 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22728 * sysdeps/x86_64/sysdep.h: Likewise.
22729
df78418a
UD
227302012-01-07 Ulrich Drepper <drepper@gmail.com>
22731
a784e502
UD
22732 [BZ #13553]
22733 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22734 for non-gcc.
22735 * argp/argp-fmtstream.h: Use const instead __const.
22736 * argp/argp.h: Likewise.
22737 * assert/assert.h: Likewise.
22738 * bits/fenv.h: Likewise.
22739 * bits/sched.h: Likewise.
22740 * bits/sigset.h: Likewise.
22741 * bits/sigthread.h: Likewise.
22742 * catgets/nl_types.h: Likewise.
22743 * conform/data/pthread.h-data: Likewise.
22744 * crypt/crypt-private.h: Likewise.
22745 * crypt/crypt.h: Likewise.
22746 * crypt/crypt_util.c: Likewise.
22747 * ctype/ctype.h: Likewise.
22748 * debug/execinfo.h: Likewise.
22749 * debug/mbsnrtowcs_chk.c: Likewise.
22750 * debug/mbsrtowcs_chk.c: Likewise.
22751 * debug/wcsnrtombs_chk.c: Likewise.
22752 * debug/wcsrtombs_chk.c: Likewise.
22753 * debug/wcstombs_chk.c: Likewise.
22754 * dirent/dirent.h: Likewise.
22755 * dlfcn/dlfcn.h: Likewise.
22756 * elf/neededtest4.c: Likewise.
22757 * grp/grp.h: Likewise.
22758 * gshadow/gshadow.h: Likewise.
22759 * iconv/gconv.h: Likewise.
22760 * iconv/gconv_int.h: Likewise.
22761 * iconv/gconv_simple.c: Likewise.
22762 * iconv/iconv.h: Likewise.
22763 * iconv/loop.c: Likewise.
22764 * iconv/skeleton.c: Likewise.
22765 * include/aio.h: Likewise.
22766 * include/aliases.h: Likewise.
22767 * include/argz.h: Likewise.
22768 * include/arpa/inet.h: Likewise.
22769 * include/assert.h: Likewise.
22770 * include/dirent.h: Likewise.
22771 * include/dlfcn.h: Likewise.
22772 * include/execinfo.h: Likewise.
22773 * include/fcntl.h: Likewise.
22774 * include/fenv.h: Likewise.
22775 * include/glob.h: Likewise.
22776 * include/grp.h: Likewise.
22777 * include/libintl.h: Likewise.
22778 * include/mntent.h: Likewise.
22779 * include/netdb.h: Likewise.
22780 * include/pwd.h: Likewise.
22781 * include/rpc/netdb.h: Likewise.
22782 * include/sched.h: Likewise.
22783 * include/search.h: Likewise.
22784 * include/shadow.h: Likewise.
22785 * include/signal.h: Likewise.
22786 * include/stdio.h: Likewise.
22787 * include/stdlib.h: Likewise.
22788 * include/string.h: Likewise.
22789 * include/sys/socket.h: Likewise.
22790 * include/sys/stat.h: Likewise.
22791 * include/sys/statfs.h: Likewise.
22792 * include/sys/statvfs.h: Likewise.
22793 * include/sys/syslog.h: Likewise.
22794 * include/sys/time.h: Likewise.
22795 * include/sys/uio.h: Likewise.
22796 * include/time.h: Likewise.
22797 * include/unistd.h: Likewise.
22798 * include/utmp.h: Likewise.
22799 * include/wchar.h: Likewise.
22800 * include/wctype.h: Likewise.
22801 * inet/aliases.h: Likewise.
22802 * inet/arpa/inet.h: Likewise.
22803 * inet/netinet/ether.h: Likewise.
22804 * inet/netinet/in.h: Likewise.
22805 * intl/libintl.h: Likewise.
22806 * io/bits/fcntl2.h: Likewise.
22807 * io/fcntl.h: Likewise.
22808 * io/ftw.h: Likewise.
22809 * io/sys/poll.h: Likewise.
22810 * io/sys/stat.h: Likewise.
22811 * io/sys/statfs.h: Likewise.
22812 * io/sys/statvfs.h: Likewise.
22813 * io/utime.h: Likewise.
22814 * libio/bits/stdio.h: Likewise.
22815 * libio/bits/stdio2.h: Likewise.
22816 * libio/libio.h: Likewise.
22817 * libio/libioP.h: Likewise.
22818 * libio/stdio.h: Likewise.
22819 * locale/lc-ctype.c: Likewise.
22820 * locale/locale.h: Likewise.
22821 * login/utmp.h: Likewise.
22822 * malloc/arena.c: Likewise.
22823 * malloc/malloc.c: Likewise.
22824 * malloc/malloc.h: Likewise.
22825 * malloc/mcheck.c: Likewise.
22826 * malloc/mtrace.c: Likewise.
22827 * math/bits/mathcalls.h: Likewise.
22828 * math/fenv.h: Likewise.
22829 * math/math_private.h: Likewise.
22830 * misc/bits/error.h: Likewise.
22831 * misc/bits/syslog.h: Likewise.
22832 * misc/err.h: Likewise.
22833 * misc/error.h: Likewise.
22834 * misc/fstab.h: Likewise.
22835 * misc/mntent.h: Likewise.
22836 * misc/regexp.h: Likewise.
22837 * misc/search.h: Likewise.
22838 * misc/sgtty.h: Likewise.
22839 * misc/sys/mman.h: Likewise.
22840 * misc/sys/syslog.h: Likewise.
22841 * misc/sys/uio.h: Likewise.
22842 * misc/sys/xattr.h: Likewise.
22843 * misc/ttyent.h: Likewise.
22844 * nis/rpcsvc/ypclnt.h: Likewise.
22845 * nss/nss.h: Likewise.
22846 * posix/bits/unistd.h: Likewise.
22847 * posix/fnmatch.h: Likewise.
22848 * posix/glob.h: Likewise.
22849 * posix/sched.h: Likewise.
22850 * posix/spawn.h: Likewise.
22851 * posix/sys/wait.h: Likewise.
22852 * posix/unistd.h: Likewise.
22853 * posix/wordexp.h: Likewise.
22854 * pwd/pwd.h: Likewise.
22855 * resolv/netdb.h: Likewise.
22856 * resource/sys/resource.h: Likewise.
22857 * rt/aio.h: Likewise.
22858 * rt/bits/mqueue2.h: Likewise.
22859 * rt/mqueue.h: Likewise.
22860 * shadow/shadow.h: Likewise.
22861 * signal/signal.h: Likewise.
22862 * socket/send.c: Likewise.
22863 * socket/sendto.c: Likewise.
22864 * socket/sys/socket.h: Likewise.
22865 * stdio-common/printf.h: Likewise.
22866 * stdlib/bits/stdlib.h: Likewise.
22867 * stdlib/fmtmsg.h: Likewise.
22868 * stdlib/monetary.h: Likewise.
22869 * stdlib/stdlib.h: Likewise.
22870 * stdlib/ucontext.h: Likewise.
22871 * streams/stropts.h: Likewise.
22872 * string/argz.h: Likewise.
22873 * string/bits/string2.h: Likewise.
22874 * string/string.h: Likewise.
22875 * string/strings.h: Likewise.
22876 * sunrpc/rpc/auth.h: Likewise.
22877 * sunrpc/rpc/auth_des.h: Likewise.
22878 * sunrpc/rpc/clnt.h: Likewise.
22879 * sunrpc/rpc/netdb.h: Likewise.
22880 * sunrpc/rpc/pmap_clnt.h: Likewise.
22881 * sunrpc/rpc/xdr.h: Likewise.
22882 * sysdeps/generic/inttypes.h: Likewise.
22883 * sysdeps/generic/net/if.h: Likewise.
22884 * sysdeps/generic/sys/swap.h: Likewise.
22885 * sysdeps/gnu/net/if.h: Likewise.
22886 * sysdeps/gnu/utmpx.h: Likewise.
22887 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22888 * sysdeps/i386/i486/bits/string.h: Likewise.
22889 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22890 * sysdeps/s390/bits/string.h: Likewise.
22891 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22892 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22893 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22894 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22895 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22896 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22897 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22898 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22899 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22900 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22901 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22902 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22903 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22904 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22905 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22906 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22907 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22911 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22912 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22913 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22914 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22915 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22916 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22917 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22918 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22919 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22920 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22921 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22922 * sysvipc/sys/ipc.h: Likewise.
22923 * sysvipc/sys/msg.h: Likewise.
22924 * sysvipc/sys/sem.h: Likewise.
22925 * sysvipc/sys/shm.h: Likewise.
22926 * termios/termios.h: Likewise.
22927 * time/sys/time.h: Likewise.
22928 * time/time.h: Likewise.
22929 * wcsmbs/bits/wchar2.h: Likewise.
22930 * wcsmbs/uchar.h: Likewise.
22931 * wcsmbs/wchar.h: Likewise.
22932 * wctype/wctype.h: Likewise.
22933
0269750c
UD
22934 [BZ #13551]
22935 * Makeconfig: Remove all but ELF support including AIX support.
22936 * Makerules: Likewise.
22937 * config.h.in: Likewise.
22938 * config.make.in: Likewise.
22939 * configure: Likewise.
22940 * configure.in: Likewise.
22941 * csu/Makefile: Likewise.
22942 * csu/version.c: Likewise.
22943 * debug/Makefile: Likewise.
22944 * dlfcn/Makefile: Likewise.
22945 * elf/Makefile: Likewise.
22946 * extra-lib.mk: Likewise.
22947 * iconv/Makefile: Likewise.
22948 * include/libc-symbols.h: Likewise.
22949 * include/shlib-compat.h: Likewise.
22950 * resolv/Makefile: Likewise.
22951 * resolv/res_libc.c: Likewise.
22952 * rt/Makefile: Likewise.
22953 * sysdeps/i386/asm-syntax.h: Likewise.
22954 * sysdeps/i386/sysdep.h: Likewise.
22955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22956 * sysdeps/mach/sysdep.h: Likewise.
22957 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22958 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22959 * sysdeps/s390/asm-syntax.h: Likewise.
22960 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22962 * sysdeps/sh/sysdep.h: Likewise.
22963 * sysdeps/unix/sparc/sysdep.h: Likewise.
22964 * sysdeps/wordsize-32/divdi3.c: Likewise.
22965 * sysdeps/x86_64/sysdep.h: Likewise.
22966
00bbd29b
UD
22967 * argp/Versions: Remove _argp_unlock_xxx.
22968
22969 [BZ #13559]
22970 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22971 * abilist/libBrokenLocale.abilist: Likewise.
22972 * abilist/libanl.abilist: Likewise.
22973 * abilist/libc.abilist: Likewise.
22974 * abilist/libcrypt.abilist: Likewise.
22975 * abilist/libdl.abilist: Likewise.
22976 * abilist/libm.abilist: Likewise.
22977 * abilist/libnsl.abilist: Likewise.
22978 * abilist/libpthread.abilist: Likewise.
22979 * abilist/libresolv.abilist: Likewise.
22980 * abilist/librt.abilist: Likewise.
22981 * abilist/libthread_db.abilist: Likewise.
22982 * abilist/libutil.abilist: Likewise.
22983 * abilist/libnss_db.abilist: New file.
22984
22985 * scripts/abilist.awk: Add support for indirect functions.
22986
a2693a0e
UD
22987 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22988
3f05895f
UD
22989 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22990
ecb6fb48
UD
22991 * shlib-versions: Remove entries for ports architectures.
22992
664f8cb9
UD
22993 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22994 files in ports.
22995 * elf/stackguard-macros.h: Remove support for IA-64.
22996 * elf/tst-auditmod1.c: Likewise.
22997 * sysdeps/generic/ldsodefs.h: Likewise.
22998
7ae81d88
UD
22999 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23000 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23001 configure files.
23002
bdeba135
UD
23003 [BZ #13552]
23004 * configure.in: Remove --enable-omitfp support.
23005 * FAQ.in: Adjust.
23006 * config.make.in: Likewise.
23007 * Makeconfig: Likewise.
23008 * manual/install.texi: Likewise.
23009
d75a0a62
UD
23010 In case anyone cares, the IA-64 architecture could move to ports.
23011 * sysdeps/ia64/*: Removed.
23012 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23013 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23014
dcc9756b
UD
23015 [BZ #13555]
23016 * configure.in: Remove entries for unsupported architectures.
23017
d3761ebc 23018 [BZ #13533]
9954432e
UD
23019 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23020 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23021 routines.
23022 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23023 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23024 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23025 fall back to using wcrtomb.
23026 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23027 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23028 renaming.
23029 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23030 * wcsmbs/tst-c16c32-1.c: New file.
23031
23032 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23033 local variable.
23034
c3a87236
UD
23035 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23036
28926a1b
UD
23037 * elf/tst-unique3.cc: Add explicit declaration of gets.
23038 * elf/tst-unique3lib.cc: Likewise.
23039 * elf/tst-unique3lib2.cc: Likewise.
23040 * elf/tst-unique4.cc: Likewise.
23041
df78418a
UD
23042 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23043
8ecd6b2a
JM
230442012-01-06 Joseph Myers <joseph@codesourcery.com>
23045
23046 [BZ #13566]
23047 * assert/assert.h (static_assert): Don't define for C++.
23048 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23049 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23050
9f115170
UD
230512012-01-03 Ulrich Drepper <drepper@gmail.com>
23052
5e0d0300
UD
23053 * iconv/loop.c (single loop): Fix assertion in storing of
23054 remaining bytes.
23055
9f115170
UD
23056 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23057
81fb02b0
UD
230582012-01-01 Ulrich Drepper <drepper@gmail.com>
23059
23060 * posix/getconf.c: Update copyright year.
23061 * nss/getent.c: Likewise.
a316c1f6 23062 * nss/makedb.c: Likewise.
81fb02b0
UD
23063 * iconv/iconvconfig.c: Likewise.
23064 * iconv/iconv_prog.c: Likewise.
23065 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23066 * elf/pldd.c: Likewise.
23067 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23068 * catgets/gencat.c: Likewise.
23069 * csu/version.c: Likewise.
23070 * elf/ldd.bash.in: Likewise.
23071 * elf/sprof.c (print_version): Likewise.
23072 * locale/programs/locale.c: Likewise.
23073 * locale/programs/localedef.c: Likewise.
a316c1f6 23074 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23075 * nscd/nscd.c (print_version): Likewise.
23076 * debug/xtrace.sh: Likewise.
23077 * malloc/memusage.sh: Likewise.
23078 * malloc/mtrace.pl: Likewise.
23079 * debug/catchsegv.sh: Likewise.
23080
2ba92745
JJ
230812011-12-30 Jakub Jelinek <jakub@redhat.com>
23082
23083 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23084 pure attribute.
23085
dadebdae
UD
230862011-12-24 Ulrich Drepper <drepper@gmail.com>
23087
d3761ebc 23088 [BZ #13533]
db6af3eb
UD
23089 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23090 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23091 transformations.
23092 * iconv/gconv_int.h: Likewise.
23093 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23094 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23095 from libc for GLIBC_2.16.
23096 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23097 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23098 * wcsmbs/uchar.h: Really define mbstate_t.
23099 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23100 * wcsmbs/c16rtomb.c: New file.
23101 * wcsmbs/mbrtoc16.c: New file.
23102 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23103 for C/POSIX locale.
23104 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23105 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23106
dadebdae
UD
23107 * wcsmbs/wchar.h: Add missing __restrict.
23108
67371b56
UD
231092011-12-23 Ulrich Drepper <drepper@gmail.com>
23110
74033a25
UD
23111 [BZ #13532]
23112 * time/Makefile (routines): Add timespec_get.
23113 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23114 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23115 timespec for ISO C11.
23116 * time/timespec_get.c: New file.
23117 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23118 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23119
380d7e87
UD
23120 [BZ #13531]
23121 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23122 * stdlib/stdlib.h: Declare aligned_alloc.
23123 * Versions.def: Add GLIBC_2.16 for libc.
23124 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23125
4e9e7a35
UD
23126 [BZ 13527]
23127 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23128 ISO C11.
23129
380d7e87 23130 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23131 code.
23132
03a71829
UD
23133 [BZ #13528]
23134 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23135
839e283e
UD
23136 [BZ #13529]
23137 * assert/assert.h (static_assert): Define.
23138
ce5294e2 23139 * version.h: Update for 2.16 development version.
90fa7312 23140
8d44e150 23141 [BZ #13526]
d7809905
UD
23142 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23143 _ISOC11_SOURCE.
23144
c0da14cd
UD
23145 * version.h (RELEASE): Bump for 2.15 release.
23146 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23147
530a3249
MP
23148 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23149 Patch by Marek Polacek <mpolacek@redhat.com>.
23150
67371b56
UD
23151 * bits/byteswap.h: Protect long long constants with __extension__.
23152 * sysdeps/i386/bits/byteswap.h: Likewise.
23153 * sysdeps/ia64/bits/byteswap.h: Likewise.
23154 * sysdeps/s390/bits/byteswap.h: Likewise.
23155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23156
15db4de1
LD
231572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23158
23159 [BZ #13540]
bbe315ea
LD
23160 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23161 destination buffer.
15db4de1
LD
23162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23163
2b2596b1
MP
231642011-12-23 Marek Polacek <polacek@redhat.com>
23165
23166 * elf/dl-addr.c (determine_info): Add inline keyword.
23167 * elf/tst-auditmod4b.c (check_avx): Likewise.
23168 * elf/tst-auditmod6b.c (check_avx): Likewise.
23169 * elf/tst-auditmod6c.c (check_avx): Likewise.
23170 * elf/tst-auditmod7b.c (check_avx): Likewise.
23171
70c6c246
UD
231722011-12-23 Ulrich Drepper <drepper@gmail.com>
23173
23174 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23175 !__SSE_MATH__.
23176
c044cf14
LD
231772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23178
15db4de1 23179 [BZ #13540]
c044cf14
LD
23180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23181 processing for last bytes.
23182
6b13d9d9
BH
231832011-08-06 Bruno Haible <bruno@clisp.org>
23184
d455f537
BH
23185 [BZ #13061]
23186 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23187 U+0385, not to U+1FEE.
23188
6b13d9d9
BH
23189 [BZ #13062]
23190 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23191 entry for U+00A5 U+0301.
23192
db910efd
UD
231932011-12-22 Ulrich Drepper <drepper@gmail.com>
23194
27deeafc
UD
23195 [BZ #13166]
23196 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23197 buffer for the output is too small.
23198
aed9d171
UD
23199 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23200 optimization.
23201
db910efd
UD
23202 [BZ #13185]
23203 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23204 SSE flags if possible.
23205
2bd779ae
LD
232062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23207
e7f9dac3 23208 [BZ #13540]
2bd779ae
LD
23209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23210 processing for last bytes.
23211
154bfc16
JM
232122011-12-22 Joseph Myers <joseph@codesourcery.com>
23213
23214 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23215 (syscall-list-default-options, syscall-list-default-condition)
23216 (syscall-list-includes): Define.
23217 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23218 list of ABIs and options and #if conditions for each ABI. Do not
23219 handle common syscalls between ABIs specially.
23220 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23221 Remove.
23222 (syscall-list-variants, syscall-list-32bit-options)
23223 (syscall-list-32bit-condition, syscall-list-64bit-options)
23224 (syscall-list-64bit-condition): Define.
23225 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23226 (syscall-list-variants, syscall-list-32bit-options)
23227 (syscall-list-32bit-condition, syscall-list-64bit-options)
23228 (syscall-list-64bit-condition): Define.
23229 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23230 Remove.
23231 (syscall-list-variants, syscall-list-32bit-options)
23232 (syscall-list-32bit-condition, syscall-list-64bit-options)
23233 (syscall-list-64bit-condition): Define.
23234 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23235 Remove.
23236 (syscall-list-variants, syscall-list-32bit-options)
23237 (syscall-list-32bit-condition, syscall-list-64bit-options)
23238 (syscall-list-64bit-condition): Define.
23239
21eaf3a5
UD
232402011-12-22 Ulrich Drepper <drepper@gmail.com>
23241
16c6f992
UD
23242 * locale/iso-639.def: Add brx entry.
23243
41043168
UD
23244 [BZ #13328]
23245 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23246 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23247
21eaf3a5
UD
23248 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23249 __feraiseexcept_renamed.
23250
e3a851a2
UD
232512011-12-21 Ulrich Drepper <drepper@gmail.com>
23252
4920765e
UD
23253 [BZ #13538]
23254 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23255 EPOLLET with unsigned values.
23256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23257 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23258
e3a851a2
UD
23259 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23260 to large cancellation.
23261 * math/s_cacoshf.c: Likewise.
23262 * math/s_cacoshl.c: Likewise.
23263
b27e24b8
RK
232642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23265
23266 [BZ #13305]
aebefeee 23267 [BZ #12786]
b27e24b8
RK
23268 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23269 * math/s_cacoshf.c: Likewise.
23270 * math/s_cacoshl.c: Likewise.
23271
ee190f67
UD
232722011-12-21 Ulrich Drepper <drepper@gmail.com>
23273
23274 [BZ #13439]
23275 * iconv/gconv.h: Define __GCONV_SWAP.
23276 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23277 * iconvdata/utf-16.c: Likewise.
23278 * iconvdata/utf-32.c: Likewise.
23279
707f25df
AS
232802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23281
23282 [BZ #13524]
23283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23284 numerator after shifting it by one limb.
23285
d2daaa1e
RÁE
232862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23287
23288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23289 under [__USE_EXTERN_INLINES].
23290
a4647e72
UD
232912011-12-17 Ulrich Drepper <drepper@gmail.com>
23292
23293 [BZ #13446]
23294 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23295
f0b264f1
AZ
232962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23297
23298 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23299 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23300 optimized code.
23301 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23302 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23303 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23304 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23305 for strncasecmp/strncasecmp_l compilation.
23306 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23307 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23308
8ef4f244
MP
233092011-12-08 Marek Polacek <mpolacek@redhat.com>
23310
23311 [BZ #13484]
23312 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23313 of __asm__.
23314
97ac2654
UD
233152011-12-17 Ulrich Drepper <drepper@gmail.com>
23316
23317 [BZ #13506]
23318 * time/tzfile.c (__tzfile_read): Check values from file header.
23319
91d2a845
WS
233202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23321
23322 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23323 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23324 * powerpc/powerpc32/dl-start.S: Likewise.
23325 * powerpc/powerpc32/elf/start.S: Likewise.
23326 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23327 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23328 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23329 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23330 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23331 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23332 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23333 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23334 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23335 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23336 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23337 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23338 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23339 * powerpc/powerpc32/memset.S: Likewise.
23340 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23341 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23342 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23343 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23344 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23345 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23346 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23347 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23348 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23349 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23350 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23351 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23352 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23353
a1267ba1
AZ
233542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23355
23356 * math/libm-test.inc: Added more nearbyint tests.
23357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23361
ad8ac1bd
RL
233622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23363
23364 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23365 FD_CLOEXEC.
23366
1d3e4b61
UD
233672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23368
23369 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23370 Add wcscpy-ssse3 wcscpy-c.
23371 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23372 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23373 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23374 * sysdeps/x86_64/wcschr.S: New file.
23375 * sysdeps/x86_64/wcsrchr.S: New file.
23376 * string/test-strcmp.c: Remove checking of wcscmp function for
23377 wrong alignments.
23378 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23379 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23380 wcsrchr-sse2 wcsrchr-c.
23381 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23382 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23383 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23384 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23385 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23386 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23387 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23388 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23389 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23390 * wcsmbc/wcschr.c (WCSCHR): New macro.
23391
5b330a2d
UD
233922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23393
23394 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23395 * wcsmbs/test-wcsrchr.c: New file.
23396 * string/test-strrchr.c: Add wcsrchr support.
23397 (WIDE): New macro.
23398 * wcsmbs/test-wcscpy.c: New file.
23399 * string/test-strcpy.c: Add wcscpy support.
23400 (WIDE): New macro.
26428b7c 23401
f039c043
UD
234022011-12-10 Ulrich Drepper <drepper@gmail.com>
23403
23404 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23405 the inner loop.
23406
850fb039
AS
234072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23408
23409 [BZ #13472]
23410 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23411
4efbd5cb
UD
234122011-12-04 Ulrich Drepper <drepper@gmail.com>
23413
52ff5dd0 23414 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 23415 Minor optimizations.
52ff5dd0 23416
4efbd5cb
UD
23417 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23418 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23419 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23420
8a426e12
UD
234212011-12-03 Ulrich Drepper <drepper@gmail.com>
23422
aff2453d
UD
23423 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23424 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23425 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23426 for gcc to avoid warnings.
23427 * inet/Makefile (tests): Add tst-checks.
23428 * inet/tst-checks.c: New file.
23429
23430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23431 warning.
23432
23433 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23434 __wmemcmp_sse2.
23435
23436 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23437 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23438
8a426e12
UD
23439 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23440
9bea3473
UD
234412011-12-02 Ulrich Drepper <drepper@gmail.com>
23442
3a965496
UD
23443 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23444 problem.
23445
9bea3473
UD
23446 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23447
f101631b
UD
234482011-11-29 Joseph Myers <joseph@codesourcery.com>
23449
23450 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23451 conditional on GCC version.
23452 (__arch_compare_and_exchange_val_8_acq)
23453 (__arch_compare_and_exchange_val_16_acq)
23454 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23455 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23456 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23457
a98275aa
UD
234582011-12-02 Joseph Myers <joseph@codesourcery.com>
23459
23460 * sysdeps/sh/backtrace.c: New file.
23461
d4cc29a2
AS
234622011-12-02 Andreas Schwab <schwab@redhat.com>
23463
23464 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23465 parenthesis.
23466
6257af2d
AS
234672011-12-01 Andreas Schwab <schwab@redhat.com>
23468
23469 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23470 falling back to utime.
23471
b5f44c1a
AS
234722011-11-30 Andreas Schwab <schwab@redhat.com>
23473
23474 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23475 expectations for float.
23476
f3a6cc0a
AS
234772011-11-29 Andreas Schwab <schwab@redhat.com>
23478
23479 * locale/weight.h (findidx): Add parameter len.
23480 * locale/weightwc.h (findidx): Likewise.
23481 * posix/fnmatch_loop.c (FCT): Adjust caller.
23482 * posix/regcomp.c (build_equiv_class): Likewise.
23483 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23484 * posix/regexec.c (check_node_accept_bytes): Likewise.
23485 * string/strcoll_l.c (STRCOLL): Likewise.
23486 * string/strxfrm_l.c (STRXFRM): Likewise.
23487
9d65ea3a
UD
234882011-11-17 Ulrich Drepper <drepper@gmail.com>
23489
23490 * Makefile.in: Remove CVSOPT handling.
23491 * configure.in: Remove use of AC_REVISION.
23492 * iconvdata/Makefile (distribute): No need to filter out CVS.
23493 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23494 handling.
23495
5583a086
AS
234962011-11-16 Andreas Schwab <schwab@redhat.com>
23497
23498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23499 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23500 [USE_AS_STRNCASECMP_L]: Likewise.
23501 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23502 NO_TLS_DIRECT_SEG_REFS.
23503 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23504 Fix argument offsets for non-PIC.
23505 [USE_AS_STRNCASECMP_L]: Likewise.
23506 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23507 NO_TLS_DIRECT_SEG_REFS.
23508
d62a8200
UD
235092011-11-15 Ulrich Drepper <drepper@gmail.com>
23510
9d65ea3a 23511 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
23512 O_CLOEXEC.
23513 * locale/loadlocale.c (_nl_load_locale): Likewise.
23514
09f93bd3
AS
235152011-11-15 Andreas Schwab <schwab@redhat.com>
23516
446514f9
AS
23517 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23518 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23519 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23520 (SYSCALL_GETTIME): Set errno on error.
23521
09f93bd3
AS
23522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23523 count references to noai6ai_cached.
23524
312be3f9
UD
235252011-11-15 Ulrich Drepper <drepper@gmail.com>
23526
23527 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23528
23529 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23530 FD_CLOEXEC for /proc/self/maps.
23531
23532 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23533 FD_CLOEXEC for /proc/meminfo.
23534
23535 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23536 gai.conf.
23537
23538 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23539 FD_CLOEXEC for given file.
23540
23541 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23542
23543 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23544 FD_CLOEXEC for /etc/hosts.
23545 (_gethtent): Likewise.
23546
23547 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23548
23549 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23550 cancellation and set FD_CLOEXEC for /etc/netgroup.
23551
23552 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23553 reading /etc/publickey.
23554
23555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23556 allow cancellation when reading /etc/group.
23557
23558 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23559 cancellation.
23560 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23561
23562 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23563 when using data file.
23564
23565 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23566
23567 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23568 (write_nis_obj): Use "c" and "e" in fopen.
23569
23570 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23571
23572 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23573
23574 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23575
23576 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23577
23578 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23579 locale.alias.
23580
23581 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23582
23583 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23584
23585 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23586
23587 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23588 file parsing and set FD_CLOEXEC.
23589
82af0fa8
UD
235902011-11-14 Ulrich Drepper <drepper@gmail.com>
23591
23592 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23593
a5fb313c
AS
235942011-11-14 Andreas Schwab <schwab@redhat.com>
23595
23596 * malloc/arena.c (arena_get2): Don't call reused_arena when
23597 _int_new_arena failed.
23598
6abf3465
UD
235992011-11-14 Ulrich Drepper <drepper@gmail.com>
23600
23601 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23602 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23604 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23605 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23607 to compile strcasecmp and strncasecmp.
23608 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23609 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23610
23611 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23612
76e3966e
UD
236132011-11-13 Ulrich Drepper <drepper@gmail.com>
23614
23615 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23616 locale-defines.sym to gen-as-const-headers.
23617 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23618 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23620 to compile strcasecmp and strncasecmp.
23621 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23622 strcasecmp_l and strncasecmp_l.
23623 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23624 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23625 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23626 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23627 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23628 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23629 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23630 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23631 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23632 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23633 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23634
ab26144e
UD
236352011-11-12 Ulrich Drepper <drepper@gmail.com>
23636
7edb22ef
UD
23637 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23638 result of SYSDEP_GETTIME_CPU to retval.
23639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23640 parameter list to macro. Remove trailing semicolon. Adjust users.
23641
9694fc44
UD
23642 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23643 variable.
23644
8ad89ef8
UD
23645 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23646 mantissa words.
23647 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23648
0c822ef9
UD
23649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23650 from unused variable.
23651
874e0564
UD
23652 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23653 DWARF definitions.
23654 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23655 for assembling.
23656
3a2edc79
UD
23657 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23658 over namespaces.
23659
f3c2577f
UD
23660 * sunrpc/rpc_prot.c (rejected): Fix case value.
23661
294ce126
UD
23662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23663 unsigned long long int to avoid warnings in shift.
23664
5e2b63c6
UD
23665 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23666 of use of trans.
23667 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23668 variable tmp.
23669
e7f4b08e
UD
23670 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23671 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23673
ab26144e
UD
23674 * nis/nis_table.c (nis_list): Use variable of correct type for
23675 result of __follow_path call.
23676
8a6d5255
AZ
236772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23678
23679 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23680 of math functions ceil, trunc, floor, round, and sqrt, when
23681 avaliable on the platform.
23682 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23683 name clash.
23684 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23685 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23686 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23687
aaddc98c
MP
236882011-10-30 Marek Polacek <mpolacek@redhat.com>
23689
23690 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23692
95b7042b
RM
236932011-11-11 Roland McGrath <roland@hack.frob.com>
23694
23695 * include/unistd.h: Fix __readlink return type.
23696 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23697
57769839
UD
236982011-11-11 Ulrich Drepper <drepper@gmail.com>
23699
23700 * stdlib/ucontext.h: Undo last change for makecontext.
23701
edc5984d
AS
237022011-11-11 Andreas Schwab <schwab@redhat.com>
23703
98591e58
AS
23704 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23705
edc5984d
AS
23706 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23707 * setjmp/setjmp.h: Mark functions as non-leaf.
23708 * setjmp/bits/setjmp2.h: Likewise.
23709 * stdlib/ucontext.h: Likewise.
23710
77cdc054
AS
237112011-11-10 Andreas Schwab <schwab@redhat.com>
23712
23713 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23714 (reused_arena): Don't check arena limit.
23715 (arena_get2): Atomically check arena limit.
23716
fe72eebd
UD
237172011-11-08 Ulrich Drepper <drepper@gmail.com>
23718
5f078c32
UD
23719 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23720 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23721
fe72eebd
UD
23722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23723 instructions.
23724
ae1bc2fa
AS
237252011-11-07 Andreas Schwab <schwab@redhat.com>
23726
7583a88d
AS
23727 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23728 handler when locking.
23729
ae1bc2fa
AS
23730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23731 Fix size of allocated buffer.
23732
10fb0bfa
AS
237332011-11-04 Andreas Schwab <schwab@redhat.com>
23734
998832a4
AS
23735 [BZ #10103]
23736 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23737 declarations for long double functions.
23738 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23739
10fb0bfa
AS
23740 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23741
3d7ba52b
AS
237422011-11-03 Andreas Schwab <schwab@redhat.com>
23743
a9ae54a1
AS
23744 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23745 installed.
23746
3d7ba52b
AS
23747 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23748 is disabled.
23749
bc8db248
ST
237502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23751
23752 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23753
45b96dd6
AS
237542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23755
647776f6
AS
23756 * include/alloca.h (stackinfo_alloca_round): Define.
23757 (extend_alloca): Use it.
23758 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23759 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23760 here.
23761
d91a8b93
AS
23762 * scripts/check-local-headers.sh: Ignore libaudit.h.
23763
45b96dd6
AS
23764 * nscd/Makefile (extra-objs): Make recursively expanded.
23765
432d41ce
UD
237662011-11-01 Ulrich Drepper <drepper@gmail.com>
23767
34372fc6
UD
23768 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23770
fadb59f8
UD
23771 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23772 * posix/tst-rfc3484-2.c: Likewise.
23773 * posix/tst-rfc3484-3.c: Likewise.
23774
78239589
UD
23775 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23776 process_vm_writev.
23777 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23778 process_vm_writev.
23779 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23780 process_vm_writev from libc using GLIBC_2.15 version.
23781
432d41ce
UD
23782 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23783
02f9c6cf
PP
237842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23785
23786 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23787 stack usage.
23788
3a2c0242
UD
237892011-10-31 Ulrich Drepper <drepper@gmail.com>
23790
f4ec4833
UD
23791 [BZ #13367]
23792 * nss/getent.c (initgroups_keys): Show error message in case no group
23793 names are given.
23794
3a2c0242
UD
23795 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23796 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23797 __bump_nl_timestamp.
23798 * nscd/connections (nscd_init): When host database is served open
23799 netlink socket and request notification about configuration changes.
23800 (main_loop_poll): Track netlink file descriptor and bump timestamp
23801 in case data becomes available.
23802 (main_loop_epoll): Likewise.
23803 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23804 (database_pers_head): Add extra_data fileds.
23805 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23807 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23808 Adjust caller.
23809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23810 in6ai data, call __free_in6ai.
23811 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23812 Add -DHAVE_NETLINK.
23813 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23814 interface information. Reuse previous data if netlink timestamp
23815 is not changed.
23816 (__bump_nl_timestamp): New function.
23817 (__free_in6ai): New function.
23818
636064eb
UD
238192011-10-30 Ulrich Drepper <drepper@gmail.com>
23820
23821 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23822 close_not_cancel_no_status here.
23823 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23824
9beb2334
UD
238252011-10-29 Ulrich Drepper <drepper@gmail.com>
23826
6ef76f3b
UD
23827 [BZ #13276]
23828 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23829 return value.
23830
0ffc4f3e 23831 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23832 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23833 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23834
cb95113e
UD
238352011-07-03 Andreas Jaeger <aj@suse.de>
23836
23837 [BZ #10709]
23838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23839 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23840 * math/libm-test.inc (sin_test): Add test case.
23841
a1b560ff
UD
238422011-10-29 Ulrich Drepper <drepper@gmail.com>
23843
c9aaface
UD
23844 [BZ #13337]
23845 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23846 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23847
d272e7f1
UD
23848 * elf/chroot_canon.c (chroot_canon): Cleanups.
23849
1bc33071
UD
23850 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23851
1760874d
TJ
23852 [BZ #13335]
23853 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23854 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23855
51d91b18
UD
23856 * string/test-strchr.c: Make usable for strchrnul testing.
23857 * string/test-strchrnul.c: New file.
23858 * string/Makefile (strop-tests): Add strchrnul.
23859
a1b560ff 23860 * po/it.po: Update from translation team.
b611fb81 23861 * po/es.po: Likewise.
a1b560ff 23862
a5b81e1f
UD
238632011-10-28 Ulrich Drepper <drepper@gmail.com>
23864
fd52bc6d
UD
23865 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23866 the three constants needed as parameters. Drop the others.
23867 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23868 __m128i_strloadu_tolower.
52e4b9eb
UD
23869 Create and initialize variable zero and use it in all the places
23870 where _mm_setzero_si128 was used.
fd52bc6d 23871
a5b81e1f
UD
23872 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23873 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23874 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23875 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23876 anymore.
23877 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23880 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23882 __mpranred, __mptan.
23883 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23884 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23885 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23886 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23887 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23888 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23890 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23891 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23892
b4343346
AS
238932011-10-28 Andreas Schwab <schwab@redhat.com>
23894
0c92d8a8
AS
23895 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23896 redefine if SHARED.
23897 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23898
b4343346
AS
23899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23900 wide char related routines to wcsmbs subdir.
23901
3871f58f
AS
239022011-10-27 Andreas Schwab <schwab@redhat.com>
23903
23904 [BZ #13344]
23905 * misc/sys/cdefs.h (__THROWNL): Define.
23906 * posix/unistd.h: Use __THREADNL instead of __THREAD
23907 for memory synchronization functions.
23908
94d44d9f
RM
239092011-10-26 Roland McGrath <roland@hack.frob.com>
23910
21b64b15 23911 [BZ #13349]
94d44d9f
RM
23912 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23913 doesn't exist.
23914 * manual/stdio.texi (Obstack Streams): Node removed.
23915
f6ce9294
AS
239162011-10-26 Andreas Schwab <schwab@redhat.com>
23917
80479147
AS
23918 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23919 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23921
f6ce9294
AS
23922 * math/math_private.h (math_force_eval): Allow non-addressable
23923 arguments.
23924 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23925
618280a1
UD
239262011-10-25 Ulrich Drepper <drepper@gmail.com>
23927
e0016b11
UD
23928 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23929 file is not needed.
23930
23931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23932 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23938 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23939 Add AVX variants.
23940 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23941 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23942 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23943 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23945 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23946 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23948 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23949 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23950 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23951 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23952 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23953 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23954 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23955 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23956 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23957 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23958 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23959
23960 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23961 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23962
618280a1
UD
23963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23964 place. Use VEX encoding when compiling for AVX.
23965
37822576
AS
239662011-10-25 Andreas Schwab <schwab@redhat.com>
23967
1f1e1947
AS
23968 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23969 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23970
37822576
AS
23971 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23972
31ea014d
UD
239732011-10-25 Ulrich Drepper <drepper@gmail.com>
23974
d7826aa1 23975 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23976 useless if() expression.
d7826aa1
UD
23977 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23982 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23988 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23989 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23990 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23993 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23996
31ea014d
UD
23997 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23998
16437fec
AS
239992011-10-25 Andreas Schwab <schwab@redhat.com>
24000
24001 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24002 condition.
24003 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24004
31d3cc00
UD
240052011-10-25 Ulrich Drepper <drepper@gmail.com>
24006
24007 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24008 .text section. Avoid duplicate constants.
24009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24013 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24017 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24018 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24019 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24020 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24021 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24022 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24023 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24026 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24029 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24031 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24032 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24033 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24034 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24035 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24036 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24037 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24038 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24040 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24045 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24047 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24050 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24054
58985aa9
UD
240552011-10-24 Ulrich Drepper <drepper@gmail.com>
24056
202c9deb
UD
24057 * sysdeps/x86_64/dla.h: Move to ...
24058 * sysdeps/x86_64/fpu/dla.h: ...here.
24059 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24060 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24061
af968f62
UD
24062 * config.make.in: Add have-mfma4 entry.
24063 * configure.in: Substitute libc_cv_cc_fma4.
24064 * math/Makefile (dbl-only-routines): Add sincostab.
24065 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24066 Use __sincostab not sincos.
24067 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24068 name is a macro.
24069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24073 using __copysign.
24074 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24075 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24076 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24077 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24078 and __inv.
24079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24080 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24081 __copysign.
24082 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24083 define aliases when function name is a macro.
24084 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24085 sysdeps/ieee754/dbl-64/sincos.tbl.
24086 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24087 fma4-enabled routines.
24088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24089 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24090 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24091 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24093 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24097 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24098 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24099 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24100 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24101 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24102 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24103 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24104 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24105 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24106 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24107 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24108 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24109 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24113 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24115 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24117 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24118
58985aa9
UD
24119 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24120 rename.
24121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24129
a201fbcf
AS
241302011-10-24 Andreas Schwab <schwab@redhat.com>
24131
24132 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24133
fc2ee42a
LD
241342011-10-23 Ulrich Drepper <drepper@gmail.com>
24135
bb3129bd
UD
24136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24137
0275fff8
UD
24138 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24139 prediction.
24140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24141
2fa2ae85
UD
24142 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24143 Remove unused variable magic_bits.
24144 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24145
fc2ee42a
LD
24146 * string/strnlen.c: Define and use STRNLEN macro.
24147 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24148 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24150 * wcsmbs/wcslen.c: Define and use WCSLEN.
24151 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24152 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24153 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24154 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24155 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24156 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24157 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24158
ce7dd29f
LD
241592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24160
24161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24162 strnlen-sse2-no-bsf.
24163 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24165 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24166 Add strnlen support.
24167 (USE_AS_STRNLEN): New macro.
24168 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24170 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24171 * sysdeps/x86_64/wcslen.S: New file.
24172
979c70a3
MZ
241732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24174
24175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24176 XMM-moves are used for copying on small sizes.
24177
2d09f82f
LD
241782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24179
24180 * wcsmbs/Makefile (strop-tests): Add wcschr.
24181 * wcsmbs/test-wcschr.c: New file.
24182 * string/test-strchr.c: Update.
24183 Add wcschr support.
24184 (WIDE): New macro.
24185
619fccca
LD
241862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24187
2d09f82f 24188 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24189 * wcsmbs/test-wcslen.c: New file.
24190 * string/test-strlen.c: Update.
24191 Add wcslen support.
24192 (WIDE): New macro.
24193
09f699ea
UD
241942011-10-23 Ulrich Drepper <drepper@gmail.com>
24195
24196 * po/it.po: Update from translation team.
24197
95584d3b
LD
241982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24199
24200 * sysdeps/x86_64/wcscmp.S: Update.
24201 Fix wrong comparison semantics.
24202 wcscmp shall use signed comparison not unsigned.
24203 Don't use substraction to avoid overflow bug.
24204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24205 * wcsmbc/wcscmp.c: Likewise.
24206 * string/test-strcmp.c: Likewise.
24207 Add new tests to check cases with negative values.
24208
c8b3296b
UD
242092011-10-23 Ulrich Drepper <drepper@gmail.com>
24210
24211 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24212 * sysdeps/x86_64/dla.h: ...here. New file.
24213 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24220 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24222
246ad57a
AS
242232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24224
24225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24226 __ynl_finite aliases.
24227
a1a87169
UD
242282011-10-22 Ulrich Drepper <drepper@gmail.com>
24229
0d355eb7
UD
24230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24231
a1a87169
UD
24232 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24233 define DLA_FMA.
24234 [DLA_FMA] (EMULV): Use DLA_FMA.
24235 [DLA_FMA] (MUL12): Use EMULV.
24236 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24237 that are not needed.
24238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24245
ee2aafe0
AS
242462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24247
24248 * math/s_nan.c: Undef __nan.
24249 * math/s_nanf.c: Undef __nanf.
24250 * math/s_nanl.c: Undef __nanl.
24251 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24252 "math_private.h".
24253
bc62c2fb
UD
242542011-10-22 Ulrich Drepper <drepper@gmail.com>
24255
77425c63
UD
24256 * math/s_catan.c: Add branch predictions.
24257 * math/s_catanf.c: Likewise.
24258 * math/s_catanh.c: Likewise.
24259 * math/s_catanhf.c: Likewise.
24260 * math/s_catanhl.c: Likewise.
24261 * math/s_catanl.c: Likewise.
24262 * math/s_cexp.c: Likewise.
24263 * math/s_cexpf.c: Likewise.
24264 * math/s_cexpl.c: Likewise.
24265 * math/s_clog.c: Likewise.
24266 * math/s_clog10.c: Likewise.
24267 * math/s_clog10f.c: Likewise.
24268 * math/s_clog10l.c: Likewise.
24269 * math/s_clogf.c: Likewise.
24270 * math/s_clogl.c: Likewise.
24271 * math/s_csqrt.c: Likewise.
24272 * math/s_csqrtf.c: Likewise.
24273 * math/s_csqrtl.c: Likewise.
24274 * math/s_ctanf.c: Likewise.
24275 * math/s_ctanh.c: Likewise.
24276 * math/s_ctanhf.c: Likewise.
24277 * math/s_ctanhl.c: Likewise.
24278 * math/s_ctanl.c: Likewise.
24279
bc62c2fb
UD
24280 * math/math_private.h: Define __nan, __nanf, __nanl.
24281 * math/s_cacosh.c: Include <math_private.h>.
24282 * math/s_cacoshl.c: Likewise.
24283 * math/s_casinh.c: Likewise.
24284 * math/s_casinhf.c: Likewise.
24285 * math/s_casinhl.c: Likewise.
24286 * math/s_ccos.c: Rely entire on ccosh.
24287 * math/s_ccosf.c: Rely entire on ccoshf.
24288 * math/s_ccosl.c: Rely entirely on ccoshl.
24289 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24290 Remove tests for FE_INVALID.
24291 * math/s_ccoshf.c: Likewise.
24292 * math/s_ccoshl.c: Likewise.
24293 * math/s_csin.c: Likewise.
24294 * math/s_csinf.c: Likewise.
24295 * math/s_csinh.c Likewise.
24296 * math/s_csinhf.c: Likewise.
24297 * math/s_csinhl.c: Likewise.
24298 * math/s_csinl.c: Likewise.
24299 * math/s_ctan.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24301 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24302 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24303
8ec250a4
UD
243042011-10-21 Ulrich Drepper <drepper@gmail.com>
24305
c196fed8
UD
24306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24307 compilation problems.
24308
8ec250a4
UD
24309 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24310 __builtin_expect.
24311
8d4f46c6
UD
243122011-10-20 Ulrich Drepper <drepper@gmail.com>
24313
ed72b654
UD
24314 * sysdeps/i386/configure.in: Test for -mfma4 option.
24315 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24316 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24317 COMMON_CPUID_INDEX_80000001.
24318 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24319 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24320 use it if FMA3 is not supported.
24321 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24322
8d4f46c6
UD
24323 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24324 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24325
d45c60c2
AS
243262011-10-20 Andreas Schwab <schwab@redhat.com>
24327
24328 [BZ #12892]
24329 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24330 it would create a cycle with a link time dependency.
24331
d9a4d2ab
UD
243322011-10-19 Ulrich Drepper <drepper@gmail.com>
24333
855d1560
UD
24334 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24335 instruction.
24336 * string/Makefile (strop-tests): Add rawmemchr.
24337 * string/test-rawmemchr.c: New file.
24338
d9a4d2ab
UD
24339 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24340 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24341 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24342 when compiling str{,n}casecmp and when AVX is available. Hook up
24343 new optimized code in initializers.
24344
8f3b1ffe
AS
243452011-10-19 Andreas Schwab <schwab@redhat.com>
24346
24347 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24348 __feraiseexcept instead of feraiseexcept.
24349
d38f1dba
UD
243502011-10-18 Ulrich Drepper <drepper@gmail.com>
24351
d9a8d0ab
UD
24352 * math/math_private.h: Define defaults for libc_fetestexcept and
24353 libc_feupdateenv.
24354 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24355 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24356 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24357 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24358 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24359 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24360 libc_fetestexcept and libc_feupdateenv.
24361
4855e3dd
UD
24362 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24363 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24364 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24365 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24366 libc_feholdexcept_setround.
24367
581d30e3
UD
24368 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24369 Add s_nearbyint-c and s_nearbyintf-c.
24370 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24371 nearbyintf inlines.
24372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24373 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24374 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24375 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24376
d38f1dba
UD
24377 * math/math_private.h: Define defaults for libc_fegetround,
24378 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24379 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24380 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24382 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24383 standard functions.
24384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24385 Remove comments and hacks for old compiler versions.
24386 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24387 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24388 libc_feholdexceptl.
24389
caa6c9d8
AS
243902011-10-18 Andreas Schwab <schwab@redhat.com>
24391
24392 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
24393 (__feraiseexcept_renamed): Add __NTH.
24394 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
24395 namespace violations.
24396
97c066e6
UD
243972011-10-17 Ulrich Drepper <drepper@gmail.com>
24398
99ce7b04
UD
24399 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24400
1004d182
UD
24401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24402
228a984d
UD
24403 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24404 recently added interfaces.
24405 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24406
c8553a6a
UD
24407 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24408 about macro parameter expansion.
24409
ed22dcf6
UD
24410 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24411 __NO_MATH_INLINES is defined. Cleanups.
24412
24413 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24414 and __floorf is target has SSE4.1.
24415 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24416 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24417 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24418 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24419
b171c137
UD
24420 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24421 name.
24422 (floorf): Likewise.
24423
97c066e6
UD
24424 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24425
629f62ef
AS
244262011-10-17 Andreas Schwab <schwab@redhat.com>
24427
49a43d80
AS
24428 * misc/sys/cdefs.h: Fix last change.
24429
629f62ef
AS
24430 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24431 database lookup.
24432
e453f6cd
UD
244332011-10-16 Ulrich Drepper <drepper@gmail.com>
24434
aa78043a
UD
24435 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24436
ad0f5cad
UD
24437 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24442 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24443 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24445 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24446 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24447 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24448 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24449 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24450 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24451 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24452 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24453 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24454 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24455 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24456 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24457 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24458 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24459
24460 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24461 ceil, ceilf, floor, floorf.
24462
24463 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24464 Perform IRELATIVE relocations last.
24465
e453f6cd
UD
24466 * elf/do-rel.h: Add another parameter nrelative, replacing the
24467 local variable with the same name. Change name of the function
24468 to end in Rel or Rela (uppercase).
24469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24470 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24471 elf_dynamic_do_##reloc function.
24472
fd5bdc09
UD
244732011-10-15 Ulrich Drepper <drepper@gmail.com>
24474
79b195b5
UD
24475 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24476 is sufficient, at least on modern CPUs.
24477
d4a28569
UD
24478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24479
b61099b5
UD
24480 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24481 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24482
bcf01e6d
UD
24483 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24484 __expl_finite.
24485 * math/bits/math-finite.h: Add entries for exp.
24486 * math/e_expl.c: Add __*_finite alias.
24487 * sysdeps/i386/fpu/e_exp.S: Likewise.
24488 * sysdeps/i386/fpu/e_expf.S: Likewise.
24489 * sysdeps/i386/fpu/e_expl.c: Likewise.
24490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24491 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24494 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24497
ba1a0d59
UD
24498 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24499 is sufficient, at least on modern CPUs.
24500
fd5bdc09
UD
24501 * ctype/ctype-info.c (__ctype_init): Define.
24502 * include/ctype.h (__ctype_init): Declare.
24503 (__ctype_b_loc): The variable is always initialized.
24504 (__ctype_toupper_loc): Likewise.
24505 (__ctype_tolower_loc): Likewise.
24506 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24507 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24508
7872cfb0
AS
245092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24510
b468825a
AS
24511 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24512
7872cfb0
AS
24513 * configure.in: Also look in $cxxmachine/include for C++ system
24514 headers.
24515
be13f7bf
LD
245162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24517
24518 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24519 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24520 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24521 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24523 (USE_AS_WMEMCMP): New macro.
24524 Fixing indents.
24525 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24526 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24527 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24528 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24530 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24531 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24533 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24534 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24535 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24536 (USE_AS_WMEMCMP): New macro.
24537 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24538 * sysdeps/string/test-memcmp.c: Update.
24539 Fix simple_wmemcmp.
24540 Add new tests.
24541 * wcsmbs/wmemcmp.c: Update.
24542 (WMEMCMP): New macro.
24543 Fix overflow bug.
24544
556a2007
AJ
245452011-10-12 Andreas Jaeger <aj@suse.de>
24546
24547 [BZ #13268]
24548 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24549
538faaa7
UD
245502011-10-15 Ulrich Drepper <drepper@gmail.com>
24551
ab6737ff
UD
24552 * libio/iofwide.c (do_length): Avoid warning.
24553
538faaa7
UD
24554 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24555
396a21b1
UD
245562011-10-14 Ulrich Drepper <drepper@gmail.com>
24557
cdf2901f
UD
24558 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24559
38ad40ce
UD
24560 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24561 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24562 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24563 * sysdeps/i386/i686/fpu/e_log.S: New file.
24564 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24565 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24566
396a21b1
UD
24567 * ctype/ctype.h: Add support for inlined isXXX functions when
24568 compiling C++ code.
24569
6b1f68c9
AS
245702011-10-14 Andreas Schwab <schwab@redhat.com>
24571
349290c0
AS
24572 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24573
6b1f68c9
AS
24574 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24575
f2282d42
RM
245762011-10-13 Roland McGrath <roland@hack.frob.com>
24577
24578 [BZ #13291]
24579 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24580
5298ffa8
AS
245812011-10-13 Andreas Schwab <schwab@redhat.com>
24582
714fad23
AS
24583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24584 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24585 feraiseexcept.
24586
81dcc7fb
AS
24587 * sysdeps/x86_64/memrchr.S: Check for zero size.
24588
5298ffa8
AS
24589 * string/stratcliff.c: Add memrchr tests.
24590
951fbcec
LD
245912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24592
24593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24594 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24595 rawmemchr-sse2 rawmemchr-sse2-bsf.
24596 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24597 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24598 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24599 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24600 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24601 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24602 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24603 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24604 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24605 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24606 * string/memrchr.c (MEMRCHR): New macro.
24607
0ac5ae23
UD
246082011-10-12 Ulrich Drepper <drepper@gmail.com>
24609
24610 Add integration with gcc's -ffinite-math-only and optimize wrapper
24611 functions in libm.
24612 * Versions.def: Define GLIBC_2.15 version for libm.
24613 * math/Makefile (headers): Add bits/math-finite.h.
24614 * math/bits/math-finite.h: New file.
24615 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24616 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24617 * math/e_acoshl.c: Add __*_finite alias.
24618 * math/e_acosl.c: Likewise.
24619 * math/e_asinl.c: Likewise.
24620 * math/e_atan2l.c: Likewise.
24621 * math/e_atanhl.c: Likewise.
24622 * math/e_coshl.c: Likewise.
24623 * math/e_exp10.c: Likewise.
24624 * math/e_exp10f.c: Likewise.
24625 * math/e_exp10l.c: Likewise.
24626 * math/e_exp2l.c: Likewise.
24627 * math/e_fmodl.c: Likewise.
24628 * math/e_gammal_r.c: Likewise.
24629 * math/e_hypotl.c: Likewise.
24630 * math/e_j0l.c: Likewise.
24631 * math/e_j1l.c: Likewise.
24632 * math/e_jnl.c: Likewise.
24633 * math/e_lgammal_r.c: Likewise.
24634 * math/e_log10l.c: Likewise.
24635 * math/e_log2l.c: Likewise.
24636 * math/e_logl.c: Likewise.
24637 * math/e_powl.c: Likewise.
24638 * math/e_sinhl.c: Likewise.
24639 * math/e_sqrtl.c: Likewise.
24640 * math/e_scalb.c: Completely rewritten and optimized.
24641 * math/e_scalbf.c: Likewise.
24642 * math/e_scalbl.c: Likewise.
24643 * math/w_acos.c: Likewise.
24644 * math/w_acosf.c: Likewise.
24645 * math/w_acosl.c: Likewise.
24646 * math/w_acosh.c: Likewise.
24647 * math/w_acoshf.c: Likewise.
24648 * math/w_acoshl.c: Likewise.
24649 * math/w_asin.c: Likewise.
24650 * math/w_asinf.c: Likewise.
24651 * math/w_asinl.c: Likewise.
24652 * math/w_atan2.c: Likewise.
24653 * math/w_atan2f.c: Likewise.
24654 * math/w_atan2l.c: Likewise.
24655 * math/w_atanh.c: Likewise.
24656 * math/w_atanhf.c: Likewise.
24657 * math/w_atanhl.c: Likewise.
24658 * math/w_exp10.c: Likewise.
24659 * math/w_exp10f.c: Likewise.
24660 * math/w_exp10l.c: Likewise.
24661 * math/w_fmod.c: Likewise.
24662 * math/w_fmodf.c: Likewise.
24663 * math/w_fmodl.c: Likewise.
24664 * math/w_j0.c: Likewise.
24665 * math/w_j0f.c: Likewise.
24666 * math/w_j0l.c: Likewise.
24667 * math/w_j1.c: Likewise.
24668 * math/w_j1f.c: Likewise.
24669 * math/w_j1l.c: Likewise.
24670 * math/w_jn.c: Likewise.
24671 * math/w_jnf.c: Likewise.
24672 * math/w_log.c: Likewise.
24673 * math/w_logf.c: Likewise.
24674 * math/w_logl.c: Likewise.
24675 * math/w_log10.c: Likewise.
24676 * math/w_log10f.c: Likewise.
24677 * math/w_log10l.c: Likewise.
24678 * math/w_log2.c: Likewise.
24679 * math/w_log2f.c: Likewise.
24680 * math/w_log2l.c: Likewise.
24681 * math/w_pow.c: Likewise.
24682 * math/w_powf.c: Likewise.
24683 * math/w_powl.c: Likewise.
24684 * math/w_remainder.c: Likewise.
24685 * math/w_remainderf.c: Likewise.
24686 * math/w_remainderl.c: Likewise.
24687 * math/w_scalb.c: Likewise.
24688 * math/w_scalbf.c: Likewise.
24689 * math/w_scalbl.c: Likewise.
24690 * math/w_sqrt.c: Likewise.
24691 * math/w_sqrtf.c: Likewise.
24692 * math/w_sqrtl.c: Likewise.
24693 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24694 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24695 used.
24696 * math/math_private.h: Declare __kernel_standard_f.
24697 * math/w_cosh.c: Remove cruft and optimize a bit.
24698 * math/w_coshf.c: Likewise.
24699 * math/w_coshl.c: Likewise.
24700 * math/w_exp2.c: Likewise.
24701 * math/w_exp2f.c: Likewise.
24702 * math/w_exp2l.c: Likewise.
24703 * math/w_hypot.c: Likewise.
24704 * math/w_hypotf.c: Likewise.
24705 * math/w_hypotl.c: Likewise.
24706 * math/w_lgamma.c: Likewise.
24707 * math/w_lgamma_r.c: Likewise.
24708 * math/w_lgammaf.c: Likewise.
24709 * math/w_lgammaf_r.c: Likewise.
24710 * math/w_lgammal.c: Likewise.
24711 * math/w_lgammal_r.c: Likewise.
24712 * math/w_sinh.c: Likewise.
24713 * math/w_sinhf.c: Likewise.
24714 * math/w_sinhl.c: Likewise.
24715 * math/w_tgamma.c: Likewise.
24716 * math/w_tgammaf.c: Likewise.
24717 * math/w_tgammal.c: Likewise.
24718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24720 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24721 Minor optimizations. Pretty printing. Remove cruft.
24722 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24723 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24724 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24725 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24726 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24727 * sysdeps/i386/fpu/e_asin.S: Likewise.
24728 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24729 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24730 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24731 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24732 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24733 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24735 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24736 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24737 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24738 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24739 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24740 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24741 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24742 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24743 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24744 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24745 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24746 * sysdeps/i386/fpu/e_log.S: Likewise.
24747 * sysdeps/i386/fpu/e_log10.S: Likewise.
24748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24750 * sysdeps/i386/fpu/e_log2.S: Likewise.
24751 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24753 * sysdeps/i386/fpu/e_logf.S: Likewise.
24754 * sysdeps/i386/fpu/e_logl.S: Likewise.
24755 * sysdeps/i386/fpu/e_pow.S: Likewise.
24756 * sysdeps/i386/fpu/e_powf.S: Likewise.
24757 * sysdeps/i386/fpu/e_powl.S: Likewise.
24758 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24759 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24760 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24761 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24764 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24765 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24766 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24767 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24768 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24773 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24774 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24775 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24777 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24780 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24781 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24788 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24789 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24790 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24791 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24793 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24794 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24795 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24796 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24797 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24798 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24801 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24802 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24803 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24804 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24805 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24806 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24807 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24808 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24847 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24858 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24860 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24862 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24863 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24864 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24865 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24866 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24867 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24868 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24869 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24870 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24871 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24872 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24874 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24875 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24877 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24878 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24879 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24880 (__isnanf): Likewise.
24881 (__isinf_ns): Likewise.
24882 (__isinf_nsf): Likewise.
24883 (__finite): Likewise.
24884 (__finitef): Likewise.
24885 (__ieee754_sqrt): Define as macro.
24886 (__ieee754_sqrtf): Define as macro.
24887 (__ieee754_sqrtl): Define as macro.
24888 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24889 inlined copy.
24890 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24891 __FINITE_MATH_ONLY__ consistent.
24892 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24893
12cc2fcd
AS
248942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24895
a843a204
AS
24896 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24897 of rawmemchr.
24898
12cc2fcd
AS
24899 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24900
c853acd5
UD
249012011-10-09 Ulrich Drepper <drepper@gmail.com>
24902
24903 * po/ja.po: Update from translation team.
24904
c658d255
RM
249052011-10-08 Roland McGrath <roland@hack.frob.com>
24906
110946e4
RM
24907 * locale/programs/locarchive.c (prepare_address_space): New function.
24908 (create_archive, enlarge_archive, open_archive): Use it.
24909
50604220
RM
24910 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24911 inside [SHARED], where it is used.
24912
c658d255
RM
24913 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24914
24915 * nss/getent.c (netgroup_keys): Remove unused variable.
24916 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24917
6a621eb7
UD
249182011-10-08 Ulrich Drepper <drepper@gmail.com>
24919
7edb55ce
UD
24920 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24923 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24924 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24925 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24926 * math/Makefile (libm-calls): Add s_isinf_ns.
24927 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24928 * math/multc3.c: Likewise.
24929 * math/s_casin.c: Likewise.
24930 * math/s_casinf.c: Likewise.
24931 * math/s_casinl.c: Likewise.
24932 * math/s_ccos.c: Likewise.
24933 * math/s_ccosf.c: Likewise.
24934 * math/s_ccosl.c: Likewise.
24935 * math/s_ctan.c: Likewise.
24936 * math/s_ctanf.c: Likewise.
24937 * math/s_ctanh.c: Likewise.
24938 * math/s_ctanhf.c: Likewise.
24939 * math/s_ctanhl.c: Likewise.
24940 * math/s_ctanl.c: Likewise.
24941 * math/w_fmod.c: Likewise.
24942 * math/w_fmodf.c: Likewise.
24943 * math/w_fmodl.c: Likewise.
24944 * math/w_remainder.c: Likewise.
24945 * math/w_remainderf.c: Likewise.
24946 * math/w_remainderl.c: Likewise.
24947 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24948 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24951 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24952 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24953 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24954 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24955
187da0ae
UD
24956 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24957 of the number.
24958 * stdio-common/printf_fphex.c: Likewise.
24959 * stdio-common/printf_size.c: Likewise.
24960
9277c064
UD
24961 * math/e_exp10.c: Include math_private.h using <...> not "...".
24962 * math/e_exp10f.c: Likewise.
24963 * math/e_exp10l.c: Likewise.
24964 * math/e_exp2l.c: Likewise.
24965 * math/e_j0l.c: Likewise.
24966 * math/e_j1l.c: Likewise.
24967 * math/e_jnl.c: Likewise.
24968 * math/e_lgammal_r.c: Likewise.
24969 * math/e_rem_pio2l.c: Likewise.
24970 * math/e_scalb.c: Likewise.
24971 * math/e_scalbf.c: Likewise.
24972 * math/e_scalbl.c: Likewise.
24973 * math/k_cosl.c: Likewise.
24974 * math/k_sinl.c: Likewise.
24975 * math/k_tanl.c: Likewise.
24976 * math/s_cacoshf.c: Likewise.
24977 * math/s_catan.c: Likewise.
24978 * math/s_catanf.c: Likewise.
24979 * math/s_catanh.c: Likewise.
24980 * math/s_catanhf.c: Likewise.
24981 * math/s_catanhl.c: Likewise.
24982 * math/s_catanl.c: Likewise.
24983 * math/s_ccosh.c: Likewise.
24984 * math/s_ccoshf.c: Likewise.
24985 * math/s_ccoshl.c: Likewise.
24986 * math/s_cexp.c: Likewise.
24987 * math/s_cexpf.c: Likewise.
24988 * math/s_cexpl.c: Likewise.
24989 * math/s_clog.c: Likewise.
24990 * math/s_clog10.c: Likewise.
24991 * math/s_clog10f.c: Likewise.
24992 * math/s_clog10l.c: Likewise.
24993 * math/s_clogf.c: Likewise.
24994 * math/s_clogl.c: Likewise.
24995 * math/s_csin.c: Likewise.
24996 * math/s_csinf.c: Likewise.
24997 * math/s_csinh.c: Likewise.
24998 * math/s_csinhf.c: Likewise.
24999 * math/s_csinhl.c: Likewise.
25000 * math/s_csinl.c: Likewise.
25001 * math/s_csqrt.c: Likewise.
25002 * math/s_csqrtf.c: Likewise.
25003 * math/s_csqrtl.c: Likewise.
25004 * math/s_ctan.c: Likewise.
25005 * math/s_ctanf.c: Likewise.
25006 * math/s_ctanh.c: Likewise.
25007 * math/s_ctanhf.c: Likewise.
25008 * math/s_ctanhl.c: Likewise.
25009 * math/s_ctanl.c: Likewise.
25010 * math/s_ldexp.c: Likewise.
25011 * math/s_ldexpf.c: Likewise.
25012 * math/s_ldexpl.c: Likewise.
25013 * math/s_significand.c: Likewise.
25014 * math/s_significandf.c: Likewise.
25015 * math/s_significandl.c: Likewise.
25016 * math/w_acos.c: Likewise.
25017 * math/w_acosf.c: Likewise.
25018 * math/w_acosh.c: Likewise.
25019 * math/w_acoshf.c: Likewise.
25020 * math/w_acoshl.c: Likewise.
25021 * math/w_acosl.c: Likewise.
25022 * math/w_asin.c: Likewise.
25023 * math/w_asinf.c: Likewise.
25024 * math/w_asinl.c: Likewise.
25025 * math/w_atan2.c: Likewise.
25026 * math/w_atan2f.c: Likewise.
25027 * math/w_atan2l.c: Likewise.
25028 * math/w_atanh.c: Likewise.
25029 * math/w_atanhf.c: Likewise.
25030 * math/w_atanhl.c: Likewise.
25031 * math/w_cosh.c: Likewise.
25032 * math/w_coshf.c: Likewise.
25033 * math/w_coshl.c: Likewise.
25034 * math/w_dremf.c: Likewise.
25035 * math/w_exp10.c: Likewise.
25036 * math/w_exp10f.c: Likewise.
25037 * math/w_exp10l.c: Likewise.
25038 * math/w_exp2.c: Likewise.
25039 * math/w_exp2f.c: Likewise.
25040 * math/w_fmod.c: Likewise.
25041 * math/w_fmodf.c: Likewise.
25042 * math/w_fmodl.c: Likewise.
25043 * math/w_hypot.c: Likewise.
25044 * math/w_hypotf.c: Likewise.
25045 * math/w_hypotl.c: Likewise.
25046 * math/w_j0.c: Likewise.
25047 * math/w_j0f.c: Likewise.
25048 * math/w_j0l.c: Likewise.
25049 * math/w_j1.c: Likewise.
25050 * math/w_j1f.c: Likewise.
25051 * math/w_j1l.c: Likewise.
25052 * math/w_jn.c: Likewise.
25053 * math/w_jnf.c: Likewise.
25054 * math/w_jnl.c: Likewise.
25055 * math/w_lgamma.c: Likewise.
25056 * math/w_lgamma_r.c: Likewise.
25057 * math/w_lgammaf.c: Likewise.
25058 * math/w_lgammaf_r.c: Likewise.
25059 * math/w_lgammal.c: Likewise.
25060 * math/w_lgammal_r.c: Likewise.
25061 * math/w_log.c: Likewise.
25062 * math/w_log10.c: Likewise.
25063 * math/w_log10f.c: Likewise.
25064 * math/w_log10l.c: Likewise.
25065 * math/w_log2.c: Likewise.
25066 * math/w_log2f.c: Likewise.
25067 * math/w_log2l.c: Likewise.
25068 * math/w_logf.c: Likewise.
25069 * math/w_logl.c: Likewise.
25070 * math/w_pow.c: Likewise.
25071 * math/w_powf.c: Likewise.
25072 * math/w_powl.c: Likewise.
25073 * math/w_remainder.c: Likewise.
25074 * math/w_remainderf.c: Likewise.
25075 * math/w_remainderl.c: Likewise.
25076 * math/w_scalb.c: Likewise.
25077 * math/w_scalbf.c: Likewise.
25078 * math/w_scalbl.c: Likewise.
25079 * math/w_sinh.c: Likewise.
25080 * math/w_sinhf.c: Likewise.
25081 * math/w_sinhl.c: Likewise.
25082 * math/w_sqrt.c: Likewise.
25083 * math/w_sqrtf.c: Likewise.
25084 * math/w_sqrtl.c: Likewise.
25085 * math/w_tgamma.c: Likewise.
25086 * math/w_tgammaf.c: Likewise.
25087 * math/w_tgammal.c: Likewise.
25088
6a621eb7
UD
25089 * po/ja.po: Update from translation team.
25090
bf582445
AJ
250912011-09-29 Andreas Jaeger <aj@suse.de>
25092
f9efbf3a
AJ
25093 [BZ #13179]
25094 * sunrpc/netname.c (netname2host): Fix logic.
25095
bf582445
AJ
25096 [BZ #6779]
25097 [BZ #6783]
25098 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25099 correctly.
25100 * math/w_remainder.c (__remainder): Likewise.
25101 * math/w_remainderf.c (__remainderf): Likewise.
25102 * math/libm-test.inc (remainder_test): Add test cases.
25103
48693bea
AK
251042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25105
25106 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25107 sdiv_qrnnd.
25108
42622229
LD
251092011-10-07 Ulrich Drepper <drepper@gmail.com>
25110
25111 * string/test-memcmp.c: Avoid unncessary #defines.
25112 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25113
093ecf92
LD
251142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25115
25116 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25117 Use new sse2 version for core i3 - i7 as it's faster
25118 than sse42 version.
25119 (bit_Prefer_PMINUB_for_stringop): New.
25120 * sysdeps/x86_64/rawmemchr.S: Update.
25121 Replace with faster SSE2 version.
25122 * sysdeps/x86_64/memrchr.S: New file.
25123 * sysdeps/x86_64/memchr.S: Update.
25124 Replace with faster SSE2 version.
25125
fde56e5c
MP
251262011-09-12 Marek Polacek <mpolacek@redhat.com>
25127
25128 * elf/dl-load.c (lose): Add cast to avoid warning.
25129
21fd49a9
UD
251302011-10-07 Ulrich Drepper <drepper@gmail.com>
25131
5a06e643
UD
25132 * po/ca.po: Update from translation team.
25133
684ae515
UD
25134 * inet/getnetgrent_r.c: Hook up nscd.
25135 * nscd/Makefile (routines): Add nscd_netgroup.
25136 (nscd-modules): Add netgroupcache.
25137 (CFLAGS-netgroupcache.c): Define.
25138 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25139 (cache_search): Add const to second parameter.
25140 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25141 INNETGR.
25142 (dbs): Add netgrdb entry.
25143 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25144 (verify_persistent_db): Handle netgrdb.
25145 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25146 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25147 GETFDNETGR.
25148 (netgroup_response_header): Define.
25149 (innetgroup_response_header): Define.
25150 (datahead): Add netgroup_response_header and innetgroup_response_header
25151 elements.
25152 * nscd/nscd.conf: Add entries for netgroup cache.
25153 * nscd/nscd.h (dbtype): Add netgrdb.
25154 (_PATH_NSCD_NETGROUP_DB): Define.
25155 (netgroup_iov_disabled): Declare.
25156 (xmalloc, xcalloc, xrealloc): Move declarations here.
25157 (cache_search): Adjust prototype.
25158 Add netgroup-related prototypes.
25159 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25160 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25161 (__nscd_innetgr): Declare.
25162 * nscd/selinux.c (perms): Use access_vector_t as element type and
25163 add netgroup-related initializers.
25164 * nscd/netgroupcache.c: New file.
25165 * nscd/nscd_netgroup.c: New file.
25166 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25167 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25168 For four parameters use innetgr.
25169 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25170 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25171 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25172 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25173
21fd49a9
UD
25174 * nscd/connections.c (register_traced_file): Don't register file
25175 for disabled databases.
25176
054c0457
UD
251772011-10-06 Ulrich Drepper <drepper@gmail.com>
25178
32b63198
UD
25179 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25180
054c0457
UD
25181 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25182 from tree and freeing node.
25183
64031225
JO
251842011-09-25 Jiri Olsa <jolsa@redhat.com>
25185
25186 * nss/nsswitch.c (__nss_database_lookup): Handle
25187 nss_parse_service_list out of memory case.
25188
0490345c
JO
251892011-09-15 Jiri Olsa <jolsa@redhat.com>
25190
25191 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25192 out of memory case.
25193
3a62d00d
AS
251942011-10-04 Andreas Schwab <schwab@redhat.com>
25195
25196 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25197 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25198 pass it down.
25199 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25200 elf_machine_rela, elf_machine_lazy_rel.
25201 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25202 (ELF_DYNAMIC_DO_REL): Likewise.
25203 (ELF_DYNAMIC_DO_RELA): Likewise.
25204 (ELF_DYNAMIC_RELOCATE): Likewise.
25205 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25206 to ELF_DYNAMIC_DO_REL.
25207 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25208 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25209 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25210 elf_machine_rela.
25211 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25212 skip_ifunc, don't call ifunc function if non-zero.
25213 (elf_machine_rela): Likewise.
25214 (elf_machine_lazy_rel): Likewise.
25215 (elf_machine_lazy_rela): Likewise.
25216 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25217 (elf_machine_lazy_rel): Likewise.
25218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25219 Likewise.
25220 (elf_machine_lazy_rel): Likewise.
25221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25222 Likewise.
25223 (elf_machine_lazy_rel): Likewise.
25224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25225 (elf_machine_lazy_rel): Likewise.
25226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25227 (elf_machine_lazy_rel): Likewise.
25228 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25229 (elf_machine_lazy_rel): Likewise.
25230 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25231 (elf_machine_lazy_rel): Likewise.
25232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25233 (elf_machine_lazy_rel): Likewise.
25234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25235 (elf_machine_lazy_rel): Likewise.
25236
68577918
UD
252372011-09-28 Ulrich Drepper <drepper@gmail.com>
25238
25239 * nss/nss_files/files-init.c (_nss_files_init): Use static
25240 initialization for all the *_traced_file variables.
25241
68822d74
AS
252422011-09-28 Andreas Schwab <schwab@redhat.com>
25243
25244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25245
2056100b
RM
252462011-09-27 Roland McGrath <roland@hack.frob.com>
25247
25248 [BZ #13226]
25249 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25250
32c76b63
AS
252512011-09-27 Andreas Schwab <schwab@redhat.com>
25252
25253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25254 Reread the line before reparsing it.
25255
bf972c9d
AS
252562011-09-26 Andreas Schwab <schwab@redhat.com>
25257
25258 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25259
e057a1b5
JM
252602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25261 Maxim Kuvyrkov <maxim@codesourcery.com>
25262 Joseph Myers <joseph@codesourcery.com>
25263
25264 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25265 if needed for __stack_chk_guard.
25266
bc7e1c36
RM
252672011-09-19 Roland McGrath <roland@hack.frob.com>
25268
ecb1482f
RM
25269 * sysdeps/posix/spawni.c (script_execute): Always define it.
25270 It will be optimized away if unused.
25271 (maybe_script_execute): New function.
25272 (__spawni): Call it.
25273
bc7e1c36
RM
25274 * Makerules: Don't include tls.make.
25275 (config-tls): Always set to thread.
25276 * tls.make.c: File removed.
25277
1c3b002b
MF
252782011-09-19 Mike Frysinger <vapier@gentoo.org>
25279
25280 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25281 * config.make.in (CPPFLAGS-config): New substituted variable.
25282
2840865d
UD
252832011-09-15 Ulrich Drepper <drepper@gmail.com>
25284
88738eb6
UD
25285 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25286
cbf645a6 25287 [BZ #13192]
2840865d
UD
25288 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25289 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25290
b402e91a
RM
252912011-09-15 Roland McGrath <roland@hack.frob.com>
25292
25293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25294 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25296 (CALL_FAIL): Likewise.
25297 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25298 (CALL_FAIL): Macro removed.
25299 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25300
4c1a1f71
UD
253012011-09-15 Ulrich Drepper <drepper@gmail.com>
25302
25303 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25304 for __FINITE_MATH_ONLY__ == 1.
25305
edc121be
AS
253062011-09-15 Andreas Schwab <schwab@redhat.com>
25307
25308 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25309 __ieee754_sqrt instead of sqrt.
25310 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25311 __ieee754_sqrtf instead of sqrtf.
25312 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25313 __floorf instead of floorf.
25314 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25315 __floorf, __truncf instead of floorf, truncf.
25316
cd205654
UD
253172011-09-14 Ulrich Drepper <drepper@gmail.com>
25318
ee4d0315
UD
25319 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25320
cd205654
UD
25321 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25322 __extern_always_inline.
25323 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25324 32-bit.
25325
48b67d71
AS
253262011-09-14 Andreas Schwab <schwab@redhat.com>
25327
25328 * elf/rtld.c (dl_main): Also relocate in dependency order when
25329 doing symbol dependency testing.
25330
1ae12c75
AS
253312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25332
25333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25334 Always define `refsym'.
25335
995a80df
AS
253362011-09-13 Andreas Schwab <schwab@redhat.com>
25337
e529793b
AS
25338 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25339 (__FD_ELT): Renamed from __FDELT.
25340 * misc/bits/select2.h (__FD_ELT): Likewise.
25341 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25342 __FD_MASK instead of __FDELT, __FDMASK.
25343 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25344 Likewise.
25345 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25346 Likewise.
25347
52d4fef8
AS
25348 * elf/Makefile (gen-ldd): Fix pattern.
25349
995a80df
AS
25350 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25351 (init_tls): Likewise.
25352
8682f8b0
UD
253532011-09-12 Ulrich Drepper <drepper@gmail.com>
25354
25355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25356
de82006d
AS
253572011-09-12 Andreas Schwab <schwab@redhat.com>
25358
a7c8e6a1
AS
25359 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25360 `struct cmsghdr *' instead of `void *'.
25361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25362 Likewise.
25363
0f31fe77
AS
253642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25365
25366 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25367 if non-absolute.
25368 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25369 ldd_rewrite_script.
0f31fe77 25370
32b4c839
UD
253712011-09-11 Ulrich Drepper <drepper@gmail.com>
25372
83cd1420
UD
25373 * configure.in: Remove --with-tls option.
25374 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25375 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25376 out in case it is missing.
25377 * sysdeps/ia64/elf/configure.in: Likewise.
25378 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25379 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25380 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25381 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25382 * sysdeps/sh/elf/configure.in: Likewise.
25383 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25384 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25385 * sysdeps/x86_64/elf/configure.in: Likewise.
25386 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25387 * sysdeps/mach/hurd/tls.h: Likewise.
25388
633f745d
UD
25389 [BZ #13067]
25390 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25391
f318beb8
UD
25392 [BZ #13090]
25393 * configure.in: Fix use of AC_INIT.
25394
32b4c839
UD
25395 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25396
3ce1f295
UD
253972011-09-10 Ulrich Drepper <drepper@gmail.com>
25398
bb016596
UD
25399 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25400 __set_errno.
8e58439c
UD
25401 * malloc/hooks.c: Likewise.
25402
aebae053 25403 [BZ #11929]
02d46fc4
UD
25404 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25405 variables statically.
25406 (narenas): Initialize.
25407 (list_lock): Initialize.
bb016596
UD
25408 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25409 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
25410 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25411 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25412 Add initializers to main_arena and mp_.
25413 (malloc_state): Remove pagesize member. Change all users to use
25414 GLRO(dl_pagesize).
25415
25416 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25417 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25418 is always initialized.
25419
22a89187
UD
25420 * malloc/malloc.c: Removed unused configurations and dead code.
25421 * malloc/arena.c: Likewise.
25422 * malloc/hooks.c: Likewise.
02d46fc4 25423 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 25424
d063d164
UD
25425 * include/tls.h: Removed. USE___THREAD must always be defined.
25426 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25427 * elf/dl-libc.c: Likewise.
25428 * elf/dl-tsd.c: Likewise.
25429 * include/errno.h: Likewise.
25430 * include/netdb.h: Likewise.
25431 * include/resolv.h: Likewise.
25432 * inet/herrno-loc.c: Likewise.
25433 * inet/herrno.c: Likewise.
25434 * malloc/arena.c: Likewise.
25435 * malloc/hooks.c: Likewise.
25436 * malloc/malloc.c: Likewise.
25437 * resolv/res-state.c: Likewise.
25438 * resolv/res_libc.c: Likewise.
25439 * sysdeps/i386/dl-machine.h: Likewise.
25440 * sysdeps/ia64/dl-machine.h: Likewise.
25441 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25442 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25443 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25444 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25445 * sysdeps/sh/dl-machine.h: Likewise.
25446 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25447 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25448 * sysdeps/unix/i386/sysdep.S: Likewise.
25449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25450 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25455 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25459 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25460 * sysdeps/x86_64/dl-machine.h: Likewise.
25461 * tls.make.c: Likewise.
25462
3ce1f295
UD
25463 * configure.in: Remove --with-__thread option. Make tests for
25464 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25465 tls_model attribute fail if no support is available. Remove
25466 USE_IN_LIBIO.
25467 * Makeconfig: Adjust for dropped configure option. All features are
25468 now mandatory.
25469 * Makerules: Likewise.
25470 * Versions.def: Likewise.
25471 * argp/argp-fmtstream.c: Likewise.
25472 * argp/argp-fmtstream.h: Likewise.
25473 * argp/argp-help.c: Likewise.
25474 * assert/assert.c: Likewise.
25475 * config.h.in: Likewise.
25476 * config.make.in: Likewise.
25477 * configure: Likewise.
25478 * configure.in: Likewise.
25479 * csu/Versions: Likewise.
25480 * csu/init.c: Likewise.
25481 * elf/tst-audit2.c: Likewise.
25482 * elf/tst-tls10.c: Likewise.
25483 * elf/tst-tls10.h: Likewise.
25484 * elf/tst-tls11.c: Likewise.
25485 * elf/tst-tls12.c: Likewise.
25486 * elf/tst-tls14.c: Likewise.
25487 * elf/tst-tlsmod11.c: Likewise.
25488 * elf/tst-tlsmod12.c: Likewise.
25489 * elf/tst-tlsmod13.c: Likewise.
25490 * elf/tst-tlsmod13a.c: Likewise.
25491 * elf/tst-tlsmod14a.c: Likewise.
25492 * elf/tst-tlsmod15b.c: Likewise.
25493 * elf/tst-tlsmod16a.c: Likewise.
25494 * elf/tst-tlsmod16b.c: Likewise.
25495 * elf/tst-tlsmod7.c: Likewise.
25496 * elf/tst-tlsmod8.c: Likewise.
25497 * elf/tst-tlsmod9.c: Likewise.
25498 * gmon/gmon.c: Likewise.
25499 * grp/fgetgrent_r.c: Likewise.
25500 * grp/putgrent.c: Likewise.
25501 * hurd/fopenport.c: Likewise.
25502 * include/libc-symbols.h: Likewise.
25503 * include/tls.h: Likewise.
25504 * intl/gettextP.h: Likewise.
25505 * intl/loadinfo.h: Likewise.
25506 * locale/global-locale.c: Likewise.
25507 * locale/localeinfo.h: Likewise.
25508 * mach/devstream.c: Likewise.
25509 * malloc/arena.c: Likewise.
25510 * malloc/set-freeres.c: Likewise.
25511 * misc/err.c: Likewise.
25512 * misc/getttyent.c: Likewise.
25513 * misc/mntent_r.c: Likewise.
25514 * posix/getopt.c: Likewise.
25515 * posix/wordexp.c: Likewise.
25516 * pwd/fgetpwent_r.c: Likewise.
25517 * resolv/Versions: Likewise.
25518 * resolv/res_hconf.c: Likewise.
25519 * shadow/fgetspent_r.c: Likewise.
25520 * shadow/putspent.c: Likewise.
25521 * stdio-common/printf_fphex.c: Likewise.
25522 * stdio-common/tmpfile.c: Likewise.
25523 * stdlib/abort.c: Likewise.
25524 * stdlib/fmtmsg.c: Likewise.
25525 * sunrpc/auth_unix.c: Likewise.
25526 * sunrpc/clnt_perr.c: Likewise.
25527 * sunrpc/clnt_tcp.c: Likewise.
25528 * sunrpc/clnt_udp.c: Likewise.
25529 * sunrpc/clnt_unix.c: Likewise.
25530 * sunrpc/openchild.c: Likewise.
25531 * sunrpc/svc_simple.c: Likewise.
25532 * sunrpc/svc_tcp.c: Likewise.
25533 * sunrpc/svc_udp.c: Likewise.
25534 * sunrpc/svc_unix.c: Likewise.
25535 * sunrpc/xdr.c: Likewise.
25536 * sunrpc/xdr_array.c: Likewise.
25537 * sunrpc/xdr_rec.c: Likewise.
25538 * sunrpc/xdr_ref.c: Likewise.
25539 * sunrpc/xdr_stdio.c: Likewise.
25540
1248c1c4
PB
255412011-09-09 Ulrich Drepper <drepper@gmail.com>
25542
25543 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25544
255452011-07-03 Andreas Jaeger <aj@suse.de>
25546
25547 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25548 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25549 regenerate with gen-libm-tests.pl.
25550
255512010-05-12 Petr Baudis <pasky@suse.cz>
25552
25553 [BZ #11589]
25554 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25555 around j0() zero points by switching to j1().
25556 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25560
f22e1074
UD
255612011-09-09 Ulrich Drepper <drepper@gmail.com>
25562
f19009c1
UD
25563 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25564 instead of 0.
25565 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 25566 instead of 0.
f19009c1
UD
25567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25568 Patch in part by Pavel Roskin <proski@gnu.org>.
25569
3f8cc204
UD
25570 [BZ #13138]
25571 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25572 realloc.
25573 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25574 Free memory block if necessary.
25575
f22e1074
UD
25576 [BZ #12847]
25577 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25578 be NULL. Don't lock in this case.
25579
0a2349f9
RM
255802011-09-09 Roland McGrath <roland@hack.frob.com>
25581
25582 * elf/elf.h (ELFOSABI_GNU): New macro.
25583 (ELFOSABI_LINUX): Define to that.
25584
f3cdd467
DZ
255852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25586
25587 * string/strncat.c (strncat): Undef the symbol in case it has been
25588 defined in bits/string.h.
25589
74718d13
UD
255902011-09-09 Ulrich Drepper <drepper@gmail.com>
25591
633e9e0f
UD
25592 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25593
0a2349f9 25594 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
25595 link map.
25596
f9924780
AJ
255972011-08-17 Andreas Jaeger <aj@suse.de>
25598
25599 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25600
7f5517aa
PP
256012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25602 Ian Lance Taylor <iant@google.com>
25603
25604 * math/libm-test.inc (lround_test): New testcase.
25605 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25606
762011fe
UD
256072011-09-08 Ulrich Drepper <drepper@gmail.com>
25608
92963737
UD
25609 * Makefile: Remove support for automatic cvs check-ins.
25610 * Makerules: Likewise.
25611 * config.make.in: Likewise.
25612 * configure.in: Likewise.
25613 * intl/Makefile: Likewise.
25614 * locale/Makefile: Likewise.
25615 * po/Makefile: Likewise.
25616 * posix/Makefile: Likewise.
25617 * sysdeps/gnu/Makefile: Likewise.
25618 * sysdeps/mach/hurd/Makefile: Likewise.
25619 * sysdeps/sparc/sparc32/Makefile: Likewise.
25620
b0727fd8
JS
25621 [BZ #13118]
25622 * posix/Makefile (bug-regex32-ENV): Define.
25623 Patch by John Stanley <jpsinthemix@verizon.net>.
25624
a0f33f99
UD
25625 * misc/Makefile (headers): Add bits/select2.h.
25626 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25627 * misc/bits/select2.h: New file.
25628 * include/bits/select2.h: New file.
25629 * debug/Makefile (routines): Add fdelt_chk.
25630 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25631 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25632 FD_ISSET.
25633 * debug/fdelt_chk.c: New file.
25634
762011fe
UD
25635 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25636 * wcsmbs/test-wmemcmp.c: Likewise.
25637 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 25638 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
25639
256402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25641
25642 * string/Makefile (strop-tests): Add memcmp.
25643 * string/test-wmemcmp.c: New file.
25644 * string/test-memcmp.c: Add wmemcmp support.
25645
7f513ec8
RM
256462011-09-08 Roland McGrath <roland@hack.frob.com>
25647
0442afb4
RM
25648 [BZ #13153]
25649 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25650 2011-07-19 change.
25651
7f513ec8
RM
25652 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25653 garbage value in a __mach_port_mod_refs call in the cases of the
25654 task-self and thread-self ports.
25655
a12b2239
ST
256562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25657
25658 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25659
610f9ab4
AS
256602011-09-08 Andreas Schwab <schwab@redhat.com>
25661
7f513ec8 25662 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 25663
48882a1a
LD
256642011-09-07 Ulrich Drepper <drepper@gmail.com>
25665
b49865be
UD
25666 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25667
fdc86bc9
UD
25668 * elf/dl-libc.c (dlerror_run): Pass back error code from
25669 dl_catch_error.
25670
c966526a
UD
25671 [BZ #13123]
25672 * elf/dl-load.c (lose): Free l_origin if it is valid.
25673
48882a1a
LD
25674 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25675 names.
25676 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25678 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25680 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25681 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25682
77a2a8b4
AZ
256832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25684
25685 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25686 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25687 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25688 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25689 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25690 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25691 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25692 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25693 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25694 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25695
24f579d8
AM
256962011-08-15 Alan Modra <amodra@gmail.com>
25697
25698 [BZ #13092]
25699 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25700 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25701 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25702 ppc_mcount to static-only-routines.
25703 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25704 __mcount_internal.
25705 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25706 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25707
3d4837df
UD
257082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25709
25710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25711 for finite and infinity parameters.
25712
22700377
WS
257132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25714
25715 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25716 and add nop instructions for throughput optimization.
25717 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25718
5025581e
WS
257192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25720
25721 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25722 aligned copy for power7 with vector-scalar instructions.
25723 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25724
08a300c9
L
257252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25728 AVX check.
25729
59178ef9
AS
257302011-09-07 Andreas Schwab <schwab@redhat.com>
25731
25732 [BZ #13144]
25733 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25734 last change.
25735
e38ba7ab
UD
257362011-09-07 Ulrich Drepper <drepper@gmail.com>
25737
25738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25739 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25740 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25741 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25742 clock_gettime.
25743
d53a73ac
UD
257442011-09-06 Ulrich Drepper <drepper@gmail.com>
25745
fc8bffcc
UD
25746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25747 Forgot to demangle the pointer.
25748
ceaa0c5d
UD
25749 * sysdeps/i386/sysdep.h: Define atom_text_section.
25750 * sysdeps/x86_64/sysdep.h: Likewise.
25751 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25752 section with atom_text_section.
25753 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25754 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25755 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25757 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25758
a77d3c17
UD
25759 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25761 already be defined. Change to take two parameters and don't assign
25762 result to variable. Adjust all users.
25763 Define INTERNAL_GETTIME if not already defined.
25764 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25765 call.
25766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25767 HAVE_CLOCK_GETTIME_VSYSCALL.
25768 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25769
d53a73ac
UD
25770 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25771 gettimeofday vsyscall, just use time.
25772
a8f84144
AS
257732011-09-06 Andreas Schwab <schwab@redhat.com>
25774
25775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25776 <errno.h>.
25777
ef606249
UD
257782011-09-06 Ulrich Drepper <drepper@gmail.com>
25779
25780 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25781 syscall on x86-64.
25782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25783 syscall.
25784 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25785 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25786 syscall if possible.
25787
6585cb60
UD
257882011-09-05 Ulrich Drepper <drepper@gmail.com>
25789
25790 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25791 e_ident. Don't pass to find_mapsXX.
25792 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25793
a5f524e4
LD
257942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25795
25796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25797 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25798 * sysdeps/x86_64/multiarch/strchr.S: Update.
25799 Check bit_slow_BSF bit.
25800 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25801 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25803
554881ef
UD
258042011-09-05 Ulrich Drepper <drepper@gmail.com>
25805
d96de963
UD
25806 [BZ #13134]
25807 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25808 before glibc 2.15.
25809 (tryshell): Define.
25810 (__spawni): Change last parameter to be flag. Test
25811 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25812 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25813 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25814 * posix/spawni.c: Likewise.
25815 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25816 * posix/spawnp.c: Likewise. Change normal version to use
25817 SPAWN_XFLAGS_USE_PATH.
25818 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25819 SPAWN_XFLAGS_TRY_SHELL.
25820
d48e5868
UD
25821 [BZ #13150]
25822 * posix/glob.h: Remove gcc 1.x support.
25823
554881ef
UD
25824 [BZ #13068]
25825 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25826
693fb948
LD
258272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25828
25829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25830 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25831 strrchr-sse2-bsf
25832 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25833 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25834 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25837 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25838
1b48c537
UD
258392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25840
49d42c37
UD
25841 * sysdeps/x86_64/wcscmp.S: New file.
25842
1b48c537
UD
25843 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25844 wcscmp-c wcscmp-sse2
25845 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25846 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25847 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25848 * wcsmbs/wcscmp.c: Allow renaming.
25849
15c95c5d
DM
258502011-09-05 David S. Miller <davem@davemloft.net>
25851
25852 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25853 stack slot, rather than the struct return pointer slot.
25854 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25855 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25857 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25858
2f0ad8f3
UD
258592011-09-05 Ulrich Drepper <drepper@gmail.com>
25860
d88ae418
UD
25861 * po/ja.po: Update from translation team.
25862
2f0ad8f3
UD
25863 [BZ #13144]
25864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25865 kernel in 64-bit binaries.
25866
5f4318d1
DM
258672011-09-01 David S. Miller <davem@davemloft.net>
25868
25869 * elf/elf.h (HWCAP_SPARC_*): Move to..
25870 * sysdeps/sparc/sysdep.h: this new file and add new values.
25871 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25872 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25873 _DL_HWCAP_COUNT to 24.
25874 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25875 entries.
25876 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25877 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25878 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25879 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25880 instead of magic constants.
25881 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25882
3ba57516
DM
258832011-08-31 David S. Miller <davem@davemloft.net>
25884
25885 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25887 Reimplement to do errno handling inline.
25888 (SYSCALL_ERROR_HANDLER): New macro.
25889 (__SYSCALL_STRING): Do not do errno handling in asm.
25890 (__CLONE_SYSCALL_STRING): Delete.
25891 (__INTERNAL_SYSCALL_STRING): Delete.
25892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25893 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25894 (PSEUDO): Reimplement to do errno handling inline.
25895 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25896 (SYSCALL_ERROR_HANDLER): New macro.
25897 (__SYSCALL_STRING): Do not do errno handling in asm.
25898 (__CLONE_SYSCALL_STRING): Delete.
25899 (__INTERNAL_SYSCALL_STRING): Delete.
25900 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25901 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25902 i386.
25903 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25904 (inline_syscall*): Add 'err' argument.
25905 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25906 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25907 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25908 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25909
25910 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25911 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25912
2bc17433
AS
259132011-08-30 Andreas Schwab <schwab@redhat.com>
25914
25915 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25916
fbeb5f4d
JO
259172011-08-29 Jiri Olsa <jolsa@redhat.com>
25918
25919 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25920 directive.
25921
ad69cc26
DM
259222011-08-24 David S. Miller <davem@davemloft.net>
25923
25924 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25925
39dd69df
AS
259262011-08-24 Andreas Schwab <schwab@redhat.com>
25927
25928 * elf/Makefile: Add rules to build and run unload8 test.
25929 * elf/unload8.c: New file.
25930 * elf/unload8mod1.c: New file.
25931 * elf/unload8mod1x.c: New file.
25932 * elf/unload8mod2.c: New file.
25933 * elf/unload8mod3.c: New file.
25934
25935 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25936 it wasn't used.
25937
2c0b250a
DM
259382011-08-23 David S. Miller <davem@davemloft.net>
25939
25940 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25941 subtract stack bias.
25942 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25943 %sp not %fp in calculations.
25944 (_JMPBUF_UNWINDS_ADJ): Likewise.
25945
22044b48
DM
25946 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25947 (aio_suspend): Call it to force an exception region around the
25948 AIO_MISC_WAIT() invocation.
25949
2cae4995
AS
259502011-08-23 Andreas Schwab <schwab@redhat.com>
25951
25952 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25953 backslash.
25954
873a772e
AJ
259552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25956
25957 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25958 protection macro.
25959 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25960 and <dl-machine.h>.
25961 (Elf64_FuncDesc): Remove.
25962
25ad0df1
DM
259632011-08-22 David S. Miller <davem@davemloft.net>
25964
25965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25966 sigaltstack check, add missing cfi directives.
25967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25968 missing cfi directives, and sigaltstack handling.
25969
e888bcbe
AS
259702011-08-16 Andreas Schwab <schwab@redhat.com>
25971
25972 [BZ #11724]
25973 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25974 object is seen twice.
25975 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25976
25977 * elf/Makefile (distribute): Add tst-initorder2.c.
25978 (tests): Add tst-initorder2.
25979 (modules-names): Add tst-initorder2a tst-initorder2b
25980 tst-initorder2c tst-initorder2d. Add rules to build them.
25981 ($(objpfx)tst-initorder2.out): New rule.
25982 * elf/tst-initorder2.c: New file.
25983 * elf/tst-initorder2.exp: New file.
25984
87162f46
AS
259852011-08-22 Andreas Schwab <schwab@redhat.com>
25986
70538b7f
AS
25987 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25988
f55ffe58
AS
25989 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25990 dependencies back to end of function.
25991
87162f46
AS
25992 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25993 $(elfobjdir)/ld.so.
25994
91b392a4
UD
259952011-08-21 Ulrich Drepper <drepper@gmail.com>
25996
25997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25998 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26000 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26001 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26002 of __vdso_gettimeofday.
26003 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26004 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26005 attribute_hidden.
26006 (_libc_vdso_platform_setup): Remove initialization of
26007 __vdso_gettimeofday and __vdso_time.
26008
5c43483f
UD
260092011-08-20 Ulrich Drepper <drepper@gmail.com>
26010
775a77e7
UD
26011 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26012 and fgetc_unlocked.
26013 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26014 getc_unlocked.
89f447ed 26015
49c74ba9
UD
26016 * elf/dl-open.c (add_to_global): Report additions to the global scope
26017 for LD_DEBUG=scopes.
26018 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26019 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26020
5c43483f
UD
26021 [BZ #13114]
26022 * stdio-common/Makefile (tests): Add bug24.
26023 * stdio-common/bug24.c: New file.
26024
a101b025
AJ
260252011-08-19 Andreas Jaeger <aj@suse.de>
26026
26027 [BZ #13114]
26028 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26029 non-existant file when using close-on-exec mode.
26030
c88f1766
UD
260312011-08-20 Ulrich Drepper <drepper@gmail.com>
26032
0276a718
UD
26033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26034 the very first instruction.
26035
c88f1766
UD
26036 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26037 the CFI state in the end.
26038 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26039 inclusion of dl-trampoline.h.
26040 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26041
51ccffa0
AS
260422011-08-19 Andreas Schwab <schwab@redhat.com>
26043
94d7165f
AS
26044 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26045 expectations for long double.
26046
51ccffa0
AS
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26048 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26049
fd708658 260502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26051
26052 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26053 artificual limit depends upon the system page size.
26054
44f0a71e
UD
260552011-08-17 Ulrich Drepper <drepper@gmail.com>
26056
26057 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26058 * resolv/Makefile: Define CFLAGS-libresolv.
26059
8de79a24
AS
260602011-08-17 Andreas Schwab <schwab@redhat.com>
26061
26062 * nss/makedb.c (compute_tables): Make variables used in nested
26063 function static.
26064
27724598
UD
260652011-08-17 Ulrich Drepper <drepper@gmail.com>
26066
c5305d88
UD
26067 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26068 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26069 if buffer was too small.
26070
27724598
UD
26071 * elf/pldd.c (main): Attach to all threads in the process.
26072 Rewrite /proc handling to use *at functions.
26073
076fe015
UD
260742011-08-16 Ulrich Drepper <drepper@gmail.com>
26075
174baab3
UD
26076 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26077 specifies first scope to show.
26078 (dl_open_worker): Update callers. Move printing scope of new
26079 object to before the relocation.
44f0a71e 26080 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26081 * sysdeps/generic/ldsodefs.h: Update declaration.
26082
076fe015
UD
26083 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26084 string for the scope number.
26085
a60df2c3
UD
260862011-08-14 Ulrich Drepper <drepper@gmail.com>
26087
26088 * nscd/servicescache.c (cache_addserv): Make sure written is always
26089 initialized.
26090
5e4287d1
RM
260912011-08-14 Roland McGrath <roland@hack.frob.com>
26092
85ae0589
RM
26093 * sysdeps/i386/i486/bits/atomic.h
26094 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26095 statement expression, so as to suppress "set but not used" warning.
26096 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26097
69f63097
RM
26098 * string/strncat.c (STRNCAT): Use prototype definition.
26099
675456ef
RM
26100 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26101 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26102 -Iprograms here.
26103 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26104 (localedef-modules): Add localedef.
26105 (locale-modules): Add locale.
26106
5e4287d1
RM
26107 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26108 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26109 to avoid a warning.
26110
9c96ff23
DM
261112011-08-14 David S. Miller <davem@davemloft.net>
26112
26113 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26114 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26115
f9ddf089
UD
261162011-08-13 Ulrich Drepper <drepper@gmail.com>
26117
44f0a71e 26118 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26119 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26120 * elf/rtld.c (dl_main): Set l_name of vDSO.
26121 Call _dl_show_scope when DL_DEBUG_SCOPES.
26122 (process_dl_debug): Recognize scopes flag and also set it for all.
26123 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26124 Declare _dl_show_scope.
26125
1dc27704
UD
26126 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26127 (do_dlopen): Pass caller_dlopen to dl_open.
26128 (__libc_dlopen_mode): Initialize caller_dlopen.
26129
f9ddf089
UD
26130 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26131 of libc. Make tolower call locale-independent. Optimize a bit by
26132 using isdigit instead of isalnum.
26133 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26134
9ac533d3
UD
261352011-08-12 Ulrich Drepper <drepper@gmail.com>
26136
26137 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26138 was a dependency or dynamically loaded.
26139
89edf2e9
UD
261402011-08-11 Ulrich Drepper <drepper@gmail.com>
26141
8e999d29
UD
26142 * intl/l10nflist.c: Allow architecture-specific pop function.
26143 * sysdeps/x86_64/l10nflist.c: New file.
26144
89edf2e9
UD
26145 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26146 classification.
26147
14d96785
AS
261482011-08-10 Andreas Schwab <schwab@redhat.com>
26149
26150 * include/dirent.h: Add libc_hidden_proto for scandirat and
26151 scandirat64. Don't declare __scandirat64.
26152 * dirent/scandirat.c: Add libc_hidden_def.
26153 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26154 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26155
6761ac04
DM
261562011-08-10 David S. Miller <davem@davemloft.net>
26157
26158 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26159 enum.
26160 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26163
c55fbd1e
UD
261642011-08-09 Ulrich Drepper <drepper@gmail.com>
26165
26166 * Versions.def [libc]: Add GLIBC_2.15.
26167 * dirent/Makefile (routines): Add scandirat and scandirat64.
26168 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26169 GLIBC_2.15.
26170 * dirent/dirent.h: Declare scandirat and scandirat64.
26171 * dirent/scandirat.c: New file.
26172 * dirent/scandirat64.c: New file.
26173 * sysdeps/wordsize-64/scandirat.c: New file.
26174 * sysdeps/wordsize-64/scandirat64.c: New file.
26175 * dirent/opendir.c: Define opendirat.
26176 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26177 using scandirat.
26178 * dirent/scandir64.c: Adjust for scandir.c change.
26179 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26180 __scandirat64, and __scandir_cancel_handler.
26181 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26182 additional parameter and use openat instead of open (outside of ld.so).
26183 Add new __opendir as wrapper around __opendirat.
26184 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26185 here without requiring old scandirat implementation.
26186
879165f2
UD
261872011-08-08 Ulrich Drepper <drepper@gmail.com>
26188
26189 * dirent/scandir.c (cancel_handler): Renamed to
26190 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26191 defined. Adjust users.
26192 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26193 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26194
cb7e923b
UD
261952011-08-04 Ulrich Drepper <drepper@gmail.com>
26196
16292edd
UD
26197 * string/test-string.h (IMPL): Use __STRING to expand name and then
26198 stringify it.
26199
cb7e923b
UD
26200 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26201 of cleanups.
26202
cff82933
LD
262032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26204
26205 * string/Makefile: Update.
26206 (strop-tests): Append strncat.
26207 * string/test-wcscmp.c: New file.
26208 New comprehensive test for wcscmp.
26209 * string/test-strcmp.c: Update.
26210 (WIDE): New define.
26211
9be9bfcc
AS
262122011-07-22 Andreas Schwab <schwab@redhat.com>
26213
26214 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26215 line.
26216
2e96f1c7
AS
262172011-07-26 Andreas Schwab <schwab@redhat.com>
26218
26219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26220 encoding to ACE if AI_IDN.
26221
85188888
JJ
262222011-08-01 Jakub Jelinek <jakub@redhat.com>
26223
26224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26225 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26226
5fa16e9b
LD
262272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26228
26229 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26230 Fix overflow bug in strncat.
26231 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26232
26233 * string/test-strncat.c: Update.
26234 Add new tests for checking overflow bugs.
26235
262362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26237
26238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26239 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26240 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26241 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26242 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26243 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26244 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26245 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26246 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26247
26248 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26249 (USE_AS_STRCAT): Define.
26250 Add strcat and strncat support.
26251 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26252
8c1a459f
AS
262532011-07-25 Andreas Schwab <schwab@redhat.com>
26254
26255 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26256 __n bigger than INT_MAX+1.
26257 (__strncmp_g): Likewise.
26258
bba33c28
UD
262592011-07-23 Ulrich Drepper <drepper@gmail.com>
26260
798be72d
UD
26261 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26262 * libio/stido.h: Likewise.
26263
8accd4dc
UD
26264 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26265 (AF_NFC): Define.
26266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26267 (AF_NFC): Define.
26268
cbff0d96
UD
26269 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26270 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26272 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26274
9191c04a
UD
26275 [BZ #13021]
26276 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26277 installed.
26278
bba33c28
UD
26279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26280 typo.
26281 (_dl_x86_64_save_sse): Likewise.
26282
90f139dd
UD
262832011-07-22 Ulrich Drepper <drepper@gmail.com>
26284
1aae088a
UD
26285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26286 OSXSAVE.
26287 (_dl_x86_64_save_sse): Likewise.
26288
8e2045f5
UD
26289 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26290
90f139dd
UD
26291 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26292
1d002f25
AS
262932011-07-21 Andreas Schwab <schwab@redhat.com>
26294
26295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26296 change.
26297 (_dl_x86_64_save_sse): Use correct AVX check.
26298
21137f89
UD
262992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26300
26301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26302 bug in strncpy/strncat.
26303 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26304
a65c0b7a
UD
263052011-07-21 Ulrich Drepper <drepper@gmail.com>
26306
26307 * string/tester.c (test_strcat): Add tests for different alignments
26308 of source and destination.
26309 (test_strncat): Likewise.
26310
6986b98a
UD
263112011-07-20 Ulrich Drepper <drepper@gmail.com>
26312
90bb2039
UD
26313 [BZ #12852]
26314 * posix/glob.c (glob): Check passed in values before using them in
26315 expressions to avoid some overflows.
26316 (glob_in_dir): Likewise.
26317
5644ef54
UD
26318 [BZ #13007]
26319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26320 check for AVX enablement so that we don't crash with old kernels and
26321 new hardware.
26322 * elf/tst-audit4.c: Add same checks here.
26323 * elf/tst-audit6.c: Likewise.
26324
26325 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26326
bfc9dc9b
AS
263272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26328
26329 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26330
702e64bb
UD
263312011-07-20 Ulrich Drepper <drepper@gmail.com>
26332
26333 * po/cs.po: Update from translation team.
26334 * po/bg.po: Likewise.
26335
295e904f
MP
263362011-07-12 Marek Polacek <mpolacek@redhat.com>
26337
26338 * misc/sys/cdefs.h: Add support for const attribute.
26339 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26340 to gnu_dev_{major,minor,makedev} functions.
26341
3ff94596
MP
263422011-07-20 Marek Polacek <mpolacek@redhat.com>
26343
26344 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26345
28b59fca
AS
263462011-07-20 Andreas Schwab <schwab@redhat.com>
26347
26348 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26349 strlen results.
26350
19df733e
AK
263512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26352
26353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26354 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26355 register in order to avoid conflicts with the soft frame pointer
26356 being held in r11 when necessary.
26357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26358 (INTERNAL_VSYSCALL_NCS): Likewise.
26359
c8835729
MP
263602011-07-14 Marek Polacek <mpolacek@redhat.com>
26361
26362 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26363 * elf/dl-fini.c (_dl_fini): Adjust caller.
26364 * elf/dl-close.c (_dl_close_worker): Likewise.
26365 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26366
b902330c
MP
263672011-07-15 Marek Polacek <mpolacek@redhat.com>
26368
8991e135
MP
26369 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26370 "aux_cache->nlibs < 0".
26371
b902330c
MP
26372 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26373 in the reload-count case.
26374
99710781
LD
263752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26376
26377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26378 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26379 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26380 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26381 * sysdeps/x86_64/multiarch/strcat.S: New file.
26382 * sysdeps/x86_64/multiarch/strncat.S: New file.
26383 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26384 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26385 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26386 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26388 (USE_AS_STRCAT): Define.
26389 Add strcat and strncat support.
26390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26391 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26392 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26393 * string/strncat.c: Update.
26394 (USE_AS_STRNCAT): Define.
26395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26396 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26397 and i7.
26398 * sysdeps/x86_64/multiarch/init-arch.h
26399 (bit_Prefer_PMINUB_for_stringop): New.
26400 (index_Prefer_PMINUB_for_stringop): Likewise.
26401 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26402 bit_Prefer_PMINUB_for_stringop.
26403
7dc6bd90
UD
264042011-07-19 Ulrich Drepper <drepper@gmail.com>
26405
26406 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26407 buffer64.
26408 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26409 of casting of buffer.
26410 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26411 buffer32 and buffer64.
26412 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26413 writes instead of casting of buffer.
26414 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26415 buffer32.
26416 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26417 casting of buffer.
26418
e0e72284
AS
264192011-07-19 Andreas Schwab <schwab@redhat.com>
26420
26421 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26422
feb1eb0b
UD
264232011-07-19 Ulrich Drepper <drepper@gmail.com>
26424
26425 * nscd/nscd.c (termination_handler): Don't do anything for a database
26426 if it has not yet been initialized.
26427
298711ff
UD
264282011-07-18 Ulrich Drepper <drepper@gmail.com>
26429
26430 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26431
264322011-07-15 Marek Polacek <mpolacek@redhat.com>
26433
26434 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26435
f9d68389
UD
264362011-07-18 Ulrich Drepper <drepper@gmail.com>
26437
26438 * po/nl.po: Update from translation team.
26439 * po/sv.po: Likewise.
26440
db290cf5
RM
264412011-07-16 Roland McGrath <roland@hack.frob.com>
26442
26443 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26444 now disallowed by GCC.
5c550700 26445
fd5e21c7
RM
26446 * configure.in (use-default-link): Default to yes if a test -shared
26447 link meets our qualifications.
26448 * configure: Regenerated.
26449
5c550700
RM
26450 * config.make.in (output-format): New variable.
26451 * configure.in: Check for ld --print-output-format support.
26452 * configure: Regenerated.
26453 * Makerules ($(common-objpfx)format.lds)
26454 [$(output-format) != unknown]: Just use $(output-format),
26455 instead of the linker-script munging.
26456
9fa2c032
RM
264572011-07-14 Roland McGrath <roland@hack.frob.com>
26458
a6928d51
RM
26459 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26460 of $(common-objpfx)shlib.lds.
26461 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26462
661607b3
RM
26463 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26464 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26465
9fa2c032
RM
26466 * configure.in (-z relro check): Adjust test code to add a large
26467 writable data section after it.
26468 * configure: Regenerated.
26469
defe9061
RM
264702011-07-11 Roland McGrath <roland@hack.frob.com>
26471
26472 * configure.in (-z relro check): Fix test code to make the variable
26473 truly const.
26474 * configure: Regenerated.
26475
319b9ad4
UD
264762011-07-11 Ulrich Drepper <drepper@gmail.com>
26477
26478 * nscd/nscd.h (struct traced_file): Define.
26479 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26480 elements. Add traced_files.
26481 (inotify_fd): Declare.
26482 (register_traced_file): Declare.
26483 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26484 (inotify_fd): Export.
26485 (resolv_conf_descr): Remove.
26486 (nscd_init): Move inotify descriptor creation to main.
26487 Don't register files for notification here.
26488 (register_traced_file): New function.
26489 (invalidate_cache): Don't use reset_res to determine whether to call
26490 res_init, go through the list of registered files.
26491 (main_loop_poll): The inotify descriptors are now stored in the
26492 structures for the traced files.
26493 (main_loop_epoll): Likewise
26494 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26495 to __nss_disable_nscd.
26496 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26497 for a database anymore. Check the records for all the registered
26498 files instead.
26499 * nss/Makefile (libnss_files-routines): Add files-init.
26500 (libnss_db-routines): Add db-init.
26501 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26502 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26503 * nss/nss_db/db-init.c: New file.
26504 * nss/nss_files/files-init.c: New file.
26505 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26506 __nss_lookup_function.
26507 (__nss_lookup_function): Call nss_load_library.
26508 (nss_load_all_libraries): New function.
26509 (__nss_disable_nscd): Take parameter with callback function for files
26510 to register. Set is_nscd. Load all the DSOs for the NSS modules
26511 used for the cached services.
26512 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26513 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26514 options for features to all the files in nscd.
26515
26516 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26517
23bee3e8
RM
265182011-07-10 Roland McGrath <roland@hack.frob.com>
26519
26520 * csu/elf-init.c (__libc_csu_init): Comment typo.
26521
46a5b7f0
UD
265222011-07-09 Ulrich Drepper <drepper@gmail.com>
26523
26524 * po/pl.po: Update from translation team.
26525 * po/ja.po: Likewise.
26526 * po/ru.po: Likewise.
26527 * po/ko.po: Likewise.
26528 * po/fr.po: Likewise.
26529
d30cf5bb
RM
265302011-07-09 Roland McGrath <roland@hack.frob.com>
26531
113ddea4
RM
26532 * configure.in (.ctors/.dtors header and trailer check):
26533 Use an empirical test on a built program.
26534 * configure: Regenerated.
26535
574920b4
RM
26536 * configure.in (-z relro check): Use an empirical test on a built DSO.
26537 Detect, but do not require, on ia64.
26538 * configure: Regenerated.
26539
d30cf5bb
RM
26540 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26541 Update tests that use readelf to use $READELF instead.
26542 * configure: Regenerated.
26543
8538fdb3
UD
265442011-07-08 Ulrich Drepper <drepper@gmail.com>
26545
26546 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26547 if the result is not used.
26548
04d08991
AJ
265492011-07-05 Andreas Jaeger <aj@suse.de>
26550
26551 [BZ#9696]
26552 * stdlib/tst-strtod.c: Add testcase.
26553
de283087
AD
265542011-07-07 Ulrich Drepper <drepper@gmail.com>
26555
4e5f31c8 26556 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 26557 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
26558 The latter has a higher limit. Take additional parameter to pass to
26559 the new function.
26560 (__pathconf): Pass file to __statfs_link_max.
26561 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26562 __statfs_link_max.
26563 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26564 __statfs_link_max.
26565
de283087
AD
26566 [BZ #12868]
26567 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26569 Handle Lustre.
26570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26571 (__statfs_filesize_max): Likewise.
26572 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26573
c75fa153
AJ
265742011-07-05 Andreas Jaeger <aj@suse.de>
26575
26576 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26577
1a544854
UD
265782011-07-06 Marek Polacek <mpolacek@redhat.com>
26579
26580 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26581 `status' variable.
26582 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26583 Likewise.
26584
6f0eec67
UD
265852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26586
26587 * Makefile (strop-tests): Add strncat.
26588 * string/test-strncat.c: New file.
26589
aae30307
UD
265902011-06-30 Marek Polacek <mpolacek@redhat.com>
26591
26592 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26593
c0cfb5eb
UD
265942011-06-21 Andreas Jaeger <aj@suse.de>
26595
26596 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26597 Copy rule from iconvdata/Makefile.
26598
01636b21
UD
265992011-07-06 Ulrich Drepper <drepper@gmail.com>
26600
26601 [BZ #12922]
26602 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26603 but no long options are defined, just return 'W'.
26604
9895c8bc
UD
266052011-06-22 Marek Polacek <mpolacek@redhat.com>
26606
26607 [BZ #9696]
26608 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26609
5d4cf042
UD
266102011-07-06 Ulrich Drepper <drepper@gmail.com>
26611
26612 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26613 netgroups to read.
960e5535 26614 (innetgr): Likewise.
5d4cf042 26615
751eb97e
RM
266162011-07-05 Roland McGrath <roland@hack.frob.com>
26617
26618 * config.make.in (install_root): Default to $(DESTDIR).
26619
f15f1e45
UD
266202011-07-05 Ulrich Drepper <drepper@gmail.com>
26621
26622 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26623
4e34ac6a
RM
266242011-07-02 Roland McGrath <roland@hack.frob.com>
26625
5e9b6af4
RM
26626 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26627
84f9ea0f
RM
26628 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26629 containing directory rather than embedding absolute directory names.
26630
ea5ee9f7
RM
26631 * scripts/check-local-headers.sh: Rewritten using awk.
26632 Match by word, not by line. Print error messages for matches.
26633 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26634
1b74661a
RM
26635 * Makerules [shlib-lds-flags empty]:
26636 ($(common-objpfx)libc_pic.opts): New target.
26637 ($(common-objpfx)libc_pic.os.clean): New target.
26638 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26639
26640 * config.make.in (OBJCOPY): New variable.
26641 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26642 * configure: Regenerated.
26643
f781ef40
RM
26644 * config.make.in (use-default-link): New variable.
26645 * configure.in (use_default_link): Grok --with-default-link to set it.
26646 * configure: Regenerated.
26647 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26648 (shlib-lds, shlib-lds-flags): Define to empty.
26649
2d4fa81e
RM
26650 * Makerules (shlib-lds): New variable.
26651 (shlib-lds-flags): New variable.
26652 (build-shlib, build-moduile, build-module-asneeded): Use it.
26653 ($(common-objpfx)libc.so): Use $(shlib-lds).
26654 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26655 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26656
31fffa6b
RM
26657 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26658 DT_FLAGS/DT_FLAGS_1 with zero flags.
26659
4e34ac6a
RM
26660 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26661 linker script munging.
26662
fcfc776b
UD
266632011-07-02 Ulrich Drepper <drepper@gmail.com>
26664
26665 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26666 as 128-bit value.
26667 * crypt/sha512.c (sha512_process_block): Perform total addition using
26668 128-bit if possible.
26669 (__sha512_finish_ctx): Likewise.
26670 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26671 as 64-bit value.
26672 * crypt/sha256.c (SWAP64): Define.
26673 (sha256_process_block): Perform total addition using 64-bit if
26674 possible.
26675 (__sha256_finish_ctx): Likewise.
26676
99231d9a
UD
266772011-07-01 Ulrich Drepper <drepper@gmail.com>
26678
26679 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26681 * nscd/hstcache.c (cache_addhst): Likewise.
26682 * nscd/grpcache.c (cache_addgr): Likewise.
26683 * nscd/aicache.c (addhstaiX): Likewise
26684 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26685
445b4a53
TK
266862011-07-01 Thorsten Kukuk <kukuk@suse.de>
26687
26688 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26690 * nscd/hstcache.c (cache_addhst): Likewise.
26691 * nscd/grpcache.c (cache_addgr): Likewise.
26692 * nscd/aicache.c (addhstaiX): Likewise
26693
6d4d8e8e
AS
266942011-07-01 Andreas Schwab <schwab@redhat.com>
26695
26696 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26697 domain only when needed.
26698
89f654c5
AS
266992011-06-30 Andreas Schwab <schwab@redhat.com>
26700
26701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26702 is always restored.
26703
cf3b23ff
UD
267042011-06-29 Ulrich Drepper <drepper@gmail.com>
26705
26706 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26707 are re-adding the entry.
26708 * nscd/servicescache.c (cache_addserv): Likewise.
26709
751626f9
AJ
267102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26711
26712 * sysdeps/generic/dl-irel.h: fix protection against multiple
26713 inclusions.
26714 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26715
9113ea1f
UD
267162011-06-28 Ulrich Drepper <drepper@gmail.com>
26717
5c0b8d90
UD
26718 [BZ #12935]
26719 * malloc/memusage.sh: Fix quoting in message.
26720 * debug/xtrace.sh: Likewise.
26721
9113ea1f
UD
26722 * configure.in: Remove support for --experimental-malloc option, make
26723 it the default.
26724 * config.make.in: Likewise.
26725 * malloc/Makefile: Likewise.
26726
a4172181
AS
267272011-06-27 Andreas Schwab <schwab@redhat.com>
26728
26729 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26730 two-byte characters.
26731
78a7eee7
RM
267322011-06-27 Roland McGrath <roland@hack.frob.com>
26733
62bede13
RM
26734 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26735 AC_CACHE_CHECK invocation.
26736 * configure: Regenerated.
26737
78a7eee7
RM
26738 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26739
5ce33a62
UD
267402011-06-27 Ulrich Drepper <drepper@gmail.com>
26741
034807a9
UD
26742 [BZ #12350]
26743 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26744 bit from old_res_options.
26745
4902da17
UD
26746 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26747
5ce33a62
UD
26748 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26749 value type for setfct.
26750
c2344f56
L
267512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26752
26753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26754 __gettimeofday instead of gettimeofday.
26755
68468076
UD
267562011-06-26 Ulrich Drepper <drepper@gmail.com>
26757
26758 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26759
acb0d739
L
267602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26761
26762 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26763
26764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26765 info.
26766
8912479f
L
267672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26768
26769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26770 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26771 strcpy-sse2-unaligned strncpy-sse2-unaligned
26772 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26773 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26774 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26775 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26776 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26779 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26780 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26781 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26782 (STRCPY): Support SSE2 and SSSE3 versions.
26783
d5495a11
UD
267842011-06-24 Ulrich Drepper <drepper@gmail.com>
26785
26786 [BZ #12874]
26787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26788 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26789 kernels which artificially limit size of requests.
26790
0b1cbaae
L
267912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26792
26793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26794 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26795 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26796 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26797 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26798 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26799 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26800 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26801 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26802 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26803 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26804 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26805 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26806 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26807 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26809 Enable unaligned load optimization for Intel Core i3, i5 and i7
26810 processors.
26811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26812 Define.
26813 (index_Fast_Unaligned_Load): Define.
26814 (HAS_FAST_UNALIGNED_LOAD): Define.
26815
07f494a0
MP
268162011-06-23 Marek Polacek <mpolacek@redhat.com>
26817
26818 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26819
fa3fc0fe
UD
268202011-06-22 Ulrich Drepper <drepper@gmail.com>
26821
26822 [BZ #12907]
26823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26824 until it is clear that the information is realy needed.
26825 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26826
e12df166
AS
268272011-06-22 Andreas Schwab <schwab@redhat.com>
26828
26829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26830
852eb34d
UD
268312011-06-22 Ulrich Drepper <drepper@gmail.com>
26832
84e2a551
UD
26833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26834 /sys/devices/system/cpu/online if it is usable.
26835
852eb34d
UD
26836 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26837 reading the information from the /proc filesystem to once a second.
26838
6e502e19
UD
268392011-06-21 Andreas Jaeger <aj@suse.de>
26840
26841 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26842 NULL after inclusion of kernel headers.
26843
75d39ff2
UD
268442011-06-21 Ulrich Drepper <drepper@gmail.com>
26845
51f9aa6a
UD
26846 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26847 calls to internal_setent.
26848
c0244a9d
UD
26849 [BZ #12885]
26850 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26851 addresses using gethostbyname4_r ignore IPv4 addresses.
26852
c5e3c2ae
UD
26853 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26854 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26855
75d39ff2
UD
26856 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26857
42675c6f
DM
268582011-06-20 David S. Miller <davem@davemloft.net>
26859
26860 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26861 inclusions.
26862 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26863
26864 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26865 (elf_irel): Use it.
26866 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26867 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26868 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26869 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26870 * sysdeps/x86_64/dl-irel.h: Likewise.
26871
26872 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26873 * elf/dl-sym.c: Likewise.
26874
57912a71
UD
268752011-06-15 Ulrich Drepper <drepper@gmail.com>
26876
26877 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26878 need to dereference resplen2.
26879
ee22793d
AS
268802011-06-14 Andreas Schwab <schwab@redhat.com>
26881
26882 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26883
a9e836b0
UD
268842011-06-15 Ulrich Drepper <drepper@gmail.com>
26885
77fb9117
UD
26886 * Makeconfig: Define vardbdir and inst_vardbdir.
26887 * nss/Makefile: Add rules to install db-Makefile.
26888
40c1b22c
UD
26889 * nss/nss_db/db-XXX.c: Cleanup.
26890
9f2da732
UD
26891 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26892 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26893 GLIBC_PRIVATE.
26894 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26895 * nss/makedb.c: Implement -g option to specify that value strings
26896 are generated and should not be added to table iterated over for
26897 get*ent calls.
26898 * nss/nss_db/db-initgroups.c: New file.
26899
82e9a1f7
UD
26900 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26901 interface.
26902
c41af17e
UD
26903 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26904 (internal_getgrouplist): Adjust to name change.
26905 Update use_initgroups_entry if this is not the first call.
26906 * nss/databases.def: Add initgroups entry.
26907
a9e836b0
UD
26908 * nss/makedb.c (compute_tables): Check result of multiple hash table
26909 sizes to minimize maximum chain length.
26910
2666d441
UD
269112011-06-14 Ulrich Drepper <drepper@gmail.com>
26912
26913 * Versions.def: Add entry for libnss_db.
26914 * shlib-versions: Likewise.
26915 * nss/Makefile: Add rules to build libnss_db.
26916 * nss/Versions: Add libnss_db information. Organize libnss_files
26917 entries better.
26918 * nss/db-Makefile: Add gshadow support. Change rules for the new
26919 makedb progra. Some minor improvements to generate smaller files.
26920 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26921 here from...
26922 * nss/makedb.c: ...here.
26923 Improve database format to be smaller and require less memory at
26924 runtime.
26925 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26926 db anymore.
26927 * nss/nss_db/db-netgrp.c: Likewise.
26928 * nss/nss_db/db-open.c: Likewise.
26929 * nss/nss_files/flies-XXX.x: Adjust comments.
26930 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26931 * nss/nss_files/files-grp.c: Likewise.
26932 * nss/nss_files/files-hosts.c: Likewise.
26933 * nss/nss_files/files-network.c: Likewise.
26934 * nss/nss_files/files-proto.c: Likewise.
26935 * nss/nss_files/files-pwd.c: Likewise.
26936 * nss/nss_files/files-rpc.c: Likewise.
26937 * nss/nss_files/files-service.c: Likewise.
26938 * nss/nss_files/files-sgrp.c: Likewise.
26939 * nss/nss_files/files-spwd.c: Likewise.
26940 * nss/nss_db/db-alias.c: Removed.
26941 * nss/nss_db/dummy-db.h: Removed.
26942
9ee76b5a
UD
269432011-06-02 Ulrich Drepper <drepper@gmail.com>
26944
26945 * nss/makedb.c: Rewritten to not use database library.
26946 * nss/Makefile: Update to build new makedb program.
26947
c71ca1f8
AJ
269482011-06-14 Andreas Jaeger <aj@suse.de>
26949
26950 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26951 memset declaration.
26952
3154bfb8
UD
269532011-06-10 Andreas Schwab <schwab@redhat.com>
26954
26955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26956 tmpbuf.
26957
b350afab
RM
269582011-06-10 Roland McGrath <roland@hack.frob.com>
26959
decd4e50
RM
26960 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26961 * elf/Makefile ($(objpfx)ld.so): Likewise.
26962
5615eaf2
RM
26963 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26964 Don't list ld.so twice in dependencies.
26965
26966 * posix/bug-regex31.c: Include <stdlib.h>.
26967
26968 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26969
26970 * nis/nss_compat/compat-spwd.c
26971 (getspent_next_nss_netgr): Remove unused variable.
26972 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26973
26974 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26975 nonmembers" output to use the right array.
26976
26977 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26978
26979 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26980
26981 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26982 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26983 * catgets/gencat.c (read_input_file): Likewise.
26984 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26985
26986 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26987 variable definition inside #if's controlling its use.
26988
26989 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26990
26991 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26992
26993 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26994
26995 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26996 unreachable code.
26997
26998 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26999
b68e08db
RM
27000 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27001 * configure: Regenerated.
27002
b350afab
RM
27003 * Makerules: Revert last change.
27004 * elf/Makefile: Likewise.
27005
28368601
RM
270062011-06-09 Roland McGrath <roland@hack.frob.com>
27007
27008 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27009 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27010 (reloc-link): Likewise.
27011
11988f8f
UD
270122011-06-09 Ulrich Drepper <drepper@gmail.com>
27013
27014 * elf/Makefile: Add rules to build pldd.
27015 * elf/pldd.c: New file.
27016 * elf/pldd-xx.c: New file.
27017
e80fab37
UD
270182011-06-07 Ulrich Drepper <drepper@gmail.com>
27019
27020 * version.h: Update for 2.15 development version.
27021
9b849836
DM
270222011-06-07 David S. Miller <davem@davemloft.net>
27023
27024 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27025 ifuncs.
27026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27027 elf_machine_lazy_rel): Likewise.
27028 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27030 elf_machine_lazy_rel): Likewise.
27031 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27032 dl_hwcap via passed in argument.
27033 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27034 Likewise.
27035
5a31b283
AK
270362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27037
27038 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27039
069e52f8
RM
270402011-06-06 Roland McGrath <roland@hack.frob.com>
27041
27042 [BZ #12849]
27043 * manual/fdl-1.1.texi: New file, verbatim from:
27044 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27045 * manual/lgpl-2.1.texi: New file, verbatim from:
27046 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27047 * manual/Makefile (licenses): New variable, list those new file names.
27048 (texis): Use it.
27049 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27050
27051 * manual/fdl.texi: File removed.
27052 * manual/lesser.texi: File removed.
27053 * manual/libc.texinfo (Copying, Documentation License):
27054 Use new @include file names, put @appendix directive before @include.
27055
f16846a5
JJ
270562011-06-04 Jakub Jelinek <jakub@redhat.com>
27057
27058 [BZ #12841]
27059 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27060 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27061 (mq_open): Add __NTH.
27062
3d29045b
L
270632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27066 Assume Intel Core i3/i5/i7 processor if AVX is available.
27067
8c297311
UD
270682011-05-31 Ulrich Drepper <drepper@gmail.com>
27069
27070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27071 typo.
27072
c8fc0c91
UD
270732011-05-31 Andreas Schwab <schwab@redhat.com>
27074
27075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27076 memory. Use alloca_account. Fix memory leak when retrying.
27077
5b27a807
UD
270782011-05-31 Ulrich Drepper <drepper@gmail.com>
27079
356f8bc6
UD
27080 * version.h (RELEASE): Bump for 2.14 release.
27081 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27082
5b27a807
UD
27083 * config.make.in (RANLIB): Remove entry.
27084
01f16ab0
UD
270852011-05-30 Ulrich Drepper <drepper@gmail.com>
27086
41fce8bd
UD
27087 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27088 (libc.pot): Work around missing support for .ksh extension in xgettext.
27089
4769ae77
UD
27090 [BZ #12684]
27091 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27092 if both request failed.
27093 (send_dg): In case of server errors clear resplen or *resplen2.
27094
6b1e7d19
UD
27095 [BZ #12454]
27096 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27097 when there are multiple maps.
27098 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27099 (_dl_fini): Remove test here.
27100
01f16ab0
UD
27101 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27102
b1ebd700
UD
271032011-05-29 Ulrich Drepper <drepper@gmail.com>
27104
7ae22829
UD
27105 [BZ #12350]
27106 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27107 bit from old_res_options.
27108 (gaih_inet): Likewise.
27109
553149f6 27110 [BZ #11099]
18a84741 27111 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27112 as signed.
27113
652ffab1
UD
27114 * resolv/res_init.c (res_setoptions): Make the code more compact.
27115
16985fd0
UD
27116 [BZ #11558]
27117 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27118 set RES_USEVC.
27119
0464f746
UD
27120 [BZ #11634]
27121 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27122
7d17596c
UD
27123 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27124
cf6bbbd7
UD
27125 [BZ #11781]
27126 * malloc/malloc.h: Declare malloc hook variables as volatile.
27127
13f1ab36
UD
27128 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27129 in last patch.
27130
b1ebd700
UD
27131 [BZ #11799]
27132 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27133 raise in the comment.
80e2212d
UD
27134 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27136 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27137
ce67228d
UD
271382011-05-28 Ulrich Drepper <drepper@gmail.com>
27139
8887a920
UD
27140 [BZ #12811]
27141 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27142 grow the buffers more if it already has to be sufficient.
27143 (build_wcs_upper_buffer): Likewise.
27144 * posix/regexec.c (check_matching): Likewise.
27145 (clean_state_log_if_needed): Likewise.
27146 (extend_buffers): Don't enlarge buffers beyond size of the input
27147 buffer.
27148 Patches mostly by Emil Wojak <emil@wojak.eu>.
27149 * posix/bug-regex32.c: New file.
27150 * posix/Makefile (tests): Add bug-regex32.
27151
4f031072
UD
27152 * locale/findlocale.c (_nl_find_locale): Return right away if
27153 _nl_explode_name failed.
27154 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27155
d0478f0c
UD
27156 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27157
de81b246
UD
27158 * debug/xtrace.sh: Unify messages.
27159 * malloc/memusage.sh: Likewise.
27160
c738465a
UD
27161 [BZ #12813]
27162 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27163 time symbol from vDSO. Substitute with vsyscall if not available.
27164 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27165 __vdso_time.
27166
f1f929d7
UD
27167 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27168 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27169 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27170 Add sendmmsg and internal_sendmmsg.
27171 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27172 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27173 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27174
ce67228d
UD
27175 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27176 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27178
e57420c6
UD
271792011-05-27 Ulrich Drepper <drepper@gmail.com>
27180
a8509ca5
UD
27181 [BZ #12813]
27182 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27183 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27184 available.
27185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27186 __vdso_getcpu.
27187
e57420c6
UD
27188 [BZ #12814]
27189 * iconvdata/Makefile (tests): Add bug-iconv9.
27190 * iconvdata/bug-iconv9.c: New file.
27191
4d07db15
AS
271922011-05-27 Andreas Schwab <schwab@redhat.com>
27193
27194 [BZ #12814]
27195 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27196
ea486f69
JJ
271972011-05-25 Jakub Jelinek <jakub@redhat.com>
27198
27199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27200 (struct user_regs_struct): Change intcs field back to cs.
27201
6f038433
UD
272022011-05-25 Ulrich Drepper <drepper@gmail.com>
27203
27204 * po/ja.po: Update from translation team.
27205
67f86a25
UD
272062011-05-23 Ulrich Drepper <drepper@gmail.com>
27207
27208 [BZ #12795]
27209 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27210 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27211
def7fbd6
AS
272122011-05-20 Andreas Schwab <schwab@redhat.com>
27213
27214 * stdlib/longlong.h: Update from GCC.
27215
f50ef8f1
AS
272162011-05-23 Andreas Schwab <schwab@redhat.com>
27217
27218 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27219 parameter name.
27220 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27221 Add parameter name.
27222 (__sysconf): Pass it down.
27223
de7ce8f1
UD
272242011-05-22 Ulrich Drepper <drepper@gmail.com>
27225
f2962a71
UD
27226 [BZ #12671]
27227 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27228 some situations.
27229 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27230 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27231 add in in __libc_use_alloca calls. Adjust callers.
27232 (glob): Use malloc in some situations.
27233
de7ce8f1
UD
27234 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27235 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27236 pltexit.
27237
aec84f53
UD
272382011-05-21 Ulrich Drepper <drepper@gmail.com>
27239
05bb4a68
UD
27240 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27241 and CLOCK_BOOTTIME_ALARM.
27242
7ea72f99
UD
27243 [BZ #12782]
27244 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27245 is returned.
27246
7e4afad5
UD
27247 * string/_strerror.c (__strerror_r): Print negative errors as signed
27248 numbers.
27249
8e211fec
UD
27250 [BZ #12777]
27251 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27252 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27253 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27254
f7d82dc9
UD
27255 * configure.in: Fix typo in redirection and correct removal of test
27256 files in two cases.
27257
cc9e536d
UD
27258 [BZ #12788]
27259 * locale/setlocale.c (new_composite_name): Fix test to check for
27260 identical name of all categories.
27261
aec84f53
UD
27262 [BZ #12792]
27263 * libio/filedoalloc.c (local_isatty): New function.
27264 (_IO_file_doallocate): Use local_isatty.
27265 * stdio-common/perror.c (perror): In case a new stream is used
27266 forward the stream error.
27267 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27268 error flag.
27269
78e64fdc
RT
272702011-05-20 Ulrich Drepper <drepper@gmail.com>
27271
34a9094f
UD
27272 [BZ #11869]
27273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27274 alloca.
27275 * include/alloca.h (extend_alloca_account): Define.
27276
78e64fdc
RT
27277 [BZ #11857]
27278 * posix/regex.h: Fix comments with documentation of user-accessible
27279 fields after compilation and describe correct free'ing of pattern
27280 after re_compile_pattern.
27281 Patch by Reuben Thomas <rrt@sc3d.org>.
27282
457bddfc
RA
272832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27284
27285 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27286 and -mno-altivec to prevent the compiler from using Altivec and/or
27287 VSX instructions when the corresponding registers are not available.
27288
a4527b51
AS
272892011-05-19 Andreas Schwab <schwab@redhat.com>
27290
27291 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27292
ed690b2f
UD
272932011-05-19 Ulrich Drepper <drepper@gmail.com>
27294
27295 * libio/freopen.c (freopen): Use __dup2, not dup2.
27296 * libio/freopen64.c (freopen64): Likewise.
27297
8db73634
L
272982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27299
27300 [BZ #12775]
27301 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27302 * math/Makefile (tests): Add test-powl.
27303 (CFLAGS-test-powl.c): Define.
27304 * math/test-powl.c: New file.
27305
0a197a9d
L
273062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27307
27308 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27309
ee30c380
UD
273102011-05-17 Ulrich Drepper <drepper@gmail.com>
27311
27312 [BZ #11837]
27313 * iconvdata/gb18030.c: Update to GB18020-2005.
27314
6ce75379
UD
273152011-05-16 Ulrich Drepper <drepper@gmail.com>
27316
a4b89fd8
AR
27317 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27318 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27319 Patch by Aharon Robbins <arnold@skeeve.com>.
27320
ea389b12
UD
27321 [BZ #11892]
27322 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27323 on the stack.
27324
68a3f91f
UD
27325 [BZ #11895]
27326 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27327 through underflows.
27328
15cc7dd1
UD
27329 [BZ #12766]
27330 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27331 point to strings before performing equality test for error_one_per_line
27332 mode.
27333
f3799213
UD
27334 [BZ #11697]
27335 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27336
d79a9c94
UD
27337 [BZ #11820]
27338 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27339 (struct user_fpregs_struct): Avoid __uint*_t types.
27340
56e5eb46
UD
27341 [BZ #6420]
27342 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27343 symbol info. Use it instead of calling _dl_addr locally.
27344 (lock_and_info): New function.
27345 (tr_freehook): Call lock_and_info and pass symbol info as additional
27346 parameter to tr_where.
27347 (tr_mallochook): Likewise.
27348 (tr_reallochook): Likewise.
27349 (tr_memalignhook): Likewise.
27350
6ce75379
UD
27351 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27352 used and couldn't be at all thread-safe.
27353
f8a3b5bf
UD
273542011-05-15 Ulrich Drepper <drepper@gmail.com>
27355
94b7cc37
UD
27356 * libio/freopen.c (freopen): Don't close old file descriptor
27357 before the new one is opened. Instead dup the new file descriptor
27358 to the old one after the new stream is created.
27359 * libio/freopen64.c (freopen64): Likewise.
27360 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27361 * libio/fileops.c (_IO_new_file_close_it): Handle new
27362 _IO_FLAGS2_NOCLOSE flag.
27363 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27364 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27365 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27366 _IO_FLAGS2_NOCLOSE flag.
27367 * include/unistd.h: Add hidden_proto for dup3.
27368 Define __have_dup3.
27369 * io/dup3.c: Define hidden symbol.
27370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27371
bd25564e
UD
27372 [BZ #7101]
27373 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27374 when an incomplete long option is used.
27375 * posix/tst-getopt_long1.c: New file.
27376 * posix/Makefile (tests): Add tst-getopt_long1.
27377
c84cfef4
UD
27378 [BZ #10138]
27379 * scripts/config.guess: Update from autoconf-2.68.
27380 * scripts/config.sub: Likewise.
27381
3b85df27
UD
27382 [BZ #10157]
27383 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27384 tests into ...
27385 (has_cpuclock): ...this. New function.
27386 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27387 macro here based on has_cpuclock code.
27388
15a856b1
UD
27389 [BZ #10149]
27390 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27391 First byte (not low byte) is now always NUL.
27392 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27393
05f399e6
UD
27394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27395 Use non-cancelable interfaces.
27396
10a52685 27397 [BZ #9809]
94ecc67d
UD
27398 * locale/iso-639.def: Add entry for Sorani.
27399
f8a3b5bf
UD
27400 [BZ #11901]
27401 * include/stdlib.h: Move include protection to the right place.
27402 Define abort_msg_s. Declare __abort_msg with it.
27403 * stdlib/abort.c (__abort_msg): Adjust type.
27404 * assert/assert.c (__assert_fail_base): New function. Majority
27405 of code from __assert_fail. Allocate memory for __abort_msg with
27406 mmap.
27407 (__assert_fail): Now call __assert_fail_base.
27408 * assert/assert-perr.c: Remove bulk of implementation. Use
27409 __assert_fail_base.
27410 * include/assert.hL Declare __assert_fail_base.
27411 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27412 mmap.
27413 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27414
1af4e298
UD
274152011-05-14 Ulrich Drepper <drepper@gmail.com>
27416
f8a3b5bf 27417 [BZ #11952]
d26dfc60
MG
27418 [BZ #12453]
27419 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27420 until all modules are registered in the DTV.
27421 * elf/Makefile: Add rules to build and run tst-tls19.
27422 * elf/tst-tls19.c: New file.
27423 * elf/tst-tls19mod1.c: New file.
27424 * elf/tst-tls19mod2.c: New file.
27425 * elf/tst-tls19mod3.c: New file.
27426 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27427
2fc54d6f
UD
27428 [BZ #12083]
27429 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27430 correctly.
27431
98d76b46
UD
27432 [BZ #12601]
27433 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27434 two-byte sequence errors.
27435 * iconvdata/Makefile (tests): Add bug-iconv8.
27436 * iconvdata/bug-iconv8.c: New file.
27437
da3c19ef
UD
27438 [BZ #12626]
27439 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27440 buf2 definition.
27441
ca408c15
UD
27442 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27443
d6f67f7d
UD
27444 [BZ #12432]
27445 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27446 (dummy_getcfa): New function.
27447 (init): Get _Unwind_GetCFA address, use dummy if not found.
27448 (backtrace_helper): In recursion check, also check whether CFA changes.
27449 (__backtrace): Completely initialize arg.
27450
1af4e298 27451 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
27452 storing incomplete byte sequence in state object. Avoid testing for
27453 guaranteed too small input if we know there is enough data available.
1af4e298 27454
da62f81b
AS
274552011-05-11 Andreas Schwab <schwab@redhat.com>
27456
27457 * Makeconfig (+link-pie): Indent.
27458 * Rules (binaries-pie): Define if $(have-fpie) and
27459 $(build-shared).
27460 (binaries-shared): Also filter out $(binaries-pie).
27461 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27462 * nscd/Makefile (others-pie): Add nscd.
27463 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27464 ($(objpfx)nscd): Remove command override.
27465 * login/Makefile (others-pie): Add pt_chown.
27466 ($(objpfx)pt_chown): Remove command override.
27467 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27468 remove command overrides.
27469
fcabc0f8
UD
274702011-05-13 Ulrich Drepper <drepper@gmail.com>
27471
20030ae6
UD
27472 * libio/tst_putwc.c: Fix error messages.
27473
fcabc0f8
UD
27474 [BZ #12724]
27475 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27476 currently writing and seek to current position when not.
27477 * libio/Makefile (tests): Add bug-fclose1.
27478 * libio/bug-fclose1.c: New file.
27479
320a5dc0
PB
274802011-05-12 Ulrich Drepper <drepper@gmail.com>
27481
27482 [BZ #12511]
27483 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27484 don't set DF_1_NODELETE here.
27485 (do_lookup_x): When entering new entry test for copy relocation
27486 and if necessary set DF_1_NODELETE flag.
27487 * elf/tst-unique4.cc: New file.
27488 * elf/tst-unique4.h: New file.
27489 * elf/tst-unique4lib.cc: New file.
27490 * elf/Makefile: Add rules to build and run tst-unique4.
27491 Patch by Piotr Bury <pbury@goahead.com>.
27492
22836f52
UD
274932011-05-11 Ulrich Drepper <drepper@gmail.com>
27494
f574184a
UD
27495 [BZ #12052]
27496 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27497
e1fb097f
UD
27498 [BZ #12625]
27499 * misc/mntent_r.c (addmntent): Flush the stream after the output
27500
22836f52
UD
27501 [BZ #12393]
27502 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27503 (is_trusted_path_normalize): Skip initial colon. Append slash
27504 to empty buffer. Duplicate is_trusted_path code but allow
27505 constructed patch to be prefix.
27506 (is_dst): Allow $ORIGIN followed by /.
27507 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27508 Correct testing of result of is_trusted_path_normalize
27509 (decompose_rpath): Fix warning.
27510
7b3b0b2a
UD
275112011-05-10 Ulrich Drepper <drepper@gmail.com>
27512
27513 [BZ #11257]
27514 * grp/initgroups.c (internal_getgrouplist): When we found the service
27515 list through the initgroups entry in nsswitch.conf do not always
27516 continue on a successful lookup. Don't always use the
eac80ce2 27517 __nss_group_database value if it is set.
7b3b0b2a
UD
27518 * nss/nsswitch.conf (initgroups): Change action for successful db
27519 lookup to continue for compatibility.
27520
2a81eaa5
UD
275212011-05-09 Ulrich Drepper <drepper@gmail.com>
27522
be97a69e
UD
27523 [BZ #11532]
27524 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27525 and CP774 modules.
27526 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27527 and CP774 modules.
27528 * iconvdata/tst-tables.sh: Likewise.
27529 * iconvdata/cp770.c: New file.
27530 * iconvdata/cp771.c: New file.
27531 * iconvdata/cp772.c: New file.
27532 * iconvdata/cp773.c: New file.
27533 * iconvdata/cp774.c: New file.
27534 * iconvdata/testdata/CP770: New file.
27535 * iconvdata/testdata/CP770..UTF8: New file.
27536 * iconvdata/testdata/CP771: New file.
27537 * iconvdata/testdata/CP771..UTF8: New file.
27538 * iconvdata/testdata/CP772: New file.
27539 * iconvdata/testdata/CP772..UTF8: New file.
27540 * iconvdata/testdata/CP773: New file.
27541 * iconvdata/testdata/CP773..UTF8: New file.
27542 * iconvdata/testdata/CP774: New file.
27543 * iconvdata/testdata/CP774..UTF8: New file.
27544
27545 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27546 END CHARMAP line.
27547 * iconvdata/gen-8bit-gap.sh: Likewise.
27548 * iconvdata/gen-8bit.sh: Likewise.
27549
c1e9e399
UD
27550 * locale/iso-639.def: Add ary entry.
27551
24c55fb3 27552 [BZ #11258]
96b4b1b0
UD
27553 * locale/C-translit.h.in: Add U20A1 transliteration.
27554
bdc2f971
KB
27555 [BZ #12178]
27556 * locale/iso-639.def: Add wae entry.
27557 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27558
2952b117
UD
27559 [BZ #12545]
27560 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27561 for n.
27562
2a81eaa5
UD
27563 [BZ #12711]
27564 * locale/C-translit.h.in: Add entry for U20B9.
27565 Patch by pravin.d.s@gmail.com.
27566
28377d1b
UD
275672011-05-08 Ulrich Drepper <drepper@gmail.com>
27568
7fb90fb8
UD
27569 [BZ #12713]
27570 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27571 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
27572 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27573 in rtld. Use *stat64.
7fb90fb8 27574 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 27575 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 27576 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
27577 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27578 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27579 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27580 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27581 __fstatat64 macros.
7fb90fb8
UD
27582 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27583 * dirent/rewinddir.c: Add libc_hidden_def.
27584 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 27585 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 27586
28377d1b
UD
27587 * include/dirent.h (__alloc_dir): Add flags parameter.
27588 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27589 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27590 __alloc_dir.
27591 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27592 from fdopendir if O_CLOEXEC is already set.
27593
66bdbaa4
AM
275942011-03-15 Alan Modra <amodra@gmail.com>
27595
27596 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27597 l_tls_firstbyte_offset non-zero. Save padding offset in
27598 l_tls_firstbyte_offset for later use.
27599 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27600 freeing static tls block.
27601
95721191
JN
276022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27603
27604 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27605 where #ifdef was intended. The intent is to prevent ARG_MAX from
27606 being defined by the kernel headers.
27607
f87dfb1f
UD
276082011-05-07 Ulrich Drepper <drepper@gmail.com>
27609
27610 [BZ #12734]
27611 * resolv/resolv.h: Define RES_NOTLDQUERY.
27612 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27613 no-tld-query and set RES_NOTLDQUERY.
27614 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27615 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27616 modern BIND to search name as TLD unless forbidden.
27617
47c3cd7a
UD
276182011-05-07 Petr Baudis <pasky@suse.cz>
27619 Ulrich Drepper <drepper@gmail.com>
27620
27621 [BZ #12393]
27622 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27623 (is_trusted_path): ...to here.
c1e9ea35 27624 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 27625 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 27626 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 27627
8a35c912
PP
276282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27629
27630 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27631 __BEGIN/__END_DECLS.
27632
acd41f47
UD
276332011-05-06 Ulrich Drepper <drepper@gmail.com>
27634
27635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27636 NSS_STATUS_NOTFOUND if no record was found.
27637
597df647
AS
276382011-05-05 Andreas Schwab <schwab@redhat.com>
27639
27640 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27641 (headers-not-in-tirpc): Remove rpc/netdb.h
27642 * resolv/netdb.h: Revert last change.
27643
b9af1301
PP
276442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27645
27646 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27647 circular dependency between libgcc.a and libc.a.
27648
4e34d5f5
AS
276492011-05-05 Andreas Schwab <schwab@redhat.com>
27650
27651 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27652 * nis/Makefile: Don't install rpcsvc/*.
27653 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27654 instead of <rpc/types.h>.
27655 (MAXHOSTNAMELEN): Define.
27656
00ee369c
AS
276572011-05-03 Andreas Schwab <schwab@redhat.com>
27658
27659 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27660
0b592a30
MB
276612011-04-28 Maciej Babinski <mbabinski@google.com>
27662
27663 [BZ #12714]
27664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27665 gethostbyname4_r when IPv6 results are possible.
27666
6e04cbbe
UD
276672011-05-02 Ulrich Drepper <drepper@gmail.com>
27668
27669 [BZ #12723]
27670 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27671 _PC_PIPE_BUF handling.
27672
e4ecafe0
BH
276732011-04-30 Bruno Haible <bruno@clisp.org>
27674
27675 [BZ #12717]
27676 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27677 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27678 to 'int'.
27679 * inet/getnameinfo.c (getnameinfo): Likewise.
27680
125ee683
UD
276812011-04-29 Ulrich Drepper <drepper@gmail.com>
27682
27683 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27684 to groups setting in database lookup.
27685 * nss/nsswitch.conf: Add initgroups entry.
27686
b722481a
EB
276872011-04-22 Ulrich Drepper <drepper@gmail.com>
27688
27689 [BZ #12685]
27690 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27691 mode string.
27692 Patch by Eric Blake <eblake@redhat.com>.
27693
4df46dbd
L
276942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27695
27696 * sunrpc/Makefile (need-export-routines): Add svc_run.
27697 (routines): Remove svc_run.
27698 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27699 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27700 * sunrpc/svc_run.c (svc_run): Likewise.
27701 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27702
e84142d2
UD
277032011-04-21 Ulrich Drepper <drepper@gmail.com>
27704
27705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27706 problem in reallocation in last patch.
27707
877175d8
UD
277082011-04-20 Ulrich Drepper <drepper@gmail.com>
27709
27710 * sunrpc/Makefile: Move inclusion of Rules.
27711
ab8eed78
UD
277122011-04-19 Ulrich Drepper <drepper@gmail.com>
27713
27714 * nss/nss_files/files-initgroups.c: New file.
27715 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27716 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27717 _nss_files_initgroups_dyn.
27718
e3d8f584
RS
277192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27720
27721 * elf/elf.h (R_ARM_IRELATIVE): Define.
27722
af190f45
UD
277232011-04-19 Ulrich Drepper <drepper@gmail.com>
27724
27725 * po/ru.po: Update from translation team.
27726
53cf59ef
UD
277272011-04-17 Ulrich Drepper <drepper@gmail.com>
27728
27729 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27730 dependencies.
27731
4c559bcd
MF
277322011-02-06 Mike Frysinger <vapier@gentoo.org>
27733
27734 [BZ #12653]
27735 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27736 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27737 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27738 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27739 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27740
4420675c
AS
277412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27742
27743 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27744 differing bytes.
27745 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27748
75ea32ab
UD
277492011-04-17 Ulrich Drepper <drepper@gmail.com>
27750
27751 [BZ #12420]
27752 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27753 storing it.
27754 * stdlib/bug-getcontext.c: New file.
27755 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27756
27390476
AK
277572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27758
27759 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27760 instructions into .machine "z9-109".
27761 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27762 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27763
10442705
AK
277642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27765
27766 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27767 between environment variables and auxiliary vector.
27768
7b57bfe5
UD
277692011-04-16 Ulrich Drepper <drepper@gmail.com>
27770
27771 * Makefile: Add rules to build linkobj/libc.so.
27772 * include/libc-symbols.h: Define libc_hidden_nolink.
27773 * include/rpc/auth.h: Mark functions which are to be hidden.
27774 * include/rpc/auth_des.h: Likewise.
27775 * include/rpc/auth_unix.h: Likewise.
27776 * include/rpc/clnt.h: Likewise.
27777 * include/rpc/des_crypt.h: Likewise.
27778 * include/rpc/key_prot.h: Likewise.
27779 * include/rpc/pmap_clnt.h: Likewise.
27780 * include/rpc/pmap_prot.h: Likewise.
27781 * include/rpc/pmap_rmt.h: Likewise.
27782 * include/rpc/rpc_msg.h: Likewise.
27783 * include/rpc/svc.h: Likewise.
27784 * include/rpc/svc_auth.h: Likewise.
27785 * include/rpc/xdr.h: Likewise.
27786 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27787 * nss/Makefile: Likewise.
27788 * sunrpc/Makefile: Don't install headers. Build library with normal
27789 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27790 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27791 for the compat linking library. Remove use of INTDEF/INTUSE.
27792 * sunrpc/auth_none.c: Likewise.
27793 * sunrpc/auth_unix.c: Likewise.
27794 * sunrpc/authdes_prot.c: Likewise.
27795 * sunrpc/authuxprot.c: Likewise.
27796 * sunrpc/clnt_gen.c: Likewise.
27797 * sunrpc/clnt_perr.c: Likewise.
27798 * sunrpc/clnt_raw.c: Likewise.
27799 * sunrpc/clnt_simp.c: Likewise.
27800 * sunrpc/clnt_tcp.c: Likewise.
27801 * sunrpc/clnt_udp.c: Likewise.
27802 * sunrpc/clnt_unix.c: Likewise.
27803 * sunrpc/des_crypt.c: Likewise.
27804 * sunrpc/des_soft.c: Likewise.
27805 * sunrpc/get_myaddr.c: Likewise.
27806 * sunrpc/key_call.c: Likewise.
27807 * sunrpc/key_prot.c: Likewise.
27808 * sunrpc/netname.c: Likewise.
27809 * sunrpc/pm_getmaps.c: Likewise.
27810 * sunrpc/pm_getport.c: Likewise.
27811 * sunrpc/pmap_clnt.c: Likewise.
27812 * sunrpc/pmap_prot.c: Likewise.
27813 * sunrpc/pmap_prot2.c: Likewise.
27814 * sunrpc/pmap_rmt.c: Likewise.
27815 * sunrpc/publickey.c: Likewise.
27816 * sunrpc/rpc_cmsg.c: Likewise.
27817 * sunrpc/rpc_common.c: Likewise.
27818 * sunrpc/rpc_dtable.c: Likewise.
27819 * sunrpc/rpc_prot.c: Likewise.
27820 * sunrpc/rpc_thread.c: Likewise.
27821 * sunrpc/rtime.c: Likewise.
27822 * sunrpc/svc.c: Likewise.
27823 * sunrpc/svc_auth.c: Likewise.
27824 * sunrpc/svc_authux.c: Likewise.
27825 * sunrpc/svc_raw.c: Likewise.
27826 * sunrpc/svc_run.c: Likewise.
27827 * sunrpc/svc_simple.c: Likewise.
27828 * sunrpc/svc_tcp.c: Likewise.
27829 * sunrpc/svc_udp.c: Likewise.
27830 * sunrpc/svc_unix.c: Likewise.
27831 * sunrpc/svcauth_des.c: Likewise.
27832 * sunrpc/xcrypt.c: Likewise.
27833 * sunrpc/xdr.c: Likewise.
27834 * sunrpc/xdr_array.c: Likewise.
27835 * sunrpc/xdr_float.c: Likewise.
27836 * sunrpc/xdr_intXX_t.c: Likewise.
27837 * sunrpc/xdr_mem.c: Likewise.
27838 * sunrpc/xdr_rec.c: Likewise.
27839 * sunrpc/xdr_ref.c: Likewise.
27840 * sunrpc/xdr_sizeof.c: Likewise.
27841 * sunrpc/xdr_stdio.c: Likewise.
27842
e6c61494
UD
278432011-04-10 Ulrich Drepper <drepper@gmail.com>
27844
27845 [BZ #12650]
27846 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27847 * sysdeps/ia64/dl-tls.h: Likewise.
27848 * sysdeps/powerpc/dl-tls.h: Likewise.
27849 * sysdeps/s390/dl-tls.h: Likewise.
27850 * sysdeps/sh/dl-tls.h: Likewise.
27851 * sysdeps/sparc/dl-tls.h: Likewise.
27852 * sysdeps/x86_64/dl-tls.h: Likewise.
27853 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27854
34fe483e
AS
278552011-03-14 Andreas Schwab <schwab@redhat.com>
27856
27857 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27858 rpath element also skip the following colon.
27859 (expand_dynamic_string_token): Add is_path parameter and pass
27860 down to DL_DST_REQUIRED and _dl_dst_substitute.
27861 (decompose_rpath): Call expand_dynamic_string_token with
27862 non-zero is_path. Ignore empty rpaths.
27863 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27864 with zero is_path.
27865
f12a32e6
AS
278662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27867
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27869 Make cancelable.
27870
38a7d692
UD
278712011-04-09 Ulrich Drepper <drepper@gmail.com>
27872
27873 [BZ #12655]
27874 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27875 Patch by Filipe David Manana <fdmanana@apache.org>.
27876
e451d22b
AS
278772011-04-07 Andreas Schwab <schwab@redhat.com>
27878
27879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27880 Maintain aligned stack.
27881 (CHECK_RSP): Remove unused macro.
27882
dedc7c7b
UD
278832011-04-03 Ulrich Drepper <drepper@gmail.com>
27884
27885 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27886 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27887
94521213
UD
278882011-04-02 Ulrich Drepper <drepper@gmail.com>
27889
27890 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27891
8cb700c0 27892 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27893
0354e355
L
278942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27895
27896 [BZ #12518]
27897 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27898 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27899 * sysdeps/x86_64/memmove.c: New file.
27900 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27901 (memcpy): Renamed to ...
27902 (__new_memcpy): This.
27903 (memcpy): Provide GLIBC_2_14 memcpy.
27904 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27905 (memcpy): Provide GLIBC_2_2_5 memcpy.
27906
8593482f
UD
279072011-04-01 Ulrich Drepper <drepper@gmail.com>
27908
27909 [BZ #12631]
27910 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27911
81a5726b
AS
279122011-03-30 Andreas Schwab <schwab@redhat.com>
27913
27914 * misc/syncfs.c: New file.
27915 * misc/Makefile (routines): Add syncfs.
27916 * posix/unistd.h: Declare syncfs.
27917 * sysdeps/unix/syscalls.list: Add syncfs.
27918
00e5419f
AS
279192011-04-01 Andreas Schwab <schwab@redhat.com>
27920
27921 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27922 open_by_handle_at.
27923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27926 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27928 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27930
748876bf
UD
279312011-04-01 Ulrich Drepper <drepper@gmail.com>
27932
658e451d
UD
27933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27937 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27940
748876bf
UD
27941 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27942 sync_file_range.c with -fexceptions.
27943 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27944 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27945 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27946 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27947 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27948 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27950 sync_file_range as cancellation point
27951 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27952 now a wrapper around __call_sync_file_range with cancellation handling.
27953 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27954 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27955 function name to __call_sync_file_range.
27956 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27957 Add call_sync_file_range.
748876bf 27958
6e63d5e1
AS
279592011-04-01 Andreas Schwab <schwab@redhat.com>
27960
27961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27962 bits/timex.h.
6e63d5e1 27963
46998f74
UD
279642011-04-01 Ulrich Drepper <drepper@gmail.com>
27965
4c1423ed
UD
27966 * iconv/iconv.h: Fix typo in comment.
27967 * io/fcntl.h: Likewise.
27968 * libio/stdio.h: Likewise.
27969 * posix/spawn.h: Likewise.
27970 * posix/unistd.h: Likewise.
27971 * stdlib/stdlib.h: Likewise.
27972 * time/time.h: Likewise.
27973 * wcsmbs/wchar.h: Likewise.
27974
158648c0
UD
27975 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27976 open_by_handle): Add.
27977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27978 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27979 Augment a few comments.
27980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27985 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27986 open_by_handle.
27987
46998f74
UD
27988 * io/fcntl.h (AT_EMPTY_PATH): Define.
27989
83fe108b
UD
279902011-03-30 Ulrich Drepper <drepper@gmail.com>
27991
27992 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27993 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27994 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27995 to...
27996 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27997 * Versions.def: Add GLIBC_2.14.
27998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27999 Export.
83fe108b 28000
bb242059
UD
280012011-03-22 Ulrich Drepper <drepper@gmail.com>
28002
28003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28004 round counter.
28005 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28006
c97a1282
L
280072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28008
28009 [BZ #12597]
28010 * string/test-strncmp.c (do_page_test): New function.
28011 (check2): Likewise.
28012 (test_main): Call check2.
28013 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28014
2a115601
UD
280152011-03-20 Ulrich Drepper <drepper@gmail.com>
28016
28017 [BZ #12587]
28018 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28019 Handle cache information in CPU leaf 4.
28020 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28021
8126d904
UD
280222011-03-18 Ulrich Drepper <drepper@gmail.com>
28023
042c49c6 28024 [BZ #12583]
8126d904
UD
28025 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28026 character representation.
28027 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28028
ccfe366e
RA
280292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28030
28031 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28032 END(__isnan) to END(__isnanf) to match function entry point/label
28033 EALIGN(__isnanf,...).
28034
c6e13027
JJ
280352011-03-10 Jakub Jelinek <jakub@redhat.com>
28036
28037 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28038
33f85a3f
UD
280392011-03-10 Ulrich Drepper <drepper@gmail.com>
28040
028478fa
UD
28041 [BZ #12510]
28042 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28043 copy from the symbol referenced in the relocation to initialize the
28044 used variable.
28045 Patch by Piotr Bury <pbury@goahead.com>.
28046 * elf/Makefile: Add rules to build and tst-unique3.
28047 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28048 * elf/tst-unique3.cc: New file.
28049 * elf/tst-unique3.h: New file.
28050 * elf/tst-unique3lib.cc: New file.
28051 * elf/tst-unique3lib2.cc: New file.
28052
33f85a3f
UD
28053 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28054
03592fc7
MF
280552011-03-10 Mike Frysinger <vapier@gentoo.org>
28056
28057 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28058 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28059 to _start.
03592fc7 28060
6a5ee102
UD
280612011-03-06 Ulrich Drepper <drepper@gmail.com>
28062
28063 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28064 to-be-loaded object along a path to loader is ld.so.
28065
7e4ba49c
HJ
280662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28067 Ulrich Drepper <drepper@gmail.com>
28068
28069 * sysdeps/x86_64/memset.S: After aligning destination, code
28070 branches to different locations depending on the value of
28071 misalignment, when multiarch is enabled. Fix this.
28072
280732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28074
28075 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28076 Set _x86_64_preferred_memory_instruction for AMD processsors.
28077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28078 Set bit_Prefer_SSE_for_memop for AMD processors.
28079
13a804de
UD
280802011-03-04 Ulrich Drepper <drepper@gmail.com>
28081
28082 * libio/fmemopen.c (fmemopen): Optimize a bit.
28083
9d25c392
AS
280842011-03-03 Andreas Schwab <schwab@redhat.com>
28085
28086 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28087
a5543c6a
RM
280882011-03-03 Roland McGrath <roland@redhat.com>
28089
28090 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28091
012d35f7
DM
280922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28093
7e4ba49c 28094 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28095 __bzero_ultra1 instead of __memset_ultra1.
28096
4bff6e01
AS
280972011-02-23 Andreas Schwab <schwab@redhat.com>
28098 Ulrich Drepper <drepper@gmail.com>
28099
28100 [BZ #12509]
28101 * include/link.h (struct link_map): Add l_orig_initfini.
28102 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28103 returning unsuccessfully.
28104 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28105 close of a file loaded at startup, restore the original l_initfini
28106 list.
28107 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28108 list, store the pointer.
28109 * elf/Makefile ($(objpfx)noload-mem): New rule.
28110 (noload-ENV): Define.
28111 (tests): Add $(objpfx)noload-mem.
28112 * elf/noload.c: Include <memcheck.h>.
28113 (main): Call mtrace. Close all opened handles.
28114
f2092faf
AS
281152011-02-17 Andreas Schwab <schwab@redhat.com>
28116
28117 [BZ #12454]
28118 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28119 dependencies are missing.
28120
6c8a2e88
ST
281212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28122
f2092faf 28123 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28124 Hurd needs munmap.
28125 * sysdeps/mach/hurd/ifreq.h: New file.
28126
84a42118
PB
281272011-01-27 Petr Baudis <pasky@suse.cz>
28128 Ulrich Drepper <drepper@gmail.com>
28129
071f805e 28130 [BZ 12445]#
84a42118
PB
28131 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28132 to extend_alloca().
28133 * stdio-common/bug23.c: New file.
28134 * stdio-common/Makefile (tests): Add bug23.
28135
e23fe25b
AS
281362010-09-28 Andreas Schwab <schwab@redhat.com>
28137 Ulrich Drepper <drepper@gmail.com>
28138
28139 [BZ #12489]
28140 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28141 before performing relro protection. At old place add assertion
28142 to make sure nothing changed.
28143
d3f02e10
NS
281442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28145 Glauber de Oliveira Costa <glommer@gmail.com>
28146
28147 * elf/elf.h: Add new ARM TLS relocs.
28148
d55fd7a5
RA
281492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28150
28151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28152 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28153 cast from r3.
28154 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28155 'tests' variable.
28156 * sysdeps/wordsize-64/tst-writev.c: New file.
28157
2206397e
RA
281582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28159
28160 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28161 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28162 insns in _dl_start to prevent a TOC reference before relocs are
28163 resolved.
28164
e9433893
UD
281652011-02-15 Ulrich Drepper <drepper@gmail.com>
28166
28167 [BZ #12469]
28168 * Makeconfig: Remove RANLIB definition.
28169 * Makerules: Don't use RANLIB.
28170 * aclocal.m4: Remove ranlib test.
28171 * configure.in: No need to check for ranlib.
28172 * elf/rtld-Rules: Don't use RANLIB.
28173
f75286c6
ST
281742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28175
8e31c82d
ST
28176 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28177 protection macro.
28178 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28179 inclusion protection macro.
28180
f75286c6
ST
28181 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28182 SIGRTMIN and SIGRTMAX and print information in that case only when
28183 SIGRTMIN is defined.
28184
c1d0e639
JJ
281852011-02-11 Jakub Jelinek <jakub@redhat.com>
28186
28187 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28188 arginfo fn returning -1.
28189
28190 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28191 and thousands string is zero terminated.
28192
edf9294e
AS
281932011-02-03 Andreas Schwab <schwab@redhat.com>
28194
28195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28196 sysdeps/unix/sysv/linux/bits/socket.h.
28197
2b7e92df
ST
281982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28199
edf9294e
AS
28200 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28201 (__CPU_COUNT): Remove old macros.
28202 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28203 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28204 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28205 (__sched_cpualloc, __sched_cpufree): Add declarations.
28206
a4c7ea7b
UD
282072011-02-05 Ulrich Drepper <drepper@gmail.com>
28208
28209 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28210 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28211 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28212 (readdhstai): Return value of addhstaiX call.
28213 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28214 (addgrbyX): Return value returned by cache_addgr.
28215 (readdgrbyname): Return value returned by addgrbyX.
28216 (readdgrbygid): Likewise.
28217 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28218 (addpwbyX): Return value returned by cache_addpw.
28219 (readdpwbyname): Return value returned by addhstbyX.
28220 (readdpwbyuid): Likewise.
28221 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28222 (addservbyX): Return value returned by cache_addserv.
28223 (readdservbyname): Return value returned by addservbyX:
28224 (readdservbyport): Likewise.
28225 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28226 (addhstbyX): Return value returned by cache_addhst.
28227 (readdhstbyname): Return value returned by addhstbyX.
28228 (readdhstbyaddr): Likewise.
28229 (readdhstbynamev6): Likewise.
28230 (readdhstbyaddrv6): Likewise.
28231 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28232 (readdinitgroups): Return value returned by addinitgroupsX.
28233 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28234 (prune_cache): Keep track of timeout value of re-added entries.
28235 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28236 * nscd/nscd.h: Adjust prototypes of readd* functions.
28237
a0bf67cc
RM
282382011-02-04 Roland McGrath <roland@redhat.com>
28239
28240 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28241 (nis_stats): Likewise.
28242 * nis/nis_modify.c (nis_modify): Likewise.
28243 * nis/nis_remove.c (nis_remove): Likewise.
28244 * nis/nis_add.c (nis_add): Likewise.
28245
28246 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28247
28248 * posix/fnmatch_loop.c: Add some consts.
28249
28250 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28251
435b95eb
L
282522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28253
28254 [BZ #12460]
28255 * config.make.in (config-cflags-novzeroupper): Define.
28256 * configure.in: Substitute libc_cv_cc_novzeroupper.
28257 * elf/Makefile (AVX-CFLAGS): Define.
28258 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28259 (CFLAGS-tst-auditmod4a.c): Likewise.
28260 (CFLAGS-tst-auditmod4b.c): Likewise.
28261 (CFLAGS-tst-auditmod6b.c): Likewise.
28262 (CFLAGS-tst-auditmod6c.c): Likewise.
28263 (CFLAGS-tst-auditmod7b.c): Likewise.
28264 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28265
8517b15e
UD
282662011-02-02 Ulrich Drepper <drepper@gmail.com>
28267
28268 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28269 function to the callback.
28270 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28271
10a656fe
AS
282722011-02-02 Andreas Schwab <schwab@redhat.com>
28273
28274 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28275 of errno.
28276
968dad0a
UD
282772011-01-19 Ulrich Drepper <drepper@gmail.com>
28278
9f94d2ea 28279 [BZ #11724]
968dad0a
UD
28280 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28281 of constructors.
28282 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28283 of destructors.
28284 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28285
28286 [BZ #11724]
28287 * elf/Makefile: Add rules to build and run new test.
28288 * elf/tst-initorder.c: New file.
28289 * elf/tst-initorder.exp: New file.
28290 * elf/tst-initordera1.c: New file.
28291 * elf/tst-initordera2.c: New file.
28292 * elf/tst-initordera3.c: New file.
28293 * elf/tst-initordera4.c: New file.
28294 * elf/tst-initorderb1.c: New file.
28295 * elf/tst-initorderb2.c: New file.
28296 * elf/tst-order-a1.c: New file.
28297 * elf/tst-order-a2.c: New file.
28298 * elf/tst-order-a3.c: New file.
28299 * elf/tst-order-a4.c: New file.
28300 * elf/tst-order-b1.c: New file.
28301 * elf/tst-order-b2.c: New file.
28302 * elf/tst-order-main.c: New file.
28303 New test case by George Gensure <werkt0@gmail.com>.
28304
86e92359
UD
283052010-10-01 Andreas Schwab <schwab@redhat.com>
28306
28307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28308 decoding ACE if AI_CANONIDN.
28309
5d5732b0
UD
283102011-01-18 Ulrich Drepper <drepper@gmail.com>
28311
28312 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28313
a77e8cbc
UD
283142011-01-17 Ulrich Drepper <drepper@gmail.com>
28315
6392473f
UD
28316 * version.h (RELEASE): Bump for 2.13 release.
28317 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28318
620a0529
UD
28319 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28320
18ba70a5
UD
28321 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28322 MADV_NOHUGEPAGE.
32465c3e
UD
28323 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28324 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28325 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28326 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28327 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28328 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28329
c0dafcf1
UD
28330 * posix/getconf.c: Update copyright year.
28331 * catgets/gencat.c: Likewise.
28332 * csu/version.c: Likewise.
28333 * debug/catchsegv.sh: Likewise.
28334 * debug/xtrace.sh: Likewise.
28335 * elf/ldconfig.c: Likewise.
28336 * elf/ldd.bash.in: Likewise.
28337 * elf/sprof.c (print_version): Likewise.
28338 * iconv/iconv_prog.c: Likewise.
28339 * iconv/iconvconfig.c: Likewise.
28340 * locale/programs/locale.c: Likewise.
28341 * locale/programs/localedef.c: Likewise.
28342 * malloc/memusage.sh: Likewise.
28343 * malloc/mtrace.pl: Likewise.
28344 * nscd/nscd.c (print_version): Likewise.
28345 * nss/getent.c: Likewise.
28346
a77e8cbc
UD
28347 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28348 PF_CAIF, and PF_ALG.
28349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28350
77e8bddf
AS
283512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28352
1f20b93a
AS
28353 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28354 (modules-names): Use them.
28355 (ifunc-test-modules, ifunc-pie-tests): Define.
28356 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28357 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28358 (test-extras): Likewise.
28359 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28360 $(compile-command.c).
28361 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28362 (all-built-dso): Define.
28363 (check-textrel.out, check-execstack.out): Depend on it.
28364
77e8bddf
AS
28365 * configure.in: Don't override --enable-multi-arch.
28366
bc425b33
UD
283672011-01-15 Ulrich Drepper <drepper@gmail.com>
28368
28369 [BZ #6812]
28370 * nscd/hstcache.c (tryagain): Define.
28371 (cache_addhst): Return tryagain not notfound for temporary errors.
28372 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28373 failed.
28374
794c3ad3
UD
283752011-01-14 Ulrich Drepper <drepper@gmail.com>
28376
70181fdd
UD
28377 [BZ #10563]
28378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28379 to make the syscall.
28380 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28381
794c3ad3
UD
28382 [BZ #12378]
28383 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28384 and fall back to matching as normal character if the string ends before
28385 the matching ']' is found. This is what POSIX requires.
28386 * posix/testfnm.c: Adjust test result.
28387 * posix/globtest.sh: Adjust test result. Add new test.
28388 * posix/tst-fnmatch.input: Likewise.
28389 * posix/tst-fnmatch2.c: Add new test.
28390
68dc9497
AS
283912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28392
28393 * elf/Makefile (check-execstack): Revert last change. Depend on
28394 check-execstack.h.
28395 (check-execstack.h): New target.
28396 (generated): Add check-execstack.h.
28397 * elf/check-execstack.c: Include "check-execstack.h".
28398 (main): Revert last change.
28399 (handle_file): Return zero if GNU_STACK is absent and
28400 DEFAULT_STACK_PERMS doesn't include PF_X.
28401
451f001b
UD
284022011-01-13 Ulrich Drepper <drepper@gmail.com>
28403
cfa28e56
UD
28404 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28405 in child fails because the descriptor is already closed.
8cf8ce17
UD
28406 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28407 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 28409
1086d70d
UD
28410 [BZ #12397]
28411 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28412 syscall.
28413
451f001b
UD
28414 [BZ #10484]
28415 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28416 temporary buffer used to handle multi lookups locally.
a85b5cb4 28417 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 28418
08769175
UD
284192011-01-12 Ulrich Drepper <drepper@gmail.com>
28420
28421 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28422 loader is ld.so.
28423
5e49c52e
UD
284242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28425
28426 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28427 alignment for SSE2.
28428
60522a5f
UD
284292011-01-12 Ulrich Drepper <drepper@gmail.com>
28430
28431 [BZ #12394]
28432 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28433 characters. When rounding increased number of integer digits recompute
28434 number of groups.
28435 * stdio-common/tst-grouping.c: New file.
28436 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28437
f257bbd7
UD
284382011-01-09 Ulrich Drepper <drepper@gmail.com>
28439
28440 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28441 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28442
28443 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28444 void.
28445 * bits/select.h: Likewise.
28446
fa9c15cb
UD
284472011-01-08 Ulrich Drepper <drepper@gmail.com>
28448
28449 * po/ja.po: Update from translation team.
28450
16c2895f
DM
284512011-01-04 David S. Miller <davem@sunset.davemloft.net>
28452
28453 [BZ #11155]
28454 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28455 implementation just like for lxstat, fxstatat, et al.
28456
2543fef2
JM
284572010-12-27 Jim Meyering <meyering@redhat.com>
28458
28459 [BZ #12348]
28460 * posix/regexec.c (build_trtable): Return failure indication upon
28461 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28462
98727dbe
UD
284632010-12-25 Ulrich Drepper <drepper@gmail.com>
28464
5bd6dc5c
UD
28465 [BZ #12201]
28466 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28467 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28468 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28469 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28470
97983464
UD
28471 [BZ #12207]
28472 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28473
98727dbe
UD
28474 [BZ #12204]
28475 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28476 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28477
4a531bb0
L
284782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28479
28480 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28481 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28482 script has SORT_BY_INIT_PRIORITY.
28483 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28484 NO_CTORS_DTORS_SECTIONS is defined.
28485 * elf/soinit.c: Likewise.
28486 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28487 NO_CTORS_DTORS_SECTIONS is defined.
28488 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28489 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28490 * sysdeps/sh/init-first.c: Likewise.
28491 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28492
07eb4b71
UD
284932010-12-24 Ulrich Drepper <drepper@gmail.com>
28494
28495 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28496 always use the slow path.
28497
30950a5f
RA
284982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28499
28500 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28501 similar rule which adds the sysdep directories to the header search in
28502 order to pick up the correct platform stackinfo.h.
28503 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28504 perform test if it is, otherwise return successfully without testing.
28505 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28506 DEFAULT_STACK_PERMS define in stackinfo.h.
28507 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28508 defined in stackinfo.h.
28509 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28510 DEFAULT_STACK_PERMS defined in stackinfo.h.
28511 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28512 * sysdeps/ia64/stackinfo.h: Likewise.
28513 * sysdeps/s390/stackinfo.h: Likewise.
28514 * sysdeps/sh/stackinfo.h: Likewise.
28515 * sysdeps/sparc/stackinfo.h: Likewise.
28516 * sysdeps/x86_64/stackinfo.h: Likewise.
28517 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28518 PF_X for powerpc64. Retain PF_X for powerpc32.
28519
db753e2c
UD
285202010-12-19 Ulrich Drepper <drepper@gmail.com>
28521
14b697f7
UD
28522 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28523 accurately.
db753e2c
UD
28524 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28525 GETDENTS_64BIT_ALIGNED.
28526
28300719
UD
285272010-12-14 Ulrich Drepper <dreper@gmail.com>
28528
14b697f7 28529 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 28530
4f197237
AS
285312010-12-10 Andreas Schwab <schwab@redhat.com>
28532
dbb0472f
AS
28533 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28534 _GNU_SOURCE.
28535
4f197237
AS
28536 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28537 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28538 Remove __restrict.
28539 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28540 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28541
fb88ac72
UD
285422010-12-09 Ulrich Drepper <drepper@gmail.com>
28543
28544 [BZ #11655]
28545 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28546 are initialized.
28547
42acbb92
JJ
285482010-12-09 Jakub Jelinek <jakub@redhat.com>
28549
28550 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28551
c038d98d
UD
285522010-12-03 Ulrich Drepper <drepper@gmail.com>
28553
28554 * po/it.po: Update from translation team.
28555
3a4a2499
L
285562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28557
28558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28559 unused codes.
28560
1e24cf6e
UD
285612010-11-30 Ulrich Drepper <drepper@gmail.com>
28562
28563 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28564
a7690819
AS
285652010-11-24 Andreas Schwab <schwab@redhat.com>
28566
28567 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28568 specially.
28569 (gaih_getanswer_slice): Likewise.
28570
3bf8d1b1
JJ
285712010-10-20 Jakub Jelinek <jakub@redhat.com>
28572
28573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28574
6db52fbb
PB
285752010-05-31 Petr Baudis <pasky@suse.cz>
28576
28577 [BZ #11149]
28578 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28579 silently even in the chroot mode.
28580
eaca7569
UD
285812010-11-22 Ulrich Drepper <drepper@gmail.com>
28582
28583 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28584 last patch a bit. Pretty printing
28585
3056dcdb
UD
285862010-05-31 Petr Baudis <pasky@suse.cz>
28587
28588 [BZ #10085]
28589 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28590 initialization of skip_initgroups_dyn.
28591
cf7c9078
UD
285922010-11-19 Ulrich Drepper <drepper@gmail.com>
28593
28594 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28596
a1fb5e3e
UD
285972010-11-16 Ulrich Drepper <drepper@gmail.com>
28598
28599 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28600
3540d66b
AS
286012010-11-11 Andreas Schwab <schwab@redhat.com>
28602
28603 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28604 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28605 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28606 ($(objpfx)tst-fnmatch-mem): New rule.
28607 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28608 * posix/tst-fnmatch.c (main): Call mtrace.
28609
13b69574
L
286102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28611
28612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28613 Support Intel processor model 6 and model 0x2c.
28614
da93d214
LM
286152010-11-10 Luis Machado <luisgpm@br.ibm.com>
28616
28617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28618 signed comparison.
28619
8ca52c6e
L
286202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 [BZ #12205]
28623 * string/test-strncasecmp.c (check_result): New function.
28624 (do_one_test): Use it.
28625 (check1): New function.
28626 (test_main): Use it.
28627 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28628 Support strcasecmp and strncasecmp.
28629
69da074d
UD
286302010-11-08 Ulrich Drepper <drepper@gmail.com>
28631
28632 [BZ #12194]
28633 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28634 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28635
ff02d528
L
286362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28637
28638 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28639 IFUNC support.
28640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28641 memset-x86-64.
28642 * sysdeps/x86_64/multiarch/bzero.S: New file.
28643 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28644 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28645 * sysdeps/x86_64/multiarch/memset.S: New file.
28646 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28648 Set bit_Prefer_SSE_for_memop for Intel processors.
28649 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28650 Define.
28651 (index_Prefer_SSE_for_memop): Define.
28652 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28653
344d0b54
LM
286542010-11-04 Luis Machado <luisgpm@br.ibm.com>
28655
28656 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28657 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28658
c0dde15b
UD
286592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 [BZ #12191]
28662 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28663 (__x86_64_raw_data_cache_size_half): Likewise.
28664 (__x86_64_raw_shared_cache_size): Likewise.
28665 (__x86_64_raw_shared_cache_size_half): Likewise.
28666
28667 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28668 (__x86_64_raw_data_cache_size_half): Likewise.
28669 (__x86_64_raw_shared_cache_size): Likewise.
28670 (__x86_64_raw_shared_cache_size_half): Likewise.
28671 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28672 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28673 and __x86_64_raw_shared_cache_size_half. Round
28674 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28675 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28676 to multiple of 256 bytes.
28677
0e516e0e
MS
286782010-11-03 Ulrich Drepper <drepper@gmail.com>
28679
28680 [BZ #12167]
28681 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28682 of inacessible symlinks. Verify result of symlink before returning it.
28683 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28684 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28685
0e012e87
ER
286862010-10-28 Erich Ritz <erichritz@gmail.com>
28687
28688 * math/math.h (isinf): Fix typo in comment.
28689
de0ff7bc
UD
286902010-11-01 Ulrich Drepper <drepper@gmail.com>
28691
28692 * po/da.po: Update from translation team.
28693
fa41c84d
UD
286942010-10-26 Ulrich Drepper <drepper@gmail.com>
28695
28696 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28697 is added to the list.
28698
f0967738
AK
286992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28700 Ulrich Drepper <drepper@gmail.com>
28701
28702 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28703 the global list here. Move code to...
28704 (_dl_add_to_namespace_list): ...here. New function.
28705 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28706 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28707 * elf/dl-load.c (lose): Don't remove the element from the list.
28708 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28709 (_dl_map_object): Likewise.
28710
287112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
28712
28713 [BZ #12159]
28714 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28715 into all bytes of SSE register.
28716 Patch by Richard Li <richardpku@gmail.com>.
28717
f0967738 287182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
28719
28720 [BZ #12140]
28721 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28722 perturbing.
28723
d0b9e94f
MB
287242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28725
28726 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28727 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28728 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28729 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28731 submachine.
28732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28733
8e9f92e9
AS
287342010-10-22 Andreas Schwab <schwab@redhat.com>
28735
28736 * include/dlfcn.h (__RTLD_SECURE): Define.
28737 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28738 mode & __RTLD_SECURE instead.
28739 (open_path): Rename preloaded parameter to secure.
28740 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28741 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28742 * elf/dl-deps.c (openaux): Likewise.
28743 * elf/rtld.c (struct map_args): Remove is_preloaded.
28744 (map_doit): Don't use it.
28745 (dl_main): Likewise.
28746 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28747 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28748
bc96fbda
AS
287492010-09-09 Andreas Schwab <schwab@redhat.com>
28750
28751 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28752 (sysd-rules-targets): Remove duplicates.
28753 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28754 rtld-%.$o dependency.
28755
22cd1c9b
AS
287562010-10-18 Andreas Schwab <schwab@redhat.com>
28757
28758 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28759 _dl_map_object do it.
28760
18edac48
UD
287612010-10-19 Ulrich Drepper <drepper@gmail.com>
28762
28763 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28764 fast fma builtins, define the macros in the C99 standard.
28765 (FP_FAST_FMAF): Likewise.
28766 (FP_FAST_FMAL): Likewise.
28767 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28768
28769 * bits/mathdef.h: Update copyright year.
28770 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28771
d2050124
MM
287722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28773
28774 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28775 builtins, define the macros in the C99 standard.
28776 (FP_FAST_FMAF): Likewise.
28777 (FP_FAST_FMAL): Likewise.
28778 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28779 multiply/add.
28780 (FP_FAST_FMAF): Likewise.
28781
475facd1
JJ
287822010-10-15 Jakub Jelinek <jakub@redhat.com>
28783
28784 [BZ #3268]
28785 * math/libm-test.inc (fma_test): Some new testcases.
28786 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28787 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28788 y and infinite z. Do multiplication by C already in long double.
28789 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28791 y and infinite z. Do bitwise or of inexact bit into u.d.
28792 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28793 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28794 * sysdeps/i386/fpu/s_fma.S: Removed.
28795 * sysdeps/i386/fpu/s_fmal.S: Removed.
28796
7c08a05c
JJ
287972010-10-16 Jakub Jelinek <jakub@redhat.com>
28798
28799 [BZ #3268]
28800 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28802 computation is not scheduled after fetestexcept. Fix value
28803 of minimum denormal long double.
28804
f3f7372d
JJ
288052010-10-14 Jakub Jelinek <jakub@redhat.com>
28806
28807 [BZ #3268]
28808 * math/libm-test.inc (fma_test): Add some more tests.
28809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28810 correctly.
28811
14d43591
AS
288122010-10-15 Andreas Schwab <schwab@redhat.com>
28813
28814 * scripts/data/localplt-s390-linux-gnu.data: New file.
28815 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28816
5e908464
JJ
288172010-10-13 Jakub Jelinek <jakub@redhat.com>
28818
28819 [BZ #3268]
28820 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28821 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28822 instead of dbl-64.
28823 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28824 inlines.
28825 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28827 if one of x and y is very large and the other is subnormal.
28828 * sysdeps/s390/fpu/s_fmaf.c: New file.
28829 * sysdeps/s390/fpu/s_fma.c: New file.
28830 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28831 * sysdeps/powerpc/fpu/s_fma.S: New file.
28832 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28833 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28834 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28835
288362010-10-12 Jakub Jelinek <jakub@redhat.com>
28837
28838 [BZ #3268]
28839 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28840 fma tests.
28841 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28842 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28843 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28844 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28845 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28846 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28847 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28848
b833d51f
UD
288492010-10-12 Ulrich Drepper <drepper@redhat.com>
28850
28851 [BZ #12078]
28852 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28853 * posix/bug-regex31.input: Add test case.
28854
1751705d
UD
288552010-10-11 Ulrich Drepper <drepper@gmail.com>
28856
e9b9cbf5
UD
28857 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28858 * posix/bug-regex31.input: New file.
28859
28860 [BZ #12078]
28861 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28862 (parse_sub_exp): Fix last change, use postorder.
28863
ef06edbe
UD
28864 * posix/bug-regex31.c: New file.
28865 * posix/Makefile: Add rules to build and run bug-regex31.
28866
a129c80d
UD
28867 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28868
28869 [BZ #12078]
28870 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28871
b76b818e
UD
28872 [BZ #12108]
28873 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28874 to have entries in sys_siglist.
28875
1751705d
UD
28876 [BZ #12093]
28877 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28878 be NULL.
28879
9ff8d36f
JJ
288802010-10-07 Jakub Jelinek <jakub@redhat.com>
28881
28882 [BZ #3268]
28883 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28884 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28885 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28886 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28887 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28888 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28889 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28890 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28891 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28892 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28893 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28894 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28895 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28896 * math/ftestexcept.c (fetestexcept): Likewise.
28897 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28898 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28899 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28900 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28901 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28902 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28903 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28904
af325969
UD
289052010-10-11 Ulrich Drepper <drepper@gmail.com>
28906
c579b202 28907 [BZ #12107]
af325969
UD
28908 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28909 newline.
28910
67a67b95
UD
289112010-10-06 Ulrich Drepper <drepper@gmail.com>
28912
28913 * string/bug-strstr1.c: New file.
28914 * string/Makefile: Add rules to build and run bug-strstr1.
28915
5fb308bc
EB
289162010-10-05 Eric Blake <eblake@redhat.com>
28917
28918 [BZ #12092]
28919 * string/str-two-way.h (two_way_long_needle): Always clear memory
28920 when skipping input due to the shift table.
28921
45db99c7
UD
289222010-10-03 Ulrich Drepper <drepper@gmail.com>
28923
3b111893
UD
28924 [BZ #12005]
28925 * malloc/mcheck.c: Handle large requests.
28926
45db99c7
UD
28927 [BZ #12077]
28928 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28929 for strncmp and strncasecmp.
28930 * string/stratcliff.c: Add tests for strcmp and strncmp.
28931 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28932
cf7a1eb8
NI
289332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28934
28935 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28936 __set_fpscr.
28937
6484ba5e
AJ
289382010-09-30 Andreas Jaeger <aj@suse.de>
28939
28940 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28941 (CGROUP_SUPER_MAGIC): Define.
28942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28943 Handle btrfs and cgroup file systems.
28944 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28945 Likewise.
28946
91c42559
LM
289472010-09-27 Luis Machado <luisgpm@br.ibm.com>
28948
28949 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28950 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28951
87a97932
AK
289522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28953
28954 [BZ #12067]
28955 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28956 trying to locate the ELF header.
28957
c21cc9bc
AS
289582010-09-27 Andreas Schwab <schwab@redhat.com>
28959
28960 [BZ #11611]
28961 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28962 Mask out sign-bit copies when constructing f_fsid.
28963
315970f6
PB
289642010-09-24 Petr Baudis <pasky@suse.cz>
28965
28966 * debug/stack_chk_fail_local.c: Add missing licence exception.
28967 * debug/warning-nop.c: Likewise.
28968
1ac7a2c7
JM
289692010-09-15 Joseph Myers <joseph@codesourcery.com>
28970
28971 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28972 implementing getdents64 using getdents syscall, set d_type if
28973 __ASSUME_GETDENTS32_D_TYPE.
28974
56801c50
AS
289752010-09-16 Andreas Schwab <schwab@redhat.com>
28976
28977 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28978 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28979
dda51327
UD
289802010-09-21 Ulrich Drepper <drepper@redhat.com>
28981
28982 [BZ #12037]
28983 * posix/unistd.h: Undo change of feature selection for ftruncate from
28984 2010-01-11.
28985
8ffcee4a
UD
289862010-09-20 Ulrich Drepper <drepper@redhat.com>
28987
a545ecd9 28988 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28989 detection.
28990
e24f0a8b
AS
289912010-09-20 Andreas Schwab <schwab@redhat.com>
28992
28993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28994 fanotify_mark.
28995 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28996
7291c56f
AS
289972010-09-14 Andreas Schwab <schwab@redhat.com>
28998
28999 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29000 variables after CHECK_SP call.
29001 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29002
bc5fb037
AS
290032010-09-13 Andreas Schwab <schwab@redhat.com>
29004 Ulrich Drepper <drepper@redhat.com>
29005
29006 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29007 re-relocationg ld.so.
29008 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29009 _dl_init_paths call.
29010 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29011 here anymore.
29012
e66e7419
UD
290132010-09-14 Ulrich Drepper <drepper@redhat.com>
29014
29015 * resolv/res_init.c (__res_vinit): Count the default server we added.
29016
c044aa75
CLT
290172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29018 Ulrich Drepper <drepper@redhat.com>
29019
29020 [BZ #11968]
29021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29022 (____longjmp_chk): Use %ebx for saving value across system call.
29023 Add unwind info.
29024
32cf4069
AS
290252010-09-06 Andreas Schwab <schwab@redhat.com>
29026
29027 * manual/Makefile: Don't mix pattern rules with normal rules.
29028
817328ee
AS
290292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29030
29031 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29032 operation.
29033 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29034 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29035 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29036 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29038 Likewise.
29039
29fddf61
UD
290402010-09-04 Ulrich Drepper <drepper@redhat.com>
29041
29042 [BZ #11979]
29043 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29044 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29045
0959ffc9
UD
290462010-09-02 Ulrich Drepper <drepper@redhat.com>
29047
29048 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29049 * sysdeps/x86_64/addmul_1.S: Likewise.
29050 * sysdeps/x86_64/lshift.S: Likewise.
29051 * sysdeps/x86_64/mul_1.S: Likewise.
29052 * sysdeps/x86_64/rshift.S: Likewise.
29053 * sysdeps/x86_64/sub_n.S: Likewise.
29054 * sysdeps/x86_64/submul_1.S: Likewise.
29055
ece29840
ST
290562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29057
0959ffc9
UD
29058 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29059 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29060 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29061 * bits/sched.h [__need_schedparam]
ece29840 29062 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29063 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29064 (__defined_schedparam): Define to 1.
ece29840
ST
29065 (__sched_param): New structure, identical to sched_param.
29066 (__need_schedparam): Undefine.
29067
e53a31fe
MF
290682010-08-31 Mike Frysinger <vapier@gentoo.org>
29069
fdc0c10d
MF
29070 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29071 (epoll_create1): Declare.
29072
e53a31fe
MF
29073 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29074
a726d796
AS
290752010-08-31 Andreas Schwab <schwab@redhat.com>
29076
29077 [BZ #7066]
29078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29079 shifting retval into place.
29080
2f3e3dc7
UD
290812010-09-01 Ulrich Drepper <drepper@redhat.com>
29082
f2933da9
UD
29083 * nis/rpcsvc/nis.h: Update copyright notice.
29084 * nis/rpcsvc/nis.x: Likewise.
29085 * nis/rpcsvc/nis_callback.h: Likewise.
29086 * nis/rpcsvc/nis_callback.x: Likewise.
29087 * nis/rpcsvc/nis_object.x: Likewise.
29088 * nis/rpcsvc/nis_tags.h: Likewise.
29089 * nis/rpcsvc/yp.h: Likewise.
29090 * nis/rpcsvc/yp.x: Likewise.
29091 * nis/rpcsvc/ypupd.h: Likewise.
29092 * nis/yp_xdr.c: Likewise.
29093 * nis/ypupdate_xdr.c: Likewise.
29094
2f3e3dc7
UD
29095 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29096 mainly the body of pmap_getport. Add parameters to specify timeouts.
29097 (pmap_getport): Use __libc_rpc_getport.
29098 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29099 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29100 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29101
f3dcc2f9
AS
291022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29103
29104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29105 fanotify_mark.
29106
6d34eb5b
RM
291072010-08-27 Roland McGrath <roland@redhat.com>
29108
29109 * sysdeps/i386/i686/multiarch/Makefile
29110 (CFLAGS-varshift.c): New variable.
29111
9ea3de11
UD
291122010-08-27 Ulrich Drepper <drepper@redhat.com>
29113
c96d23fc
UD
29114 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29115 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29116
9ea3de11
UD
29117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29118
29119 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29120
623aac7f
L
291212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29122
29123 * sysdeps/x86_64/strlen.S: Unroll the loop.
29124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29125 strlen-sse2 strlen-sse2-bsf.
29126 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29127 __strlen_no_bsf if bit_Slow_BSF is set.
29128 (__strlen_sse42): Removed.
29129 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29130 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29131
8b2b7715
RM
291322010-08-25 Roland McGrath <roland@redhat.com>
29133
29134 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29135 * sysdeps/x86_64/multiarch/varshift.c: New file.
29136 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29137 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29138 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29139 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29140
e73015f2
L
291412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29142
29143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29144 strlen-sse2 strlen-sse2-bsf.
29145 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29146 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29147 (__strlen_sse2): Removed.
29148 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29151 bit_Slow_BSF for Atom.
29152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29153 (index_Slow_BSF): Define.
29154 (HAS_SLOW_BSF): Define.
29155
df24a73e
UD
291562010-08-25 Ulrich Drepper <drepper@redhat.com>
29157
29158 [BZ #10851]
29159 * resolv/res_init.c (__res_vinit): When no server address at all
29160 is given default to loopback.
29161
f2ac4868
RM
291622010-08-24 Roland McGrath <roland@redhat.com>
29163
09055553
RM
29164 * configure.in: Remove config-name.h generation.
29165 * configure: Regenerated.
29166 * config-name.in: File removed.
29167 * scripts/config-uname.sh: New file.
29168 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29169 ($(objdir)config-name.h): New target.
29170
f2ac4868
RM
29171 * sunrpc/rpc_parse.h: Avoid nested comment.
29172
73f27d5e
RH
291732010-08-24 Richard Henderson <rth@redhat.com>
29174 Ulrich Drepper <drepper@redhat.com>
29175 H.J. Lu <hongjiu.lu@intel.com>
29176
29177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29179 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29180 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29181 _mm_alignr_epi8 with _mm_loadu_si128.
29182 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29183 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29184 (__m128i_shift_right): Removed.
29185 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29186 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29187 * sysdeps/x86_64/multiarch/varshift.h: New file.
29188 * sysdeps/x86_64/multiarch/varshift.S: New file.
29189
84b9230c
MF
291902010-08-21 Mike Frysinger <vapier@gentoo.org>
29191
29192 * configure.in: Move assembler checks to before sysdep dir checking.
29193
9bbd0ddc
PB
291942010-08-20 Petr Baudis <pasky@suse.cz>
29195
29196 * LICENSES: Sync the sunrpc license.
29197
9da4bb31
UD
291982010-08-19 Ulrich Drepper <drepper@redhat.com>
29199
a7ab6ec8
UD
29200 * sunrpc/auth_des.c: Update copyright notice once again.
29201 * sunrpc/auth_none.c: Likewise.
29202 * sunrpc/auth_unix.c: Likewise.
29203 * sunrpc/authdes_prot.c: Likewise.
29204 * sunrpc/authuxprot.c: Likewise.
29205 * sunrpc/bindrsvprt.c: Likewise.
29206 * sunrpc/clnt_gen.c: Likewise.
29207 * sunrpc/clnt_perr.c: Likewise.
29208 * sunrpc/clnt_raw.c: Likewise.
29209 * sunrpc/clnt_simp.c: Likewise.
29210 * sunrpc/clnt_tcp.c: Likewise.
29211 * sunrpc/clnt_udp.c: Likewise.
29212 * sunrpc/clnt_unix.c: Likewise.
29213 * sunrpc/des_crypt.c: Likewise.
29214 * sunrpc/des_soft.c: Likewise.
29215 * sunrpc/get_myaddr.c: Likewise.
29216 * sunrpc/getrpcport.c: Likewise.
29217 * sunrpc/key_call.c: Likewise.
29218 * sunrpc/key_prot.c: Likewise.
29219 * sunrpc/openchild.c: Likewise.
29220 * sunrpc/pm_getmaps.c: Likewise.
29221 * sunrpc/pm_getport.c: Likewise.
29222 * sunrpc/pmap_clnt.c: Likewise.
29223 * sunrpc/pmap_prot.c: Likewise.
29224 * sunrpc/pmap_prot2.c: Likewise.
29225 * sunrpc/pmap_rmt.c: Likewise.
29226 * sunrpc/rpc/auth.h: Likewise.
29227 * sunrpc/rpc/auth_unix.h: Likewise.
29228 * sunrpc/rpc/clnt.h: Likewise.
29229 * sunrpc/rpc/des_crypt.h: Likewise.
29230 * sunrpc/rpc/key_prot.h: Likewise.
29231 * sunrpc/rpc/netdb.h: Likewise.
29232 * sunrpc/rpc/pmap_clnt.h: Likewise.
29233 * sunrpc/rpc/pmap_prot.h: Likewise.
29234 * sunrpc/rpc/pmap_rmt.h: Likewise.
29235 * sunrpc/rpc/rpc.h: Likewise.
29236 * sunrpc/rpc/rpc_des.h: Likewise.
29237 * sunrpc/rpc/rpc_msg.h: Likewise.
29238 * sunrpc/rpc/svc.h: Likewise.
29239 * sunrpc/rpc/svc_auth.h: Likewise.
29240 * sunrpc/rpc/types.h: Likewise.
29241 * sunrpc/rpc/xdr.h: Likewise.
29242 * sunrpc/rpc_clntout.c: Likewise.
29243 * sunrpc/rpc_cmsg.c: Likewise.
29244 * sunrpc/rpc_common.c: Likewise.
29245 * sunrpc/rpc_cout.c: Likewise.
29246 * sunrpc/rpc_dtable.c: Likewise.
29247 * sunrpc/rpc_hout.c: Likewise.
29248 * sunrpc/rpc_main.c: Likewise.
29249 * sunrpc/rpc_parse.c: Likewise.
29250 * sunrpc/rpc_parse.h: Likewise.
29251 * sunrpc/rpc_prot.c: Likewise.
29252 * sunrpc/rpc_sample.c: Likewise.
29253 * sunrpc/rpc_scan.c: Likewise.
29254 * sunrpc/rpc_scan.h: Likewise.
29255 * sunrpc/rpc_svcout.c: Likewise.
29256 * sunrpc/rpc_tblout.c: Likewise.
29257 * sunrpc/rpc_util.c: Likewise.
29258 * sunrpc/rpc_util.h: Likewise.
29259 * sunrpc/rpcinfo.c: Likewise.
29260 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29261 * sunrpc/rpcsvc/key_prot.x: Likewise.
29262 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29263 * sunrpc/rpcsvc/mount.x: Likewise.
29264 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29265 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29266 * sunrpc/rpcsvc/rex.x: Likewise.
29267 * sunrpc/rpcsvc/rstat.x: Likewise.
29268 * sunrpc/rpcsvc/rusers.x: Likewise.
29269 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29270 * sunrpc/rpcsvc/spray.x: Likewise.
29271 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29272 * sunrpc/rtime.c: Likewise.
29273 * sunrpc/svc.c: Likewise.
29274 * sunrpc/svc_auth.c: Likewise.
29275 * sunrpc/svc_authux.c: Likewise.
29276 * sunrpc/svc_raw.c: Likewise.
29277 * sunrpc/svc_run.c: Likewise.
29278 * sunrpc/svc_simple.c: Likewise.
29279 * sunrpc/svc_tcp.c: Likewise.
29280 * sunrpc/svc_udp.c: Likewise.
29281 * sunrpc/svc_unix.c: Likewise.
29282 * sunrpc/svcauth_des.c: Likewise.
29283 * sunrpc/xcrypt.c: Likewise.
29284 * sunrpc/xdr.c: Likewise.
29285 * sunrpc/xdr_array.c: Likewise.
29286 * sunrpc/xdr_float.c: Likewise.
29287 * sunrpc/xdr_mem.c: Likewise.
29288 * sunrpc/xdr_rec.c: Likewise.
29289 * sunrpc/xdr_ref.c: Likewise.
29290 * sunrpc/xdr_sizeof.c: Likewise.
29291 * sunrpc/xdr_stdio.c: Likewise.
29292
9da4bb31
UD
29293 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29294 handling.
29295
bdaa77bc
AS
292962010-08-19 Andreas Schwab <schwab@redhat.com>
29297
29298 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29299
fe2f79db
LM
293002010-08-19 Luis Machado <luisgpm@br.ibm.com>
29301
29302 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29303 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29304 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29305 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29306 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29307 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29308 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29309 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29311 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29312 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29313 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29314 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29315 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29316
b9b42ee0
AB
293172010-07-26 Anton Blanchard <anton@samba.org>
29318
29319 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29320 * malloc/arena.c (heap_trim): Likewise.
29321
1c06ba31
UD
293222010-08-16 Ulrich Drepper <drepper@redhat.com>
29323
29324 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29325 here. Not...
29326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29327 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29328
f8392f40
L
293292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 * sysdeps/i386/elf/Makefile: New file.
29332
3162f12e
AS
293332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29334
29335 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29336 from fanotify_init.
29337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29339
28c90b2c
UD
293402010-08-15 Ulrich Drepper <drepper@redhat.com>
29341
29342 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29343 of strncasecmp_l.
1feccb6c 29344 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29345
ca6bb004
UD
293462010-08-14 Ulrich Drepper <drepper@redhat.com>
29347
e9f82e0d
UD
29348 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29349 strncase_l-nonascii.
29350 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29351 Add strncase_l-ssse3.
29352 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29353 * sysdeps/x86_64/strcmp.S: Likewise.
29354 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29355 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29356 * sysdeps/x86_64/strncase.S: New file.
29357 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29358 * sysdeps/x86_64/strncase_l.S: New file.
29359 * string/Makefile (strop-tests): Add strncasecmp.
29360 * string/test-strncasecmp.c: New file.
29361
29362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29363 warning.
29364
ca6bb004
UD
29365 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29366 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29367
052fa7b3
AS
293682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29369
29370 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29371
962dba78
UD
293722010-08-12 Ulrich Drepper <drepper@redhat.com>
29373
29374 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29375 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29376 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29377
bebff237
AM
293782010-05-01 Alan Modra <amodra@gmail.com>
29379
29380 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29381 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29382 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29383 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29384 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29385 tidying. Don't tail-call __sigjmp_save for static lib.
29386 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29387 save location.
29388 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29389 (CALL_MCOUNT): Add eh info, and nop after bl.
29390 (TAIL_CALL_SYSCALL_ERROR): New macro.
29391 (PSEUDO_RET): Use it.
29392 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29393 Correct save location of integer regs and cr.
29394 (_dl_profile_resolve): Correct cr save location. Delete nops
29395 after bl when SHARED. Reduce cfi size a little by better
29396 placement of cfi directives.
29397 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29398 make a stack frame. Instead use parm save area as a temp.
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29400 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29402 Don't make a stack frame for parent, use parm save area.
29403 Increase child stack frame to 112 bytes. Don't save unused reg,
29404 and adjust reg usage. Set up cfi on error recovery and
29405 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29407 (__makecontext): Add dummy nop after jump to exit.
29408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29409 Use correct parm save area and cr save, reduce stack frame.
29410 Correct cfi for possible PSEUDO_RET frame setup.
29411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29412 Branch to local label emitted by PSEUDO_RET rather than
29413 __syscall_error.
29414
02637374
AS
294152010-08-12 Andreas Schwab <schwab@redhat.com>
29416
29417 [BZ #11904]
29418 * locale/programs/locale.c (print_assignment): New function.
29419 (show_locale_vars): Use it.
29420
c3e2f19b
UD
294212010-08-11 Ulrich Drepper <drepper@redhat.com>
29422
3cdaa6ad
UD
29423 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29424 field.
29425 (struct statfs64): Likewise.
29426 (_STATFS_F_FLAGS): Define.
29427 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29428 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29429 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29430 (ST_VALID): Define locally.
29431 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29432 __statvfs_getflags, use the provided value.
29433 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29434 __ASSUME_STATFS_F_FLAGS.
29435
754f7da3
UD
29436 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29437
10b3bedc
UD
29438 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29439 Add sys/fanotify.h.
29440 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29441 fanotify_mask for GLIBC_2.13.
29442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29443 fanotify_init and fanotify_mark.
29444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29445 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29446
c08fb0d7
UD
29447 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29448 Add prlimit.
29449 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29450 prlimit64 for GLIBC_2.13.
29451 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29452 prlimit64.
29453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29454 syscall.
29455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29456 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29457 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29458 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29460 add prlimit alias.
29461 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29462
15bac72b
UD
29463 [BZ #11903]
29464 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29465 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29466
c3e2f19b
UD
29467 * nss/Makefile: Add rules to build and run tst-nss-test1.
29468 * shlib-versions: Add entry for libnss_test1.
29469 * nss/nss_test1.c: New file.
29470 * nss/tst-nss-test1.c: New file.
29471
29472 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29473 (__nss_configure_lookup): Set appropriate entry in
29474 __nss_configure_lookup to true.
29475 * nss/nsswitch.h: Define enum with indeces of databases in
29476 databases and __nss_database_custom arrays. Declare
29477 __nss_database_custom.
29478 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29479 to avoid using nscd when custom rules are installed.
29480 * nss/getXXbyYY_r.c: Likewise.
29481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29482
29483 * nss/nss_files/files-parse.c: Whitespace fixes.
29484
f15ce4d8
UD
294852010-08-09 Ulrich Drepper <drepper@redhat.com>
29486
29487 [BZ #11883]
29488 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29489 * posix/fnmatch_loop.c: Likewise.
29490
d22e4cc9
AK
294912010-07-17 Andi Kleen <ak@linux.intel.com>
29492
29493 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29494 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29495 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29496 * Versions.def [GLIBC_2.13]: Add.
29497
805bc17d
UD
294982010-08-06 Ulrich Drepper <drepper@redhat.com>
29499
29500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29501 Also fail if tpwd after pwuid call is NULL.
29502
5a42321d
ST
295032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29504
29505 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29506 when converting to ms.
29507
fd3ebeda
ST
295082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29509
29510 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29511 EOPNOTSUPP errors with ENOTTY.
29512 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29513 EOPNOTSUPP errors with ENOTTY.
29514
73507d3a
UD
295152010-07-31 Ulrich Drepper <drepper@redhat.com>
29516
29517 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29518 Add strcasecmp_l-ssse3.
29519 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29520 strcasecmp.
29521 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29522 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29523 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29524
fe36dd02
UD
295252010-07-30 Ulrich Drepper <drepper@redhat.com>
29526
66f6765a
UD
29527 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29528
42e08a54
UD
29529 * string/Makefile (strop-tests): Add strcasecmp.
29530 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29531 strcasecmp_l-nonascii.
29532 (gen-as-const-headers): Add locale-defines.sym.
29533 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29534 * sysdeps/x86_64/strcasecmp.S: New file.
29535 * sysdeps/x86_64/strcasecmp_l.S: New file.
29536 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29537 * sysdeps/x86_64/locale-defines.sym: New file.
29538 * string/test-strcasecmp.c: New file.
29539
fe36dd02
UD
29540 * string/test-strcasestr.c: Test both ends of the range of characters.
29541 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29542
48cbc0d6
RM
295432010-07-29 Roland McGrath <roland@redhat.com>
29544
76e6d6bc 29545 [BZ #11856]
48cbc0d6
RM
29546 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29547
880113d9
UD
295482010-07-27 Ulrich Drepper <drepper@redhat.com>
29549
29550 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29551 for ld.so.
29552
deb9cabb
AS
295532010-07-27 Andreas Schwab <schwab@redhat.com>
29554
29555 * manual/memory.texi (Malloc Tunable Parameters): Document
29556 M_PERTURB.
29557
1c7570ff
RM
295582010-07-26 Roland McGrath <roland@redhat.com>
29559
29560 [BZ #11840]
29561 * configure.in (-fgnu89-inline check): Set and substitute
29562 gnu89_inline, not libc_cv_gnu89_inline.
29563 * configure: Regenerated.
29564 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29565
24fb0f88
UD
295662010-07-26 Ulrich Drepper <drepper@redhat.com>
29567
29568 * string/test-strnlen.c: New file.
29569 * string/Makefile (strop-tests): Add strnlen.
29570 * string/tester.c (test_strnlen): Add a few more test cases.
29571 * string/tst-strlen.c: Better error reporting.
29572
29573 * sysdeps/x86_64/strnlen.S: New file.
29574
8e96b93a
UD
295752010-07-24 Ulrich Drepper <drepper@redhat.com>
29576
29577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29578 lower-latency instructions.
29579
dbc676d4
UD
295802010-07-23 Ulrich Drepper <drepper@redhat.com>
29581
29582 * string/test-strcasestr.c: New file.
29583 * string/test-strstr.c: New file.
29584 * string/Makefile (strop-tests): Add strstr and strcasestr.
29585 * string/str-two-way.h: Don't undefine MAX.
29586 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29587
f6a31e0e
AS
295882010-07-21 Andreas Schwab <schwab@redhat.com>
29589
29590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29591 strcasestr-nonascii.
29592 (CFLAGS-strcasestr-nonascii.c): Define.
29593 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29594 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29595 Remove unused attribute.
29596
5dbc3b6c
RM
295972010-07-20 Roland McGrath <roland@redhat.com>
29598
29599 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29600 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29601 ld.so.cache was broken. With it, there is no way to disable dsocaps
29602 like LD_HWCAP_MASK can disable hwcaps.
29603
23d101d8
EPM
296042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29605
29606 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29607
cc9f2e47
UD
296082010-07-16 Ulrich Drepper <drepper@redhat.com>
29609
29610 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29611 call in strcasestr.
29612 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29613 __strcasestr_sse42_nonascii.
29614 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29615 strcasestr-nonascii.c.
29616 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29617
77c1b069
LM
296182010-06-15 Luis Machado <luisgpm@br.ibm.com>
29619
29620 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29622 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29623 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29624
440566c3
UD
296252010-07-09 Ulrich Drepper <drepper@redhat.com>
29626
29627 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29628 fcntl.
29629
5be9d05d
AS
296302010-07-06 Andreas Schwab <schwab@redhat.com>
29631
c30b7ee2 29632 [BZ #11577]
5be9d05d
AS
29633 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29634 dl_signal_cerror.
29635
8a492a67
UD
296362010-07-06 Ulrich Drepper <drepper@redhat.com>
29637
29638 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29639 _PC_PIPE_BUF using F_GETPIPE_SZ.
29640
713df3d5
RM
296412010-07-05 Roland McGrath <roland@redhat.com>
29642
29643 * manual/arith.texi (Rounding Functions): Fix rint description
29644 implicit in round description.
29645
702e8f14
UD
296462010-07-02 Ulrich Drepper <drepper@redhat.com>
29647
29648 * elf/Makefile: Fix linking for a few tests to make recent linker
29649 happy.
29650
52ed8be9
AS
296512010-06-30 Andreas Schwab <schwab@redhat.com>
29652
29653 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29654 $(common-objpfx)libc_nonshared.a.
29655
f47c9a11
LM
296562010-06-21 Luis Machado <luisgpm@br.ibm.com>
29657
29658 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29659 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29660 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29661 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29662 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29663 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29664 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29665 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29680 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29681 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29682 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29683 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29684 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29685 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29686 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29687 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29688 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29689 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29690 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29691 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29706
6fb8cbcb
L
297072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29708
29709 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29710 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29711 * string/memmove.c (memmove): Renamed to ...
29712 (MEMMOVE): ...this. Default to memmove.
29713 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29714 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29715 (END_CHK): Define.
29716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29717 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29718 mempcpy-ssse3-back memmove-ssse3-back.
29719 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29722 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29723 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29724 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29725 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29726 * sysdeps/x86_64/multiarch/memmove.c: New file.
29727 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29728 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29729 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29730 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29731 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29733 Define.
29734 (index_Fast_Copy_Backward): Define.
29735 (HAS_ARCH_FEATURE): Define.
29736 (HAS_FAST_REP_STRING): Define.
29737 (HAS_FAST_COPY_BACKWARD): Define.
29738
4e733bac 297392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
29740
29741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29742 Restore proper fallback handling.
29743
63c4ed22
UD
297442010-06-19 Ulrich Drepper <drepper@redhat.com>
29745
ac2b484c
UD
29746 [BZ #11701]
29747 * posix/group_member.c (__group_member): Correct checking loop.
29748
63c4ed22
UD
29749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29750 OOM in getpwuid_r correctly. Return error number when the caller
29751 should return, otherwise -1.
29752 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29753 call returning > 0 value.
29754 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29755
765ade4b
AS
297562010-06-07 Andreas Schwab <schwab@redhat.com>
29757
29758 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29759 libc_nonshared.a from targets in modules-names.
29760
80da2e09
KS
297612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29762
29763 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29764 requires it.
29765
158db122
LM
297662010-06-10 Luis Machado <luisgpm@br.ibm.com>
29767
29768 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29769 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29772
caa78cf8
AS
297732010-06-02 Andreas Schwab <schwab@redhat.com>
29774
29775 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29776
b2ef2c01
UD
297772010-06-14 Ulrich Drepper <drepper@redhat.com>
29778
29779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29780 and F_GETPIPE_SZ.
29781 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29783 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29787
fbd643b6
RM
297882010-06-14 Roland McGrath <roland@redhat.com>
29789
29790 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29791
f32f2869
JJ
297922010-06-07 Jakub Jelinek <jakub@redhat.com>
29793
29794 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29795 __REDIRECT followed by __THROW.
29796 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29797 * posix/getopt.h (getopt): Likewise.
29798
2a50c078
EPM
297992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29800
29801 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29802 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29803 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29804 in AT_FLAGS.
29805 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29806 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29807
eb5ad2eb
LM
298082010-05-28 Luis Machado <luisgpm@br.ibm.com>
29809
29810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29811
3c88fe1e
L
298122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29813
29814 [BZ #11640]
29815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29816 Properly check family and model.
29817
d2f73151
TY
298182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29819
29820 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29821
ebd2e13d
LM
298222010-05-24 Luis Machado <luisgpm@br.ibm.com>
29823
29824 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29825
b32b8b45
UD
298262010-05-21 Ulrich Drepper <drepper@redhat.com>
29827
29828 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29829 symbol reference.
29830
9acbe24d
AS
298312010-05-19 Andreas Schwab <schwab@redhat.com>
29832
29833 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29834 symbol reference.
29835
f0ccf6ea
AS
298362010-05-21 Andreas Schwab <schwab@redhat.com>
29837
3d04ff3a
AS
29838 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29839 and internal_recvmmsg.
29840 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29841 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29842 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29843 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29844
f0ccf6ea
AS
29845 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29846 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29847 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29848
5b08ac57
AS
298492010-05-20 Andreas Schwab <schwab@redhat.com>
29850
29851 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29852
4828935d
LM
298532010-05-17 Luis Machado <luisgpm@br.ibm.com>
29854
29855 POWER7 optimizations.
29856 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29857 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29858
373d545e
UD
298592010-05-19 Ulrich Drepper <drepper@redhat.com>
29860
29861 * version.h: Update for 2.13 development version.
29862
21a2b1ae
AS
298632010-05-12 Andrew Stubbs <ams@codesourcery.com>
29864
29865 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29866 exceptions. Return 0.
29867
3f7dcb2b
RM
298682010-05-07 Roland McGrath <roland@redhat.com>
29869
29870 * elf/ldconfig.c (main): Add a const.
29871
5f24d53a 298722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29873
a160f8d8
UD
29874 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29875 (args_options): Add no-idn option.
29876 (ahosts_keys_int): Add idn_flags to ai_flags.
29877 (parse_option): Handle 'i' option to clear idn_flags.
29878
5f24d53a
UD
29879 * malloc/malloc.c (_int_free): Possible race in the most recently
29880 added check. Only act on the data if no current modification
29881 happened.
265bb1ce
UD
29882
29883See ChangeLog.17 for earlier changes.