]> sourceware.org Git - glibc.git/blame - ChangeLog
Faster memcpy on x64.
[glibc.git] / ChangeLog
CommitLineData
2d48b41c
OB
12013-05-20 Ondřej Bílka <neleai@seznam.cz>
2
3 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5 __memcpy_sse2_unaligned ifunc selection.
6 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7 Add memcpy-sse2-unaligned.S.
8 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9 Add: __memcpy_sse2_unaligned.
10
f16cc3eb
JM
112013-05-19 Joseph Myers <joseph@codesourcery.com>
12
3e694268
JM
13 [BZ #15490]
14 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15 math_force_eval before restoring floating-point envrionment.
16 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18 Likewise.
19 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20 <math_private.h>.
21 (__nearbyintl): Use math_force_eval before restoring
22 floating-point environment.
23 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24
db62a907
JM
25 * math/gen-libm-test.pl (special_functions): Remove.
26 (parse_args): Don't handle TEST_extra. Handle functions with no
27 return value.
28 * math/libm-test.inc (struct test_sincos_data): Replace with
29 struct test_fFF_11_data.
30 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32 (sincos_test_data): Change element type to struct
33 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
34 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35 RUN_TEST_LOOP_sincos.
36 * math/README.libm-test: Don't mention special handling of
37 individual functions.
38 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44
f16cc3eb
JM
45 * math/gen-libm-test.pl (get_variable): Remove function.
46 (parse_args): Don't show pointer parameters to call in test
47 names. Use "extra output N" in test names for extra outputs
48 rather than naming variables.
49
3779b5b6
JM
502013-05-18 Joseph Myers <joseph@codesourcery.com>
51
2ee094ff
JM
52 [BZ #15488]
53 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
54 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56 double tests.
57 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58 disable.
59 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60 check_long_double.
61
3779b5b6
JM
62 * math/gen-libm-test.pl (@tests): Remove variable.
63 ($count): Likewise.
64 (new_test): Remove function.
65 (show_exceptions): New function.
66 (special_functions): Use show_exceptions instead of new_test.
67 (parse_args): Likewise.
68 (generate_testfile): Pass only function name in generated call to
69 print_max_error or print_complex_max_error.
70 (get_ulps): Do not handle complex tests specially.
71 (output_test): Rename to ...
72 (get_all_ulps_for_test): ... this. Return a string rather than
73 printing to a file. Require ulps to be present.
74 (output_ulps): Generate arrays rather than #defines.
75 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
76 (struct ulp_data): New type.
77 (BUILD_COMPLEX_ULP): Remove macro.
78 (compare_ulp_data): New function.
79 (find_ulps): Likewise.
80 (find_test_ulps): Likewise.
81 (find_function_ulps): Likewise.
82 (find_complex_function_ulps): Likewise.
83 (print_max_error): Determine allowed ulps using
84 find_function_ulps.
85 (print_complex_max_error): Determine allowed ulps using
86 find_complex_function_ulps.
87 (check_float_internal): Determine max ulps using find_test_ulps.
88 (check_float): Do not take max_ulp parameter. Update call to
89 check_float_internal.
90 (check_complex): Likewise.
91 (check_int): Do not take max_ulp parameter.
92 (check_long): Likewise.
93 (check_bool): Likewise.
94 (check_longlong): Likewise.
95 (struct test_f_f_data): Remove max_ulp field.
96 (struct test_ff_f_data): Likewise.
97 (struct test_ff_f_data_nexttoward): Likewise.
98 (struct test_fi_f_data): Likewise.
99 (struct test_fl_f_data): Likewise.
100 (struct test_if_f_data): Likewise.
101 (struct test_fff_f_data): Likewise.
102 (struct test_c_f_data): Likewise.
103 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
104 (struct test_fF_f1_data): Likewise.
105 (struct test_ffI_f1_data): Likewise.
106 (struct test_c_c_data): Remove max_ulp field.
107 (struct test_cc_c_data): Likewise.
108 (struct test_f_i_data): Likewise.
109 (struct test_ff_i_data): Likewise.
110 (struct test_f_l_data): Likewise.
111 (struct test_f_L_data): Likewise.
112 (struct test_sincos_data): Likewise.
113 (RUN_TEST_f_f): Do not handle ulps.
114 (RUN_TEST_LOOP_f_f): Likewise.
115 (RUN_TEST_2_f): Likewise.
116 (RUN_TEST_LOOP_2_f): Likewise.
117 (RUN_TEST_fff_f): Likewise.
118 (RUN_TEST_LOOP_fff_f): Likewise.
119 (RUN_TEST_c_f): Likewise.
120 (RUN_TEST_LOOP_c_f): Likewise.
121 (RUN_TEST_f_f1): Likewise.
122 (RUN_TEST_LOOP_f_f1): Likewise.
123 (RUN_TEST_fF_f1): Likewise.
124 (RUN_TEST_LOOP_fF_f1): Likewise.
125 (RUN_TEST_fI_f1): Likewise.
126 (RUN_TEST_LOOP_fI_f1): Likewise.
127 (RUN_TEST_ffI_f1): Likewise.
128 (RUN_TEST_LOOP_ffI_f1): Likewise.
129 (RUN_TEST_c_c): Likewise.
130 (RUN_TEST_LOOP_c_c): Likewise.
131 (RUN_TEST_cc_c): Likewise.
132 (RUN_TEST_LOOP_cc_c): Likewise.
133 (RUN_TEST_f_i): Likewise.
134 (RUN_TEST_LOOP_f_i): Likewise.
135 (RUN_TEST_f_i_tg): Likewise.
136 (RUN_TEST_LOOP_f_i_tg): Likewise.
137 (RUN_TEST_ff_i_tg): Likewise.
138 (RUN_TEST_LOOP_ff_i_tg): Likewise.
139 (RUN_TEST_f_b): Likewise.
140 (RUN_TEST_LOOP_f_b): Likewise.
141 (RUN_TEST_f_b_tg): Likewise.
142 (RUN_TEST_LOOP_f_b_tg): Likewise.
143 (RUN_TEST_f_l): Likewise.
144 (RUN_TEST_LOOP_f_l): Likewise.
145 (RUN_TEST_f_L): Likewise.
146 (RUN_TEST_LOOP_f_L): Likewise.
147 (RUN_TEST_sincos): Likewise.
148 (RUN_TEST_LOOP_sincos): Likewise.
149
8269107f
JM
1502013-05-17 Joseph Myers <joseph@codesourcery.com>
151
bb38759d
JM
152 [BZ #15480]
153 [BZ #15485]
154 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
155 main case of finite arguments, set rounding mode to FE_TONEAREST
156 and discard exceptions.
157 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
158 exceptions.
159 (remainder_tonearest_test_data): New variable.
160 (remainder_test_tonearest): New function.
161 (remainder_towardzero_test_data): New variable.
162 (remainder_test_towardzero): New function.
163 (remainder_downward_test_data): New variable.
164 (remainder_test_downward): New function.
165 (remainder_upward_test_data): New variable.
166 (remainder_test_upward): New function.
167 (main): Call the new test functions.
168
a00bdcf0
JM
169 * math/libm-test.inc (struct test_f_f1_data): Remove field
170 extra_init.
171 (struct test_fF_f1_data): Likewise.
172 (struct test_ffI_f1_data): Likewise.
173 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
174 based on value of EXTRA_EXPECTED.
175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
176 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
177 EXTRA_VAR based on value of EXTRA_EXPECTED.
178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
179 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
180 EXTRA_VAR based on value of EXTRA_EXPECTED.
181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
182 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
183 EXTRA_VAR based on value of EXTRA_EXPECTED.
184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
185 * math/gen-libm-test.pl (parse_args): Don't output initializers
186 for extra output values.
187
de407f79
JM
188 * math/libm-test.inc (check_int): Expect result to be exactly
189 equal to expected value and do not handle ulps.
190 (check_long): Likewise.
191 (check_longlong): Likewise.
192
8269107f
JM
193 * math/libm-test.inc (ceil_test_data): Test for "inexact"
194 exceptions.
195 (cimag_test_data): Likewise.
196 (conj_test_data): Likewise.
197 (copysign_test_data): Likewise.
198 (cproj_test_data): Likewise.
199 (creal_test_data): Likewise.
200 (fabs_test_data): Likewise.
201 (fdim_test_data): Likewise.
202 (finite_test_data): Likewise.
203 (floor_test_data): Likewise.
204 (fmax_test_data): Likewise.
205 (fmin_test_data): Likewise.
206 (fmod_test_data): Likewise.
207 (fpclassify_test_data): Likewise.
208 (frexp_test_data): Likewise.
209 (ilogb_test_data): Likewise.
210 (isfinite_test_data): Likewise.
211 (isgreater_test_data): Likewise.
212 (isgreaterequal_test_data): Likewise.
213 (isinf_test_data): Likewise.
214 (isless_test_data): Likewise.
215 (islessequal_test_data): Likewise.
216 (islessgreater_test_data): Likewise.
217 (isnan_test_data): Likewise.
218 (isnormal_test_data): Likewise.
219 (issignaling_test_data): Likewise.
220 (isunordered_test_data): Likewise.
221 (ldexp_test_data): Likewise.
222 (lrint_test_data): Likewise.
223 (lrint_test_data) [TEST_FLOAT]: Disable one test.
224 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
225 (lrint_tonearest_test_data): Test for "inexact" exceptions.
226 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
227 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
228 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
229 test input.
230 (lrint_towardzero_test_data): Test for "inexact" exceptions.
231 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
232 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
233 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
234 that test input.
235 (lrint_downward_test_data): Test for "inexact" exceptions.
236 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
237 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
238 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
239 test input.
240 (lrint_upward_test_data): Test for "inexact" exceptions.
241 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
242 test input.
243 (llrint_test_data): Test for "inexact" exceptions.
244 (llrint_test_data) [TEST_FLOAT]: Disable one test.
245 (llrint_tonearest_test_data): Test for "inexact" exceptions.
246 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
247 (llrint_towardzero_test_data): Test for "inexact" exceptions.
248 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
249 (llrint_downward_test_data): Test for "inexact" exceptions.
250 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
251 (llrint_upward_test_data): Test for "inexact" exceptions.
252 (logb_test_data): Likewise.
253 (logb_downward_test_data): Likewise.
254 (nextafter_test_data): Likewise.
255 (nexttoward_test_data): Likewise.
256 (remainder_test_data): Likewise.
257 (remquo_test_data): Likewise.
258 (scalbn_test_data): Likewise.
259 (scalbln_test_data): Likewise.
260 (signbit_test_data): Likewise.
261 (sqrt_test_data): Likewise.
262 (significand_test_data): Likewise.
263
48a18de1
SP
2642013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
265
266 [BZ #15424]
267 * benchtests/bench-modf.c (struct args): Mark arg0 as
268 volatile.
269 * scripts/bench.pl: Mark members of struct args as volatile.
270
13d3b41a
AZ
2712013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
274 negative infinity on POWER6 or lower.
275 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
276
2848b105
MR
2772013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
278
279 [BZ #15442]
280 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
281 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
282 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
283 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
284 (_FP_SETQNAN): New macro.
285 (_FP_SETQNAN_SEMIRAW): Likewise.
286 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
287 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
288 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
289 (FP_EXTEND): Use _FP_FRAC_SNANP.
290 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
291 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
292 into account.
293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
294 New macro.
295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
296 Likewise.
297
323e5cb7
JM
2982013-05-16 Joseph Myers <joseph@codesourcery.com>
299
c58b274f
JM
300 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
301 with DIVIDE_BY_ZERO_EXCEPTION.
302 (gamma_test_data): Likewise.
303 (lgamma_test_data): Likewise.
304 (log_test_data): Likewise.
305 (log10_test_data): Likewise.
306 (log2_test_data): Likewise.
307 (tgamma_test_data): Likewise.
308
0ab34904
JM
309 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
310 (acos_test_tonearest): Likewise.
311 (acos_test_towardzero): Likewise.
312 (acos_test_downward): Likewise.
313 (acos_test_upward): Likewise.
314 (acosh_test): Likewise.
315 (asin_test): Likewise.
316 (asin_test_tonearest): Likewise.
317 (asin_test_towardzero): Likewise.
318 (asin_test_downward): Likewise.
319 (asin_test_upward): Likewise.
320 (asinh_test): Likewise.
321 (atan_test): Likewise.
322 (atanh_test): Likewise.
323 (atan2_test): Likewise.
324 (cabs_test): Likewise.
325 (cacos_test): Likewise.
326 (cacosh_test): Likewise.
327 (casin_test): Likewise.
328 (casinh_test): Likewise.
329 (catan_test): Likewise.
330 (catanh_test): Likewise.
331 (cbrt_test): Likewise.
332 (ccos_test): Likewise.
333 (ccosh_test): Likewise.
334 (cexp_test): Likewise.
335 (clog_test): Likewise.
336 (clog10_test): Likewise.
337 (cos_test): Likewise.
338 (cos_test_tonearest): Likewise.
339 (cos_test_towardzero): Likewise.
340 (cos_test_downward): Likewise.
341 (cos_test_upward): Likewise.
342 (cosh_test): Likewise.
343 (cosh_test_tonearest): Likewise.
344 (cosh_test_towardzero): Likewise.
345 (cosh_test_downward): Likewise.
346 (cosh_test_upward): Likewise.
347 (cpow_test): Likewise.
348 (csin_test): Likewise.
349 (csinh_test): Likewise.
350 (csqrt_test): Likewise.
351 (ctan_test): Likewise.
352 (ctan_test_tonearest): Likewise.
353 (ctan_test_towardzero): Likewise.
354 (ctan_test_downward): Likewise.
355 (ctan_test_upward): Likewise.
356 (ctanh_test): Likewise.
357 (ctanh_test_tonearest): Likewise.
358 (ctanh_test_towardzero): Likewise.
359 (ctanh_test_downward): Likewise.
360 (ctanh_test_upward): Likewise.
361 (erf_test): Likewise.
362 (erfc_test): Likewise.
363 (exp_test): Likewise.
364 (exp_test_tonearest): Likewise.
365 (exp_test_towardzero): Likewise.
366 (exp_test_downward): Likewise.
367 (exp_test_upward): Likewise.
368 (exp10_test): Likewise.
369 (exp2_test): Likewise.
370 (expm1_test): Likewise.
371 (fmod_test): Likewise.
372 (gamma_test): Likewise.
373 (hypot_test): Likewise.
374 (j0_test): Likewise.
375 (j1_test): Likewise.
376 (jn_test): Likewise.
377 (lgamma_test): Likewise.
378 (log_test): Likewise.
379 (log10_test): Likewise.
380 (log1p_test): Likewise.
381 (log2_test): Likewise.
382 (logb_test_downward): Likewise.
383 (pow_test): Likewise.
384 (pow_test_tonearest): Likewise.
385 (pow_test_towardzero): Likewise.
386 (pow_test_downward): Likewise.
387 (pow_test_upward): Likewise.
388 (remainder_test): Likewise.
389 (remquo_test): Likewise.
390 (sin_test): Likewise.
391 (sin_test_tonearest): Likewise.
392 (sin_test_towardzero): Likewise.
393 (sin_test_downward): Likewise.
394 (sin_test_upward): Likewise.
395 (sincos_test): Likewise.
396 (sinh_test): Likewise.
397 (sinh_test_tonearest): Likewise.
398 (sinh_test_towardzero): Likewise.
399 (sinh_test_downward): Likewise.
400 (sinh_test_upward): Likewise.
401 (sqrt_test): Likewise.
402 (tan_test): Likewise.
403 (tan_test_tonearest): Likewise.
404 (tan_test_towardzero): Likewise.
405 (tan_test_downward): Likewise.
406 (tan_test_upward): Likewise.
407 (tanh_test): Likewise.
408 (tgamma_test): Likewise.
409 (y0_test): Likewise.
410 (y1_test): Likewise.
411 (yn_test): Likewise.
412
323e5cb7
JM
413 * math/gen-libm-test.pl (adjust_arg): Remove function.
414 (special_function): Remove argument $in_func. Only handle
415 generating output for tables of tests, not inside functions.
416 (parse_args): Likewise.
417 (generate_testfile): Remove variable $in_func. Update call to
418 parse_args.
419 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
420 (MINUS_ZERO_INIT): Rename macro to minus_zero.
421 (PLUS_INFTY_INIT): Rename macro to plus_infty.
422 (MINUS_INFTY_INIT): Rename macro to minus_infty.
423 (QNAN_VALUE_INIT): Rename macro to qnan_value.
424 (MAX_VALUE_INIT): Rename macro to max_value.
425 (MIN_VALUE_INIT): Rename macro to min_value.
426 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
427 (plus_zero): Remove variable.
428 (minus_zero): Likewise.
429 (plus_infty): Likewise.
430 (minus_infty): Likewise.
431 (qnan_value): Likewise.
432 (max_value): Likewise.
433 (min_value): Likewise.
434 (min_subnorm_value): Likewise.
435
e054f494
RA
4362013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
437
438 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
439 uint64_t or uint32_t usage.
440 * crypt/sha256-block.c: Likewise.
441 * crypt/sha256-crypt.c: Likewise.
442 * crypt/sha256.c: Likewise.
443 * crypt/sha512-block.c: Likewise.
444 * crypt/sha512-crypt.c: Likewise.
445 * crypt/sha512.c: Likewise.
446 * debug/backtrace-tst.c: Likewise.
447 * debug/pcprofiledump.c: Likewise.
448 * elf/cache.c: Likewise.
449 * elf/dl-cache.c: Likewise.
450 * elf/dl-misc.c: Likewise.
451 * elf/dl-profile.c: Likewise.
452 * elf/dl-support.c: Likewise.
453 * elf/ldconfig.c: Likewise.
454 * elf/sprof.c: Likewise.
455 * iconv/dummy-repertoire.c: Likewise.
456 * iconv/iconv_charmap.c: Likewise.
457 * iconv/skeleton.c: Likewise.
458 * iconvdata/8bit-generic.c: Likewise.
459 * iconvdata/cp737.h: Likewise.
460 * iconvdata/cp775.h: Likewise.
461 * iconvdata/ibm1008.h: Likewise.
462 * iconvdata/ibm1025.h: Likewise.
463 * iconvdata/ibm1046.h: Likewise.
464 * iconvdata/ibm1097.h: Likewise.
465 * iconvdata/ibm1112.h: Likewise.
466 * iconvdata/ibm1122.h: Likewise.
467 * iconvdata/ibm1123.h: Likewise.
468 * iconvdata/ibm1124.h: Likewise.
469 * iconvdata/ibm1129.h: Likewise.
470 * iconvdata/ibm1130.h: Likewise.
471 * iconvdata/ibm1132.h: Likewise.
472 * iconvdata/ibm1133.h: Likewise.
473 * iconvdata/ibm1137.h: Likewise.
474 * iconvdata/ibm1140.h: Likewise.
475 * iconvdata/ibm1141.h: Likewise.
476 * iconvdata/ibm1142.h: Likewise.
477 * iconvdata/ibm1143.h: Likewise.
478 * iconvdata/ibm1144.h: Likewise.
479 * iconvdata/ibm1145.h: Likewise.
480 * iconvdata/ibm1146.h: Likewise.
481 * iconvdata/ibm1147.h: Likewise.
482 * iconvdata/ibm1148.h: Likewise.
483 * iconvdata/ibm1149.h: Likewise.
484 * iconvdata/ibm1153.h: Likewise.
485 * iconvdata/ibm1154.h: Likewise.
486 * iconvdata/ibm1155.h: Likewise.
487 * iconvdata/ibm1156.h: Likewise.
488 * iconvdata/ibm1157.h: Likewise.
489 * iconvdata/ibm1158.h: Likewise.
490 * iconvdata/ibm1160.h: Likewise.
491 * iconvdata/ibm1161.h: Likewise.
492 * iconvdata/ibm1162.h: Likewise.
493 * iconvdata/ibm1163.h: Likewise.
494 * iconvdata/ibm1164.h: Likewise.
495 * iconvdata/ibm1166.h: Likewise.
496 * iconvdata/ibm1167.h: Likewise.
497 * iconvdata/ibm12712.h: Likewise.
498 * iconvdata/ibm1390.h: Likewise.
499 * iconvdata/ibm1399.h: Likewise.
500 * iconvdata/ibm16804.h: Likewise.
501 * iconvdata/ibm4517.h: Likewise.
502 * iconvdata/ibm4899.h: Likewise.
503 * iconvdata/ibm4909.h: Likewise.
504 * iconvdata/ibm4971.h: Likewise.
505 * iconvdata/ibm5347.h: Likewise.
506 * iconvdata/ibm803.h: Likewise.
507 * iconvdata/ibm856.h: Likewise.
508 * iconvdata/ibm901.h: Likewise.
509 * iconvdata/ibm902.h: Likewise.
510 * iconvdata/ibm9030.h: Likewise.
511 * iconvdata/ibm9066.h: Likewise.
512 * iconvdata/ibm921.h: Likewise.
513 * iconvdata/ibm922.h: Likewise.
514 * iconvdata/ibm9448.h: Likewise.
515 * iconvdata/isiri-3342.h: Likewise.
516 * iconvdata/jis0201.h: Likewise.
517 * include/link.h: Likewise.
518 * include/netdb.h: Likewise.
519 * inet/check_native.c: Likewise.
520 * inet/check_pf.c: Likewise.
521 * inet/getipv4sourcefilter.c: Likewise.
522 * inet/getnameinfo.c: Likewise.
523 * inet/getsourcefilter.c: Likewise.
524 * inet/htonl.c: Likewise.
525 * inet/setipv4sourcefilter.c: Likewise.
526 * inet/setsourcefilter.c: Likewise.
527 * inet/test-inet6_opt.c: Likewise.
528 * inet/tst-network.c: Likewise.
529 * locale/C-collate.c: Likewise.
530 * locale/C-ctype.c: Likewise.
531 * locale/C-time.c: Likewise.
532 * locale/C-translit.h: Likewise.
533 * locale/loadarchive.c: Likewise.
534 * locale/programs/3level.h: Likewise.
535 * locale/programs/charmap.c: Likewise.
536 * locale/programs/charmap.h: Likewise.
537 * locale/programs/ld-address.c: Likewise.
538 * locale/programs/ld-collate.c: Likewise.
539 * locale/programs/ld-ctype.c: Likewise.
540 * locale/programs/ld-identification.c: Likewise.
541 * locale/programs/ld-measurement.c: Likewise.
542 * locale/programs/ld-messages.c: Likewise.
543 * locale/programs/ld-monetary.c: Likewise.
544 * locale/programs/ld-name.c: Likewise.
545 * locale/programs/ld-numeric.c: Likewise.
546 * locale/programs/ld-paper.c: Likewise.
547 * locale/programs/ld-telephone.c: Likewise.
548 * locale/programs/ld-time.c: Likewise.
549 * locale/programs/linereader.c: Likewise.
550 * locale/programs/locale.c: Likewise.
551 * locale/programs/locarchive.c: Likewise.
552 * locale/programs/locfile.h: Likewise.
553 * locale/programs/repertoire.c: Likewise.
554 * locale/programs/simple-hash.c: Likewise.
555 * locale/programs/simple-hash.h: Likewise.
556 * malloc/memusage.c: Likewise.
557 * malloc/memusagestat.c: Likewise.
558 * nis/nis_defaults.c: Likewise.
559 * nis/nis_hash.c: Likewise.
560 * nis/nis_print.c: Likewise.
561 * nis/nis_xdr.c: Likewise.
562 * nscd/connections.c: Likewise.
563 * nscd/hstcache.c: Likewise.
564 * nscd/nscd_gethst_r.c: Likewise.
565 * nscd/nscd_getserv_r.c: Likewise.
566 * nscd/nscd_helper.c: Likewise.
567 * nscd/servicescache.c: Likewise.
568 * nss/makedb.c: Likewise.
569 * nss/nss_db/db-XXX.c: Likewise.
570 * nss/nss_db/db-initgroups.c: Likewise.
571 * nss/nss_db/db-netgrp.c: Likewise.
572 * nss/nss_files/files-network.c: Likewise.
573 * nss/nss_files/files-parse.c: Likewise.
574 * posix/bug-regex5.c: Likewise.
575 * posix/fnmatch_loop.c: Likewise.
576 * posix/regcomp.c: Likewise.
577 * posix/regexec.c: Likewise.
578 * posix/tst-rfc3484-2.c: Likewise.
579 * posix/tst-rfc3484-3.c: Likewise.
580 * posix/tst-rfc3484.c: Likewise.
581 * resolv/nss_dns/dns-canon.c: Likewise.
582 * resolv/nss_dns/dns-network.c: Likewise.
583 * resolv/res_init.c: Likewise.
584 * resolv/res_mkquery.c: Likewise.
585 * resolv/tst-aton.c: Likewise.
586 * stdlib/cxa_atexit.c: Likewise.
587 * stdlib/cxa_finalize.c: Likewise.
588 * stdlib/gen-fpioconst.c: Likewise.
589 * stdlib/strtol_l.c: Likewise.
590 * string/tst-endian.c: Likewise.
591 * sunrpc/auth_des.c: Likewise.
592 * sunrpc/clnt_udp.c: Likewise.
593 * sunrpc/rtime.c: Likewise.
594 * sunrpc/svcauth_des.c: Likewise.
595 * sunrpc/xdr.c: Likewise.
596 * sunrpc/xdr_intXX_t.c: Likewise.
597 * sunrpc/xdr_rec.c: Likewise.
598 * sysdeps/generic/ldconfig.h: Likewise.
599 * sysdeps/generic/ldsodefs.h: Likewise.
600 * sysdeps/generic/memusage.h: Likewise.
601 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
603 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
607 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
608 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
611 * sysdeps/posix/getaddrinfo.c: Likewise.
612 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
613 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
614 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
615 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
616 * sysdeps/powerpc/test-gettimebase.c: Likewise.
617 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
618 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
619 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
620 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
621 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
622 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
623 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
624 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
625 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
626 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
627 * sysdeps/x86_64/dl-tls.h: Likewise.
628 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
629 * time/alt_digit.c: Likewise.
630 * time/era.c: Likewise.
631 * wcsmbs/tst-c16c32-1.c: Likewise.
632
8c75f674
JM
6332013-05-16 Joseph Myers <joseph@codesourcery.com>
634
635 * math/libm-test.inc (struct test_sincos_data): New type.
636 (RUN_TEST_LOOP_sincos): New macro.
637 (sincos_test_data): New variable.
638 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
639
e6e49e59
RH
6402013-05-16 Richard Henderson <rth@redhat.com>
641
642 * math/atest-exp2.c (LIMB64): New macro.
643 (CONSTSZ): New macro.
644 (mp_exp1, mp_exp_m1, mp_log2): New variables.
645 (hexdig): Move ...
646 (print_mpn_fp): ... to function scope.
647 (read_mpn_hex): Remove.
648 (get_log2): Remove.
649 (exp2_mpn): Use mp_log2.
650 (main): Use mp_exp1.
651
15c7c18d
JM
6522013-05-16 Joseph Myers <joseph@codesourcery.com>
653
105a07df
JM
654 * math/libm-test.inc: Remove comment about not testing "inexact"
655 exceptions.
656 (INEXACT_EXCEPTION): New macro.
657 (NO_INEXACT_EXCEPTION): Likewise.
658 (INVALID_EXCEPTION_OK): Update value.
659 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
660 (OVERFLOW_EXCEPTION_OK): Likewise.
661 (UNDERFLOW_EXCEPTION_OK): Likewise.
662 (IGNORE_ZERO_INF_SIGN): Likewise.
663 (ERRNO_UNCHANGED): Likewise.
664 (ERRNO_EDOM): Likewise.
665 (ERRNO_ERANGE): Likewise.
666 (test_exceptions): Handle testing "inexact" exceptions.
667 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
668 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
669 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
670 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
671 INEXACT_EXCEPTION.
672 (rint_towardzero_test_data): Likewise.
673 (rint_downward_test_data): Likewise.
674 (rint_upward_test_data): Likewise.
675
e9eee333
JM
676 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
677 with OVERFLOW_EXCEPTION.
678 (exp10_test_data): Likewise.
679 (exp2_test_data): Likewise.
680 (expm1_test_data): Likewise.
681 (lgamma_test_data): Likewise.
682 (pow_test_data): Likewise.
683 (tgamma_test_data): Likewise.
684 (yn_test_data): Remove duplicate test of overflow.
685
1c38ff73
JM
686 * math/libm-test.inc (struct test_cc_c_data): New type.
687 (RUN_TEST_LOOP_cc_c): New macro.
688 (cpow_test_data): New variable.
689 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
690
15c7c18d
JM
691 * math/libm-test.inc (struct test_f_L_data): New type.
692 (RUN_TEST_LOOP_f_L): New macro.
693 (llrint_test_data): New variable.
694 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
695 (llrint_tonearest_test_data): New variable.
696 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
697 (llrint_towardzero_test_data): New variable.
698 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
699 (llrint_downward_test_data): New variable.
700 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
701 (llrint_upward_test_data): New variable.
702 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
703 (llround_test_data): New variable.
704 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
705
f137ff13
PC
7062013-05-13 Peter Collingbourne <pcc@google.com>
707
708 * math/atest-exp2.c (get_log2): Remove const attribute.
709
3608cb24
JM
7102013-05-15 Joseph Myers <joseph@codesourcery.com>
711
712 * math/libm-test.inc (struct test_f_l_data): New type.
713 (RUN_TEST_LOOP_f_l): New macro.
714 (lrint_test_data): New variable.
715 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
716 (lrint_tonearest_test_data): New variable.
717 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
718 (lrint_towardzero_test_data): New variable.
719 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
720 (lrint_downward_test_data): New variable.
721 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
722 (lrint_upward_test_data): New variable.
723 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
724 (lround_test_data): New variable.
725 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
726
39b1f617
PC
7272013-05-15 Peter Collingbourne <pcc@google.com>
728
1deff3dc
PC
729 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
730 (EXTRACT_WORDS64) Use where appropriate.
731 (INSERT_WORDS64) Likewise.
732
791f3ba0
PC
733 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
734 constraints with x constraints.
735 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
736
39b1f617
PC
737 * malloc/obstack.c (_obstack_compat): Add initializer.
738
12fba011
EM
7392013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
740
741 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
742 si_trapno and add si_addr_lsb to _sifields.sigfault.
743 (si_trapno): Remove macro.
744 (si_addr_lsb): Define new macro.
745 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
746
d369f531
JM
7472013-05-15 Joseph Myers <joseph@codesourcery.com>
748
b861c6c4
JM
749 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
750 instead of TEST_f_l.
751 (llrint_test_tonearest): Likewise.
752 (llrint_test_towardzero): Likewise.
753 (llrint_test_downward): Likewise.
754 (llrint_test_upward): Likewise.
755 (llround_test): Likewise.
756
7abeee12
JM
757 * math/libm-test.inc (struct test_f_i_data): Add comment.
758 (RUN_TEST_LOOP_f_b): New macro.
759 (RUN_TEST_LOOP_f_b_tg): Likewise.
760 (finite_test_data): New variable.
761 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
762 (isfinite_test_data): New variable.
763 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
764 (isinf_test_data): New variable.
765 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
766 (isnan_test_data): New variable.
767 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
768 (isnormal_test_data): New variable.
769 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
770 (issignaling_test_data): New variable.
771 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
772 (signbit_test_data): New variable.
773 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
774
cbe8c4d3
JM
775 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
776 with INVALID_EXCEPTION.
777 (acosh_test_data): Likewise.
778 (asin_test_data): Likewise.
779 (atanh_test_data): Likewise.
780 (fmod_test_data): Likewise.
781 (log_test_data): Likewise.
782 (log10_test_data): Likewise.
783 (log2_test_data): Likewise.
784 (pow_test_data): Likewise.
785 (sqrt_test_data): Likewise.
786 (y0_test_data): Likewise.
787 (y1_test_data): Likewise.
788 (yn_test_data): Likewise.
789
5575c0e5
JM
790 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
791 function contents.
792
d369f531
JM
793 * math/libm-test.inc (struct test_ff_i_data): New type.
794 (RUN_TEST_LOOP_ff_i_tg): New macro.
795 (isgreater_test_data): New variable.
796 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
797 (isgreaterequal_test_data): New variable.
798 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
799 (isless_test_data): New variable.
800 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
801 (islessequal_test_data): New variable.
802 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
803 (islessgreater_test_data): New variable.
804 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
805 (isunordered_test_data): New variable.
806 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
807
781fd748
DM
8082013-05-14 David S. Miller <davem@davemloft.net>
809
810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
811
87aa21df
JM
8122013-05-14 Joseph Myers <joseph@codesourcery.com>
813
5e908270
JM
814 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
815
f71172e5
JM
816 * math/libm-test.inc (struct test_fF_f1_data): Change type of
817 extra_test to int.
818 (struct test_f_i_data): Change type of max_ulp to int.
819
8cfa635a
JM
820 * math/libm-test.inc (test_ffI_f1_data): New type.
821 (RUN_TEST_LOOP_ffI_f1): New macro.
822 (remquo_test_data): New variable.
823 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
824
2bcb36b2
JM
825 * setjmp/tst-setjmp-fp.c: New file.
826 * setjmp/Makefile (tests): Add tst-setjmp-fp.
827 (link-libm): New variable.
828 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
829
acbd839a
JM
830 * math/libm-test.inc (struct test_f_i_data): New type.
831 (RUN_TEST_LOOP_f_i): New macro.
832 (RUN_TEST_LOOP_f_i_tg): Likewise.
833 (fpclassify_test_data): New variable.
834 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
835 (ilogb_test_data): New variable.
836 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
837
e414d745
JM
838 * math/libm-test.inc (scalbln_test): Correct function name in END
839 call.
840
d9c2a0fd
JM
841 * math/libm-test.inc (struct test_f_f1_data): Add comment.
842 (RUN_TEST_LOOP_fI_f1): New macro.
843 (frexp_test_data): New variable.
844 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
845
9dc9095d
JM
846 * math/libm-test.inc (struct test_fF_f1_data): New type.
847 (RUN_TEST_LOOP_fF_f1): New macro.
848 (modf_test_data): New variable.
849 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
850
87aa21df
JM
851 * math/libm-test.inc (struct test_f_f1_data): New type.
852 (RUN_TEST_LOOP_f_f1): New macro.
853 (gamma_test_data): New variable.
854 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
855 (lgamma_test_data): New variable.
856 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
857
141af660
CD
8582013-05-13 Carlos O'Donell <carlos@redhat.com>
859
860 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
861 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
862 (main): Comment "tls" pseudo-hwcap.
863
6d33265c
JM
8642013-05-13 Joseph Myers <joseph@codesourcery.com>
865
68fc074c
JM
866 * math/libm-test.inc (struct test_fl_f_data): New type.
867 (RUN_TEST_LOOP_fl_f): New variable.
868 (scalbln_test_data): New variable.
869 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
870
243216e1
JM
871 * math/libm-test.inc (struct test_fi_f_data): New type.
872 (RUN_TEST_LOOP_fi_f): New macro.
873 (ldexp_test_data): New variable.
874 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
875 (scalbn_test_data): New variable.
876 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
877
6a1992e2
JM
878 * math/libm-test.inc (struct test_c_f_data): New type.
879 (RUN_TEST_LOOP_c_f): New macro.
880 (cabs_test_data): New variable.
881 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
882 (carg_test_data): New variable.
883 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
884 (cimag_test_data): New variable.
885 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
886 (creal_test_data): New variable.
887 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
888
0e400df5
JM
889 * math/libm-test.inc (struct test_if_f_data): New type.
890 (RUN_TEST_LOOP_if_f): New macro.
891 (jn_test_data): New variable.
892 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
893 (yn_test_data): New variable.
894 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
895
6d33265c
JM
896 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
897
f98ece5f
AZ
8982013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
900 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
901 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
902
0f7d347b
SP
9032013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
904
43fe811b
SP
905 * benchtests/Makefile (CPPFLAGS-nonlib): Add
906 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
907 (bench-deps): Add bench-timing.h.
908 * benchtests-bench-skeleton.c: Include bench-timing.h.
909 (main): Use TIMING_* macros instead of clock_gettime.
910 * benchtests/bench-timing.h: New file.
911
0f7d347b
SP
912 [BZ #14582]
913 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
914 Renamed from _LIB_VERSION.
915 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
916
601a3a5f
JM
9172013-05-12 Joseph Myers <joseph@codesourcery.com>
918
4f184d30
JM
919 * math/libm-test.inc (struct test_fff_f_data): New type.
920 (RUN_TEST_LOOP_fff_f): New macro.
921 (fma_test_data): New variable.
922 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
923 (fma_towardzero_test_data): New variable.
924 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
925 (fma_downward_test_data): New variable.
926 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
927 (fma_upward_test_data): New variable.
928 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
929
08198877
JM
930 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
931 (struct test_c_c_data): New type.
932 (RUN_TEST_LOOP_c_c): New macro.
933 (cacos_test_data): New variable.
934 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
935 (cacosh_test_data): New variable.
936 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
937 (casin_test_data): New variable.
938 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
939 (casinh_test_data): New variable.
940 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
941 (catan_test_data): New variable.
942 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
943 (catanh_test_data): New variable.
944 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
945 (ccos_test_data): New variable.
946 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
947 (ccosh_test_data): New variable.
948 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
949 (cexp_test_data): New variable.
950 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
951 (clog_test_data): New variable.
952 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
953 (clog10_test_data): New variable.
954 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
955 (conj_test_data): New variable.
956 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
957 (cproj_test_data): New variable.
958 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
959 (csin_test_data): New variable.
960 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
961 (csinh_test_data): New variable.
962 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
963 (csqrt_test_data): New variable.
964 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
965 (ctan_test_data): New variable.
966 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
967 (ctan_tonearest_test_data): New variable.
968 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
969 (ctan_towardzero_test_data): New variable.
970 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
971 (ctan_downward_test_data): New variable.
972 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
973 (ctan_upward_test_data): New variable.
974 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
975 (ctanh_test_data): New variable.
976 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
977 (ctanh_tonearest_test_data): New variable.
978 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
979 (ctanh_towardzero_test_data): New variable.
980 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
981 (ctanh_downward_test_data): New variable.
982 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
983 (ctanh_upward_test_data): New variable.
984 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
985 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
986 of BUILD_COMPLEX.
987
601a3a5f
JM
988 * math/libm-test.inc (struct test_ff_f_data): New type.
989 (struct test_ff_f_data_nexttoward): Likewise.
990 (RUN_TEST_LOOP_2_f): New macro.
991 (RUN_TEST_LOOP_ff_f): Likewise.
992 (atan2_test_data): New variable.
993 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
994 (copysign_test_data): New variable.
995 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
996 (fdim_test_data): New variable.
997 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
998 (fmax_test_data): New variable.
999 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1000 (fmin_test_data): New variable.
1001 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1002 (fmod_test_data): New variable.
1003 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1004 (hypot_test_data): New variable.
1005 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1006 (nextafter_test_data): New variable.
1007 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1008 (nexttoward_test_data): New variable.
1009 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1010 (pow_test_data): New variable.
1011 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1012 (pow_tonearest_test_data): New variable.
1013 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1014 (pow_towardzero_test_data): New variable.
1015 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1016 (pow_downward_test_data): New variable.
1017 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1018 (pow_upward_test_data): New variable.
1019 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1020 (remainder_test_data): New variable.
1021 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1022 (scalb_test_data): New variable.
1023 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025
74c57478
JM
10262013-05-11 Joseph Myers <joseph@codesourcery.com>
1027
8329e4da
JM
1028 * math/libm-test.inc (fma_test): Use max_value instead of local
1029 variable fltmax.
1030 (nextafter_test): Likewise.
1031
74c57478
JM
1032 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1033 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1034 (acos_downward_test_data): New variable.
1035 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1036 (acos_upward_test_data): New variable.
1037 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1038 (acosh_test_data): New variable.
1039 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1040 (asin_test_data): New variable.
1041 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1042 (asin_tonearest_test_data): New variable.
1043 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1044 (asin_towardzero_test_data): New variable.
1045 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1046 (asin_downward_test_data): New variable.
1047 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1048 (asin_upward_test_data): New variable.
1049 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1050 (asinh_test_data): New variable.
1051 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1052 (atan_test_data): New variable.
1053 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1054 (atanh_test_data): New variable.
1055 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1056 (cbrt_test_data): New variable.
1057 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1058 (ceil_test_data): New variable.
1059 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1060 (cos_test_data): New variable.
1061 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1062 (cos_tonearest_test_data): New variable.
1063 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1064 (cos_towardzero_test_data): New variable.
1065 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1066 (cos_downward_test_data): New variable.
1067 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1068 (cos_upward_test_data): New variable.
1069 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1070 (cosh_test_data): New variable.
1071 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1072 (cosh_tonearest_test_data): New variable.
1073 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1074 (cosh_towardzero_test_data): New variable.
1075 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1076 (cosh_downward_test_data): New variable.
1077 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1078 (cosh_upward_test_data): New variable.
1079 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1080 (erf_test_data): New variable.
1081 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1082 (erfc_test_data): New variable.
1083 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1084 (exp_test_data): New variable.
1085 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1086 (exp_tonearest_test_data): New variable.
1087 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1088 (exp_towardzero_test_data): New variable.
1089 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1090 (exp_downward_test_data): New variable.
1091 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1092 (exp_upward_test_data): New variable.
1093 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1094 (exp10_test_data): New variable.
1095 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1096 (exp2_test_data): New variable.
1097 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1098 (expm1_test_data): New variable.
1099 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1100 (fabs_test_data): New variable.
1101 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1102 (floor_test_data): New variable.
1103 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1104 (j0_test_data): New variable.
1105 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1106 (j1_test_data): New variable.
1107 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1108 (log_test_data): New variable.
1109 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1110 (log10_test_data): New variable.
1111 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1112 (log1p_test_data): New variable.
1113 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1114 (log2_test_data): New variable.
1115 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1116 (logb_test_data): New variable.
1117 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1118 (logb_downward_test_data): New variable.
1119 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1120 (nearbyint_test_data): New variable.
1121 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1122 (rint_test_data): New variable.
1123 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1124 (rint_tonearest_test_data): New variable.
1125 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1126 (rint_towardzero_test_data): New variable.
1127 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1128 (rint_downward_test_data): New variable.
1129 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1130 (rint_upward_test_data): New variable.
1131 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1132 (round_test_data): New variable.
1133 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1134 (sin_test_data): New variable.
1135 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1136 (sin_tonearest_test_data): New variable.
1137 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1138 (sin_towardzero_test_data): New variable.
1139 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1140 (sin_downward_test_data): New variable.
1141 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1142 (sin_upward_test_data): New variable.
1143 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1144 (sinh_test_data): New variable.
1145 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1146 (sinh_tonearest_test_data): New variable.
1147 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1148 (sinh_towardzero_test_data): New variable.
1149 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1150 (sinh_downward_test_data): New variable.
1151 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1152 (sinh_upward_test_data): New variable.
1153 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1154 (sqrt_test_data): New variable.
1155 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1156 (tan_test_data): New variable.
1157 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1158 (tan_tonearest_test_data): New variable.
1159 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1160 (tan_towardzero_test_data): New variable.
1161 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1162 (tan_downward_test_data): New variable.
1163 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1164 (tan_upward_test_data): New variable.
1165 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1166 (tanh_test_data): New variable.
1167 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1168 (tgamma_test_data): New variable.
1169 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1170 (trunc_test_data): New variable.
1171 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1172 (y0_test_data): New variable.
1173 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1174 (y1_test_data): New variable.
1175 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1176 (significand_test_data): New variable.
1177 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1178
7187d844
CG
11792013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1180
1181 [BZ #12387]
1182 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1183
f63fae73
PT
11842013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1185
1186 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1187
8a67a4b3
AJ
11882013-05-10 Andreas Jaeger <aj@suse.de>
1189
1190 [BZ #15448]
1191 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1192 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1193
51df539d
JM
11942013-05-10 Joseph Myers <joseph@codesourcery.com>
1195
1196 * math/gen-libm-test.pl (adjust_arg): New function.
1197 (special_functions): Handle generating output in both functions
1198 and arrays.
1199 (parse_args): Likewise.
1200 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1201 $in_func argument to parse_args.
1202 * math/libm-test.inc (struct test_f_f_data): New type.
1203 (IF_ROUND_INIT_): New macro.
1204 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1205 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1206 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1207 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1208 (ROUND_RESTORE_): Likewise.
1209 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1210 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1211 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1212 (ROUND_RESTORE_FE_UPWARD): Likewise.
1213 (RUN_TEST_LOOP_f_f): New macro.
1214 (acos_test_data): New variable.
1215 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1216 (acos_tonearest_test_data): New variable.
1217 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1218
5c637fe5
SP
12192013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1220
1221 * benchtests/bench-skeleton.c (startup): Fix coding style.
1222
ab2b9461
JM
12232013-05-10 Joseph Myers <joseph@codesourcery.com>
1224
1225 [BZ #6809]
1226 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1227 negative infinity argument.
1228 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1229 negative infinity argument.
1230 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1231 negative infinity argument.
1232 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1233 domain errors.
1234
4c0fe6fe
FW
12352013-05-10 Florian Weimer <fweimer@redhat.com>
1236
1237 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1238 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1239 * iconv/iconv_prog.c (main): Likewise.
1240 * locale/programs/charmap-dir.c (charmap_readdir)
1241 (fopen_uncompressed): Likewise.
1242 * locale/programs/locfile.c (siblings_uncached)
1243 (write_locale_data): Use lstat64 instead of lstat.
1244 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1245 stat.
1246
a3375d29
AJ
12472013-05-10 Andreas Jaeger <aj@suse.de>
1248
1249 [BZ #15395]
1250 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1251 localization.
1252 Include <locale.h>.
1253
36129722
CD
12542013-05-09 Carlos O'Donell <carlos@redhat.com>
1255
1256 * elf/dl-close.c (_dl_close_worker): Add comments.
1257
faa7f811
JM
12582013-05-09 Joseph Myers <joseph@codesourcery.com>
1259
ed41ffef
JM
1260 [BZ #15359]
1261 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1262 high part of pi/2.
1263 (__ieee754_rem_pio2l): Update comments.
1264
d0213cd0
JM
1265 [BZ #15429]
1266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1267 high part of pi/2.
1268 (__ieee754_rem_pio2l): Update comments.
1269
0d3e777a
JM
1270 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1271 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1272
24f56066
JM
1273 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1274 M_PI_4l.
1275
faa7f811
JM
1276 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1277 (M_PI_34_LOG10El): Likewise.
1278 (M_PI2_LOG10El): Likewise.
1279 (M_PI4_LOG10El): Likewise.
1280 (M_PI_LOG10El): Likewise.
1281
e9a5e0fd
AZ
12822013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
1284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1285
d8cd06db
JM
12862013-05-08 Joseph Myers <joseph@codesourcery.com>
1287
a0d9f9d7
JM
1288 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1289 (MINUS_ZERO_INIT): Likewise.
1290 (PLUS_INFTY_INIT): Likewise.
1291 (MINUS_INFTY_INIT): Likewise.
1292 (QNAN_VALUE_INIT): Likewise.
1293 (MAX_VALUE_INIT): Likewise.
1294 (MIN_VALUE_INIT): Likewise.
1295 (MIN_SUBNORM_VALUE_INIT): Likewise.
1296 (plus_zero): Initialize with PLUS_ZERO_INIT.
1297 (minus_zero): Initialize with MINUS_ZERO_INIT.
1298 (plus_infty): Initialize with PLUS_INFTY_INIT.
1299 (minus_infty): Initialize with MINUS_INFTY_INIT.
1300 (qnan_value): Initialize with QNAN_VALUE_INIT.
1301 (max_value): Initialize with MAX_VALUE_INIT.
1302 (min_value): Initialize with MIN_VALUE_INIT.
1303 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1304
ae08db3b
JM
1305 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1306 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1307 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1308 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1309
f44bf14a
JM
1310 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1311 (RUN_TEST_2_f): Likewise.
1312 (RUN_TEST_ff_f): Likewise.
1313 (RUN_TEST_fi_f): Likewise.
1314 (RUN_TEST_fl_f): Likewise.
1315 (RUN_TEST_fff_f): Likewise.
1316 (RUN_TEST_c_f): Likewise.
1317 (RUN_TEST_f_f1): Likewise.
1318 (RUN_TEST_fF_f1): Likewise.
1319 (RUN_TEST_fI_f1): Likewise.
1320 (RUN_TEST_ffI_f1): Likewise.
1321 (RUN_TEST_c_c): Likewise.
1322 (RUN_TEST_cc_c): Likewise.
1323 (RUN_TEST_f_i): Likewise.
1324 (RUN_TEST_f_i_tg): Likewise.
1325 (RUN_TEST_ff_i_tg): Likewise.
1326 (RUN_TEST_f_b): Likewise.
1327 (RUN_TEST_f_b_tg): Likewise.
1328 (RUN_TEST_f_l): Likewise.
1329 (RUN_TEST_f_L): Likewise.
1330 (RUN_TEST_sincos): Likewise.
1331 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1332 whether to show exceptions. Do not include ");\n" in return
1333 value.
1334 (special_functions): Output call to RUN_TEST_sincos instead of
1335 check_float calls. Update calls to new_test.
1336 (parse_args): Output call to single RUN_TEST_* macro instead of
1337 check_* calls and other assignments. Update calls to new_test.
1338
d8cd06db
JM
1339 [BZ #2546]
1340 [BZ #2560]
1341 [BZ #5159]
1342 [BZ #15426]
1343 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1344 input to result for tgamma overflow.
1345 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1346 (gamma_coeff): New variable.
1347 (NCOEFF): New macro.
1348 (gamma_positive): New function.
1349 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1350 underflow here. Use gamma_positive instead of exp (lgamma) for
1351 other arguments.
1352 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1353 (gamma_coeff): New variable.
1354 (NCOEFF): New macro.
1355 (gammaf_positive): New function.
1356 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1357 underflow here. Use gamma_positive instead of exp (lgamma) for
1358 other arguments.
1359 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1360 (gamma_coeff): New variable.
1361 (NCOEFF): New macro.
1362 (gammal_positive): New function.
1363 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1364 underflow here. Use gamma_positive instead of exp (lgamma) for
1365 other arguments.
1366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1367 (gamma_coeff): New variable.
1368 (NCOEFF): New macro.
1369 (gammal_positive): New function.
1370 (__ieee754_gammal_r): Handle positive infinity, overflow and
1371 underflow here. Handle NaN the same as positive infinity. Remove
1372 check x < 0xffffffff for negative integers. Use gamma_positive
1373 instead of exp (lgamma) for other arguments.
1374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1375 (gamma_coeff): New variable.
1376 (NCOEFF): New macro.
1377 (gammal_positive): New function.
1378 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1379 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1384 * sysdeps/generic/math_private.h (__gamma_productf): New
1385 prototype.
1386 (__gamma_product): Likewise.
1387 (__gamma_productl): Likewise.
1388 * math/Makefile (libm-calls): Add gamma_product.
1389 * math/libm-test.inc (tgamma_test): Add more tests.
1390 * sysdeps/i386/fpu/libm-test-ulps: Update.
1391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1392
bb7cf681
OB
13932013-05-08 Ondřej Bílka <neleai@seznam.cz>
1394
1395 * benchtests/bench-skeleton.c (main): Preheat CPU.
1396
ba853947
AJ
13972013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1398
1399 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1400
8347c74c
RM
14012013-05-07 Roland McGrath <roland@hack.frob.com>
1402
1403 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1404 and _dl_skip_args_internal.
1405
e8dd4791
CD
14062013-05-07 Carlos O'Donell <carlos@redhat.com>
1407
1408 * manual/message.texi (Message Translation): Talk about users.
1409 Message to key mapping impacts design.
1410
c7405830
RM
14112013-05-06 Roland McGrath <roland@hack.frob.com>
1412
a9173057
RM
1413 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1414
976e2f03
RM
1415 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1416
9723ffc5
RM
1417 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1418 * sysdeps/wordsize-64/glob64.c: ... here.
1419
962e6658
RM
1420 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1421 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1422 New macros.
1423
ee586a6d
RM
1424 * debug/getlogin_r_chk.c: Moved to ...
1425 * login/getlogin_r_chk.c: ... here.
1426 * debug/Makefile (routines): Move getlogin_r_chk to ...
1427 * login/Makefile (routines): ... here.
1428 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
1429 * login/Versions (libc: GLIBC_2.4): ... here.
1430
355f9165
RM
1431 * io/poll.c (__poll): Renamed from poll.
1432 Add libc_hidden_def.
1433 (poll): Define as weak alias.
1434
bd9ffde6
RM
1435 * debug/ptsname_r_chk.c: Moved to ...
1436 * login/ptsname_r_chk.c: ... here.
1437 * debug/Makefile (routines): Move ptsname_r_chk to ...
1438 * login/Makefile (routines): ... here.
1439 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
1440 * login/Versions (libc: GLIBC_2.4): ... here.
1441
8fb16a04
RM
1442 * posix/getlogin.c: Moved to ...
1443 * login/getlogin.c: ... here.
1444 * posix/getlogin_r.c: Moved to ...
1445 * login/getlogin_r.c: ... here.
1446 * posix/getlogin_r.c: Moved to ...
1447 * login/getlogin_r.c: ... here.
1448 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
1449 * login/Makefile (routines): ... here.
1450 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
1451 * login/Versions (libc: GLIBC_2.0): ... here.
1452
b99b892f
RM
1453 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
1454 (setrlimit): Define as weak alias.
1455
c7405830
RM
1456 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
1457 Call __ names for open, ftruncate, and close.
1458 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
1459 (truncate): Define as weak alias.
1460
5bf96de5
JM
14612013-05-06 Joseph Myers <joseph@codesourcery.com>
1462
9ea3513c
JM
1463 * math/gen-libm-test.pl (parse_args): Initialize x before each
1464 test of frexp, modf and remquo.
1465
5bf96de5
JM
1466 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
1467 test signgam value.
1468
16e616a7
AZ
14692013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 [BZ #15418]
1472 [BZ #15419]
1473 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
1474 internal tests.
1475 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1476
d5e82754
RM
14772013-05-06 Roland McGrath <roland@hack.frob.com>
1478
1479 * elf/dl-writev.h: New file.
1480 * elf/dl-misc.c: Include it.
1481 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
1482 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
1483
a7548d41
JM
14842013-05-04 Joseph Myers <joseph@codesourcery.com>
1485
b7dab1e4
JM
1486 * math/libm-test.inc (noXFails): Remove variable.
1487 (noXPasses): Likewise.
1488 (BUILD_COMPLEX_INT): Remove macro.
1489 (print_screen): Remove xfail argument.
1490 (print_screen_max_error): Likewise.
1491 (update_stats): Likewise.
1492 (print_max_error): Likewise. Update calls to other affected
1493 functions.
1494 (print_complex_max_error): Likewise.
1495 (test_single_exception): Update calls to print_screen.
1496 (test_single_errno): Likewise.
1497 (check_float_internal): Remove xfail argument. Update calls to
1498 other affected functions.
1499 (check_float): Likewise.
1500 (check_complex): Likewise.
1501 (check_int): Likewise.
1502 (check_long): Likewise.
1503 (check_bool): Likewise.
1504 (check_longlong): Likewise.
1505 (main): Don't print noXFails and noXPasses.
1506 * math/gen-libm-test.pl (top level): Don't mention expected
1507 failure handling in comment.
1508 (new_test): Don't handle expected failures.
1509 (parse_args): Don't mention expected failure handling in comment.
1510 (generate_testfile): Don't handle expected failures.
1511 (parse_ulps): Likewise.
1512 (print_ulps_file): Likewise.
1513 (get_failure): Remove function.
1514 (output_test): Don't handle expected failures.
1515 * make/README.libm-test: Don't mention expected failure handling.
1516
a7548d41
JM
1517 * math/libm-test.inc (plus_zero): Make const. Add initializer.
1518 (minus_zero): Likewise.
1519 (plus_infty): Likewise.
1520 (minus_infty): Likewise.
1521 (qnan_value): Likewise.
1522 (max_value): Likewise.
1523 (min_value): Likewise.
1524 (min_subnorm_value): Likewise.
1525 (initialize): Do not initialize those variables dynamically.
1526
60bfd54c
RM
15272013-05-03 Roland McGrath <roland@hack.frob.com>
1528
cc0e6ed8
RM
1529 * io/open.c (__open_2): Moved to ...
1530 * io/open_2.c: ... this new file.
1531 * io/open64.c (__open64_2): Moved to ...
1532 * io/open64_2.c: ... this new file.
1533 * io/openat.c (__openat_2): Moved to ...
1534 * io/openat_2.c: ... this new file.
1535 * io/openat64.c (__openat64_2): Moved to ...
1536 * io/openat64_2.c: ... this new file.
1537 * io/Makefile (routines): Add them.
1538 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
1539 * sysdeps/unix/sysv/linux/open_2.c: File removed.
1540 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
1541 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
1542 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
1543 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
1544 (__openat64): Add hidden_ver.
1545 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
1546 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
1547
60bfd54c
RM
1548 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
1549 Separately conditionalize setting of GLRO(dl_sysinfo) so
1550 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
1551 as well, but the actual setting is only under [NEED_DL_SYSINFO].
1552
83e7640f
AZ
15532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554
1555 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
1556 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
1557 definition.
1558 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
1559 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1560 (_libc_vdso_platform_setup): Add __vdso_time initialization.
1561 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
1562 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
1563
d5dc2af3
JM
15642013-05-03 Joseph Myers <joseph@codesourcery.com>
1565
c31a5b1e
JM
1566 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
1567 test signgam value.
1568
d5dc2af3
JM
1569 * math/libm-test.inc (hypot_test): Do not use
1570 IGNORE_ZERO_INF_SIGN.
1571
164fd39d
AJ
15722013-05-03 Andreas Jaeger <aj@suse.de>
1573
1574 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
1575 Linux 3.9.
1576 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
1577 (PF_MAX): Adjust for VSOCK change.
1578
8237f48c
AZ
15792013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1580
1581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1582
9df02941
CD
15832013-05-02 Carlos O'Donell <carlos@redhat.com>
1584
1585 [BZ #15264]
1586 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
1587 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
1588 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
1589
d422395e
DM
15902013-05-02 David S. Miller <davem@davemloft.net>
1591
1592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1593
a07c5731
OB
15942013-05-01 Ondřej Bílka <neleai@seznam.cz>
1595
1596 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
1597
1324e37f
RM
15982013-05-01 Roland McGrath <roland@hack.frob.com>
1599
1600 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
1601
0695940b
RS
16022013-05-01 Richard Smith <richard@metafoo.co.uk>
1603
bb5f27ad 1604 [BZ #14952]
0695940b
RS
1605 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
1606 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1607 Use __attribute__ ((__gnu_inline__)).
1608 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
1609 Don't use __attribute__ ((__gnu_inline__)).
1610
10de07f5
JM
16112013-05-01 Joseph Myers <joseph@codesourcery.com>
1612
1613 [BZ #15423]
1614 * math/s_catan.c (__catan): Handle small real or imaginary part of
1615 input specially to avoid spurious underflow.
1616 * math/s_catanf.c (__catanf): Likewise.
1617 * math/s_catanh.c (__catanh): Likewise.
1618 * math/s_catanhf.c (__catanhf): Likewise.
1619 * math/s_catanhl.c (__catanhl): Likewise.
1620 * math/s_catanl.c (__catanl): Likewise.
1621 * math/libm-test.inc (catan_test): Add more tests.
1622 (catanh_test): Likewise.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625
cb4d5414
AZ
16262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627
1628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1629
caf84319
JM
16302013-04-30 Joseph Myers <joseph@codesourcery.com>
1631
1632 [BZ #15416]
1633 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1634 accurately for denominator in atan2.
1635 * math/s_catanf.c (__catanf): Likewise.
1636 * math/s_catanh.c (__catanh): Likewise.
1637 * math/s_catanhf.c (__catanhf): Likewise.
1638 * math/s_catanhl.c (__catanhl): Likewise.
1639 * math/s_catanl.c (__catanl): Likewise.
1640 * math/libm-test.inc (catan_test): Add more tests.
1641 (catanh_test): Likewise.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1644
d569c6ee
SP
16452013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1646
6dbe713d
SP
1647 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1648
f0ee064b
SP
1649 * benchtests/Makefile (bench): Remove slow benchmarks.
1650 * benchtests/atan-inputs: Add slow benchmark inputs.
1651 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1652 (BENCH_FUNC): Accept variant offset.
1653 (VARIANT): Define.
1654 * benchtests/bench-skeleton.c (main): Run benchmark for each
1655 variant.
1656 * benchtests/cos-inputs: Add slow benchmark inputs.
1657 * benchtests/exp-inputs: Likewise.
1658 * benchtests/pow-inputs: Likewise.
1659 * benchtests/sin-inputs: Likewise.
1660 * benchtests/slowatan-inputs: Remove.
1661 * benchtests/slowatan.c: Remove.
1662 * benchtests/slowcos-inputs: Remove.
1663 * benchtests/slowcos.c: Remove.
1664 * benchtests/slowexp-inputs: Remove.
1665 * benchtests/slowexp.c: Remove.
1666 * benchtests/slowpow-inputs: Remove.
1667 * benchtests/slowpow.c: Remove.
1668 * benchtests/slowsin-inputs: Remove.
1669 * benchtests/slowsin.c: Remove.
1670 * benchtests/slowtan-inputs: Remove.
1671 * benchtests/slowtan.c: Remove.
1672 * benchtests/tan-inputs: Add slow benchmark inputs.
1673 * scripts/bench.pl: Parse comments and directives.
1674
d569c6ee
SP
1675 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1676 in CPPFLAGS.
1677 ($(objpfx)bench-%.c): Remove *-ITER.
1678 * benchtests/bench-modf.c: Remove definition of ITER.
1679 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1680 (main): Loop for DURATION seconds instead of fixed number of
1681 iterations.
1682 * scripts/bench.pl: Don't expect iterations in parameters.
1683
a6a242fe
RM
16842013-04-29 Roland McGrath <roland@hack.frob.com>
1685
1686 * io/fchdir.c (__fchdir): Renamed from fchdir.
1687 (fchdir): Define as weak alias.
1688
f2da7793
JM
16892013-04-29 Joseph Myers <joseph@codesourcery.com>
1690
1691 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1692 (ERRNO_EDOM): Likewise.
1693 (ERRNO_ERANGE): Likewise.
1694 (noErrnoTests): New variable.
1695 (init_max_error): Set errno to 0.
1696 (test_single_errno): New function.
1697 (test_errno): Likewise.
1698 (check_float_internal): Call test_errno. Set errno to 0.
1699 (check_complex): Refer to errno tests in comment.
1700 (check_int): Call test_errno. Set errno to 0.
1701 (check_long): Likewise.
1702 (check_bool): Likewise.
1703 (check_longlong): Likewise.
1704 (cos_test): Use ERRNO_* flags for errno tests instead of
1705 check_int.
1706 (expm1_test): Likewise.
1707 (fmod_test): Likewise.
1708 (ilogb_test): Likewise.
1709 (lgamma_test): Likewise.
1710 (pow_test): Likewise.
1711 (remainder_test): Likewise.
1712 (sin_test): Likewise.
1713 (tan_test): Likewise.
1714 (yn_test): Likewise.
1715 (initialize): Set errno to 0.
1716 (main): Print number of errno tests.
1717 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1718
b1a36ceb
AJ
17192013-04-29 Andreas Jaeger <aj@suse.de>
1720
c3ed8088
AJ
1721 [BZ #15084]
1722 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1723 and RES_USEVC.
1724
f1a24198
AJ
1725 [BZ #15085]
1726 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1727 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1728 unimplemented.
1729
9ce3b2cb
AJ
1730 [BZ #15380]
1731 * stdlib/random.c (__initstate): Return NULL if
1732 __initstate fails.
1733
f1a24198 1734 [BZ #15086]
b1a36ceb
AJ
1735 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1736 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1737 RES_SNGLKUPREOP.
1738
7e7b6f36
AZ
17392013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740
1741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1742
4d14f449
JM
17432013-04-29 Joseph Myers <joseph@codesourcery.com>
1744
1745 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1746 of individual tests.
1747 (casin_test): Likewise.
1748 (casinh_test): Likewise.
1749
5b4217d7
JM
17502013-04-27 Joseph Myers <joseph@codesourcery.com>
1751
1752 [BZ #15409]
1753 * math/s_catan.c (__catan): Handle arguments with large real or
1754 imaginary part separately without squaring.
1755 * math/s_catanf.c (__catanf): Likewise.
1756 * math/s_catanh.c (__catanh): Likewise.
1757 * math/s_catanhf.c (__catanhf): Likewise.
1758 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1759 and redefine.
1760 (__catanhl): Handle arguments with large real or imaginary part
1761 separately without squaring.
1762 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1763 and redefine.
1764 (__catanl): Handle arguments with large real or imaginary part
1765 separately without squaring.
1766 * math/libm-test.inc (catan_test): Add more tests.
1767 (catanh_test): Likewise.
1768 * sysdeps/i386/fpu/libm-test-ulps: Update.
1769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770
4220c3ef
AJ
17712013-04-27 Andreas Jaeger <aj@suse.de>
1772
1773 [BZ #15007]
1774 * stdlib/stdlib.h: Update guards for qecvt.
1775 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1776 <stdlib.h>.
1777
4721b2d1
AM
17782013-04-27 Allan McRae <allan@archlinux.org>
1779
1780 * sysdeps/i386/fpu/libm-test-ulps: Update.
1781
f0302940
JM
17822013-04-26 Joseph Myers <joseph@codesourcery.com>
1783
9457fd95
JM
1784 [BZ #15406]
1785 * math/s_catan.c: Include <float.h>.
1786 (__catan): Ensure underflow exception occurs for underflowed
1787 result.
1788 * math/s_catanf.c: Include <float.h>.
1789 (__catanf): Ensure underflow exception occurs for underflowed
1790 result.
1791 * math/s_catanh.c: Include <float.h>.
1792 (__catanh): Ensure underflow exception occurs for underflowed
1793 result.
1794 * math/s_catanhf.c: Include <float.h>.
1795 (__catanhf): Ensure underflow exception occurs for underflowed
1796 result.
1797 * math/s_catanhl.c: Include <float.h>.
1798 (__catanhl): Ensure underflow exception occurs for underflowed
1799 result.
1800 * math/s_catanl.c: Include <float.h>.
1801 (__catanl): Ensure underflow exception occurs for underflowed
1802 result.
1803 * math/libm-test.inc (catan_test): Add more tests.
1804 (catanh_test): Likewise.
1805
f0302940
JM
1806 [BZ #15405]
1807 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1808 underflowed result.
1809 * math/s_ccoshf.c (__ccoshf): Likewise.
1810 * math/s_ccoshl.c (__ccoshl): Likewise.
1811 * math/s_csin.c (__csin): Likewise.
1812 * math/s_csinf.c (__csinf): Likewise.
1813 * math/s_csinh.c (__csinh): Likewise.
1814 * math/s_csinhf.c (__csinhf): Likewise.
1815 * math/s_csinhl.c (__csinhl): Likewise.
1816 * math/s_csinl.c (__csinl): Likewise.
1817 * math/libm-test.inc (ccos_test): Add more tests.
1818 (ccosh_test): Likewise.
1819 (csin_test): Likewise.
1820 (csinh_test): Likewise.
1821
aa630f59
AZ
18222013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1825 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1826 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1827 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1828 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1829 powerpc/power5+/fpu folders.
1830 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1831
1832
1b835983
MT
18332013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1834
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1836
73709b26
JM
18372013-04-25 Joseph Myers <joseph@codesourcery.com>
1838
1839 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1840 additions to variable.
1841 [$(config-machine) = x86_64] (modules-names): Likewise.
1842 ($(objpfx)tst-audit3): Remove dependency.
1843 ($(objpfx)tst-audit3.out): Likewise.
1844 ($(objpfx)tst-audit4): Likewise.
1845 ($(objpfx)tst-audit4.out): Likewise.
1846 ($(objpfx)tst-audit5): Likewise.
1847 ($(objpfx)tst-audit5.out): Likewise.
1848 ($(objpfx)tst-audit6): Likewise.
1849 ($(objpfx)tst-audit6.out): Likewise.
1850 ($(objpfx)tst-audit7): Likewise.
1851 ($(objpfx)tst-audit7.out): Likewise.
1852 (tst-audit3-ENV): Remove variable.
1853 (tst-audit4-ENV): Likewise.
1854 (tst-audit5-ENV): Likewise.
1855 (tst-audit6-ENV): Likewise.
1856 (tst-audit7-ENV): Likewise.
1857 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1858 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1859 addition to variable.
1860 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1861 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1862 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1863 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1864 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1865 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1866 tst-audit3, tst-audit4 and tst-audit5.
1867 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1868 tst-audit6 and tst-audit7.
1869 [$(subdir) = elf] (modules-names): Add audit modules for those
1870 tests.
1871 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1872 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1873 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1874 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1875 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1876 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1877 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1878 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1879 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1880 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1881 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1882 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1883 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1884 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1885 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1886 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1887 Likewise.
1888 [$(subdir) = elf && $(config-cflags-avx) = yes]
1889 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1890 [$(subdir) = elf && $(config-cflags-avx) = yes]
1891 (CFLAGS-tst-auditmod4a.c): Likewise.
1892 [$(subdir) = elf && $(config-cflags-avx) = yes]
1893 (CFLAGS-tst-auditmod4b.c): Likewise.
1894 [$(subdir) = elf && $(config-cflags-avx) = yes]
1895 (CFLAGS-tst-auditmod6b.c): Likewise.
1896 [$(subdir) = elf && $(config-cflags-avx) = yes]
1897 (CFLAGS-tst-auditmod6c.c): Likewise.
1898 [$(subdir) = elf && $(config-cflags-avx) = yes]
1899 (CFLAGS-tst-auditmod7b.c): Likewise.
1900 * elf/tst-audit3.c: Move to ...
1901 * sysdeps/x86_64/tst-audit3.c: ... here.
1902 * elf/tst-audit4.c: Move to ...
1903 * sysdeps/x86_64/tst-audit4.c: ... here.
1904 * elf/tst-audit5.c: Move to ...
1905 * sysdeps/x86_64/tst-audit5.c: ... here.
1906 * elf/tst-audit6.c: Move to ...
1907 * sysdeps/x86_64/tst-audit6.c: ... here.
1908 * elf/tst-audit7.c: Move to ...
1909 * sysdeps/x86_64/tst-audit7.c: ... here.
1910 * elf/tst-auditmod3a.c: Move to ...
1911 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1912 * elf/tst-auditmod3b.c: Move to ...
1913 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1914 * elf/tst-auditmod4a.c: Move to ...
1915 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1916 * elf/tst-auditmod4b.c: Move to ...
1917 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1918 * elf/tst-auditmod5a.c: Move to ...
1919 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1920 * elf/tst-auditmod5b.c: Move to ...
1921 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1922 * elf/tst-auditmod6a.c: Move to ...
1923 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1924 * elf/tst-auditmod6b.c: Move to ...
1925 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1926 * elf/tst-auditmod6c.c: Move to ...
1927 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1928 * elf/tst-auditmod7a.c: Move to ...
1929 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1930 * elf/tst-auditmod7b.c: Move to ...
1931 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1932
1ef74943
PP
19332013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1934
1935 [BZ #15366]
1936 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1937 define unconditionally.
1938 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1939 define unconditionally.
1940 (INT8_C, INT16_C, etc.): Likewise.
1941
93fd48c5
MR
19422013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1943
ae9552cf
MR
1944 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1945 __ehdr_start with hidden visibility.
1946
93fd48c5
MR
1947 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1948
418601aa
CD
19492013-04-24 Carlos O'Donell <carlos@redhat.com>
1950
1951 * math/libm-test.inc (cos_test): Use accurate hex constants.
1952 (sincost_test): Likewise.
1953
2f38fbfe
JM
19542013-04-24 Joseph Myers <joseph@codesourcery.com>
1955
5e221800
JM
1956 * math/libm-test.inc (catan_test): Add more tests.
1957 (catanh_test): Likewise.
1958
77f143fd
JM
1959 * math/s_catanf.c (__catanf): Use suffixed floating-point
1960 constants.
1961 * math/s_catanhf.c (__catanhf): Likewise.
1962 * math/s_catanhl.c (__catanhl): Likewise.
1963 * math/s_catanl.c (__catanl): Likewise.
1964
2f38fbfe
JM
1965 [BZ #15394]
1966 * math/s_catan.c (__catan): Calculate imaginary part of result
1967 with log1p not log unless computing log of number close to 0.
1968 * math/s_catanf.c (__catanf): Likewise.
1969 * math/s_catanl.c (__catanl): Likewise.
1970 * math/s_catanh.c (__catanh): Calculate real part of result with
1971 log1p not log unless computing log of number close to 0.
1972 * math/s_catanhf.c (__catanhf): Likewise.
1973 * math/s_catanhl.c (__catanhl): Likewise.
1974 * math/libm-test.inc (catan_test): Add more tests.
1975 (catanh_test): Likewise.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update.
1977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1978
45d69176
SP
19792013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1980
1981 * benchtests/Makefile: Mention files in which fast and slow
1982 paths of math functions are implemented.
1983
87f51853
RM
19842013-04-23 Roland McGrath <roland@hack.frob.com>
1985
1986 * sysdeps/posix/timespec_get.c: New file.
1987
3c026539
AZ
19882013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1989
1990 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1991 POWER.
1992 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1993 for POWER.
1994 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1995 powerpc/power5/fpu folders.
1996 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1997 * benchtests/Makefile: Add modf testcase.
1998 * benchtests/bench-modf.c: New file: Benchmark test for mo
1999
ff491d14
SP
20002013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2001
2002 [BZ #14888]
2003 * time/Makefile (tests): Add tst-strptime-whitespace.
2004 * time/strptime_l.c (get_number): Use ISSPACE.
2005 (__strptime_internal): Likewise.
2006 * time/tst-strptime-whitespace.c: New test case.
2007
7ed3f4e8
AS
20082013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2009
2010 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2011 member.
2012 (_nss_files_init): Set it here.
2013
5c95f7b6
HC
20142013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2015
2016 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2017 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2018 unsigned.
2019
d34c9158
JBG
20202013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2021
2022 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2023
2169712d
SP
20242013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2025
2026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2027 size just once.
2028
29c5de99
DM
20292013-04-21 David S. Miller <davem@davemloft.net>
2030
2031 * po/ru.po: Update Russion translation from translation project.
2032
ccdad15d
AC
20332013-04-17 Adam Conrad <adconrad@0c3.net>
2034
2035 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2036 and setfsgid.
2037
0f122b8d
CD
20382013-04-17 Carlos O'Donell <carlos@redhat.com>
2039
5c5b07da 2040 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2041 * configure: Regenerate.
5c5b07da 2042 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2043 Add example to error message.
2044 * sysdeps/i386/configure: Regenerate.
2045
037714dd
SP
20462013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2047
2048 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2049 slowtan.
2050 * benchtests/cos-inputs: New file.
2051 * benchtests/slowcos-inputs: New file.
2052 * benchtests/slowcos.c: New file.
2053 * benchtests/slowtan-inputs: New file.
2054 * benchtests/slowtan.c: New file.
2055 * benchtests/tan-inputs: New file.
2056
e913141d
RM
20572013-04-16 Roland McGrath <roland@hack.frob.com>
2058
2059 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2060 considered kosher.
2061
a2964074
SP
20622013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
4856bcd2
SP
2064 * benchtests/Makefile: Include cppflags-iterator.mk to add
2065 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2066
a2964074
SP
2067 * Makefile.in (bench-clean): New target.
2068 * benchtests/Makefile (bench-clean): Likewise.
2069
9fbf9aca
DH
20702013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2071
2072 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2073
207d1e2a
TS
20742013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2075
2076 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2077
306dfba9
AS
20782013-04-15 Andreas Schwab <schwab@suse.de>
2079
2080 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2082 * nscd/pwdcache.c (cache_addpw): Likewise.
2083 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2084 more than recsize.
2085
206a6699
SP
20862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2087
2088 * benchtests/Makefile (bench): Write all output to
2089 bench-out.tmp together.
2090
0582f6b3
AS
20912013-04-15 Andreas Schwab <schwab@suse.de>
2092
2093 * nscd/nscd.c (main): Don't fork again after closing files.
2094
acb4325f
SP
20952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2096
5cb26d0a
SP
2097 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2098
acb4325f
SP
2099 * benchtests/Rules (bench-deps): Collect dependencies into a
2100 single variable. Add Makefile to dependencies.
2101 ($(objpfx)bench-%.c): Depend on bench-deps.
2102
47792506
RM
21032013-04-12 Roland McGrath <roland@hack.frob.com>
2104 Xavier Roche <roche+kml2@exalead.com>
2105
2106 [BZ #15361]
2107 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2108 just that it's a file descriptor.
2109 * manual/llio.texi (Synchronizing AIO Operations): Update description
2110 for EBADF error from aio_fsync.
2111
8fc1bee5
SP
21122013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2113
2114 * Rules (bench): Move target definition...
2115 * benchtests/Makefile: ... here.
2116
aba5e333
CD
21172013-04-11 Carlos O'Donell <carlos@redhat.com>
2118
2119 * math/libm-test.inc (cos_test): Fix PI/2 test.
2120 (sincos_test): Likewise.
2121 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2122 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2123
273cdee8
AS
21242013-04-11 Andreas Schwab <schwab@suse.de>
2125
6ecec3b6
AS
2126 [BZ #13988]
2127 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2128 accept exponent character only when digits were seen.
2129 * stdio-common/Makefile (tests): Add bug26.
2130 * stdio-common/bug26.c: New file.
2131
273cdee8
AS
2132 [BZ #14293]
2133 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2134 non-freeable.
2135
8da491f5
SP
21362013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2137
01dc6df9
SP
2138 * Makeconfig (rtld-prefix): Define built linker prefix.
2139 * Rules (run-bench): Use it.
2140 * math/Makefile (run-regen-ulps): Likewise.
2141
8da491f5
SP
2142 * Rules (bench): Remove eval.
2143
abe7f530
SP
21442013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2145 Roland McGrath <roland@hack.frob.com>
2146 Ondrej Bilka <neleai@seznam.cz>
2147
2148 [BZ #15346]
2149 * time/getdate.c: Include ctype.h and alloca.h.
2150 (__getdate_r): Trim leading and trailing spaces of input.
2151 * time/tst-getdate.c (tests): Add tests with leading and
2152 trailing spaces.
2153
61c23e62
RM
21542013-04-08 Roland McGrath <roland@hack.frob.com>
2155
2156 [BZ #14280]
2157 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2158 when computing value.
2159
7208a313
CD
21602013-04-06 Carlos O'Donell <carlos@redhat.com>
2161
085b2d41
CD
2162 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2163 Use testrun.sh to run libm tests.
2164
7208a313
CD
2165 [BZ #15309]
2166 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2167
872c0acd
MM
21682013-04-06 Marko Myllynen <myllynen@redhat.com>
2169
2170 [BZ #15264]
2171 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2172
26510bdd
CD
21732013-04-06 Carlos O'Donell <carlos@redhat.com>
2174
2175 * Makefile.in (regen-ulps): New target.
2176 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2177 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2178 [ifneq (no,$(PERL)] (regen-ulps): New target.
2179 [ifeq (no,$(PERL)] (regen-ulps): New target.
2180 * math/libm-test.inc (ulps_file_name): Define.
2181 (output_dir): New variable.
2182 (options): Add "output-dir" option.
2183 (parse_opt): Handle 'o' case.
2184 (main): If output_dir is non-NULL use it as a prefix
2185 otherwise use "".
2186 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2187
a01f19c8
CD
21882013-04-06 Carlos O'Donell <carlos@redhat.com>
2189
2190 [BZ #10060, #10062]
2191 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2192 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2193 fail configure if __sync_val_compare_and_swap is not inlined.
2194 * sysdeps/i386/configure: Regenerate.
2195 * configure.in: Build for i686 when configured for i386.
2196 * configure: Regenerate.
2197 * README: Remove i386 reference.
2198
b7a329a5
CD
21992013-04-06 Carlos O'Donell <carlos@redhat.com>
2200
2201 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2203
bf0f50df
TS
22042013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2205
ee091edf
TS
2206 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2207 (lmsnanval): New variables.
2208 (F): Add conversion tests.
2209 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2210 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2211
a8b792d6
TS
2212 * stdio-common/tstdiomisc.c (F): Properly collect individual
2213 tests' results.
2214
a1cbf437
TS
2215 [BZ #14686, #15336]
2216 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2217 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2218 Instead, use input NaN values or generate a qNaN by arithmetic
2219 operation. Also fix bugs to comply with the standard.
2220 * math/libm-test.inc (remainder_test): Add more tests.
2221
8b43a0c9
TS
2222 [BZ #15335, #15342]
2223 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2225 input NaN values or generate a qNaN by arithmetic operation.
2226
d91da4ce
TS
2227 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2228 unreachable code.
2229
bf0f50df
TS
2230 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2231 definitions.
2232
05e166c8
JM
22332013-04-03 Joseph Myers <joseph@codesourcery.com>
2234
2235 [BZ #14478]
2236 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2237 underflowed result.
2238 * math/s_cexpf.c (__cexpf): Likewise.
2239 * math/s_cexpl.c (__cexpl): Likewise.
2240 * math/libm-test.inc (cexp_test): Add more tests.
2241
1cef1b19
AS
22422013-04-03 Andreas Schwab <schwab@suse.de>
2243
2244 [BZ #15330]
2245 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2246 order arrays from heap if bigger than alloca cutoff.
2247
74d87055
TS
22482013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2249
2250 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2251 (SNAN_TESTS_double): Refer to GCC PR56831.
2252 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2253 GCC PR56828.
2254
d755bba4
SP
22552013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2256
90d5d5bb
SP
2257 * Rules (bench): Move bench.out after the run is complete.
2258
73e0cd5d
SP
2259 * Rules (bench): Echo currently running benchmark.
2260
64aabd4b
SP
2261 * benchtests/Makefile (bench): Add atan and slowatan.
2262 * benchtests/atan-inputs: New file.
2263 * benchtests/slowatan-inputs: New file.
2264 * benchtests/slowatan.c: New file.
2265
c871eccd
SP
2266 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2268 its value.
2269
d755bba4
SP
2270 [BZ #15305]
2271 * sysdeps/unix/sysv/linux/kernel-features.h
2272 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2273 __ASSUME_XFS_RESTRICTED_CHOWN.
2274 * sysdeps/unix/sysv/linux/pathconf.c
2275 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2276 Save and restore errno.
2277
52ce4860
JM
22782013-04-02 Joseph Myers <joseph@codesourcery.com>
2279
2280 [BZ #15327]
2281 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2282 arguments using __kernel_casinh.
2283 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2284 arguments using __kernel_casinhf.
2285 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2286 arguments using __kernel_casinhl.
2287 * math/libm-test.inc (cacosh_test): Add more tests.
2288 * sysdeps/i386/fpu/libm-test-ulps: Update.
2289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2290
81f311c2
SP
22912013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2292
e7906a47
SP
2293 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2295
92e3664b
SP
2296 * bench/Makefile (bench): Add sin and slowsin.
2297 * benchtests/sin-inputs: New file.
2298 * benchtests/slowsin-inputs: New file.
2299 * benchtests/slowsin.c: New file.
2300
81f311c2
SP
2301 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2302 (bench): Add slowexp and slowpow.
2303 (exp-ITER): Increase iterations.
2304 (pow-ITER): Likewise.
2305 * benchtests/exp-inputs: Change input.
2306 * benchtests/pow-inputs: Likewise.
2307 * benchtests/slowexp-inputs: New file.
2308 * benchtests/slowexp.c: New file.
2309 * benchtests/slowpow-inputs: New file.
2310 * benchtests/slowpow.c: New file.
2311
ab0f1aa9
AZ
23122013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313
2314 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2315 instructions.
2316 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2317 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2318 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2319 * benchtests/Makefile: Add rint benchtest.
2320 * benchtests/rint-inputs: Input for rint benchtest.
2321
57267616
TS
23222013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2323
2324 * Versions.def (libm): Add GLIBC_2.18.
2325 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2326 hidden libm prototypes.
2327 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2328 * math/Makefile (libm-calls): Add s_issignaling.
2329 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2330 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2331 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2332 declaration.
2333 * math/math.h [__USE_GNU] (issignaling): New macro.
2334 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2335 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2337 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2340 * manual/arith.texi (issignaling): New section.
2341 * manual/libm-err-tab.pl (@all_functions): Update comment.
2342 * math/gen-libm-test.pl (parse_args): Apply special handling for
2343 issignaling.
2344 * math/libm-test.inc (print_float, issignaling_test): New
2345 functions.
2346 (check_float_internal): Add issignaling checks.
2347 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2348 default definition.
2349 * sysdeps/powerpc/math-tests.h: New file.
2350 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2351 tests.
2352 * math/test-snan.c (TEST_FUNC): Likewise.
2353
6142896d
DM
23542013-03-30 David S. Miller <davem@davemloft.net>
2355
2356 * po/de.po: Update from translation team.
2357
ccc8cadf
JM
23582013-03-30 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #10357]
2361 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2362 imaginary part less than 1.0 and real part less than 0.5
2363 specially.
2364 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2365 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2366 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2367 (cacos_test): Add more tests.
2368 (casin_test): Likewise.
2369 (casinh_test): Likewise.
2370 * sysdeps/i386/fpu/libm-test-ulps: Update.
2371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372
0f6a8d4b
SP
23732013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2374
0d1029de
SP
2375 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2376 ONE with its value.
2377
c2d94018
SP
2378 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2379 (__pow_mp): Replace ONE and MONE with their values.
2380 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2381 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2382 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2383 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2384 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2385 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2386
27ec37f1
SP
2387 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2388
a64d7e0e
SP
2389 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2390 (__pow_mp): Replace ZERO and MZERO with their values.
2391 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2392 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2393 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2395 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2396 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2397 (__sqr): Likewise.
2398
d26dd3eb
SP
2399 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2400
0f6a8d4b
SP
2401 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2402
e57b0c61
RM
24032013-03-28 Roland McGrath <roland@hack.frob.com>
2404
2405 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2406 Declare with __attribute__ ((weak)).
2407 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2408 Call __call_tls_dtors only if it's not NULL.
2409
356b3480
RM
24102013-03-28 Roland McGrath <roland@hack.frob.com>
2411
288f7d79
RM
2412 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2413 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2414 magic __ehdr_start linker symbol if it's defined.
2415 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2416 them up here if it was already done.
2417
dc0a0263
RM
2418 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2419 (_dl_aux_init): Use const in cast when setting it.
2420 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2421 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2422 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2423
3d3436ae
RM
2424 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2425 Declare them here.
2426 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2427 * csu/libc-tls.c: Nor here.
2428 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
2429
356b3480
RM
2430 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
2431 (__libc_message): Never call vsyslog.
2432
b0f1246a
AM
24332013-03-28 Alan Modra <amodra@gmail.com>
2434
2435 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
2436 Define as empty.
2437 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
2438 Likewise.
2439
fbbe2b9a
AZ
24402013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441
2442 [BZ #15214]
2443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
2444 underflow.
2445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2446
1728ab37
SP
24472013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2448
7a86be6e
SP
2449 [BZ #15304]
2450 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2451 Don't add gid passed as argument.
2452
1728ab37
SP
2453 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
2454
3a7182a1
JM
24552013-03-27 Joseph Myers <joseph@codesourcery.com>
2456
2457 [BZ #15307]
2458 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2459 imaginary part between 1.0 and 1.5 and real part less than 0.5
2460 specially.
2461 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2462 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2463 * math/libm-test.inc (cacos_test): Add more tests.
2464 (casin_test): Likewise.
2465 (casinh_test): Likewise.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2468
6f2e90e7
SP
24692013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2470
5739f705
SP
2471 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
2472 constants.
2473 (norm): Likewise.
2474 (denorm): Likewise.
2475 (__dbl_mp): Likewise.
2476 (add_magnitudes): Likewise.
2477 (sub_magnitudes): Likewise.
2478 (__add): Likewise.
2479 (__sub): Likewise.
2480 (__mul): Likewise.
2481 (__sqr): Likewise.
2482 (__inv): Likewise.
2483 (__dvd): Likewise.
2484
e375e83d
SP
2485 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
2486 commented code.
2487 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
2488 (__dubcos): Likewise.
2489 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
2490 (__ieee754_acos): Likewise.
2491 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2492 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
2493 (__exp1): Likewise.
2494 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2496 (log1): Likewise.
2497 (my_log2): Likewise.
2498 (checkint): Likewise.
2499 * sysdeps/ieee754/dbl-64/e_remainder.c
2500 (__ieee754_remainder): Likewise.
2501 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2503 (bsloww): Likewise.
2504 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2505
6f2e90e7
SP
2506 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2507 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
2508 MANTISSA_STORE_T to store computations on mantissa. Use
2509 macros for rounding and division.
2510 (denorm): Likewise.
2511 (__dbl_mp): Likewise.
2512 (add_magnitudes): Likewise.
2513 (sub_magnitudes): Likewise.
2514 (__mul): Likewise.
2515 (__sqr): Likewise.
2516 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2517 powers of two in terms of TWOPOW macro.
2518 (mp_no): Make type of mantissa as MANTISSA_T.
2519 [!RADIXI]: Define RADIXI.
2520 [!TWO52]: Define TWO52.
2521 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2522
fce14d4e
AZ
25232013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524
2525 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
2526 llroundl symbol when building for PPC32.
2527
9ad027fb
MW
25282013-03-24 Mark H Weaver <mhw@netris.org>
2529
2530 * manual/arith.texi (Normalization Functions): Fix prototypes for
2531 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2532
e42a38dd
AZ
25332013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2534
2535 [BZ #13889]
2536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
2537 high value to check if expl overflow.
2538 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
2539 to check for underflow and overflow.
2540 * math/libm-test.inc: Add exp test.
2541
2e0fb521
DL
25422013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2543
2544 [BZ #11120]
2545 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
2546 with NOT_IN_libc.
2547
b5784d95
AZ
25482013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
2551 symbol.
2552
5aa4a1a1
TS
25532013-03-21 Thomas Schwinge <thomas@codesourcery.com>
2554
bdef0be7
TS
2555 * math/gen-libm-test.pl (parse_args, special_functions): Properly
2556 wrap blocks consisting of several statements.
2557
5aa4a1a1
TS
2558 * sysdeps/generic/math-tests.h: New file.
2559 * sysdeps/i386/fpu/math-tests.h: Likewise.
2560 * math/test-snan.c: Include it.
2561 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
2562
98c48fe5
JM
25632013-03-21 Joseph Myers <joseph@codesourcery.com>
2564
2565 [BZ #15285]
2566 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
2567 (__ieee754_j0l): Do not improve calculations using cos of twice
2568 input for inputs above LDBL_MAX / 2.0L.
2569 (__ieee754_y0l): Likewise.
2570 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
2571 (__ieee754_j1l): Do not improve calculations using cos of twice
2572 input for inputs above LDBL_MAX / 2.0L.
2573 (__ieee754_y1l): Likewise.
2574 * math/libm-test.inc (j0_test): Add another test.
2575 (j1_test): Likewise.
2576 (y0_test): Likewise.
2577 (y1_test): Likewise.
2578 * sysdeps/i386/fpu/libm-test-ulps: Update.
2579
3775a8bc
SP
25802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2581
2582 * Rules ($(objpfx)bench-%.c): Include code from a C source
2583 file.
2584
0a1b2ae6
JM
25852013-03-21 Joseph Myers <joseph@codesourcery.com>
2586
2587 [BZ #15287]
2588 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2589 imaginary part 1.0 and real part less than 0.5 specially.
2590 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2591 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2592 * math/libm-test.inc (cacos_test): Add more tests.
2593 (casin_test): Likewise.
2594 (casinh_test): Likewise.
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597
b33d4ce4
SP
25982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2599
2600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
2601 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
2602
bef0b507
JM
26032013-03-20 Joseph Myers <joseph@codesourcery.com>
2604
2605 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
2606 * config.make.in (config-cflags-sse4): Remove variable.
2607 (config-cflags-avx): Likewise.
2608 (config-cflags-sse2avx): Likewise.
2609 (config-cflags-novzeroupper): Likewise.
2610 (config-asflags-i686): Likewise.
2611 (have-mfma4): Likewise.
2612 (have-as-vis3): Likewise.
2613 (MIG): Likewise.
2614 * configure.in (MIG): Do not AC_SUBST.
2615 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
2616 (libc_cv_cc_sse4): Do not AC_SUBST.
2617 (libc_cv_cc_avx): Likewise.
2618 (libc_cv_cc_sse2avx): Likewise.
2619 (libc_cv_cc_novzeroupper): Likewise.
2620 (libc_cv_cc_fma4): Likewise.
2621 (libc_cv_as_i686): Likewise.
2622 (libc_cv_sparc_as_vis3): Likewise.
2623 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
2624 LIBC_CONFIG_VAR.
2625 (config-asflags-i686): Likewise.
2626 (config-cflags-avx): Likewise.
2627 (config-cflags-sse2avx): Likewise.
2628 (have-mfma4): Likewise.
2629 (config-cflags-novzeroupper): Likewise.
2630 * sysdeps/mach/configure.in (MIG): Likewise.
2631 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2632 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2633 LIBC_CONFIG_VAR.
2634 (config-cflags-avx): Likewise.
2635 (config-cflags-sse2avx): Likewise.
2636 (have-mfma4): Likewise.
2637 (config-cflags-novzeroupper): Likewise.
2638 * configure: Regenerated.
2639 * sysdeps/i386/configure: Likewise.
2640 * sysdeps/mach/configure: Likewise.
2641 * sysdeps/sparc/configure: Likewise.
2642 * sysdeps/x86_64/configure: Likewise.
2643
912cc4b3
RM
26442013-03-20 Roland McGrath <roland@hack.frob.com>
2645
2646 [BZ #14812]
2647 * locale/programs/localedef.c (options): Put N_ translation marker
2648 on argument names, not just descriptions.
2649
04eed2b0
MS
26502013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2651
2652 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2653
a065ceff
OB
26542013-03-20 Ondřej Bílka <neleai@seznam.cz>
2655
9bb2a810 2656 [BZ #14176]
a065ceff
OB
2657 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2658
a600e5ce
RM
26592013-03-19 Roland McGrath <roland@hack.frob.com>
2660
2661 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2662 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2663 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2664 [!BEFORE_ABORT] (before_abort): New function.
2665 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2666 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2667 (writev_for_fatal): New function.
2668 (WRITEV_FOR_FATAL): New macro; call that.
2669 (backtrace_and_maps): New function.
2670 (BEFORE_ABORT): New macro; call that.
2671 (struct str_list): Type removed.
2672 (__libc_message, __libc_fatal): Functions removed.
2673 Include <sysdeps/posix/libc_fatal.c> instead.
2674
6b18bea6
JM
26752013-03-19 Joseph Myers <joseph@codesourcery.com>
2676
2677 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2678 constants.
2679 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2680 double constants.
2681
aaa8cb4b
AS
26822013-03-19 Andreas Schwab <schwab@suse.de>
2683
44673770
AS
2684 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2685 * sysdeps/gnu/configure: Regenerate.
2686
aaa8cb4b
AS
2687 * configure.in: Substitute libc_cv_rtlddir.
2688 * configure: Regenerate.
2689 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2690 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2691 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2692 * elf/Makefile (install-others, CFLAGS-interp.c)
2693 (ldso_install, common-ldd-rewrite): Likewise.
2694 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2695 $(inst_slibdir)/$(rtld-installed-name).
2696 * scripts/rellns-sh: Add -p option.
2697 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2698 for source.
2699
d3cfc668
SP
27002013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2701
2702 * manual/nptl.texi: Renamed to ...
2703 * manual/threads.texi: ... this.
2704 * manual/Makefile (chapters): Update.
2705
0e2b9cdd
RM
27062013-03-18 Roland McGrath <roland@hack.frob.com>
2707
2708 [BZ #14812]
2709 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2710 on argument names, not just descriptions.
0e2b9cdd
RM
2711 * malloc/memusagestat.c (options): Likewise.
2712 * nss/getent.c (options): Likewise.
63270c24
RM
2713
27142013-03-18 Benno Schulenberg <bensberg@justemail.net>
2715
2716 [BZ #14812]
2717 * iconv/iconv_prog.c (options): Put N_ translation marker
2718 on argument names, not just descriptions.
2719 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 2720
b2e1393c
OB
27212013-03-18 Ondrej Bilka <neleai@seznam.cz>
2722
2723 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2724 implementation which is faster on all x86_64 architectures.
2725 Tested on AMD, Intel Nehalem, SNB, IVB.
2726 * sysdeps/x86_64/strnlen.S: Likewise.
2727
2728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2729 Remove all multiarch strlen and strnlen versions.
2730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2731 Remove strlen and strnlen related parts.
2732
2733 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2734 Inline strlen part.
2735 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2736
2737 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2738 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2739 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2740 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2741 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2742 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2743
ec4ff04d
CD
27442013-03-17 Carlos O'Donell <carlos@redhat.com>
2745
2746 * manual/memory.texi (Malloc Tunable Parameters):
2747 Sort parameters alphabetically. Add comments for missing entries.
2748
cd18e90a
DM
27492013-03-17 David S. Miller <davem@davemloft.net>
2750
2751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2752
2a185d32
JM
27532013-03-16 Joseph Myers <joseph@codesourcery.com>
2754
d2f9799e
JM
2755 [BZ #15283]
2756 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2757 for arguments at most half maximum finite value.
2758 * math/libm-test.inc (j0_test): Add more tests.
2759 (j1_test): Likewise.
2760 (y0_test): Likewise.
2761 (y1_test): Likewise.
2762 * sysdeps/i386/fpu/libm-test-ulps: Update.
2763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2764
2a185d32
JM
2765 [BZ #14155]
2766 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2767 1 / x and functions P and Q for arguments above 0x1p256L.
2768 (__ieee754_y0l): Likewise.
2769 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2770 (__ieee754_y1l): Likewise.
2771 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2772 (j1_test): Likewise.
2773 (y0_test): Likewise.
2774 (y1_test): Likewise.
2775
6cbec759
TS
27762013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2777
2778 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2779 variable.
2780
bc16e260
RM
27812013-03-15 Roland McGrath <roland@hack.frob.com>
2782
aefc9b8c
RM
2783 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2784 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2785 zero since it's initialized to EXEC_PAGESIZE.
2786
bc16e260
RM
2787 * sysdeps/unix/sysv/linux/ldsodefs.h
2788 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2789 * sysdeps/generic/ldsodefs.h: ... here.
2790
a57da955
TS
27912013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2792
af00a34d
TS
2793 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2794
495ded2c
TS
2795 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2796 math/test-snan.c.
2797 * math/test-snan.c: Renamed from
2798 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2799 * math/Makefile (tests): Add test-snan.
2800 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2801 test-powerpc-snan.
2802
777b0332
TS
2803 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2804 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2805 functions.
2806 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2807 __builtin_nan family of functions.
2808 * math/libm-test.inc (initialize): Initialize qnan_value with
2809 __builtin_nan family of functions.
2810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2811 Remove variables.
2812 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2813 Remove functions.
2814 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2815 storage class. Initialize qNaN_var and sNaN_var with
2816 __builtin_nan and __builtin_nans families of functions,
2817 respectively.
2818
64d063b8
TS
2819 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2820 (sqrt_test): Remove duplicate test with qNaN input.
2821 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2822 (round_test, signbit_test, significand_test): Note missing +/-Inf
2823 as well as qNaN tests.
2824
67e971f1
TS
2825 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2826 qNaN_var. Fix a few strings, too.
2827 * math/libm-test.inc (nan_value): Rename to qnan_value.
2828 * math/gen-libm-test.pl (%beautify): Adjust to that.
2829 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2830 * math/test-misc.c (main): Likewise.
2831 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2832 to __qnan_bytes, and __qnan_union, respectively.
2833 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2834 Likewise.
2835 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2836 and lqnanval, respectively.
2837 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2838 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2839 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2840 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2841
64487e12
TS
2842 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2843 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2844 doubles.
2845
e015e27b
TS
2846 * math/test-misc.c (main): Fix copy'n'pastos.
2847 * misc/tst-efgcvt.c (special): Likewise.
2848
a57da955
TS
2849 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2850 Remove declarations.
2851
1e380345
SP
28522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2853
2854 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2855 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2856 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2857 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2858
ef26eece
AZ
28592013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860
2861 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2862 macro to return vdso values correctly in IFUNC implementations.
2863 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2864 Optimization by using IFUNC.
2865
8cfdb7e0
SP
28662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2867 Richard Henderson <rth@redhat.com>
2868 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2869
2870 * Makefile.in (bench): New target.
2871 * NEWS: Mention the benchmark framework.
2872 * Rules (bench): Likewise.
2873 (binaries-bench): Generate binaries for functions to
2874 benchmark.
2875 * benchtests/Makefile: New makefile for benchmark tests.
2876 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2877 programs.
2878 * benchtests/exp-inputs: New input file for EXP function.
2879 * benchtests/pow-inputs: New input file for POW function.
2880 * scripts/bench.pl: New script to generate source files for
2881 benchmark programs.
2882
bcda9880
SP
28832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2884
d22ca8cd
SP
2885 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2886 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2887 computations on mantissa. Use macros for rounding and
2888 division.
2889 (denorm): Likewise.
2890 (__dbl_mp): Likewise.
2891 (add_magnitudes): Likewise.
2892 (sub_magnitudes): Likewise.
2893 (__mul): Likewise.
2894 (__sqr): Likewise.
2895 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2896 powers of two in terms of TWOPOW macro.
2897 (mp_no): Make type of mantissa as MANTISSA_T.
2898 [!RADIXI]: Define RADIXI.
2899 [!TWO52]: Define TWO52.
2900 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2901
bcda9880
SP
2902 * manual/nptl.texi (cindex): Modify threads to pthreads.
2903
06d5adfb
JM
29042013-03-15 Joseph Myers <joseph@codesourcery.com>
2905
2906 * sysdeps/x86_64/preconfigure: Regenerated.
2907
41c7328e
JM
29082013-03-14 Joseph Myers <joseph@codesourcery.com>
2909
2910 [BZ #14155]
2911 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2912 0x1p28 and above.
2913 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2914 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2915 0x1p28 and above.
2916 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2917 * math/libm-test.inc (j0_test): Do not allow one spurious
2918 underflow exception.
2919 (y1_test): Likewise.
2920
e25cfa60
SP
29212013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2922
0409959c
SP
2923 * manual/Makefile (chapters): Add nptl.
2924 * manual/debug.texi (Debugging Support): Add link to Threads
2925 chapter.
2926 * manual/nptl.texi: New file.
2927
e25cfa60
SP
2928 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2929
58a1335e
PB
29302013-03-14 Petr Baudis <pasky@ucw.cz>
2931
2932 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2933 for non-NULL pointer before the memory validity test. Pointed
2934 out by Holger Brunck <holger.brunck@keymile.com>.
2935
9dc7c64f
AS
29362013-03-13 Andreas Schwab <schwab@suse.de>
2937
2938 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2939 instead of .os.
2940
54206aa6
JM
29412013-03-13 Joseph Myers <joseph@codesourcery.com>
2942
2943 * timezone/zic.c: Update from tzcode 2013b.
2944
e98cdb38
CD
29452013-03-12 Carlos O'Donell <carlos@redhat.com>
2946
2947 * manual/install.texi (Configuring and compiling):
2948 Mention i686 and i586.
2949 * INSTALL: Regenerate.
2950
9967e003
RM
29512013-03-12 Roland McGrath <roland@hack.frob.com>
2952
2953 * sysdeps/init_array/elf-init.c: New file.
2954 * csu/elf-init.c
2955 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2956 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2957
2958 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2959 __gmon_start__ as global, but as static with a .preinit_array pointer.
2960 * sysdeps/init_array/gmon-start.c: New file. Use that.
2961 * sysdeps/init_array/crti.S: New file, empty except for comments.
2962 * sysdeps/init_array/crtn.S: Likewise.
2963
e6b5a293 29642013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2965
2966 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2967 definining bcopy.
80f844c9
OB
2968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2969 Remove Prefer_SSE_for_memop.
2970 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2971 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2972 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2974 memset-x86-64.
80f844c9 2975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2976 Remove bzero, memset ifunc support.
80f844c9
OB
2977 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2978 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2979 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2980 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2981
fb6b0fcb
AS
29822013-03-11 Andreas Schwab <schwab@suse.de>
2983
2984 [BZ #15234]
2985 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2986 by SHLIB_COMPAT.
2987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2988 (GLIBC_2.16): Remove pthread_atfork.
2989
3e6bd4b1
PP
29902013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2991
2992 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2993 (ptestcases.h): Likewise.
2994
222d7f00
RM
29952013-03-08 Roland McGrath <roland@hack.frob.com>
2996
2997 * Makeconfig ($(common-objpfx)config.status): Depend on
2998 sysdeps/*/preconfigure{,.in} too.
2999
1ba4f030
JM
30002013-03-08 Joseph Myers <joseph@codesourcery.com>
3001
a222d91a
JM
3002 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3003 (__free_hook): Use void * instead of __malloc_ptr_t.
3004 (__malloc_hook): Likewise.
3005 (__realloc_hook): Likewise.
3006 (__memalign_hook): Likewise.
3007 (__after_morecore_hook): Likewise.
3008 * malloc/arena.c (save_malloc_hook): Likewise.
3009 (save_free_hook): Likewise.
3010 * malloc/hooks.c (malloc_hook_ini): Likewise.
3011 (realloc_hook_ini): Likewise.
3012 (memalign_hook_ini): Likewise.
3013 * malloc/malloc.c (malloc_hook_ini): Likewise.
3014 (realloc_hook_ini): Likewise.
3015 (memalign_hook_ini): Likewise.
3016 (__free_hook): Likewise.
3017 (__malloc_hook): Likewise.
3018 (__realloc_hook): Likewise.
3019 (__memalign_hook): Likewise.
3020 (__libc_malloc): Likewise.
3021 (__libc_free): Likewise.
3022 (__libc_realloc): Likewise.
3023 (__libc_memalign): Likewise.
3024 (__libc_valloc): Likewise.
3025 (__libc_pvalloc): Likewise.
3026 (__libc_calloc): Likewise.
3027 (__posix_memalign): Likewise.
3028 * malloc/morecore.c (__sbrk): Likewise.
3029 (__default_morecore): Likewise.
3030
5cc45e10
JM
3031 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3032
dd54b864
JM
3033 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3034 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3035 __malloc_ptrdiff_t.
3036
1ba4f030
JM
3037 * malloc/malloc.h (__malloc_size_t): Remove macro.
3038 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3039 __malloc_size_t.
3040 (old_memalign_hook): Likewise.
3041 (old_realloc_hook): Likewise.
3042 (struct hdr): Likewise.
3043 (flood): Likewise.
3044 (mallochook): Likewise.
3045 (memalignhook): Likewise.
3046 (reallochook): Likewise.
3047 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3048 (tr_old_realloc_hook): Likewise.
3049 (tr_old_memalign_hook): Likewise.
3050 (tr_mallochook): Likewise.
3051 (tr_reallochook): Likewise.
3052 (tr_memalignhook): Likewise.
3053
edf66e57
AZ
30542013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3057 default_ldbl_pack and using as default implementation.
3058 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3059 implementation.
3060 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3061 redundant definition.
3062 (ldbl_insert_mantissa): Likewise.
3063 (ldbl_canonicalize): Likewise.
3064 (ldbl_nearbyint): Likewise.
3065 (ldbl_pack): Rename to ldbl_pack_ppc.
3066 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3067 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3068 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3069
6d9145d8
SP
30702013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3071
3072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3073 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3074 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3075 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3077 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3078 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3079 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3080
4dd4e157
AJ
30812013-03-07 Andreas Jaeger <aj@suse.de>
3082
3083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3084 bits/mman-linux.h.
3085
adbb8027
SP
30862013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3087
ce544b5b
SP
3088 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3089 Include mpa.h and declare __MPEXP.
3090 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3091 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3092 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3093 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3094 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3095 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3096 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3097
4cc149fd
SP
3098 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3099 (__slowpow): Use long double EXPL and LOGL functions to
3100 compute POW.
3101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3102 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3103 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3104 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3105 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3106 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3107
e6ebd4a7
SP
3108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3109 intermediate variable to calculate exponent.
3110 (__sqr): Likewise.
3111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3112 Likewise.
3113 (__sqr): Likewise.
3114
82a9811d
SP
3115 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3116 [!NO__SQR]: Define __sqr.
3117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3118 and NO__SQR. Remove all code except __mul and __sqr. Include
3119 sysdeps/ieee754/dbl-64/mpa.c.
3120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3121
adbb8027
SP
3122 [BZ #12723]
3123 * posix/Makefile (tests): Add tst-pathconf.
3124 * posix/tst-pathconf.c: New test case.
3125 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3126 _PC_PIPE_BUF.
3127 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3128
39120df9
PF
31292013-03-06 Patsy Franklin <pfrankli@redhat.com>
3130
3131 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3132
67525cb8
AJ
31332013-03-06 Andreas Jaeger <aj@suse.de>
3134
664a9ce4
AJ
3135 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3136 definition via __MAP_ANONYMOUS.
3137
8e39047d
AJ
3138 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3139 it's not part of Linux headers.
3140
67525cb8
AJ
3141 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3142 (MAP_HUGE_MASK): Define.
3143
3144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3145 Define.
3146 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3148 Define.
3149 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3150 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3151 Define.
3152 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3154 Define.
3155 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3156
3157 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3158 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3159 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3160 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3161 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3162 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3163
3164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3165 Handle f2fs.
3166
3167 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3168 Handle f2fs and efivarfs.
3169
3170 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3171 f2fs.
3172
3173 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3174 (EFIVARFS_MAGIC): Add.
3175 (F2FS_LINK_MAX): Add.
3176
e1b42695
PP
31772013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3178
3179 * stdio-common/vfprintf.c: Replace __builtin_expect with
3180 __glibc_unlikely.
3181
2d67d91a
JM
31822013-03-06 Joseph Myers <joseph@codesourcery.com>
3183
3184 [BZ #13550]
3185 * sysdeps/generic/bp-sym.h: Remove file.
3186 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3187 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3188 <bp-sym.h> and <bp-asm.h>.
3189 (__longjmp): Don't use BP_SYM.
3190 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3191 and <bp-asm.h>.
3192 (memcpy): Don't use BP_SYM.
3193 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3194 <bp-sym.h> and <bp-asm.h>.
3195 (memcpy): Don't use BP_SYM.
3196 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3197 <bp-asm.h>.
3198 (memcpy): Don't use BP_SYM.
3199 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3200 <bp-asm.h>.
3201 (memset): Don't use BP_SYM.
3202 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3203 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3204 (__bzero): Don't use BP_SYM.
3205 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3206 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3207 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3208 <bp-sym.h> and <bp-asm.h>.
3209 (memcmp): Don't use BP_SYM. Remove comment about bounded
3210 pointers.
3211 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3212 <bp-sym.h> and <bp-asm.h>.
3213 (memcpy): Don't use BP_SYM.
3214 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3215 <bp-sym.h> and <bp-asm.h>.
3216 (memset): Don't use BP_SYM.
3217 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3218 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3219 (__bzero): Don't use BP_SYM.
3220 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3221 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3222 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3223 <bp-sym.h> and <bp-asm.h>.
3224 (strncmp): Don't use BP_SYM. Remove comment about bounded
3225 pointers.
3226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3227 <bp-sym.h> and <bp-asm.h>.
3228 (memcpy): Don't use BP_SYM.
3229 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3230 <bp-sym.h> and <bp-asm.h>.
3231 (memset): Don't use BP_SYM.
3232 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3233 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3234 (__bzero): Don't use BP_SYM.
3235 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3236 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3238 <bp-sym.h> and <bp-asm.h>.
3239 (__memchr): Don't use BP_SYM.
3240 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3241 <bp-sym.h> and <bp-asm.h>.
3242 (memcmp): Don't use BP_SYM. Remove comment about bounded
3243 pointers.
3244 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3245 <bp-sym.h> and <bp-asm.h>.
3246 (memcpy): Don't use BP_SYM.
3247 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3248 <bp-sym.h> and <bp-asm.h>.
3249 (__mempcpy): Don't use BP_SYM.
3250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3251 <bp-sym.h> and <bp-asm.h>.
3252 (__memrchr): Don't use BP_SYM.
3253 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3254 <bp-sym.h> and <bp-asm.h>.
3255 (memset): Don't use BP_SYM.
3256 (__bzero): Likewise.
3257 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3258 <bp-sym.h> and <bp-asm.h>.
3259 (__rawmemchr): Don't use BP_SYM.
3260 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3261 <bp-sym.h> and <bp-asm.h>.
3262 (__STRCMP): Don't use BP_SYM.
3263 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3264 <bp-sym.h> and <bp-asm.h>.
3265 (strchr): Don't use BP_SYM.
3266 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3267 <bp-sym.h> and <bp-asm.h>.
3268 (__strchrnul): Don't use BP_SYM.
3269 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3270 <bp-sym.h> and <bp-asm.h>.
3271 (strlen): Don't use BP_SYM.
3272 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3273 <bp-sym.h> and <bp-asm.h>.
3274 (strncmp): Don't use BP_SYM. Remove comment about bounded
3275 pointers.
3276 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3277 <bp-sym.h> and <bp-asm.h>.
3278 (__strnlen): Don't use BP_SYM.
3279 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3280 <bp-sym.h> and <bp-asm.h>.
3281 (__GI__setjmp): Don't use BP_SYM.
3282 (_setjmp): Likewise.
3283 (__sigsetjmp): Likewise.
3284 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3285 (L(start_addresses)): Don't use BP_SYM.
3286 (_start): Likewise.
3287 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3288 <bp-asm.h>.
3289 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3290 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3291 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3292 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3293 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3294 <bp-asm.h>.
3295 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3296 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3297 about bounded pointers.
3298 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3299 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3300 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3301 <bp-asm.h>.
3302 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3303 about bounded pointers. Remove GKM FIXME comments.
3304 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3305 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3306 <bp-asm.h>.
3307 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3308 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3309 Remove GKM FIXME comments.
3310 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3311 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3312 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3313 <bp-asm.h>.
3314 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3315 about bounded pointers. Remove GKM FIXME comment.
3316 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3317 and <bp-asm.h>.
3318 (strncmp): Don't use BP_SYM. Remove comment about bounded
3319 pointers.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3321 <bp-sym.h> and <bp-asm.h>.
3322 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3324 <bp-sym.h> and <bp-asm.h>.
3325 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3326 comment.
3327
cdcf361f
PP
33282013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3329
3330 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3331 call free(NULL).
3332
3c4a2b15
DM
33332013-03-05 David S. Miller <davem@davemloft.net>
3334
3335 * po/es.po: Update from translation team.
3336
cdcf361f 33372013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3338
3339 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3340 <bits/mman-linux.h>.
3341 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3342 is fine.
3343 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3344 <bits/mman-linux.h> to end of file.
3345 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3346 is fine.
3347 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3348 <bits/mman-linux.h> to end of file.
3349 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3350 is fine.
3351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3352 <bits/mman-linux.h> to end of file.
3353
3354 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3355 (MCL_CURRENT, MCL_FUTURE): Define here.
3356
5f67c04f
AK
33572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3358
8a4473cc 3359 [BZ #15232]
5f67c04f
AK
3360 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3361 attribute_hidden.
3362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3363
c3e94a95
AK
33642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3365
3366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3367 fourth parameter needed for rt_sigprocmask syscall.
3368 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3369 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3370 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3371 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3374
cfb6382a
JM
33752013-03-04 Joseph Myers <joseph@codesourcery.com>
3376
3377 [BZ #13550]
3378 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3379 comment about bounded pointers.
3380 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3381 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3382
539d8e01
AJ
33832013-03-04 Andreas Jaeger <aj@suse.de>
3384
3385 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3386 common definitions.
3387
3388 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3389 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3390 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3391 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3393 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3394
2e167a70 33952013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3396
3397 [BZ #15055]
3398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3399 __ieee754_sqrl instead of __sqrl.
3400
68508633
JM
34012013-03-01 Joseph Myers <joseph@codesourcery.com>
3402
3403 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3404 * sysdeps/powerpc/fpu_control.h: ... here.
3405 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3406 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3407 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3408 * sysdeps/powerpc/bits/mathinline.h: ... here.
3409
7775448e
RM
34102013-03-01 Roland McGrath <roland@hack.frob.com>
3411
3412 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3413 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3414 to just [NEED_DL_SYSINFO_DSO].
3415 * elf/dl-support.c: Likewise.
3416 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3417 * elf/rtld.c (dl_main): Likewise.
3418 * elf/setup-vdso.h (setup_vdso): Likewise.
3419 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3420 * sysdeps/unix/sysv/linux/dl-sysdep.c
3421 (_dl_discover_osversion): Likewise.
3422
4e9b5995
CD
34232013-03-01 Carlos O'Donell <carlos@redhat.com>
3424
3425 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3426 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3427
e23872c8
SP
34282013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3429
e5c74c63
SP
3430 * NEWS: Mention libm performance improvements and non-x86 PI
3431 futex support.
3432
e23872c8
SP
3433 * csu/libc-start.c (__pthread_initialize_minimal): Change
3434 function arguments.
3435 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3436
b5510883
JM
34372013-02-28 Joseph Myers <joseph@codesourcery.com>
3438
3439 [BZ #13550]
3440 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
3441 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
3442 <bp-sym.h> and <bp-asm.h>.
3443 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3444 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
3445 and <bp-asm.h>.
3446 (memcpy): Don't use BP_SYM.
3447 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
3448 <bp-asm.h>.
3449 (__mpn_add_n): Don't use BP_SYM.
3450 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
3451 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
3452 and <bp-asm.h>.
3453 (__mpn_addmul_1): Don't use BP_SYM.
3454 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3455 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
3456 <bp-sym.h>.
3457 (_setjmp): Don't use BP_SYM.
3458 (__novmx_setjmp): Likewise.
3459 (__GI__setjmp): Likewise.
3460 (__vmx_setjmp): Likewise.
3461 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
3462 <bp-sym.h>.
3463 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
3464 (__bzero): Don't use BP_SYM.
3465 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3466 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3467 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
3468 <bp-sym.h> and <bp-asm.h>.
3469 (memcpy): Don't use BP_SYM.
3470 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
3471 <bp-sym.h> and <bp-asm.h>.
3472 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3473 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
3474 <bp-sym.h> and <bp-asm.h>.
3475 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
3476 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
3477 <bp-asm.h>.
3478 (__mpn_lshift): Don't use BP_SYM.
3479 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3480 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
3481 <bp-asm.h>.
3482 (memset): Don't use BP_SYM.
3483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3485 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
3486 <bp-asm.h>.
3487 (__mpn_mul_1): Don't use BP_SYM.
3488 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3489 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
3490 <bp-sym.h> and <bp-asm.h>.
3491 (memcmp): Don't use BP_SYM.
3492 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
3493 <bp-sym.h> and <bp-asm.h>.
3494 (memcpy): Don't use BP_SYM.
3495 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
3496 <bp-sym.h> and <bp-asm.h>.
3497 (memset): Don't use BP_SYM.
3498 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
3499 <bp-sym.h> and <bp-asm.h>.
3500 (strncmp): Don't use BP_SYM.
3501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
3502 <bp-sym.h> and <bp-asm.h>.
3503 (memcpy): Don't use BP_SYM.
3504 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
3505 <bp-sym.h> and <bp-asm.h>.
3506 (memset): Don't use BP_SYM.
3507 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
3508 <bp-sym.h> and <bp-asm.h>.
3509 (__memchr): Don't use BP_SYM.
3510 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
3511 <bp-sym.h> and <bp-asm.h>.
3512 (memcmp): Don't use BP_SYM.
3513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
3514 <bp-sym.h> and <bp-asm.h>.
3515 (memcpy): Don't use BP_SYM.
3516 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
3517 <bp-sym.h> and <bp-asm.h>.
3518 (__mempcpy): Don't use BP_SYM.
3519 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
3520 <bp-sym.h> and <bp-asm.h>.
3521 (__memrchr): Don't use BP_SYM.
3522 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
3523 <bp-sym.h> and <bp-asm.h>.
3524 (memset): Don't use BP_SYM.
3525 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
3526 <bp-sym.h> and <bp-asm.h>.
3527 (__rawmemchr): Don't use BP_SYM.
3528 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
3529 <bp-sym.h> and <bp-asm.h>.
3530 (__STRCMP): Don't use BP_SYM.
3531 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
3532 <bp-sym.h> and <bp-asm.h>.
3533 (strchr): Don't use BP_SYM.
3534 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
3535 <bp-sym.h> and <bp-asm.h>.
3536 (__strchrnul): Don't use BP_SYM.
3537 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
3538 <bp-sym.h> and <bp-asm.h>.
3539 (strlen): Don't use BP_SYM.
3540 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
3541 <bp-sym.h> and <bp-asm.h>.
3542 (strncmp): Don't use BP_SYM.
3543 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
3544 <bp-sym.h> and <bp-asm.h>.
3545 (__strnlen): Don't use BP_SYM.
3546 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
3547 <bp-asm.h>.
3548 (__mpn_rshift): Don't use BP_SYM.
3549 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3550 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
3551 <bp-sym.h> and <bp-asm.h>.
3552 (__sigsetjmp): Don't use BP_SYM.
3553 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
3554 (L(start_addresses)): Don't use BP_SYM.
3555 (_start): Likewise.
3556 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
3557 <bp-asm.h>.
3558 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
3559 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3560 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3561 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
3562 <bp-asm.h>.
3563 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
3564 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3565 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3566 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
3567 <bp-asm.h>.
3568 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3569 comments.
3570 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3571 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
3572 <bp-asm.h>.
3573 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
3574 FIXME comments.
3575 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3576 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3577 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
3578 <bp-asm.h>.
3579 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
3580 comment.
3581 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
3582 and <bp-asm.h>.
3583 (strncmp): Don't use BP_SYM,
3584 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
3585 <bp-asm.h>.
3586 (__mpn_sub_n): Don't use BP_SYM.
3587 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3588 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
3589 and <bp-asm.h>.
3590 (__mpn_submul_1): Don't use BP_SYM.
3591 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
3593 <bp-sym.h> and <bp-asm.h>.
3594 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
3596 <bp-sym.h> and <bp-asm.h>.
3597 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3598 comment.
3599
8d19fe64
SP
36002013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3601
3602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
3603 Use ZK to minimize writes to Z.
3604 (sub_magnitudes): Simplify code a bit.
3605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
3606 Use ZK to minimize writes to Z.
3607 (sub_magnitudes): Simplify code a bit.
3608
85bd816a
RM
36092013-02-27 Roland McGrath <roland@hack.frob.com>
3610
3611 * csu/gmon-start.c: Add special exception to license text.
3612
b5977bf2
RH
36132013-02-27 Richard Henderson <rth@redhat.com>
3614
3615 * scripts/config.guess: Update from config.git.
3616 * scripts/config.sub: Likewise.
3617
11d6e2f2
SP
36182013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3619
09c14ed2
SP
3620 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
3621
a688864e
SP
3622 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
3623
6295157a
SP
3624 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
3625
b8de2202
SP
3626 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
3627
11d6e2f2
SP
3628 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
3629
7e80ddb8
RM
36302013-02-26 Roland McGrath <roland@hack.frob.com>
3631
3632 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3633 [$(build-shared = yes].
7e80ddb8 3634
7da6d9ed
SP
36352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3636
45f05884
SP
3637 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3638 (__mul): Reduce iterations for calculating mantissa.
3639
2236d359
SP
3640 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3641 MPTWO.
3642 (__mpranred): Likewise.
3643
7da6d9ed
SP
3644 [BZ #15160]
3645 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3646 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3647
b7688c42
PE
36482013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3649
3650 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3651 Define __attribute__.
3652
53a5c423
SP
36532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3654
3655 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3656 unused.
3657 * posix/regex_internal.h (__attribute): Remove.
3658 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3659 (re_string_context_at): Likewise.
3660 (bitset_not): Use __attribute__ and mark function as possibly
3661 unused.
3662 (bitset_merge): Likewise.
3663 (bitset_mask): Likewise.
3664 (re_string_char_size_at): Likewise.
3665 (re_string_wchar_at): Likewise.
3666 (re_string_elem_size_at): Likewise.
3667
60f5a8b5
SP
36682013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3669
2a983a2e
SP
3670 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3671 code.
3672 (cc32): Likewise.
3673
e69804d1
SP
3674 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3675 (__acr): Likewise.
3676 (__cpy): Likewise.
3677 (norm): Likewise.
3678 (denorm): Likewise.
3679 (__dbl_mp): Likewise.
3680 (add_magnitudes): Likewise.
3681 (sub_magnitudes): Likewise.
3682 (__mul): Likewise.
3683 (__inv): Likewise.
3684
2f22a1e8
SP
3685 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3686 style.
3687
8930ddc7
SP
3688 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3689 style.
3690
dc60cb11
SP
3691 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3692 code.
3693
60f5a8b5
SP
3694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3695 up changes with default code.
3696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3697 Likewise.
3698
b4d1fd33
AM
36992013-02-24 Allan McRae <allan@archlinux.org>
3700
faf6f8bc
AM
3701 * manual/socket.texi (The Internet Namespace): Order menu items
3702 to match that in the file.
3703
b4d1fd33
AM
3704 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3705 node listing of the info page menu.
3706
2366713d
JM
37072013-02-21 Joseph Myers <joseph@codesourcery.com>
3708
3709 [BZ #13550]
3710 * sysdeps/i386/bp-asm.h: Remove file.
3711 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3712 (PARMS): Do not use macros from bp-asm.h.
3713 (S1): Likewise.
3714 (S2): Likewise.
3715 (SIZE): Likewise.
3716 (__mpn_add_n): Do not use BP_SYM
3717 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3718 "bp-asm.h".
3719 (PARMS): Do not use macros from bp-asm.h.
3720 (S1): Likewise.
3721 (SIZE): Likewise.
3722 (__mpn_addmul_1): Do not use BP_SYM
3723 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3724 "bp-asm.h".
3725 (PARMS): Do not use macros from bp-asm.h.
3726 (SIGMSK): Likewise.
3727 (_setjmp): Likewise. Do not use BP_SYM.
3728 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3729 "bp-asm.h".
3730 (PARMS): Do not use macros from bp-asm.h.
3731 (SIGMSK): Likewise.
3732 (setjmp): Likewise. Do not use BP_SYM.
3733 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3734 "bp-asm.h".
3735 (PARMS): Do not use macros from bp-asm.h.
3736 (__frexp): Do not use BP_SYM.
3737 (frexp): Likewise.
3738 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3739 "bp-asm.h".
3740 (PARMS): Do not use macros from bp-asm.h.
3741 (__frexpf): Do not use BP_SYM.
3742 (frexpf): Likewise.
3743 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3744 "bp-asm.h".
3745 (PARMS): Do not use macros from bp-asm.h.
3746 (__frexpl): Do not use BP_SYM.
3747 (frexpl): Likewise.
3748 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3749 "bp-asm.h".
3750 (PARMS): Do not use macros from bp-asm.h.
3751 (__remquo): Do not use BP_SYM.
3752 (remquo): Likewise.
3753 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3754 "bp-asm.h".
3755 (PARMS): Do not use macros from bp-asm.h.
3756 (__remquof): Do not use BP_SYM.
3757 (remquof): Likewise.
3758 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3759 "bp-asm.h".
3760 (PARMS): Do not use macros from bp-asm.h.
3761 (__remquol): Do not use BP_SYM.
3762 (remquol): Likewise.
3763 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3764 "bp-asm.h".
3765 (PARMS): Do not use macros from bp-asm.h.
3766 (DEST): Likewise.
3767 (SRC): Likewise.
3768 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3769 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3770 "bp-asm.h".
3771 (PARMS): Do not use macros from bp-asm.h.
3772 (strlen): Do not use BP_SYM.
3773 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3774 "bp-asm.h".
3775 (PARMS): Do not use macros from bp-asm.h.
3776 (S1): Likewise.
3777 (S2): Likewise.
3778 (SIZE): Likewise.
3779 (__mpn_add_n): Do not use BP_SYM.
3780 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3781 "bp-asm.h".
3782 (PARMS): Do not use macros from bp-asm.h.
3783 (S1): Likewise.
3784 (SIZE): Likewise.
3785 (__mpn_addmul_1): Do not use BP_SYM.
3786 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3787 weak_alias.
3788 (bzero): Likewise.
3789 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3790 "bp-asm.h".
3791 (PARMS): Do not use macros from bp-asm.h.
3792 (S): Likewise.
3793 (SIZE): Likewise.
3794 (__mpn_lshift): Do not use BP_SYM.
3795 * sysdeps/i386/i586/memcpy.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 (SRC): Likewise.
3800 (LEN): Likewise.
3801 (memcpy): Likewise. Do not use BP_SYM.
3802 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3803 libc_hidden_def and weak_alias.
3804 (mempcpy): Do not use BP_SYM in weak_alias.
3805 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3806 "bp-asm.h".
3807 (PARMS): Do not use macros from bp-asm.h.
3808 (DEST): Likewise.
3809 (LEN): Likewise.
3810 [!BZERO_P] (CHR): Likewise.
3811 (memset): Likewise. Do not use BP_SYM.
3812 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3813 "bp-asm.h".
3814 (PARMS): Do not use macros from bp-asm.h.
3815 (S1): Likewise.
3816 (SIZE): Likewise.
3817 (__mpn_mul_1): Do not use BP_SYM.
3818 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3819 "bp-asm.h".
3820 (PARMS): Do not use macros from bp-asm.h.
3821 (S): Likewise.
3822 (SIZE): Likewise.
3823 (__mpn_rshift): Do not use BP_SYM.
3824 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3825 "bp-asm.h".
3826 (PARMS): Do not use macros from bp-asm.h.
3827 (STR): Likewise.
3828 (CHR): Likewise.
3829 (strchr): Likewise. Do not use BP_SYM.
3830 (index): Do not use BP_SYM in weak_alias.
3831 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3832 "bp-asm.h".
3833 (PARMS): Do not use macros from bp-asm.h.
3834 (DEST): Likewise.
3835 (SRC): Likewise.
3836 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3837 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3838 "bp-asm.h".
3839 (PARMS): Do not use macros from bp-asm.h.
3840 (strlen): Do not use BP_SYM.
3841 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3842 "bp-asm.h".
3843 (PARMS): Do not use macros from bp-asm.h.
3844 (S1): Likewise.
3845 (S2): Likewise.
3846 (SIZE): Likewise.
3847 (__mpn_sub_n): Do not use BP_SYM.
3848 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3849 "bp-asm.h".
3850 (PARMS): Do not use macros from bp-asm.h.
3851 (S1): Likewise.
3852 (SIZE): Likewise.
3853 (__mpn_submul_1): Do not use BP_SYM.
3854 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3855 "bp-asm.h".
3856 (PARMS): Do not use macros from bp-asm.h.
3857 (S1): Likewise.
3858 (S2): Likewise.
3859 (SIZE): Likewise.
3860 (__mpn_add_n): Do not use BP_SYM.
3861 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3862 weak_alias.
3863 (bzero): Likewise.
3864 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3865 "bp-asm.h".
3866 (PARMS): Do not use macros from bp-asm.h.
3867 (BLK2): Likewise.
3868 (LEN): Likewise.
3869 (memcmp): Do not use BP_SYM.
3870 (bcmp): Do not use BP_SYM in weak_alias.
3871 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3872 "bp-asm.h".
3873 (PARMS): Do not use macros from bp-asm.h.
3874 (DEST): Likewise.
3875 (SRC): Likewise.
3876 (LEN): Likewise.
3877 (memcpy): Likewise. Do not use BP_SYM.
3878 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3879 "bp-asm.h".
3880 (PARMS): Do not use macros from bp-asm.h.
3881 (DEST): Likewise.
3882 (SRC): Likewise.
3883 (LEN): Likewise.
3884 (memmove): Likewise. Do not use BP_SYM.
3885 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3886 "bp-asm.h".
3887 (PARMS): Do not use macros from bp-asm.h.
3888 (DEST): Likewise.
3889 (SRC): Likewise.
3890 (LEN): Likewise.
3891 (__mempcpy): Likewise. Do not use BP_SYM.
3892 (mempcpy): Do not use BP_SYM in weak_alias.
3893 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3894 "bp-asm.h".
3895 (PARMS): Do not use macros from bp-asm.h.
3896 (DEST): Likewise.
3897 (LEN): Likewise.
3898 [!BZERO_P] (CHR): Likewise.
3899 (memset): Likewise. Do not use BP_SYM.
3900 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3901 "bp-asm.h".
3902 (PARMS): Do not use macros from bp-asm.h.
3903 (STR2): Likewise.
3904 (strcmp): Do not use BP_SYM.
3905 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3906 "bp-asm.h".
3907 (PARMS): Do not use macros from bp-asm.h.
3908 (STR): Likewise.
3909 (DELIM): Likewise.
3910 [USE_AS_STRTOK_R] (SAVE): Likewise.
3911 (FUNCTION): Likewise. Do not use BP_SYM.
3912 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3913 aliases.
3914 (strtok_r): Likewise.
3915 (__GI___strtok_r): Likewise.
3916 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3917 (PARMS): Do not use macros from bp-asm.h.
3918 (S): Likewise.
3919 (SIZE): Likewise.
3920 (__mpn_lshift): Do not use BP_SYM.
3921 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3922 (PARMS): Do not use macros from bp-asm.h.
3923 (STR): Likewise.
3924 (CHR): Likewise.
3925 (__memchr): Do not use BP_SYM.
3926 (memchr): Do not use BP_SYM in weak_alias.
3927 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3928 (PARMS): Do not use macros from bp-asm.h.
3929 (BLK2): Likewise.
3930 (LEN): Likewise.
3931 (memcmp): Do not use BP_SYM.
3932 (bcmp): Do not use BP_SYM in weak_alias.
3933 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3934 (PARMS): Do not use macros from bp-asm.h.
3935 (S1): Likewise.
3936 (SIZE): Likewise.
3937 (__mpn_mul_1): Do not use BP_SYM.
3938 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3939 "bp-asm.h".
3940 (PARMS): Do not use macros from bp-asm.h.
3941 (STR): Likewise.
3942 (CHR): Likewise.
3943 (__rawmemchr): Do not use BP_SYM.
3944 (rawmemchr): Do not use BP_SYM in weak_alias.
3945 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3946 (PARMS): Do not use macros from bp-asm.h.
3947 (S): Likewise.
3948 (SIZE): Likewise.
3949 (__mpn_rshift): Do not use BP_SYM.
3950 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3951 (PARMS): Do not use macros from bp-asm.h.
3952 (SIGMSK): Likewise.
3953 (__sigsetjmp): Likewise. Do not use BP_SYM.
3954 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3955 (_start): Do not use BP_SYM.
3956 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3957 (PARMS): Do not use macros from bp-asm.h.
3958 (DEST): Likewise.
3959 (SRC): Likewise.
3960 (__stpcpy): Likewise. Do not use BP_SYM.
3961 (stpcpy): Do not use BP_SYM in weak_alias.
3962 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3963 "bp-asm.h".
3964 (PARMS): Do not use macros from bp-asm.h.
3965 (DEST): Likewise.
3966 (SRC): Likewise.
3967 (LEN): Likewise.
3968 (__stpncpy): Likewise. Do not use BP_SYM.
3969 (stpncpy): Do not use BP_SYM in weak_alias.
3970 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3971 (PARMS): Do not use macros from bp-asm.h.
3972 (STR): Likewise.
3973 (CHR): Likewise.
3974 (strchr): Likewise. Do not use BP_SYM.
3975 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3976 "bp-asm.h".
3977 (PARMS): Do not use macros from bp-asm.h.
3978 (STR): Likewise.
3979 (CHR): Likewise.
3980 (__strchrnul): Likewise. Do not use BP_SYM.
3981 (strchrnul): Do not use BP_SYM in weak_alias.
3982 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3983 "bp-asm.h".
3984 (PARMS): Do not use macros from bp-asm.h.
3985 (STOP): Likewise.
3986 (strcspn): Do not use BP_SYM.
3987 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3988 "bp-asm.h".
3989 (PARMS): Do not use macros from bp-asm.h.
3990 (STR): Likewise.
3991 (STOP): Likewise.
3992 (strpbrk): Likewise. Do not use BP_SYM.
3993 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3994 "bp-asm.h".
3995 (PARMS): Do not use macros from bp-asm.h.
3996 (STR): Likewise.
3997 (CHR): Likewise.
3998 (strrchr): Likewise. Do not use BP_SYM.
3999 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4000 (PARMS): Do not use macros from bp-asm.h.
4001 (SKIP): Likewise.
4002 (strspn): Do not use BP_SYM.
4003 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4004 (PARMS): Do not use macros from bp-asm.h.
4005 (STR): Likewise.
4006 (DELIM): Likewise.
4007 (SAVE): Likewise.
4008 (FUNCTION): Likewise. Do not use BP_SYM.
4009 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4010 aliases.
4011 (strtok_r): Likewise.
4012 (__GI___strtok_r): Likewise.
4013 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4014 (PARMS): Do not use macros from bp-asm.h.
4015 (S1): Likewise.
4016 (S2): Likewise.
4017 (SIZE): Likewise.
4018 (__mpn_sub_n): Do not use BP_SYM.
4019 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4020 "bp-asm.h".
4021 (PARMS): Do not use macros from bp-asm.h.
4022 (S1): Likewise.
4023 (SIZE): Likewise.
4024 (__mpn_submul_1): Do not use BP_SYM.
4025 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4026 <bp-sym.h>.
4027 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4028 and <bp-asm.h>.
4029 (PARMS): Do not use macros from bp-asm.h.
4030 (FLAGS): Likewise.
4031 (PTID): Likewise.
4032 (TLS): Likewise.
4033 (CTID): Likewise.
4034 (__clone): Do not use BP_SYM.
4035 (clone): Do not use BP_SYM in weak_alias.
4036 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4037 and <bp-asm.h>.
4038 (PARMS): Do not use macros from bp-asm.h.
4039 (LEN): Likewise.
4040 (__mmap64): Do not use BP_SYM.
4041 (mmap64): Do not use BP_SYM in weak_alias.
4042 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4043 <bp-sym.h> and <bp-asm.h>.
4044 (PARMS): Do not use macros from bp-asm.h.
4045 (__posix_fadvise64_l64): Do not use BP_SYM.
4046 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4047 (PARMS): Do not use macros from bp-asm.h.
4048 (NSOPS): Likewise.
4049 (semtimedop): Do not use BP_SYM.
4050 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4051 and <bp-asm.h>.
4052
582a3cff
AM
40532013-02-21 Allan McRae <allan@archlinux.org>
4054
4055 * manual/message.texi (Charset conversion in gettext):
4056 Move @end statement to beginning of line.
4057
bab8a695
SP
40582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4059
80945231
SP
4060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4061 static.
4062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4063 Likewise.
4064
bab8a695
SP
4065 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4066 (denorm): Likewise.
4067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4069
e21d7aa7
AK
40702013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4071
4072 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4073 tail-call to the resolved function if pltexit isn't needed.
4074
4c7a4263
SP
40752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
4077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4078 or Y being zero as being unlikely.
4079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4080 Likewise.
4081
41f49342
CD
40822013-02-20 Carlos O'Donell <carlos@redhat.com>
4083
4084 * manual/nss.texi (System Databases and Name Service Switch):
4085 Remove frobnicate @pxref.
4086
50022a93
TS
40872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4088
4089 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4090 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4091
08cbd996
PM
40922013-02-20 Petr Machata <pmachata@redhat.com>
4093
4094 * elf/elf.h (R_ARM_TARGET1): New macro.
4095 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4096 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4097 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4098 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4099 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4100 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4101 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4102 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4103 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4104 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4105 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4106 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4107 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4108 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4109 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4110 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4111 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4112 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4113 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4114 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4115 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4116 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4117 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4118 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4119 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4120 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4121 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4122 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4123 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4124 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4125 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4126 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4127 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4128 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4129 (R_ARM_THM_GOT_BREL12): Likewise.
4130 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4131 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4132 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4133 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4134 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4135 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4136 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4137 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4138 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4139
c7b275d6
TS
41402013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4141
4142 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4143 __attribute_used__ to __attribute__ ((unused)).
4144
20cd7fb3
SP
41452013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4146
4147 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4148 powerpc mpa.c.
4149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4150 comment formatting.
4151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4152
92945b52
JM
41532013-02-19 Joseph Myers <joseph@codesourcery.com>
4154
4155 [BZ #13550]
4156 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4157 Remove macro.
4158 (ENTER): Remove both macro definitions.
4159 (LEAVE): Likewise.
4160 (CHECK_BOUNDS_LOW): Likewise.
4161 (CHECK_BOUNDS_HIGH): Likewise.
4162 (CHECK_BOUNDS_BOTH): Likewise.
4163 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4164 (RETURN_BOUNDED_POINTER): Likewise.
4165 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4166 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4167 (POP_ERRNO_LOCATION_RETURN): Likewise.
4168 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4169 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4170 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4171 macros.
4172 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4173 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4174 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4175 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4176 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4177 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4178 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4179 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4180 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4181 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4182 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4183 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4184 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4185 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4186 removed macros.
4187 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4188 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4189 macros.
4190 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4191 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4192 * sysdeps/i386/i586/memset.S (memset): Likewise.
4193 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4194 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4195 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4196 macros.
4197 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4198 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4199 Change uses of L(2) to L(out).
4200 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4201 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4202 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4203 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4204 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4205 removed macros.
4206 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4207 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4208 macros.
4209 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4210 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4211 (RETURN): Do not use macro LEAVE.
4212 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4213 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4214 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4215 * sysdeps/i386/i686/memset.S (memset): Likewise.
4216 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4217 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4218 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4219 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4220 Likewise.
4221 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4222 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4223 L(1_2) and L(1_3) into L(1).
4224 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4225 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4226 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4227 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4228 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4229 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4230 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4231 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4232 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4233 macros.
4234 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4235 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4236 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4237 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4238 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4239 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4240 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4241 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4242 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4243 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4244 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4245 * sysdeps/i386/strspn.S (strspn): Likewise.
4246 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4247 conditional code.
4248 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4249 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4250 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4251 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4252 L(1_3) into L(1_1).
4253 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4254 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4255 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4256 macros.
4257 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4258
2389741a
JJ
42592013-02-19 Jakub Jelinek <jakub@redhat.com>
4260
4261 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4262 macro.
4263
2016b3cd
SP
42642013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4265
e4f22324
SP
4266 * math/atest-exp.c (exp_mpn): Remove ROUND.
4267 * math/atest-exp2.c (exp_mpn): Likewise.
4268 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4269
2016b3cd
SP
4270 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4271 * stdlib/tst-tls-atexit-lib.c: Likewise.
4272 * stdlib/tst-tls-atexit.c: Likewise.
4273
4be9b544
MF
42742013-02-18 Mike Frysinger <vapier@gentoo.org>
4275
4276 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4277 and __attribute_alloc_size__.
4278
2f62b9ee
MF
42792013-02-18 Mike Frysinger <vapier@gentoo.org>
4280
4281 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4282 __attribute_alloc_size__.
4283 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4284 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4285
6ff444c4
MF
42862013-02-18 Mike Frysinger <vapier@gentoo.org>
4287
4288 * include/programs/xmalloc.h: New file.
4289 * catgets/gencat.c: Include it.
4290 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4291 * elf/pldd.c: Likewise.
4292 * iconv/iconv_charmap.c: Likewise.
4293 * iconv/iconvconfig.c: Likewise.
4294 * iconv/strtab.c: Likewise.
4295 * locale/programs/locale.c: Likewise.
4296 * locale/programs/localedef.h: Likewise.
4297 * locale/programs/simple-hash.c: Likewise.
4298 * nscd/nscd.h: Likewise.
4299 * nss/makedb.c: Likewise.
4300 * sysdeps/generic/ldconfig.h: Likewise.
4301
be179c8a
SP
43022013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4303
ba384f6e
SP
4304 * Versions.def: Add GLIBC_2.18.
4305 * include/link.h (struct link_map): New member l_tls_dtor_count.
4306 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4307 (__call_tls_dtors): Likewise.
4308 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4309 __cxa_thread_atexit_impl.
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4311 Likewise.
4312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4313 Likewise.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4315 Likewise.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4317 Likewise.
4318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4320 Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4322 Likewise.
4323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4325 Likewise.
4326 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4327 (tests): Add test case tst-tls-atexit.
4328 (modules-names): Add shared library for tst-tls-atexit.
4329 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4330 (GLIBC_PRIVATE): Add __call_tls_dtors.
4331 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4332 for libstdc++.
4333 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4334 * stdlib/tst-tls-atexit.c: New test case.
4335 * stdlib/tst-tls-atexit-lib.c: New test case.
4336
ffaa74cf 4337 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4338
be179c8a
SP
4339 * elf/Versions (ld): Add _dl_find_dso_for_object.
4340 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4341 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4342 (dl_open_worker): Use _dl_find_dso_for_object.
4343 * elf/dl-sym.c (do_sym): Likewise.
4344 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4345
f78b5caa
AK
43462013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4347
4348 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4349 Syntactic changes only.
4350 (_dl_runtime_profile): Do a tail-call to the resolved function.
4351
29691210
JM
43522013-02-17 Joseph Myers <joseph@codesourcery.com>
4353
4354 [BZ #13550]
4355 * sysdeps/x86_64/bp-asm.h: Remove file.
4356 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4357 <bp-sym.h> and <bp-asm.h>.
4358 (__clone): Do not use BP_SYM.
4359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4360 <bp-sym.h> and <bp-asm.h>.
4361 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4362 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4363 "bp-asm.h".
4364 (_setjmp): Do not use BP_SYM.
4365 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4366 "bp-asm.h".
4367 (setjmp): Do not use BP_SYM.
4368 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4369 libc_hidden_def.
4370 (mempcpy): Do not use BP_SYM in weak_alias.
4371 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4372 "bp-asm.h".
4373 (strchr): Do not use BP_SYM.
4374 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4375 "bp-asm.h".
4376 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4377 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4378 (_start): Do not use BP_SYM.
4379 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4380 "bp-asm.h".
4381 (strcat): Do not use BP_SYM.
4382 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4383 "bp-asm.h".
4384 (STRCMP): Do not use BP_SYM.
4385 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4386 "bp-asm.h".
4387 (STRCPY): Do not use BP_SYM.
4388 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4389 "bp-asm.h".
4390 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4391 "bp-asm.h".
4392 (FUNCTION): Do not use BP_SYM.
4393 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4394 weak_alias.
4395 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4396
f238fd19
AJ
43972013-02-17 Andreas Jaeger <aj@suse.de>
4398
4399 * time/Versions: Sort entries.
4400 * string/Versions: Likewise.
4401 * resolv/Versions: Likewise.
4402 * posix/Versions: Likewise.
4403 * iconv/Versions: Likewise.
4404 * elf/Versions: Likewise.
4405 * wcsmbs/Versions: Likewise.
4406
bd07f23c 44072013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 4408
22af19f9
SP
4409 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4410 loop termination condition.
4411
4709fe76
SP
4412 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4413 variable to calculate EZ.
4414 (__sqr): Likewise.
2d0e0f29
SP
4415
4416 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4417 the lower precision input.
4418
daaa7713
JM
44192013-02-15 Joseph Myers <joseph@codesourcery.com>
4420
4421 [BZ #13550]
4422 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4423 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4424 (run-via-rtld-prefix): Do not handle %-bp tests.
4425 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4426 (all-object-suffixes): Remove .ob.
4427 (bppfx): Remove variable.
4428 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
4429 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
4430 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
4431 [$(build-bounded) = yes] (libtype.ob): Likewise.
4432 * Makerules (elide-routines.ob): Remove variable.
4433 (do-tests-clean): Do not handle *-bp.out.
4434 (common-mostlyclean): Do not handle *-bp and *-bp.out.
4435 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
4436 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
4437 (tests): Do not include $(tests-bp.out).
4438 (xtests): Do not include $(xtests-bp.out).
4439 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
4440 [$(build-bounded) = yes] ($(addprefix
4441 $(objpfx),$(binaries-bounded))): Remove rule.
4442 ($(objpfx)%-bp.out): Remove rule.
4443 * config.make.in (build-bounded): Remove variable.
4444 * crypt/Makefile [$(build-bounded) = yes]
4445 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
4446 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
4447 append to variable.
4448 [$(build-bounded) = yes] (install-lib): Likewise.
4449 [$(build-bounded) = yes] (generated): Likewise.
4450 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
4451 Remove rule.
4452 * intl/Makefile [$(build-bounded) = yes]
4453 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
4454 * math/Makefile [$(build-bounded) = yes]
4455 ($(tests:%=$(objpfx)%-bp): Likewise.
4456 * misc/Makefile [$(build-bounded) = yes]
4457 ($(objpfx)tst-tsearch-bp): Likewise.
4458 * nptl/Makeconfig (bounded-thread-library): Remove variable.
4459 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
4460 Remove dependency.
4461 * string/Makefile (o-objects.ob): Remove variable.
4462 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
4463 (CFLAGS-.ob): Remove variable.
4464 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
4465 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
4466 both definitions of variable.
4467 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
4468 (ASFLAGS-.ob): Remove variable.
4469
e97ed6dd
JM
44702013-02-14 Joseph Myers <joseph@codesourcery.com>
4471
2bdd4ca6
JM
4472 [BZ #13550]
4473 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
4474 Remove __BOUNDED_POINTERS__ from condition.
4475 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
4476 * string/bits/string2.h [!__NO_STRING_INLINES &&
4477 !__BOUNDED_POINTERS__]: Likewise.
4478 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
4479 Likewise.
4480 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
4481 Remove conditional code.
4482 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
4483 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
4484 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
4485 condition.
4486
e97ed6dd
JM
4487 [BZ #13550]
4488 * csu/libc-start.c: Do not include <bp-sym.h>.
4489 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
4490 * elf/dl-open.c: Do not include <bp-sym.h>.
4491 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
4492 * math/fegetenv.c: Do not include <bp-sym.h>.
4493 (fegetenv): Do not use BP_SYM in versioned symbols.
4494 * nptl/sysdeps/pthread/bits/libc-lockP.h
4495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
4496 <bp-sym.h>.
4497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4498 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
4499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4500 (__pthread_mutex_destroy): Likewise.
4501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4502 (__pthread_mutex_lock): Likewise.
4503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4504 (__pthread_mutex_trylock): Likewise.
4505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4506 (__pthread_mutex_unlock): Likewise.
4507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4508 (__pthread_mutexattr_init): Likewise.
4509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4510 (__pthread_mutexattr_destroy): Likewise.
4511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4512 (__pthread_mutexattr_settype): Likewise.
4513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4514 (__pthread_rwlock_init): Likewise.
4515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4516 (__pthread_rwlock_destroy): Likewise.
4517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4518 (__pthread_rwlock_rdlock): Likewise.
4519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4520 (__pthread_rwlock_tryrdlock): Likewise.
4521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4522 (__pthread_rwlock_wrlock): Likewise.
4523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4524 (__pthread_rwlock_trywrlock): Likewise.
4525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4526 (__pthread_rwlock_unlock): Likewise.
4527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4528 (__pthread_key_create): Likewise.
4529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4530 (__pthread_setspecific): Likewise.
4531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4532 (__pthread_getspecific): Likewise.
4533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
4534 Likewise.
4535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4536 (_pthread_cleanup_push_defer): Likewise.
4537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4538 (_pthread_cleanup_pop_restore): Likewise.
4539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
4540 (pthread_setcancelstate): Likewise.
4541 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
4542 <bp-sym.h>.
4543 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
4544 (memchr): Do not use BP_SYM in weak_alias.
4545 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
4546 (fegetenv): Do not use BP_SYM in versioned symbols.
4547 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
4548 (fesetenv): Do not use BP_SYM in versioned symbols.
4549 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4550 (feupdateenv): Do not use BP_SYM in versioned symbols.
4551 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4552 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4553 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
4554 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
4555 (open64): Do not use BP_SYM in weak_alias.
4556 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
4557 (fegetenv): Do not use BP_SYM in versioned symbols.
4558 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
4559 (fesetenv): Do not use BP_SYM in versioned symbols.
4560 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
4561 (feupdateenv): Do not use BP_SYM in versioned symbols.
4562 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
4563 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
4564 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
4565 (feraiseexcept): Do not use BP_SYM in versioned symbols.
4566 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
4567 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
4568 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
4569 <bp-sym.h>.
4570 (__libc_start_main): Do not use BP_SYM.
4571
d6752ccd
SP
45722013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4573
cb57ce60
SP
4574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
4575 redundant return line.
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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
4586 (norm): Likewise.
4587 (denorm): Likewise.
4588 (dbl_mp): Likewise.
4589 (sub_magnitudes): Likewise.
4590 (__add): Likewise.
4591 (__sub): Likewise.
4592 (__mul): Likewise.
4593 (__inv): Likewise.
4594 (__dvd): Likewise.
4595
f414520d
SP
4596 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
4597 instead of __mul.
4598 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4599 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
4600 (cc32): Likewise.
4601
d6752ccd
SP
4602 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
4603 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
4604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
4605 of __mul for squares.
4606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
4607 function
4608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
4609 Likewise.
4610 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
4611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4612
70d9946a
JM
46132013-02-13 Joseph Myers <joseph@codesourcery.com>
4614
4615 [BZ #13550]
4616 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
4617 code.
4618 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
4619 prototype or function definition. Rename ubp_* variables and
4620 parameters. Remove argv definitions conditional on
4621 [__BOUNDED_POINTERS__].
4622 * debug/backtrace.c (__backtrace): Do not use __unbounded.
4623 * elf/dl-runtime.c (_dl_fixup): Likewise.
4624 * include/set-hooks.h (RUN_HOOK): Likewise.
4625 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
4626 definition.
4627 * string/strcpy.c (strcpy): Do not use __unbounded.
4628 * sysdeps/generic/frame.h (struct layout): Likewise.
4629 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
4630 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
4631 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4632 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4633 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4634 (__backtrace): Likewise.
4635 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4636 use __ptrvalue.
4637 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4638 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4639 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4640 Likewise.
4641 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4642 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4643 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4644 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4645 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4646 Do not use __unbounded.
4647 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4648 Rename __unboundedrlimits parameter to rlimits in prototype.
4649 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4650 Do not use __unbounded.
4651 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4652 not use __ptrvalue.
4653 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4654 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4655 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4656 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4657 __ptrvalue or __unbounded.
4658 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4659 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4660 use __unbounded.
4661 (__new_msgctl): Do not use __ptrvalue.
4662 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4663 __unbounded.
4664 (__libc_msgrcv): Do not use __ptrvalue.
4665 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4666 startup_info): Do not use __unbounded.
4667 (__libc_start_main): Likewise. Rename ubp_* variables and
4668 parameters. Remove argv definitions conditional on
4669 [__BOUNDED_POINTERS__].
4670 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4671 __ptrvalue.
4672 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4673 use __unbounded.
4674 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4675 or __ptrvalue.
4676 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4677 use __unbounded.
4678 (__new_shmctl): Do not use __ptrvalue.
4679 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4680 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4681 Likewise.
4682 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4684 (__libc_sigaction): Likewise.
4685 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4686 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4687 Likewise.
4688 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4689
cc7834d6
OB
46902013-02-13 Ondřej Bílka <neleai@seznam.cz>
4691
ffb1ec7b 4692 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
4693
4694 * string/mempcpy.c: Implement by calling memcpy.
4695
bdf02814
SP
46962013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4697
c2af38aa
SP
4698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4699
4e92d59e
SP
4700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4701 evaluation.
4702
909279a5
SP
4703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4704 values in the mantissa.
4705
bdf02814
SP
4706 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4707 minimize writes to Z.
4708 (sub_magnitudes): Simplify code a bit.
4709
cd525923
RM
47102013-02-12 Roland McGrath <roland@hack.frob.com>
4711
4712 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4713 from the message. The linker prefixes all warnings with that already.
4714
7e2f0d2d
AS
47152013-02-12 Andreas Schwab <schwab@suse.de>
4716
a445af0b
AS
4717 [BZ #15078]
4718 * posix/regexec.c (extend_buffers): Add parameter min_len.
4719 (check_matching): Pass minimum needed length.
4720 (clean_state_log_if_needed): Likewise.
4721 (get_subexp): Likewise.
4722 * posix/Makefile (tests): Add bug-regex34.
4723 (bug-regex34-ENV): Define.
4724 * posix/bug-regex34.c: New file.
4725
7e2f0d2d
AS
4726 [BZ #11561]
4727 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4728 elements compare against the byte sequence of it, not its name.
4729 * posix/Makefile (tests): Add bug-regex35.
4730 (bug-regex35-ENV): Define.
4731 * posix/bug-regex35.c: New file.
4732
a175b684
TV
47332013-02-11 Tom de Vries <tom@codesourcery.com>
4734
4735 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4736 comment.
4737 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4738 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4739 (CHECK_EOL): Add undef.
4740
310998fe 47412013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
4742
4743 * bits/stdlib-bsearch.h: New file.
4744 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 4745 * stdlib/stdlib.h: Likewise.
41eda41d 4746
8ded91fb
RM
47472013-02-11 Roland McGrath <roland@hack.frob.com>
4748
4749 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4750 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4751 declaration.
4752 * manual/search.texi (Array Search Function): Add missing const in
4753 lfind prototype.
4754 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4755 declaration to use rlim_t.
4756 (Basic Scheduling Functions): Remove erroneous const from
4757 sched_getparam prototype. Remove erroneous * from
4758 sched_get_priority_max and sched_get_priority_min prototypes.
4759 (Resource Usage): Fix summary @comment on vtimes to refer to
4760 sys/vtimes.h rather than vtimes.h.
4761 Add missing *s in vtimes prototype.
4762 (Limits on Resources): Fix ulimit prototype to return long int.
4763 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4764 prototypes to use long int rather than double.
4765 (BSD Random): Fix initstate and setstate to use char *, not void *.
4766 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4767 prototype to make second argument 'struct aiocb64 *const[]'.
4768 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4769 (Status of AIO Operations): Remove erroneous const in aio_return and
4770 aio_return64 prototypes.
4771 (Synchronizing I/O): Fix sync prototype to return void.
4772 * manual/startup.texi (Suboptions): Remove an erroneous const in
4773 getsubopt prototype.
4774 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4775 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4776 use size_t rather than int.
4777 (Scanning All Users): Likewise for getpwent_r.
4778 (Setting Groups): Add missing const to setgroups prototype.
4779 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4780 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4781 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4782 'const void *' rather than 'const char *'.
4783 (Host Address Functions): Likewise for inet_ntop.
4784 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4785 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4786 ssize_t for return value.
4787 (Sending Data): Likewise for send, sendto, sendmsg.
4788 (Socket Option Functions): Add a missing const in setsockopt prototype.
4789 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4790 use wchar_t for the argument.
4791 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4792 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4793 take no arguments.
4794 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4795 double/float/long double for second argument.
4796 Fix return types of significand, significandf, significandl.
4797 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4798 argument in fchmod prototype.
4799 (File Owner): Use uid_t and gid_t in fchown prototype.
4800 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4801 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4802 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4803 use 'const struct dirent **' as argument types to CMP function pointer
4804 argument.
4805 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4806 (File Times): Fix summary magic @comment for struct utimbuf and utime
4807 to refer to utime.h, not time.h.
4808 * manual/string.texi (Argz Functions): Add missing const in
4809 argz_extract and argz_next prototypes.
4810 (Finding Tokens in a String): Likewise for basename.
4811 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4812 (Copying and Concatenation): Fix typo in wmemmove prototype.
4813 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4814 (Signal Stack): Remove erroneous const in sigstack prototype.
4815 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4816 prototype.
4817 (Simple Calendar Time): Likewise for stime.
4818 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4819 prototype.
4820 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4821 say sys/sysctl.h instead.
4822 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4823 and vsyslog prototypes.
4824
fe77fe6d
TV
48252013-02-11 Tom de Vries <tom@codesourcery.com>
4826
4827 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4828 Remove.
4829
3a09b620
RM
48302013-02-11 Roland McGrath <roland@hack.frob.com>
4831
4832 * misc/sys/mman.h: Fix typo in mremap comment.
4833
550a0b89
RM
48342013-02-08 Roland McGrath <roland@hack.frob.com>
4835
4836 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4837 the '\0' terminator.
4838
a2da1673
JM
48392013-02-08 Joseph Myers <joseph@codesourcery.com>
4840
4841 [BZ #13550]
4842 * debug/segfault.c: Don't include <bp-checks.h>.
4843 * sysdeps/generic/bp-checks.h: Remove file.
4844 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4845 (__GETDENTS): Don't use CHECK_N.
4846 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4847 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4848 (__getgroups): Don't use CHECK_N.
4849 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4850 (setgroups): Don't use CHECK_N.
4851 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4852 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4853 (__libc_msgrcv): Don't use CHECK_N.
4854 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4855 (__libc_msgsnd): Don't use CHECK_N.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4857 <bp-checks.h>.
4858 (__libc_pread): Don't use CHECK_N.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4860 include <bp-checks.h>.
4861 (__libc_pread64): Don't use CHECK_N.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4863 include <bp-checks.h>.
4864 (__libc_pwrite): Don't use CHECK_N.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4866 include <bp-checks.h>.
4867 (__libc_pwrite64): Don't use CHECK_N.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4869 <bp-checks.h>.
4870 (__libc_pread): Don't use CHECK_N.
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4872 include <bp-checks.h>.
4873 (__libc_pread64): Don't use CHECK_N.
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4875 include <bp-checks.h>.
4876 (__libc_pwrite): Don't use CHECK_N.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4878 include <bp-checks.h>.
4879 (__libc_pwrite64): Don't use CHECK_N.
4880 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4881 (do_pread): Don't use CHECK_N.
4882 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4883 (do_pread64): Don't use CHECK_N.
4884 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4885 (do_pwrite): Don't use CHECK_N.
4886 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4887 (do_pwrite64): Don't use CHECK_N.
4888 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4889 (__libc_readv): Don't use CHECK_N.
4890 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4891 (semop): Don't use CHECK_N.
4892 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4893 <bp-checks.h>.
4894 (semtimedop): Don't use CHECK_N.
4895 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4896 (__libc_pread): Don't use CHECK_N.
4897 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4898 <bp-checks.h>.
4899 (__libc_pread64): Don't use CHECK_N.
4900 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4901 <bp-checks.h>.
4902 (__libc_pwrite): Don't use CHECK_N.
4903 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4904 <bp-checks.h>.
4905 (__libc_pwrite64): Don't use CHECK_N.
4906 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4907 <bp-checks.h>.
4908 (__libc_msgrcv): Don't use CHECK_N.
4909 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4910 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4911 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4912 (__libc_writev): Don't use CHECK_N.
4913
b84660a8
RM
49142013-02-08 Roland McGrath <roland@hack.frob.com>
4915
7f3e75f8
RM
4916 * string/strcpy.c: Removed unused variable.
4917
b84660a8
RM
4918 * Makeconfig (+sysdep-includes): Define with := rather than =.
4919 Use an existing include/ subdir of each sysdeps dir before it.
4920
471514d3
CD
49212013-02-08 Carlos O'Donell <carlos@redhat.com>
4922
4923 * nscd/connection.c (register_traced_file): Comment function.
4924 [HAVE_INOTIFY] (union __inev): Define.
4925 [HAVE_INOTIFY] (inotify_check_files): New function.
4926 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4927 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4928 clear_db_cache.
4929 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4930
b2d3c3be
CD
49312013-02-08 Carlos O'Donell <carlos@redhat.com>
4932
4933 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4934 loaded if not already and that a failure is permanent.
4935
b39949d2
CD
49362013-02-08 Carlos O'Donell <carlos@redhat.com>
4937
ddacd1db 4938 [BZ #15006]
b39949d2
CD
4939 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4940 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4941
b2c9eff4
JM
49422013-02-08 Joseph Myers <joseph@codesourcery.com>
4943
f3aae3f3
JM
4944 [BZ #13550]
4945 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4946 (CHECK_1_NULL_OK): Likewise.
4947 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4948 (__fxstat): Do not use CHECK_1.
4949 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4950 <bp-checks.h>.
4951 (___fxstat64): Do not use CHECK_1.
4952 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4953 <bp-checks.h>.
4954 (__fxstatat): Do not use CHECK_1.
4955 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4956 <bp-checks.h>.
4957 (__fxstatat64): Do not use CHECK_1.
4958 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4959 <bp-checks.h>.
4960 (__fxstat): Do not use CHECK_1.
4961 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4962 <bp-checks.h>.
4963 (__fxstatat): Do not use CHECK_1.
4964 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4965 <bp-checks.h>.
4966 (__getresgid): Do not use CHECK_1.
4967 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4968 <bp-checks.h>.
4969 (__getresuid): Do not use CHECK_1.
4970 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4971 <bp-checks.h>.
4972 (__lxstat): Do not use CHECK_1.
4973 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4974 <bp-checks.h>.
4975 (__old_msgctl): Do not use CHECK_1.
4976 (__new_msgctl): Likewise.
4977 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4978 <bp-checks.h>.
4979 (__new_setrlimit): Do not use CHECK_1.
4980 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4981 <bp-checks.h>.
4982 (__old_shmctl): Do not use CHECK_1.
4983 (__new_shmctl): Likewise.
4984 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4985 <bp-checks.h>.
4986 (__xstat): Do not use CHECK_1.
4987 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4988 (__lxstat): Do not use CHECK_1.
4989 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4990 <bp-checks.h>.
4991 (___lxstat64): Do not use CHECK_1.
4992 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4993 (__old_msgctl): Do not use CHECK_1.
4994 (__new_msgctl): Likewise.
4995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4996 <bp-checks.h>.
4997 (__gettimeofday): Do not use CHECK_1.
4998 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4999 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5000 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5001 <bp-checks.h>.
5002 (__gettimeofday): Do not use CHECK_1.
5003 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5004 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5005 (__new_shmctl): Do not use CHECK_1.
5006 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5007 <bp-checks.h>.
5008 (do_sigtimedwait): Do not use CHECK_1.
5009 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5010 <bp-checks.h>.
5011 (do_sigwaitinfo): Do not use CHECK_1.
5012 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5013 <bp-checks.h>.
5014 (msgctl): Do not use CHECK_1.
5015 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5016 <bp-checks.h>.
5017 (shmctl): Do not use CHECK_1.
5018 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5019 (ustat): Do not use CHECK_1.
5020 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5021 <bp-checks.h>.
5022 (__fxstat): Do not use CHECK_1.
5023 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5024 <bp-checks.h>.
5025 (__fxstatat): Do not use CHECK_1.
5026 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5027 <bp-checks.h>.
5028 (__lxstat): Do not use CHECK_1.
5029 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5030 <bp-checks.h>.
5031 (__xstat): Do not use CHECK_1.
5032 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5033 (__xstat): Do not use CHECK_1.
5034 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5035 (___xstat64): Do not use CHECK_1.
5036
b2c9eff4
JM
5037 [BZ #13550]
5038 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5039 definitions.
5040 (CHECK_BOUNDS_HIGH): Likewise.
5041 * string/strcpy.c: Do not include <bp-checks.h>.
5042 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5043
f1d70dad
RM
50442013-02-07 Roland McGrath <roland@hack.frob.com>
5045
5046 * nscd/nscd-client.h (__nscd_drop_map_ref):
5047 Add __attribute__ ((unused)).
5048 * nis/nss-nisplus.h (niserr2nss): Likewise.
5049
5050 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5051 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5052
5053 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5054 Remove inline keyword.
5055 * include/rounding-mode.h (round_away): Likewise.
5056 * libio/wfileops.c (adjust_wide_data): Likewise.
5057 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5058 (__m128i_strloadu_tolower): Likewise.
5059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5060 (__m128i_strloadu_tolower): Likewise.
5061 * time/mktime.c (ydhms_diff): Likewise.
5062 * locale/elem-hash.h (elem_hash): Likewise.
5063 * locale/setlocale.c (setdata): Likewise.
5064 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5065 (re_string_wchar_at): Likewise.
5066 (bitset_not, bitset_merge, bitset_mask): Likewise.
5067 [!(__GNUC__ > 3)] (inline): Remove macro.
5068 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5069 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5070 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5071 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5072 * string/memcmp.c (memcmp_bytes): Likewise.
5073 * locale/programs/locarchive.c (compute_hashval): Likewise.
5074 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5075 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5076 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5077 * nss/getent.c (print_rpc, print_protocols): Likewise.
5078 (print_passwd, print_group, print_aliases): Likewise.
5079 * nis/nss-nisplus.h (niserr2nss): Likewise.
5080 * nscd/connections.c (restart_p): Likewise.
5081 Change return type to bool.
5082
eab55bfb
RM
50832013-02-05 Roland McGrath <roland@hack.frob.com>
5084
7bd642f5
RM
5085 * Makeconfig (all-Depend-files): Add existing
5086 $(sorted-subdirs:=/Depend) files.
5087 (all-subdirs): Remove nss.
5088 * sysdeps/unix/inet/Subdirs: Add it here instead.
5089 * hesiod/Depend: New file.
5090
573c29b2
RM
5091 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5092 instead of calling alloca.
5093
b2e25af0
RM
5094 * io/lseek.c (__lseek): Rename to __libc_lseek.
5095 Define __lseek as an alias.
5096
eab55bfb
RM
5097 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5098
9a0d1941
CD
50992013-02-04 Carlos O'Donell <carlos@redhat.com>
5100
5101 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5102 else clause and remove check for non-standard endianness.
5103
b83bbec4
DM
51042013-02-04 David S. Miller <davem@davemloft.net>
5105
5106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5107
6277fdab
JM
51082013-02-04 Joseph Myers <joseph@codesourcery.com>
5109
5110 [BZ #13550]
5111 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5112 (__ubp_memchr): Remove prototype.
5113 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5114 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5115 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5116 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5117 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5118 Remove alias.
5119 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5120 (__ubp_memchr): Likewise.
5121 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5122 (__ubp_memchr): Likewise.
5123 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5124 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5125 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5126 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5127 CHECK_STRING.
5128 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5129 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5130 (__getcwd): Do not use CHECK_STRING.
5131 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5132 <bp-checks.h>.
5133 (__real_chown): Do not use CHECK_STRING.
5134 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5135 <bp-checks.h>.
5136 (fchownat): Do not use CHECK_STRING.
5137 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5138 CHECK_STRING.
5139 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5140 <bp-checks.h>.
5141 (__lchown): Do not use CHECK_STRING.
5142 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5143 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5144 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5145 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5147 include <bp-checks.h>.
5148 (truncate64): Do not use CHECK_STRING.
5149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5150 <bp-checks.h>.
5151 (__real_chown): Do not use CHECK_STRING.
5152 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5153 <bp-checks.h>.
5154 (__lchown): Do not use CHECK_STRING.
5155 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5156 <bp-checks.h>.
5157 (__chown): Do not use CHECK_STRING.
5158 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5159 <bp-checks.h>.
5160 (truncate64): Do not use CHECK_STRING.
5161 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5162 Likewise.
5163 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5164 (__xmknod): Do not use CHECK_STRING.
5165 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5166 <bp-checks.h>.
5167 (__xmknodat): Do not use CHECK_STRING.
5168 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5169 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5170
903ae060
AS
51712013-02-04 Andreas Schwab <schwab@suse.de>
5172
5173 [BZ #14142]
5174 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5175 * include/netdb.h: Likewise for h_errno.
5176 * elf/tst-stackguard1.c: Include <tls.h>.
5177
542f9466
JK
51782013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 * elf/link.h (struct link_map): Extend the l_addr comment.
5181 * include/link.h (struct link_map): Likewise.
5182
e782a927
JM
51832013-02-01 Joseph Myers <joseph@codesourcery.com>
5184
5185 [BZ #13550]
5186 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5187 (BOUNDED_1): Remove macro.
5188 * debug/backtrace.c: Don't include <bp-checks.h>.
5189 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5190 (__backtrace): Likewise.
5191 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5192 <bp-checks.h>.
5193 (__backtrace): Don't use BOUNDED_1.
5194 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5195 <bp-checks.h>.
5196 (__backtrace): Don't use BOUNDED_1.
5197 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5198 (__backtrace): Don't use BOUNDED_1.
5199 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5200 (shmat): Don't use BOUNDED_N.
5201
8cf28c5e
JM
52022013-01-31 Joseph Myers <joseph@codesourcery.com>
5203
3a7ac8a0
JM
5204 [BZ #13550]
5205 * sysdeps/generic/bp-start.h: Remove file.
5206 * csu/libc-start.c: Don't include <bp-start.h>.
5207 (LIBC_START_MAIN): Set up __environ directly instead of using
5208 INIT_ARGV_and_ENVIRON.
5209 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5210 <bp-start.h>.
5211
f3499f95
JM
5212 [BZ #13550]
5213 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5214 definitions.
5215 (CHECK_FCNTL): Likewise.
5216 (CHECK_N_PAGES): Likewise.
5217
32a45bea
JM
5218 [BZ #13550]
5219 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5220 definitions.
5221 (CHECK_SIGSET_NULL_OK): Likewise.
5222 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5223 <bp-checks.h>.
5224 (sigpending): Don't use CHECK_SIGSET.
5225 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5226 <bp-checks.h>.
5227 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5228 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5229 <bp-checks.h>.
5230 (do_sigsuspend): Don't use CHECK_SIGSET.
5231 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5232 use CHECK_SIGSET.
5233 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5234 (do_sigwait): Don't use CHECK_SIGSET.
5235 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5236 use CHECK_SIGSET.
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5238 include <bp-checks.h>.
5239 (sigpending): Don't use CHECK_SIGSET.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5241 include <bp-checks.h>.
5242 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5243 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5244 <bp-checks.h>.
5245 (sigpending): Don't use CHECK_SIGSET.
5246 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5247 <bp-checks.h>.
5248 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5249
2e8a5c8c
JM
5250 [BZ #13550]
5251 * sysdeps/generic/bp-semctl.h: Remove file.
5252 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5253 <bp-checks.h> and <bp-semctl.h>.
5254 (__old_semctl): Don't use CHECK_SEMCTL.
5255 (__new_semctl): Likewise.
5256 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5257 and <bp-semctl.h>.
5258 (__old_semctl): Don't use CHECK_SEMCTL.
5259 (__new_semctl): Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5261 <bp-checks.h> and <bp-semctl.h>.
5262 (__old_semctl): Don't use CHECK_SEMCTL.
5263 (__new_semctl): Likewise.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5265 <bp-checks.h> and <bp-semctl.h>.
5266 (semctl): Don't use CHECK_SEMCTL.
5267
c2d54929
JM
5268 [BZ #13550]
5269 * Makerules (elide-bp-thunks): Remove variable.
5270 (elide-routines.oS): Don't use $(elide-bp-thunks).
5271 (elide-routines.os): Likewise.
5272 (elide-routines.o): Likewise.
5273 (elide-routines.op): Likewise.
5274 (elide-routines.og): Likewise.
5275 (objects): Don't use $(bp-thunks).
5276 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5277 include.
5278 (common-generated): Do not add s-proto-bp.d.
5279 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5280 (int): Likewise.
5281 (typ): Likewise.
5282 Do not generate makefile rules for bounded-pointer thunks.
5283 * sysdeps/generic/bp-thunks.h: Remove file.
5284 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5285 * sysdeps/unix/s-proto-bp.S: Likewise.
5286
8cf28c5e
JM
5287 [BZ #15062]
5288 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5289 parts of result separately when argument is not close to line from
5290 -i to i and one part of argument is small.
5291 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5292 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5293 * math/libm-test.inc (cacos_test): Add more tests.
5294 (casin_test): Likewise.
5295 (casinh_test): Likewise.
5296 * sysdeps/i386/fpu/libm-test-ulps: Update.
5297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5298
c4e33b8d
DM
52992013-01-31 David S. Miller <davem@davemloft.net>
5300
5301 * po/de.po: Update from translation team.
5302
3b60b421
MK
53032013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5304
5305 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5306
bb931195
TS
53072013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5308
b5a5da23
TS
5309 * configure.in (_AC_PROG_CC_C89): New definition.
5310 * configure: Regenerate.
5311
bb931195
TS
5312 * configure.in (AC_PROG_CPP): New definition.
5313 * configure: Regenerate.
5314
8c53a12c
JM
53152013-01-23 Joseph Myers <joseph@codesourcery.com>
5316
5317 * debug/tst-backtrace.h: New file.
5318 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5319 (ret): Remove variable.
5320 (x): Likewise.
5321 (FAIL): Remove macro.
5322 (NO_INLINE): Likewise.
5323 (fn1): Use match function instead of strstr.
5324 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5325 (ret): Remove variable.
5326 (x): Likewise.
5327 (FAIL): Remove macro.
5328 (NO_INLINE): Likewise.
5329 (fn): Use match function instead of strstr.
5330 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5331 (ret): Remove variable.
5332 (x): Likewise.
5333 (FAIL): Remove macro.
5334 (NO_INLINE): Likewise.
5335 (handle_signal): Use match function instead of strstr.
5336 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5337 (ret): Remove variable.
5338 (x): Likewise.
5339 (FAIL): Remove macro.
5340 (NO_INLINE): Likewise.
5341 (handle_signal): Use match function instead of strstr.
5342
4858fa2a
RM
53432013-01-23 Roland McGrath <roland@hack.frob.com>
5344
5345 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5346
bae8e7f5
DM
53472013-01-23 David S. Miller <davem@davemloft.net>
5348
5349 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5350 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5351 argument of CAS if possible.
5352 * sysdeps/sparc/sparc64/bits/atomic.h
5353 (__arch_compare_and_exchange_val_32_acq): Likewise.
5354 (__arch_compare_and_exchange_val_64_acq): Likewise.
5355
9cbbc4ae
PT
53562013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5357
5358 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5359 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5360 Include <limits.h>.
67b3f58c 5361 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5362
5655a0b5
AC
53632013-01-23 Adam Conrad <adconrad@0c3.net>
5364
5365 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5366 (LDFLAGS-tst-array5): Likewise.
5367
052aff95
JM
53682013-01-23 Joseph Myers <joseph@codesourcery.com>
5369
5370 [BZ #15036]
5371 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5372 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5373 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5374 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5375
7c1e01aa
DM
53762013-01-21 David S. Miller <davem@davemloft.net>
5377
5378 * sysdeps/sparc/backtrace.c: New file.
5379 * sysdeps/sparc/sparc32/backtrace.h: New file.
5380 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5381 * sysdeps/sparc/sparc64/backtrace.h: New file.
5382 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5383 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5384 -funwind-tables.
5385
ab087e0a
AS
53862013-01-21 Andreas Schwab <schwab@suse.de>
5387
5388 [BZ #15020]
5389 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5390 closed its stdout.
5391
ed689c2f
AS
53922013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5393
5394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5395 "mpa2.h".
5396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5397
31d470ac
JM
53982013-01-18 Joseph Myers <joseph@codesourcery.com>
5399 Mark Mitchell <mark@codesourcery.com>
5400 Tom de Vries <tom@codesourcery.com>
5401 Paul Pluzhnikov <ppluzhnikov@google.com>
5402
5403 * debug/tst-backtrace2.c: New file.
5404 * debug/tst-backtrace3.c: Likewise.
5405 * debug/tst-backtrace4.c: Likewise.
5406 * debug/tst-backtrace5.c: Likewise.
5407 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5408 (CFLAGS-tst-backtrace3.c): Likewise.
5409 (CFLAGS-tst-backtrace4.c): Likewise.
5410 (CFLAGS-tst-backtrace5.c): Likewise.
5411 (LDFLAGS-tst-backtrace2): Likewise.
5412 (LDFLAGS-tst-backtrace3): Likewise.
5413 (LDFLAGS-tst-backtrace4): Likewise.
5414 (LDFLAGS-tst-backtrace5): Likewise.
5415 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5416 tst-backtrace4 and tst-backtrace5.
5417
90567f30 54182013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
5419 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5420
5421 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5422 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5423 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5424 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5426 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5427 "+r" and remove output regs list as redundant. Add explicit inline
5428 asm to specify register of return val to work around compiler codegen
5429 bug. Remove (int) cast on return value. Add return type parameter to
5430 use in macro so that this macro does not truncate return value for
5431 64-bit values.
5432 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
5433 pass to INTERNAL_VSYSCALL_NCS.
5434 (INLINE_VSYSCALL): Add 'long int' as return type to
5435 INTERNAL_VSYSCALL_NCS macro invocation.
5436 (INTERNAL_VSYSCALL): Add 'long int' as return type to
5437 INTERNAL_VSYSCALL_NCS macro invocation.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5439
d3b9ea61
SP
54402013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5441
0b57daeb
SP
5442 [BZ #14496]
5443 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
5444 Fix application of SIMD FP exception mask.
5445
caa99d06
SP
5446 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
5447 mp_no from a power of two.
5448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
5449 __mpexp_twomm1. Use __pow_mp.
5450
d3b9ea61
SP
5451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
5452 multiplication.
5453
1dbaee3c
DM
54542013-01-17 David S. Miller <davem@davemloft.net>
5455
5456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5457
728d7b43
JM
54582013-01-17 Joseph Myers <joseph@codesourcery.com>
5459
5460 [BZ #15023]
5461 * include/complex.h: Condition contents on [!_COMPLEX_H].
5462 (__kernel_casinhf): New prototype.
5463 (__kernel_casinh): Likewise.
5464 (__kernel_casinhl): Likewise.
5465 * math/Makefile (libm_calls): Add k_casinh.
5466 * math/k_casinh.c: New file.
5467 * math/k_casinhf.c: Likewise.
5468 * math/k_casinhl.c: Likewise.
5469 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
5470 finite nonzero arguments.
5471 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
5472 finite nonzero arguments.
5473 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
5474 finite nonzero arguments.
5475 * math/s_casinh.c: Do not include <float.h>.
5476 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
5477 * math/s_casinhf.c: Do not include <float.h>.
5478 (__casinhf): Move code for finite nonzero arguments to
5479 k_casinhf.c.
5480 * math/s_casinhl.c: Do not include <float.h>.
5481 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
5482 redefine.
5483 (__casinhl): Move code for finite nonzero arguments to
5484 k_casinhl.c.
5485 * math/libm-test.inc (cacos_test): Add more tests.
5486 * sysdeps/i386/fpu/libm-test-ulps: Update.
5487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5488
2a26ef3a
PT
54892013-01-17 Pino Toscano <toscano.pino@tiscali.it>
5490
5491 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
5492 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
5493 [!HAVE_MREMAP]: Remove [defined linux] case.
5494 * malloc/arena.c: Do not include <malloc-sysdep.h>.
5495
a897655d
SP
54962013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5497
5498 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
5499
881ebe89 55002013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
5501
5502 * elf/elf.h (R_386_SIZE32): New relocation.
5503 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
5504 R_386_SIZE32.
5505 (elf_machine_rela): Likewise.
5506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5507 R_X86_64_SIZE64 and R_X86_64_SIZE32.
5508
59981e9b
JM
55092013-01-17 Joseph Myers <joseph@codesourcery.com>
5510
5511 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
5512 (FP_FAST_FMA): Do not define.
5513 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
5514 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
5515 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
5516 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
5517 !_SOFT_FLOAT]: Likewise.
5518 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
5519 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
5520 value.
5521 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
5522 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
5523 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
5524 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
5525 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
5526 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
5527 file.
5528
cfa8054f
AS
55292013-01-16 Andreas Schwab <schwab@suse.de>
5530
5531 [BZ #14327]
5532 * include/stdlib.h (__mktemp): Add declaration.
5533 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
5534 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
5535
dd930cc5
SP
55362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5537
881ebe89
SP
5538 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
5539 definitions.
5540 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5541 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
5542 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
5543 definitions here.
5544 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
5545 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
5546 definitions.
5547 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
5548 and ONE.
5549 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
5550 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
5551 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
5552 definitions.
5553 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
5554 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
5555 definitions.
5556 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 5557
dd930cc5
SP
5558 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
5559
c19a9f89
DM
55602013-01-15 David S. Miller <davem@davemloft.net>
5561
1aa61767
DM
5562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5563 trunc{,f} to libm-sysdep_routes.
5564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
5566 file.
5567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
5568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
5569 file.
5570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
5571 file.
5572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
5573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
5574 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
5575 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
5576 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
5577 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
5578 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
5579 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
5580
c42d5e98
DM
5581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5582 nearbyint{,f} to libm-sysdep_routes.
5583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
5585 New file.
5586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
5587 file.
5588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
5589 New file.
5590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
5591 file.
5592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
5593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
5594 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
5595 file.
5596 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
5597 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
5598 file.
5599 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
5600 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
5601 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
5602
c19a9f89
DM
5603 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5604 libc_feholdexcept and libc_fesetenv.
5605
357679d2
MF
56062013-01-15 Mike Frysinger <vapier@gentoo.org>
5607
5608 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
5609
65a82e3d
DM
56102013-01-14 David S. Miller <davem@davemloft.net>
5611
8b954ab9
DM
5612 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
5613 (SPARC_ASM_VIS2_IFUNC): Likewise.
5614 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
5615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
5616 use of 'siam' instruction.
5617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
5618 Likewise.
5619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
5620 Likewise.
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
5622 Likewise.
5623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
5628 file.
5629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
5630 file.
5631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5632 file.
5633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5634 file.
5635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5640 new VIS2 routines.
5641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5644 Likewise.
5645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5650 routines to libm-sysdep_routines.
5651 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5652
65a82e3d
DM
5653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5654 fdim/fdimf to libm-sysdep_routines.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5656 file.
5657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5659 file.
5660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5663 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5664 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5665 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5666 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5667
e34ab705
SP
56682013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5669
2a91b573
SP
5670 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5671 to optimize copies.
5672
1066a534
SP
5673 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5676
e34ab705
SP
5677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5678 local variable MPTWO.
5679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5680 Likewise.
5681
aba5e596
MF
56822013-01-13 Mike Frysinger <vapier@gentoo.org>
5683
5684 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5685 GLOB_NOESCAPE.
5686
e557e9e5
MF
56872013-01-13 Mike Frysinger <vapier@gentoo.org>
5688
5689 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5690
0428cec9
MF
56912013-01-13 Mike Frysinger <vapier@gentoo.org>
5692
5693 * manual/pattern.texi (glob_t): Document gl_flags.
5694 (glob64_t): Likewise.
5695
8794a964
DM
56962013-01-11 David S. Miller <davem@davemloft.net>
5697
66438c3f
RM
5698 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5699 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5700 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
5701 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5702 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5703 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5704 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5705 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5706 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5707 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5708 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5709 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5710 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5711
4ae4244d
DM
5712 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5713 sparc V9 rather than using V8 code.
5714 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5715 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5716
8794a964
DM
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5718 Move to...
5719 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5720 Here.
5721
6270516e
RM
57222013-01-11 Roland McGrath <roland@hack.frob.com>
5723
5724 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5725 not in the main loop.
5726 * configure: Regenerated.
5727
6a57d931
JM
57282013-01-11 Joseph Myers <joseph@codesourcery.com>
5729
5730 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5731 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5732 to just #else.
5733 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5734 [!__GLIBC_HAVE_LONG_LONG] case.
5735 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5736 condition to just #else.
5737 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5738 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5739 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5740 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5741 unconditional.
5742 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5743 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5744 #elif condition to just #else.
5745 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5746 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5747 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5748 #elif condition to just #else.
5749
0e8529e9
SE
57502013-01-11 Steve Ellcey <sellcey@mips.com>
5751
5752 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5753 (EF_MIPS_ARCH_64): Fix value.
5754 (EF_MIPS_ARCH_32R2): New.
5755 (EF_MIPS_ARCH_64R2): New.
5756
740b3dbe
L
57572013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5758
5759 * Makeconfig (+link-pie-before-libc): New.
5760 (+link-pie-after-libc): Likewise.
5761 (+link-pie-tests): Likewise.
5762 (+link-pie): Rewritten.
5763 (link-before-libc): Remove $(config-LDFLAGS).
5764 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5765 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5766 (config-LDFLAGS): Renamed to ...
5767 (rtld-LDFLAGS): This.
5768 (rtld-tests-LDFLAGS): New macro.
5769 (link-libc-rpath-link): Likewise.
5770 (link-libc-tests-rpath-link): Likewise.
5771 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5772 (link-libc): Prepand $(link-libc-rpath-link).
5773 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5774 (test-program-prefix): New macro.
5775 (test-via-rtld-prefix): Likewise.
5776 (test-program-cmd): Likewise.
5777 (host-test-program-cmd): Likewise.
5778 * Makefile ($(common-objpfx)testrun.sh): Replace
5779 $(run-program-prefix) with $(test-program-prefix).
5780 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5781 $(rtld-LDFLAGS).
5782 ($(common-objpfx)shlib.lds): Likewise.
5783 (build-module-helper): Likewise.
5784 ($(common-objpfx)format.lds): Likewise.
5785 * Rules (binaries-pie-tests): New.
5786 (binaries-pie-notests): Likewise.
5787 (binaries-pie): Rewritten.
5788 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5789 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5790 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5791 (make-test-out): Replace $(host-built-program-cmd) with
5792 $(host-test-program-cmd).
5793 * config.make.in (build-hardcoded-path-in-tests): New variable.
5794 * configure.in (--enable-hardcoded-path-in-tests): New configure
5795 option.
5796 (hardcoded_path_in_tests): New AC_SUBST.
5797 * configure: Regenerated.
5798 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5799 $(built-program-cmd) with $(test-program-cmd).
5800 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5801 (test_program_cmd): This.
5802 * elf/Makefile ($(objpfx)order.out): Run test with
5803 $(test-program-prefix).
5804 ($(objpfx)order2.out): Likewise.
5805 ($(objpfx)tst-initorder.out): Likewise.
5806 ($(objpfx)tst-initorder2.out): Likewise.
5807 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5808 $(test-program-cmd).
5809 ($(objpfx)tst-array1-static.out): Likewise.
5810 ($(objpfx)tst-array2.out): Likewise.
5811 ($(objpfx)tst-array3.out): Likewise.
5812 ($(objpfx)tst-array4.out): Likewise.
5813 ($(objpfx)tst-array5.out): Likewise.
5814 ($(objpfx)tst-array5-static.out): Likewise.
5815 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5816 $(test-program-cmd).
5817 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5818 $(run-program-prefix) with $(test-program-prefix).
5819 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5820 (test_program_prefix): This.
5821 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5822 $(run-program-prefix) with $(test-program-prefix).
5823 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5824 (test_program_prefix): This.
5825 * iconvdata/tst-tables.sh: Likewise.
5826 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5827 $(run-program-prefix) with $(test-program-prefix).
5828 ($(objpfx)tst-translit.out): Likewise.
5829 ($(objpfx)tst-gettext2.out): Likewise.
5830 ($(objpfx)tst-gettext4.out): Likewise.
5831 ($(objpfx)tst-gettext6.out): Likewise.
5832 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5833 (test_program_prefix): This.
5834 * intl/tst-gettext2.sh: Likewise.
5835 * intl/tst-gettext4.sh Likewise.
5836 * intl/tst-gettext6.sh: Likewise.
5837 * intl/tst-translit.sh: Likewise.
5838 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5839 with $(test-program-cmd).
5840 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5841 $(run-program-prefix) with $(test-program-prefix).
5842 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5843 (test_program_prefix): This.
5844 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5845 $(run-program-prefix) with $(test-program-prefix).
5846 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5847 (test_program_prefix): This.
5848 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5849 * posix/Makefile ($(objpfx)globtest.out): Replace
5850 $(run-via-rtld-prefix) and $(test-wrapper) with
5851 $(test-program-prefix) and $(test-via-rtld-prefix).
5852 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5853 $(test-program-prefix).
5854 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5855 $(host-test-program-cmd).
5856 (tst-spawn-ARGS): Likewise.
5857 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5858 $(test-program-prefix).
5859 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5860 (test_via_rtld_prefix): This.
5861 (test_wrapper): Renamed to ...
5862 (test_program_prefix): This.
5863 (run_program_prefix): Replaced by test_program_prefix.
5864 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5865 (test_program_prefix): This.
5866 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5867 with $(host-test-program-cmd).
5868 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5869 $(run-program-prefix) with $(test-program-prefix).
5870 ($(objpfx)tst-printf.out): Likewise.
5871 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5872 $(test-program-cmd).
5873 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5874 (test_program_prefix): This.
5875 * stdio-common/tst-unbputc.sh: Likewise.
5876 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5877 $(run-program-prefix) with $(test-program-prefix).
5878 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5879 (test_program_prefix): This.
5880 * string/Makefile ($(objpfx)tst-svc.out): Replace
5881 $(built-program-cmd) with $(test-program-cmd).
5882
c6fe55cf
AJ
58832013-01-11 Andreas Jaeger <aj@suse.de>
5884
5885 [BZ #15003]
5886 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5887 value. Sync with Linux 3.7.
5888
9e6919c8
DM
58892013-01-10 David S. Miller <davem@davemloft.net>
5890
5891 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5892 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5893 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5894
1c9f1a02
RM
58952013-01-10 Roland McGrath <roland@hack.frob.com>
5896
5897 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5898 never set.
5899 * configure: Regenerated.
5900
b9de2dde
DM
59012013-01-10 David S. Miller <davem@davemloft.net>
5902
5903 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5904 sparc V9 rather than using V8 code.
5905 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5906 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5907
e7f68ef4
RM
59082013-01-10 Roland McGrath <roland@hack.frob.com>
5909
5910 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5911 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5912 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5913 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5914 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5915 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5916 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5917 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5918 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5919 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5920 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5921 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5922 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5923 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5924 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5925 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5926 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5927 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5928 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5929 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5930 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5931 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5932 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5933 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5934 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5935 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5936 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5937
5a47cc9c
DM
59382013-01-10 David S. Miller <davem@davemloft.net>
5939
5940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5941
4cf8f209
L
59422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * posix/Makefile (tests-static): New variable.
5945 (tests): Add $(tests-static).
5946 (tst-exec-static-ARGS): New variable.
5947 (tst-spawn-static-ARGS): Likewise.
5948 * posix/tst-exec-static.c: New file.
5949 * posix/tst-spawn-static.c: Likewise.
5950 * posix/tst-exec.c: Support run directly.
5951 * posix/tst-spawn.c: Likewise.
5952
fed0faa1
JM
59532013-01-10 Joseph Myers <joseph@codesourcery.com>
5954
828beb13
JM
5955 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5956 long.
5957 * math/bits/mathcalls.h (llrint): Likewise.
5958 (llround): Likewise.
5959 * stdlib/stdlib.h (struct drand48_data): Likewise.
5960 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5961 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5962 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5963 Likewise.
5964 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5965 Likewise.
5966 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5967 (elf_greg_t): Likewise.
5968 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5969 (__jmp_buf): Likewise.
5970 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5971 definitions.
5972 (llrint): Likewise, for all definitions.
5973 (llrintl): Likewise.
5974
fed0faa1
JM
5975 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5976 Remove [__GNUC__] condition.
5977 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5978 condition to just [__USE_ISOC99].
5979 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5980
1a20cb20
L
59812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5982
5983 [BZ #14200]
5984 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5985 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5986 defined.
5987 (_POSIX_V6_ILP32_OFF32): Likewise.
5988 (_XBS5_ILP32_OFF32): Likewise.
5989 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5990 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5991
751b85f7
SP
59922013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5993
7490eb81
SP
5994 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5995
751b85f7
SP
5996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5997 doubles __mpexp_twomm1. Adjust usage.
5998 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5999 Remove.
6000
988197f0
AS
60012013-01-10 Andreas Schwab <schwab@suse.de>
6002
6003 [BZ #14964]
6004 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6005 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6006
e83d7298
DM
60072013-01-09 David S. Miller <davem@davemloft.net>
6008
034ed64b 6009 [BZ #15003]
e83d7298
DM
6010 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6011 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6012 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6013 TCP_FASTOPEN): Define.
6014 (tcp_repair_opt): New structure.
6015 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6016 enum values.
6017 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6018 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6019 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6020 (tcp_cookie_transactions): New structure.
6021
d5e0b9bd
AB
60222013-01-09 Anton Blanchard <anton@samba.org>
6023
6024 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6025 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6026 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6027 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6028
0c07e3ea
JM
60292013-01-09 Joseph Myers <joseph@codesourcery.com>
6030
6031 * include/features.h (__USE_ANSI): Remove.
6032
232f7002
RM
60332013-01-09 Roland McGrath <roland@hack.frob.com>
6034
ad98e30c
RM
6035 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6036
232f7002
RM
6037 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6038
950c99ca
SP
60392013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6040
b5792741
SP
6041 * sysdeps/s390/fpu/libm-test-ulps: Update.
6042
47cf2278
SP
6043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6044
950c99ca
SP
6045 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6046 (__acr): Likewise.
6047 (__cpy): Likewise.
6048 (norm): Likewise.
6049 (denorm): Likewise.
6050 (__mp_dbl): Likewise.
6051 (__dbl_mp): Likewise.
6052 (add_magnitudes): Likewise.
6053 (sub_magnitudes): Likewise.
6054 (__add): Likewise.
6055 (__sub): Likewise.
6056 (__mul): Likewise.
6057 (__inv): Likewise.
6058 (__dvd): Likewise.
6059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6060 (__acr): Likewise.
6061 (__cpy): Likewise.
6062 (norm): Likewise.
6063 (denorm): Likewise.
6064 (__mp_dbl): Likewise.
6065 (__dbl_mp): Likewise.
6066 (add_magnitudes): Likewise.
6067 (sub_magnitudes): Likewise.
6068 (__add): Likewise.
6069 (__sub): Likewise.
6070 (__mul): Likewise.
6071 (__inv): Likewise.
6072 (__dvd): Likewise.
6073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6074 (__acr): Likewise.
6075 (__cpy): Likewise.
6076 (norm): Likewise.
6077 (denorm): Likewise.
6078 (__mp_dbl): Likewise.
6079 (__dbl_mp): Likewise.
6080 (add_magnitudes): Likewise.
6081 (sub_magnitudes): Likewise.
6082 (__add): Likewise.
6083 (__sub): Likewise.
6084 (__mul): Likewise.
6085 (__inv): Likewise.
6086 (__dvd): Likewise.
6087
eede9df9
JM
60882013-01-08 Joseph Myers <joseph@codesourcery.com>
6089
6090 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6091 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6092 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6093 2 && __USE_EXTERN_INLINES]: Likewise.
6094
c40ea3d9
AJ
60952013-01-08 Andreas Jaeger <aj@suse.de>
6096
6097 [BZ# 14985]
6098 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6099 Remove.
6100 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6101 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6102
2ccdea26
AB
61032013-01-07 Anton Blanchard <anton@samba.org>
6104
6105 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6106 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6107 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6108 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6109 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6110 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6111 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6112 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6114 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6115 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6116 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6118 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6119 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6120 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6122 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6123 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6124 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6125 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6128 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6129 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6130 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6131 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6132 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6134 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6135 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6139 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6142 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6143 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6144 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6145 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6146 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6147 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6148
a9708fed
JM
61492013-01-07 Joseph Myers <joseph@codesourcery.com>
6150
375607b9
JM
6151 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6152 (__MALLOC_PMT): Likewise.
6153 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6154 [__GNUC__], only on [_LIBC].
6155 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6156 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6157 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6158 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6159 forward declaration.
6160 (realloc_hook_ini): Likewise.
6161 (memalign_hook_ini): Likewise.
6162 (__libc_memalign): Do not use __MALLOC_PMT in variable
6163 declaration.
6164 (__libc_valloc): Likewise.
6165 (__libc_pvalloc): Likewise.
6166 (__libc_calloc): Likewise.
6167 (__posix_memalign): Likewise.
6168
a9708fed
JM
6169 [BZ #14996]
6170 * math/s_casinh.c: Include <float.h>.
6171 (__casinh): Do not do computation with squaring and square root
6172 for large arguments.
6173 * math/s_casinhf.c: Include <float.h>.
6174 (__casinhf): Do not do computation with squaring and square root
6175 for large arguments.
6176 * math/s_casinhl.c: Include <float.h>.
6177 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6178 (__casinhl): Do not do computation with squaring and square root
6179 for large arguments.
6180 * math/libm-test.inc (casin_test): Add more tests.
6181 (casinh_test): Likewise.
6182 * sysdeps/i386/fpu/libm-test-ulps: Update.
6183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6184
afec409a
L
61852013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6186
6187 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6188 (__x86_64_raw_data_cache_size): Likewise.
6189 (__x86_64_data_cache_size_half): Likewise.
6190 (__x86_64_raw_data_cache_size_half): Likewise.
6191 (__x86_64_shared_cache_size): Likewise.
6192 (__x86_64_raw_shared_cache_size): Likewise.
6193 (__x86_64_shared_cache_size_half): Likewise.
6194 (__x86_64_raw_shared_cache_size_half): Likewise.
6195 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6196 to ...
6197 (__x86_data_cache_size): This.
6198 (__x86_64_raw_data_cache_size): Renamed to ...
6199 (__x86_raw_data_cache_size): This.
6200 (__x86_64_data_cache_size_half): Renamed to ...
6201 (__x86_data_cache_size_half): This.
6202 (__x86_64_raw_data_cache_size_half): Renamed to ...
6203 (__x86_raw_data_cache_size_half): This.
6204 (__x86_64_shared_cache_size): Renamed to ...
6205 (__x86_shared_cache_size): This.
6206 (__x86_64_raw_shared_cache_size): Renamed to ...
6207 (__x86_raw_shared_cache_size): This.
6208 (__x86_64_shared_cache_size_half): Renamed to ...
6209 (__x86_shared_cache_size_half): This.
6210 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6211 (__x86_raw_shared_cache_size_half): This.
6212 * sysdeps/x86_64/memcpy.S: Updated.
6213 * sysdeps/x86_64/memset.S: Likewise.
6214 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6216 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6217
0b3986d0
DM
62182013-01-04 David S. Miller <davem@davemloft.net>
6219
6220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6221
e47686e9
AS
62222013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6223
d643bac1
AS
6224 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6225 1 to avoid redefinition warning.
6226 (__USE_GNU): Don't define.
6227 (init_signaling_nan): Protoize.
6228
e47686e9
AS
6229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6230
b18decba
SP
62312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6232
fffb407f
SP
6233 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6235 (__cpymn): Likewise.
6236 (norm): Remove commented code.
6237 (denorm): Likewise.
6238 (__mp_dbl): Likewise.
6239 (__inv): Likewise.
6240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6241 (__cpymn): Likewise.
6242 (norm): Remove commented code.
6243 (denorm): Likewise.
6244 (__mp_dbl): Likewise.
6245 (__inv): Likewise.
6246
b18decba
SP
6247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6248 mp_no value for 1.0 and 2.0.
6249 (norm): Use RADIXI instead of radixi.d.
6250 (denorm): Likewise.
6251 (__mul): Use 0.0 instead of zero.d.
6252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6253 mp_no value for 1.0 and 2.0.
6254 (norm): Use RADIXI instead of radixi.d.
6255 (denorm): Likewise.
6256 (__mul): Use 0.0 instead of zero.d.
6257
cdc1c96f
JM
62582013-01-04 Joseph Myers <joseph@codesourcery.com>
6259
6260 [BZ #14994]
6261 * math/s_casinh.c (__casinh): Reduce finite argument to first
6262 quadrant then set signs of results at the end.
6263 * math/s_casinhf.c (__casinhf): Likewise.
6264 * math/s_casinhl.c (__casinhl): Likewise.
6265 * math/libm-test.inc (casin_test): Add more tests.
6266 (casinh_test): Likewise.
6267 * sysdeps/i386/fpu/libm-test-ulps: Update.
6268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6269
302913e1
SP
62702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6271
6420d207
SP
6272 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6273
a9e48ab4
SP
6274 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6275
b7837264
SP
6276 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6277 declarations.
6278 (denorm): Likewise.
6279 (__mp_dbl): Likewise.
6280 (__inv): Likewise.
6281
f8af25d2
SP
6282 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6283 and adjust the header comment.
6284
302913e1
SP
6285 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6286 variable name from declaration.
6287
5d7dd1ca
L
62882013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6289
6290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6291 Initialize COMMON_CPUID_INDEX_7 element.
6292 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6293 (CPUID_RTM): Likewise.
6294 (HAS_RTM): Likewise.
6295 (COMMON_CPUID_INDEX_7): New enum.
6296
2f5f40f4
AS
62972013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6298
6299 [BZ #14981]
6300 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6301 size is zero, record memory as freed.
6302
4056f4a0
AJ
63032013-01-03 Andreas Jaeger <aj@suse.de>
6304
6305 * po/ia.po: Add new Interlingua translation.
6306
ab15736f 63072012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6308
6309 * locale/programs/localedef.c: Fix description of '--posix' flag.
6310
568035b7
JM
63112013-01-02 Joseph Myers <joseph@codesourcery.com>
6312
e6898b8d
JM
6313 * NEWS: Update dates in second copyright notice.
6314 * README: Update copyright dates in example.
6315 * manual/libc.texinfo: Update copyright dates.
6316 * scripts/test-installation.pl: Update copyright date in --version
6317 output.
6318
0e2f9562
JM
6319 * hurd/ctty-input.c: Fix copyright notice formatting.
6320 * hurd/ctty-output.c: Likewise.
6321 * hurd/dtable.c: Likewise.
6322 * hurd/hurd-raise.c: Likewise.
6323 * hurd/hurdprio.c: Likewise.
6324 * hurd/msgportdemux.c: Likewise.
6325 * misc/sys/file.h: Likewise.
6326 * misc/sys/ioctl.h: Likewise.
6327 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6328 * sysdeps/mach/hurd/chdir.c: Likewise.
6329 * sysdeps/mach/hurd/fchdir.c: Likewise.
6330 * sysdeps/mach/hurd/rename.c: Likewise.
6331 * sysdeps/mach/hurd/rmdir.c: Likewise.
6332 * sysdeps/mach/hurd/seekdir.c: Likewise.
6333 * sysdeps/mach/hurd/setsid.c: Likewise.
6334 * sysdeps/posix/wait3.c: Likewise.
6335
568035b7
JM
6336 * All files with FSF copyright notices: Update copyright dates
6337 using scripts/update-copyrights.
6338 * intl/plural.c: Regenerated.
6339 * locale/programs/charmap-kw.h: Likewise.
6340 * locale/programs/locfile-kw.h: Likewise.
6341
da08f647
SP
63422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6343
0f5477af
SP
6344 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6345 four values.
6346
44e0d4c2
SP
6347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6348 calculation loop and add branch prediction.
6349
4d55b4e5
SP
6350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6351 check access beyond bounds of m1np.
6352
da08f647
SP
6353 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6354 MPTWO.
6355 (__inv): Remove local variable MPTWO to use the global
6356 constant.
6357 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6359 variable MPTWO.
6360 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6361 MP3HALFS static const.
6362
8e051029
DM
63632013-01-01 David S. Miller <davem@davemloft.net>
6364
6365 * po/ca.po: Update from translation team.
6366
f4cf5f2d
JM
63672013-01-01 Joseph Myers <joseph@codesourcery.com>
6368
6369 * scripts/update-copyrights: New file.
6370 * Makeconfig: Reformat copyright notice.
6371 * ctype/ctype.h: Likewise.
6372 * debug/swprintf_chk.c: Likewise.
6373 * elf/dl-cache.c: Likewise.
6374 * elf/dl-debug.c: Likewise.
6375 * elf/dl-object.c: Likewise.
6376 * grp/initgroups.c: Likewise.
6377 * hurd/Makefile: Likewise.
6378 * hurd/hurd/signal.h: Likewise.
6379 * hurd/hurdfault.c: Likewise.
6380 * hurd/hurdioctl.c: Likewise.
6381 * hurd/hurdlookup.c: Likewise.
6382 * hurd/intr-msg.c: Likewise.
6383 * iconv/gconv_open.c: Likewise.
6384 * libio/swprintf.c: Likewise.
6385 * locale/lc-ctype.c: Likewise.
6386 * locale/nl_langinfo.c: Likewise.
6387 * mach/Machrules: Likewise.
6388 * mach/Makefile: Likewise.
6389 * malloc/obstack.h: Likewise.
6390 * manual/Makefile: Likewise.
6391 * manual/tsort.awk: Likewise.
6392 * misc/bits/stab.def: Likewise.
6393 * nis/nis_print_group_entry.c: Likewise.
6394 * nis/nis_table.c: Likewise.
6395 * nis/nss_compat/compat-pwd.c: Likewise.
6396 * nis/nss_compat/compat-spwd.c: Likewise.
6397 * po/Makefile: Likewise.
6398 * posix/fnmatch.c: Likewise.
6399 * posix/regex.h: Likewise.
6400 * resolv/Makefile: Likewise.
6401 * resolv/nss_dns/dns-network.c: Likewise.
6402 * resolv/res_hconf.c: Likewise.
6403 * scripts/gen-sorted.awk: Likewise.
6404 * soft-fp/soft-fp.h: Likewise.
6405 * stdio-common/printf.h: Likewise.
6406 * stdlib/monetary.h: Likewise.
6407 * stdlib/random.c: Likewise.
6408 * stdlib/random_r.c: Likewise.
6409 * sysdeps/generic/Makefile: Likewise.
6410 * sysdeps/gnu/Makefile: Likewise.
6411 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
6439 * sysdeps/mach/hurd/errnos.awk: Likewise.
6440 * sysdeps/mach/hurd/fork.c: Likewise.
6441 * sysdeps/mach/hurd/getcwd.c: Likewise.
6442 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6443 * sysdeps/mach/hurd/mmap.c: Likewise.
6444 * sysdeps/mach/hurd/utimes.c: Likewise.
6445 * sysdeps/mach/hurd/xmknod.c: Likewise.
6446 * sysdeps/posix/profil.c: Likewise.
6447 * sysdeps/posix/readdir_r.c: Likewise.
6448 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6449 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6450 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
6451 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6455 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6457 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6459 * sysdeps/pthread/lio_listio.c: Likewise.
6460 * sysdeps/sparc/dl-procinfo.h: Likewise.
6461 * sysdeps/unix/i386/sysdep.S: Likewise.
6462 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6463 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
6464 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6465 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6467 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6468 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6469 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6470 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6471 * sysdeps/wordsize-32/divdi3.c: Likewise.
6472 * time/sys/time.h: Likewise.
6473 * wcsmbs/Makefile: Likewise.
6474
0549fbba
DM
64752013-01-01 David S. Miller <davem@davemloft.net>
6476
a141f1a7
DM
6477 * po/fr.po: Update from translation team.
6478
0549fbba
DM
6479 * catgets/gencat.c: Update copyright year.
6480 * csu/version.c: Likewise.
6481 * debug/catchsegv.sh: Likewise.
6482 * debug/pcprofiledump.c: Likewise.
6483 * debug/xtrace.sh: Likewise.
6484 * elf/ldconfig.c: Likewise.
6485 * elf/ldd.bash.in: Likewise.
6486 * elf/pldd.c: Likewise.
6487 * elf/sotruss.ksh: Likewise.
6488 * elf/sprof.c: Likewise.
6489 * iconv/iconv_prog.c: Likewise.
6490 * iconv/iconvconfig.c: Likewise.
6491 * locale/programs/locale.c: Likewise.
6492 * locale/programs/localedef.c: Likewise.
6493 * login/programs/pt_chown.c: Likewise.
6494 * malloc/memusage.sh: Likewise.
6495 * malloc/memusagestat.c: Likewise.
6496 * malloc/mtrace.pl: Likewise.
6497 * nscd/nscd.c: Likewise.
6498 * nss/getent.c: Likewise.
6499 * nss/makedb.c: Likewise.
6500 * posix/getconf.c: Likewise.
6501
18ea052c
SP
65022012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6503
6504 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
6505 numbers.
6506
9c89fca6
MF
65072012-12-30 Mike Frysinger <vapier@gentoo.org>
6508
6509 * math/bits/mathcalls.h (modf): Use __nonnull.
6510
085ec079
SP
65112012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
6513 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
6514 (split): Use macro CN instead of the bare value.
6515 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6516 could be used.
6517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
6518 instead of the bare value.
6519 (power1): Likewise.
6520
6d9f97e1
SP
65212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6522
d63f73be
SP
6523 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
6524 __ATAN_TWOM.
6525 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6526
6d9f97e1
SP
6527 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
6528 their values.
6529 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6530 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6531 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
6532 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6533
4c4febf5
AJ
65342012-12-28 Andreas Jaeger <aj@suse.de>
6535
af5843ef
AJ
6536 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
6537 values are from Linux 3.7.
6538
4c4febf5
AJ
6539 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
6540 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6541
99136f82
SP
65422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6543
2f216c3c 6544 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
6545 TRUE case.
6546
99136f82
SP
6547 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
6548 (norm): Likewise.
6549 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
6550 variables with preprocessor constants.
6551 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6552 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6553 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6554
7fffbdff
BH
65552012-12-27 Bruno Haible <bruno@clisp.org>
6556
6557 [BZ #14317]
6558 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
6559 only if needed.
6560
b76eb5f0
SP
65612012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6562
31a7fe5c
SP
6563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
6564 and use variable directly.
6565 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6566
b76eb5f0
SP
6567 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6568 MPONE.
6569 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
6570 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6571 variable MPONE.
6572 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6574 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
6575 include directive. Remove local variable MPONE.
6576 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
6577 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
6578 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6579
2c8bfe7d
DM
65802012-12-25 David S. Miller <davem@davemloft.net>
6581
6582 * version.h (RELEASE): Set to "development".
6583 (VERSION): Set to "2.17.90".
6584 * NEWS: Add 2.18 section.
6585
147d03b0
DM
65862012-12-21 David S. Miller <davem@davemloft.net>
6587
6588 * po/hr.po: Update from translation team.
6589
a8ebb2b9
AK
65902012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6591
6592 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
6593
95b4f1b6
SE
65942012-12-19 Steve Ellcey <sellcey@mips.com>
6595
b2d94007 6596 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 6597
cedb2a90
MS
65982012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6599
6600 * manual/contrib.texi (Contributors): Spelling correction.
6601
bbf527d6
DM
66022012-12-15 David S. Miller <davem@davemloft.net>
6603
6604 * po/ru.po: Update from translation team.
6605
bc38c906
DM
66062012-12-13 David S. Miller <davem@davemloft.net>
6607
85429b1a
DM
6608 * NEWS: Mention IFUNC testsuite enhancements.
6609
d283e353
DM
6610 * po/pl.po: Update from translation team.
6611 * po/bg.po: Likewise.
6612
bc38c906
DM
6613 * manual/contrib.texi (Contributors): Update entries for Hongjiu
6614 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
6615
a181b0d7
DM
66162012-12-11 David S. Miller <davem@davemloft.net>
6617
4641d57e
DM
6618 * po/sv.po: Update from translation team.
6619
f7bc6495
DM
6620 * po/vi.po: Update from translation team.
6621
6fc9048f
DM
6622 * po/cs.po: Update from translation team.
6623
a181b0d7
DM
6624 * po/de.po: Update from translation team.
6625 * po/eo.po: Likewise.
6626 * po/nl.po: Likewise.
6627
f70bfe80
SP
66282012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6629
3c8b4190
SP
6630 [BZ #14246]
6631 * manual/argp.texi (Argp Helper Functions): Move node to follow
6632 Argp Parsing State.
6633
f70bfe80
SP
6634 [BZ #14872]
6635 * manual/conf.texi (Limits on File System Capacity): Mention if
6636 terminating null is included in the max size.
6637
188f0adf
AJ
66382012-12-10 Andreas Jaeger <aj@suse.de>
6639
6640 * po/cs.po: Update from translation team.
6641
56e7d3ad
SP
66422012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
6644 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6645 void pointer and cast to uintptr_t.
6646 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6647 path.
6648 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6649 * sysdeps/s390/s390-64/memset.S: Likewise.
6650
76f2d2ea 66512012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
6652
6653 [BZ #14833]
6654 * menual/message.texi (Message Translation): Fix typos.
6655 (Helper programs for gettext): Likewise.
6656
67cbf9a2
AS
66572012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6658
6659 [BZ #14898]
6660 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6661 Change to -1.
6662
682d0e9a
DM
66632012-12-07 David S. Miller <davem@davemloft.net>
6664
6665 * po/libc.pot: Update.
6666
573cd484
RH
66672012-12-07 Richard Henderson <rth@redhat.com>
6668
7e9da188 6669 [BZ #10114]
573cd484
RH
6670 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6671 normal/normal case to before the switch.
6672 (_FP_DIV): Likewise.
6673
e933a943
MF
66742012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6675 Mike Frysinger <vapier@gentoo.org>
6676
6677 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6678 check for __NR_fadvise64_64.
6679
82123268
CM
66802012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6681
6682 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6683 0, not just to plain "0" as a statement.
6684 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6685 with cw.
6686
d9814526
JM
66872012-12-06 Joseph Myers <joseph@codesourcery.com>
6688
6689 * NEWS: Use sourceware.org in Bugzilla URL.
6690
7728c574
SP
66912012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6692
f16946dd
SP
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6694 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6695
5704bbcb
SP
6696 * stdio-common/tst-put-error.c (do_test): Add newline to the
6697 padded test to ensure flush.
6698
17aa0516
JL
66992012-12-05 Jeff Law <law@redhat.com>
6700
6701 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6702
363313b5
JM
67032012-12-05 Joseph Myers <joseph@codesourcery.com>
6704
effbd42a
JM
6705 * README: Don't refer to ports add-on as distributed separately.
6706 Mention AArch64 in list of systems supported in the ports add-on.
6707
87600365
JM
6708 * LICENSES: Add more non-FSF copyright and license notices.
6709
a0d7066a
JM
6710 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6711 ((unused)).
6712
66ca5a5b
JM
6713 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6714
363313b5
JM
6715 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6716 10000 as width of padded output.
6717
b37984ad
JM
67182012-12-04 Joseph Myers <joseph@codesourcery.com>
6719
9003570a
JM
6720 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6721
b37984ad
JM
6722 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6723 variable LX with __attribute__ ((unused)).
6724 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6725 Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6729 with __attribute__ ((unused)).
6730
c8df52ec
DM
67312012-12-04 David S. Miller <davem@abraco.davemloft.net>
6732
6733 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6734
b3b099af
JM
67352012-12-04 Joseph Myers <joseph@codesourcery.com>
6736
c33aa6e3
JM
6737 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6738 (CFLAGS-nldbl-acos.c): New variable.
6739 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6740 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6741 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6742 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6743 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6744 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6745 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6746 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6747 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6748 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6749 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6750 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6751 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6752 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6753 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6754 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6755 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6756 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6757 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6758 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6759 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6760 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6761 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6762 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6763 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6764 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6765 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6766 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6767 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6768 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6769 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6770 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6771 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6772 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6773 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6774 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6775 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6776 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6777 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6778 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6779 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6780 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6781 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6782 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6783 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6784 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6785 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6786 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6787 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6788 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6789 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6790 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6791 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6792 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6793 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6794 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6795 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6796 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6797 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6798 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6799 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6800 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6801 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6802 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6803 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6804 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6805 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6806 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6807 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6808 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6809 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6810 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6811 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6812 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6813 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6814 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6815 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6816 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6817 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6818 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6819 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6820 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6821 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6822 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6823 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6824 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6825 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6826 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6827 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6828 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6829 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6830 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6831 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6832 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6833 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6834 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6835 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6836
20f0018d
JM
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6838 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6839
b3b099af
JM
6840 [BZ #14914]
6841 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6842 whole low double instead of just low 47 bits when splitting values
6843 into two parts.
6844
029264d1
AM
68452012-12-03 Allan McRae <allan@archlinux.org>
6846
6847 * manual/stdio.texi (Predefined Printf Handlers): Remove
6848 @hsep and @vsep usage.
6849
c9d6789e
MF
68502012-12-03 Mike Frysinger <vapier@gentoo.org>
6851
6852 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6853 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6854
4b7634a5
JL
68552012-12-03 Jeff Law <law@redhat.com>
6856
6857 * time/sys/time.h (settimeofday): Do not mark TV argument
6858 as __nonnull.
6859
eb6cbd24
MF
68602012-12-01 Mike Frysinger <vapier@gentoo.org>
6861
6862 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6863 when currently writing and seek to current position when not.
6864 * libio/Makefile (tests): Remove bug-fclose1.
6865 * libio/bug-fclose1.c: Delete.
6866
f638872a
JM
68672012-12-01 Joseph Myers <joseph@codesourcery.com>
6868
6869 * manual/arith.texi (feenableexcept): Fix typo.
6870 (fedisableexcept): Likewise.
6871
48085d14
RM
68722012-11-30 Roland McGrath <roland@hack.frob.com>
6873
6874 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6875 second, differently-typed declaration, rather than a cast.
6876
1a538b9f
SP
68772012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6878
6879 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6880 * include/rpc/svc.h: ... here.
6881
d07f2ff1 68822012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6883
6884 [BZ #13013]
6885 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6886 depending n and resplen2 to catch cases where answer
6887 equals answerp2.
6888
c93ec1f0
CD
68892012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6890
6891 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6892 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6893
37db69de
MF
68942012-11-29 Mike Frysinger <vapier@gentoo.org>
6895
6896 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6897
e10c4e4f
RM
68982012-11-29 Roland McGrath <roland@hack.frob.com>
6899
6900 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6901
2af1b328
JL
69022012-11-28 Jeff Law <law@redhat.com>
6903
6904 [BZ #13761]
6905 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6906 dataset_temporary. Track alloca usage into alloca_used.
6907 If dataset is large allocate and release it via malloc/free.
6908
111db5b1
FW
69092012-06-04 Florian Weimer <fweimer@redhat.com>
6910
f06cc227 6911 [BZ #14197]
111db5b1
FW
6912 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6913
dd694abd
DM
69142012-11-28 David S. Miller <davem@davemloft.net>
6915
6916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6917
9984dd01
JM
69182012-11-28 Joseph Myers <joseph@codesourcery.com>
6919
6920 [BZ #14803]
6921 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6922 of pi/2 rounded to nearest to 64 bits.
6923 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6924 nearest to 64 bits.
6925 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6926 bits.
6927
14bc93a9
JL
69282012-11-28 Jeff Law <law@redhat.com>
6929 Martin Osvald <mosvald@redhat.com>
6930
6931 [BZ #14889]
6932 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6933 * sunrpc/svc.c: Include time.h.
6934 (__svc_accept_failed): New function.
6935 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6936 any reason other than EINTR, call __svc_accept_failed.
6937 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6938 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6939
e3c6aa3a
AS
69402012-11-28 Andreas Schwab <schwab@suse.de>
6941
6942 * scripts/abilist.awk: Also handle indirect functions in .opd
6943 section.
6944
1bead169
JM
69452012-11-28 Joseph Myers <joseph@codesourcery.com>
6946
6947 [BZ #13881]
6948 * sysdeps/x86/fpu/powl_helper.c: New file.
6949 * sysdeps/x86/fpu/Makefile: Likewise.
6950 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6951 (p3): New object.
6952 (__ieee754_powl): Use __powl_helper for finite arguments except
6953 integer exponents below 8.
6954 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6955 (p3): New object.
6956 (__ieee754_powl): Use __powl_helper for finite arguments except
6957 integer exponents below 8.
6958 * math/libm-test.inc (pow_test): Add more tests and enable some
6959 previously disabled tests.
6960 * sysdeps/i386/fpu/libm-test-ulps: Update.
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6962
0817d63d
SP
69632012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6964 Carlos O'Donell <carlos_odonell@mentor.com>
6965
6966 * nss/makedb.c (is_prime): Assert that input is odd and greater
6967 than 4. Note that fact in a comment too.
6968 (next_prime): Add 4 to input.
6969
de2fd463
SP
69702012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6971
6972 [BZ #11741]
6973 * libio/Makefile (tests): Add test case tst-fwrite-error.
6974 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6975 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6976 * libio/tst-fwrite-error.c: New test case.
6977
c515fb51
L
69782012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6979
6980 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6981 before casting to void *.
6982 * include/libc-internal.h (__pointer_type): New macro.
6983 (__integer_if_pointer_type_sub): Likewise.
6984 (__integer_if_pointer_type): Likewise.
6985 (cast_to_integer): Likewise.
6986 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6987 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6988 before casting to atomic64_t.
6989 (atomic_exchange_acq): Likewise.
6990 (__arch_exchange_and_add_body): Likewise.
6991 (__arch_add_body): Likewise.
6992 (atomic_add_negative): Likewise.
6993 (atomic_add_zero): Likewise.
6994
4cf77aa9
JM
69952012-11-26 Joseph Myers <joseph@codesourcery.com>
6996
6997 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6998 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6999 (add_fdes): Likewise.
7000 (linear_search_fdes): Likewise.
7001 (binary_search_unencoded_fdes): Likewise.
7002
d260b3b4
AS
70032012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7004
7005 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7006
67060746
AC
70072012-11-24 Adam Conrad <adconrad@0c3.net>
7008
7009 * configure.in: Autodetect C++ header directories.
7010 * configure: Regenerated.
7011
800938a1
MF
70122012-11-23 Mike Frysinger <vapier@gentoo.org>
7013
7014 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7015
4e6e34e6
AS
70162012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7017
7018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7019
7c7feb47
JM
70202012-11-22 Joseph Myers <joseph@codesourcery.com>
7021
7184dcdf
JM
7022 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7023 LDBL_MANT_DIG == 106]: Disable some tests.
7024 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7025 Likewise.
7026 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7027 Likewise.
7028
0a42601f
JM
7029 [BZ #14871]
7030 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7031 input for small inputs. Return +/- pi/2 for large inputs.
7032 * math/libm-test.inc (atan_test): Add more tests.
7033
79c9b9fe
JM
7034 * sysdeps/generic/unwind-dw2-fde-glibc.c
7035 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7036 __attribute__ ((unused)).
7037
c60d3bf2
JM
7038 [BZ #14645]
7039 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7040 x * y if x and y are nonzero and z is zero.
7041
ef1e0867
JM
7042 [BZ #14811]
7043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7044 nonzero exponents with absolute value below 0x1p-117 to +/-
7045 0x1p-117.
7046
1468ded3
JM
7047 [BZ #14869]
7048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7049 up arguments below 2**-450, not just those below 2**-500.
7050 * math/libm-test.inc (hypot_test): Add another test.
7051
8e27e3cc
JM
7052 [BZ #14868]
7053 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7054 Return a+b for ratio over 2**120, not 2**60.
7055 * math/libm-test.inc (hypot_test): Add another test.
7056
c9c0279b
JM
7057 * math/libm-test.inc (clog_test): Use
7058 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7059 (clog10_test): Likewise.
7060
7c7feb47
JM
7061 [BZ #6778]
7062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7063
fff1530e
AS
70642012-11-22 Andreas Schwab <schwab@suse.de>
7065
7066 * sysdeps/i386/fpu/libm-test-ulps: Update.
7067
94558d30
PT
70682012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7069
7070 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7071 printf output with newline.
7072
7e1be741
L
70732012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7074
6bfea974
L
7075 [BZ #14865]
7076 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7077 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7078 -z nodlopen, -z initfirst and -z execstack support.
7079 * configure: Regenerated.
7080
7e1be741
L
7081 * elf/elf.h (DF_1_NODIRECT): New macro.
7082 (DF_1_IGNMULDEF): Likewise.
7083 (DF_1_NOKSYMS): Likewise.
7084 (DF_1_NOHDR): Likewise.
7085 (DF_1_EDITED): Likewise.
7086 (DF_1_NORELOC): Likewise.
7087 (DF_1_SYMINTPOSE): Likewise.
7088 (DF_1_GLOBAUDIT): Likewise.
7089 (DF_1_SINGLETON): Likewise.
7090 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7091 DT_1_SUPPORTED_MASK bits.
7092 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7093
105ce2ce
CD
70942012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7095
7096 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7097
123be9de
TS
70982012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7099
d072f3f7
TS
7100 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7101 macro.
7102
123be9de
TS
7103 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7104 (sendmmsg): Move declarations...
7105 * socket/sys/socket.h: ... here.
7106 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7107 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7108 include it from...
7109 * socket/recvmmsg.c: ... this new file.
7110 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7111 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7112 definition of __sendmmsg hidden.
7113 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7114 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7115 Move ENOSYS stub into and include it from...
7116 * socket/sendmmsg.c: ... this new file.
7117 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7118 (sysdep_routines): Move recvmmsg and sendmmsg...
7119 * socket/Makefile (routines): ... here.
7120 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7121 (GLIBC_PRIVATE): Add __sendmmsg.
7122 * include/sys/socket.h (__sendmmsg): Add declarations.
7123 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7124 sendmmsg.
7125
cf9a5d18
JM
71262012-11-20 Joseph Myers <joseph@codesourcery.com>
7127
7128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7129 variable I1 with __attribute__ ((unused)).
7130 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7131
ecd4caf9
JM
71322012-11-19 Joseph Myers <joseph@codesourcery.com>
7133
be14d48f
JM
7134 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7135 DUMMY variables with __attribute__ ((unused)).
7136
ecd4caf9
JM
7137 * bits/byteswap.h: Include <bits/types.h>.
7138 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7139
986cab95
PT
71402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7141
7142 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7143 string_t. Do not manually set errno.
7144 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7145 length with __strnlen. Make sure to both set errno and return it on
7146 failure.
7147
6d33cc9d
DM
71482012-11-19 David S. Miller <davem@davemloft.net>
7149
7150 With help from Joseph Myers.
7151 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7152 very large arguments properly.
7153 * math/libm-test.inc (atan_test): New tests.
7154 (atan2_test): New tests.
7155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7157
ee663277
JM
71582012-11-19 Joseph Myers <joseph@codesourcery.com>
7159
877f2d8e
JM
7160 [BZ #14856]
7161 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7162 Define to 3.
7163
116fc08a
JM
7164 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7165 [POSIX] (EADDRNOTAVAIL): Likewise.
7166 [POSIX] (EAFNOSUPPORT): Likewise.
7167 [POSIX] (EALREADY): Likewise.
7168 [POSIX] (ECONNABORTED): Likewise.
7169 [POSIX] (ECONNREFUSED): Likewise.
7170 [POSIX] (ECONNRESET): Likewise.
7171 [POSIX] (EDESTADDRREQ): Likewise.
7172 [POSIX] (EDQUOT): Likewise.
7173 [POSIX] (EHOSTUNREACH): Likewise.
7174 [POSIX] (EIDRM): Likewise.
7175 [POSIX] (EISCONN): Likewise.
7176 [POSIX] (ELOOP): Likewise.
7177 [POSIX] (EMULTIHOP): Likewise.
7178 [POSIX] (ENETDOWN): Likewise.
7179 [POSIX] (ENETUNREACH): Likewise.
7180 [POSIX] (ENOBUFS): Likewise.
7181 [POSIX] (ENODATA): Likewise.
7182 [POSIX] (ENOLINK): Likewise.
7183 [POSIX] (ENOMSG): Likewise.
7184 [POSIX] (ENOPROTOOPT): Likewise.
7185 [POSIX] (ENOSR): Likewise.
7186 [POSIX] (ENOSTR): Likewise.
7187 [POSIX] (ENOTCONN): Likewise.
7188 [POSIX] (ENOTSOCK): Likewise.
7189 [POSIX] (EOPNOTSUPP): Likewise.
7190 [POSIX] (EOVERFLOW): Likewise.
7191 [POSIX] (EPROTO): Likewise.
7192 [POSIX] (EPROTONOSUPPORT): Likewise.
7193 [POSIX] (EPROTOTYPE): Likewise.
7194 [POSIX] (ESTALE): Likewise.
7195 [POSIX] (ETIME): Likewise.
7196 [POSIX] (ETXTBSY): Likewise.
7197 [POSIX] (EWOULDBLOCK): Likewise.
7198 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7199 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7200 [POSIX] (SEEK_CUR): Likewise.
7201 [POSIX] (SEEK_END): Likewise.
7202 [POSIX || UNIX98] (mode_t): Do not require.
7203 [POSIX] (off_t): Likewise.
7204 [POSIX] (pid_t): Likewise.
7205 [POSIX] (sys/stat.h): Do not allow header.
7206 [POSIX] (unistd.h): Likewise.
7207 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7208 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7209 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7210 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7211 require.
7212 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7213 sigevent): Specify elements.
7214 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7215 entry.
7216 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7217 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7218
a483863f
JM
7219 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7220 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7221 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7222 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7223 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7224 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7225 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7226 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7227 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7228 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7229 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7230 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7231 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7232 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7233 Likewise.
7234 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7235 Likewise.
7236 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7237 Likewise.
7238 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7239 Likewise.
7240 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7241 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7242 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7243 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7244 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7245 Specify lower bound on value.
7246 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7247 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7248 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7249 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7250 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7251 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7252 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7253 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7254 value.
7255 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7256 as optional.
7257 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7258 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7259 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7260 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7261 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7262 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7273 entry.
7274 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7275 optional.
7276 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7281 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7282 Likewise.
7283 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7286 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7287 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7288 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7289 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7290 as optional.
7291 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7295 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7296 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7297 specify as optional.
7298 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7301 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7302 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7303 [XPG3] (NL_LANGMAX): Likewise.
7304 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7305 [POSIX || XPG3] (NL_NMAX): Likewise.
7306 [POSIX || XPG3] (NL_SETMAX): Likewise.
7307 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7308 [XPG3] (NZERO): Likewise.
7309 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7310 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7311 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7312 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7313 (REG_ERANGE): Expect.
7314 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7315 optional-constant.
7316 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7317 Use (void) in prototype.
7318 [POSIX] (*_t): Allow.
7319 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7320 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7321 (WRDE_BADVAL): Expect.
7322
5ba924e3
JM
7323 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7324 expect.
7325 [XPG3 || XPG4] (O_RSYNC): Likewise.
7326 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7327 Likewise.
7328 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7329 [XPG3 || XPG4] (sigqueue): Likewise.
7330 [XPG3 || XPG4] (sigtimedwait): Likewise.
7331 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7332 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7333 [XPG3 || XPG4] (vsnprintf): Likewise.
7334 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7335 Likewise.
7336 [XPG3 || XPG4] (blksize_t): Likewise.
7337 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7338 Likewise.
7339 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7340 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7341 [XPG3 || XPG4] (struct itimerspec): Likewise.
7342 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7343 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7344 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7345 [XPG3 || XPG4] (clockid_t): Likewise.
7346 [XPG3 || XPG4] (timer_t): Likewise.
7347 [XPG3 || XPG4] (clock_getres): Likewise.
7348 [XPG3 || XPG4] (clock_gettime): Likewise.
7349 [XPG3 || XPG4] (clock_settime): Likewise.
7350 [XPG3 || XPG4] (nanosleep): Likewise.
7351 [XPG3 || XPG4] (timer_create): Likewise.
7352 [XPG3 || XPG4] (timer_delete): Likewise.
7353 [XPG3 || XPG4] (timer_gettime): Likewise.
7354 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7355 [XPG3 || XPG4] (timer_settime): Likewise.
7356 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7357 [XPG3 || XPG4] (getlogin_r): Likewise.
7358 [XPG3 || XPG4] (pread): Likewise.
7359 [XPG3 || XPG4] (pthread_atfork): Likewise.
7360 [XPG3 || XPG4] (pwrite): Likewise.
7361
ee663277
JM
7362 [BZ #14835]
7363 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7364 <bits/siginfo.h>.
7365
942caa16
PT
73662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7367
e19af380
PT
7368 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7369 finalizing MALLSTREAM.
7370
942caa16
PT
7371 * sysdeps/mach/hurd/syncfs.c: New file.
7372
cfde9b46
SP
73732012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7374
7375 [BZ #14719]
7376 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7377 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7378 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7379 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7380 (_nss_dns_gethostbyname4_r): Likewise.
7381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7382 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7383
f6da27e5
PH
73842012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7385
7386 [BZ #13763]
7387 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7388
6665d4a2
SM
73892012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7390
1f51ee92
SM
7391 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7392 * elf/cache.c (print_entry): Print ",AArch64" for
7393 FLAG_AARCH64_LIB64
7394
6665d4a2
SM
7395 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7396 * elf/cache.c (print_entry): Print ",hard-float" for
7397 FLAG_ARM_LIBHF.
7398
05b227bd
DM
73992012-11-18 David S. Miller <davem@davemloft.net>
7400
7401 With help from Joseph Myers.
7402 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7403 cutoff to 2**-13.
7404 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7405 cutoff to 2**-25.
7406 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7407 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7408 small.
7409 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7410 * math/libm-test.inc (y0_test): New tests.
7411 (y1_test): New tests.
7412 * sysdeps/i386/fpu/libm-test-ulps: Update.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7415
786b0b67
AS
74162012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7417
7418 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7419 64-bit targets.
7420 * configure: Regenerated.
7421
8e18b86d
DM
74222012-11-17 David S. Miller <davem@davemloft.net>
7423
7424 [BZ #14811]
7425 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7426 nonzero exponents with absolute value below 0x1p-128 to +/-
7427 0x1p-128.
7428
531f1ae0
JM
74292012-11-17 Joseph Myers <joseph@codesourcery.com>
7430
12df29e2
JM
7431 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
7432
150dc1a0
JM
7433 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
7434
531f1ae0
JM
7435 * posix/getconf-speclist.c: New file.
7436 * posix/posix-envs.def: Likewise.
7437 * posix/confstr.c (START_ENV_GROUP): New macro.
7438 (END_ENV_GROUP): Likewise.
7439 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7440 (KNOWN_PRESENT_ENV_STRING): Likewise.
7441 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7442 (UNKNOWN_ENVIRONMENT): Likewise.
7443 (confstr): Include posix-envs.def instead of handling
7444 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
7445 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
7446 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
7447 (END_ENV_GROUP): Likewise.
7448 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
7449 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
7450 (UNKNOWN_ENVIRONMENT): Likewise.
7451 (__sysconf): Include posix-envs.def instead of handling associated
7452 cases directly here.
7453 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
7454 preprocessing getconf-speclist.c rather than running getconf or
7455 generating empty file.
7456
a93f9cbc
PT
74572012-11-16 Pino Toscano <toscano.pino@tiscali.it>
7458
7459 * scripts/check-local-headers.sh: Ignore 'mach' headers.
7460
d64d9f87
AL
74612012-11-16 Andrej Lajovic <natrij@gmail.com>
7462
7463 [BZ #14672]
7464 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
7465
447885eb
DM
74662012-11-16 David S. Miller <davem@davemloft.net>
7467
7468 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
7469 smaller than LDBL_EPSILON/2.0L, just return xm1.
7470
bcbf9830
L
74712012-11-16 H.J. Lu <hongjiu.lu@intel.com>
7472
7473 * elf/tst-array1.c (init): Set constructor priority to 1000.
7474 (fini): Set destructor priority to 1000.
7475 * elf/tst-array2dep.c: Likewise.
7476
2b766585
SP
74772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7478
7479 [BZ #11741]
7480 * libio/fileops.c (_IO_new_file_write): Correctly return error.
7481 (_IO_new_file_xsputn): Also return EOF if none of the input
7482 data was written when overflow failed.
7483 * libio/iopadn.c (_IO_padn): Likewise.
7484 * libio/iowpadn.c (_IO_wpadn): Likewise.
7485 * stdio-common/tst-put-error.c: Add copyright notice.
7486 (do_test): Add case for printing padded string.
7487 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
7488 _IO_padn returned error.
7489 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
7490 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
7491 return EOF.
7492
b1848fde
SP
74932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7494
7495 * libio/libioP.h: Add comment note that the references to C++
7496 bits are now obsolete.
7497
2fd89785
MS
74982012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7499
7500 * math/libm-test.inc (check_complex): Use asprintf.
7501
e3ea5409
JM
75022012-11-14 Joseph Myers <joseph@codesourcery.com>
7503
7504 * debug/pcprofiledump.c (print_version): Update copyright year.
7505 * malloc/memusagestat.c (print_version): Likewise.
7506
2e64d265
L
75072012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7508
7509 [BZ #14831]
7510 * elf/Makefile (tests): Add tst-audit8.
7511 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
7512 ($(objpfx)tst-audit8.out): New target.
7513 (tst-audit8-ENV): New variable.
7514 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
7515 audit if l_reloc_result is NULL.
7516 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
7517 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
7518 * elf/tst-audit8.c: New file.
7519
c485e4d2
MS
75202012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7521
7522 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
7523 * misc/Makefile (CFLAGS-select.c): Define.
7524 * posix/Makefile (CFLAGS-pause.c): Define.
7525
3a0d900a
DM
75262012-11-13 David S. Miller <davem@davemloft.net>
7527
7528 * crypt/Makefile: Move test targets after toplevel Rules
7529 inclusion. Grab any necessary sysdep routines when linking.
7530 * crypt/md5.c (md5_process_block): Remove define, we will always
7531 name it __md5_process_block.
7532 (md5_finish_ctx): Update md5_process_block call.
7533 (md5_stream): Likewise.
7534 (md5_process_bytes): Likewise.
7535 (md5_process_block): Rename to __md5_process_block and move to ...
7536 * crypt/md5-block.c: ... here.
7537 * crypt/sha256.c (sha256_process_block): Move to ...
7538 * crypt/sha256-block.c: ... here.
7539 * crypt/sha512.c (sha512_process_block): Move to ...
7540 * crypt/sha512-block.c: ... here.
7541 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
7542 path.
7543 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
7544 * sysdeps/sparc/sparc64/multiarch/Makefile
7545 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
7546 crypt subdir.
7547 (localedef-aux): Add md5 crypto assembler when in locale subdir.
7548 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
7549 multiarch changes.
7550 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
7551 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
7552 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
7553 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
7554 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
7555 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
7556 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
7557 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
7558 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
7559 file.
7560 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
7561 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
7562 file.
7563 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
7564
8ca89318
JM
75652012-11-13 Joseph Myers <joseph@codesourcery.com>
7566
e27d476a
JM
7567 * timezone/tzselect.ksh: Update from tzcode git revision
7568 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
7569 * timezone/zdump.c: Likewise.
7570 * timezone/zic.c: Likewise.
7571 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
7572 in TZVERSION setting, not $(PKGVERSION).
7573 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
7574 REPORT_BUGS_TO settings.
7575
8ca89318
JM
7576 [BZ #14838]
7577 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
7578 macro.
7579
47594329
MS
75802012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7581
7582 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
7583 detection to immediately after _FP_ROUND().
7584 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
7585 bits are 0.
7586
640ac3f1
DM
75872012-11-11 David S. Miller <davem@davemloft.net>
7588
7589 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
7590 inttypes.h
7591 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
7592 __close rather than their public counterparts.
7593
3d2577bb
JM
75942012-11-10 Joseph Myers <joseph@codesourcery.com>
7595
7596 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
7597 file.
7598 [UNIX98] (sem_timedwait): Do not expect.
7599 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
7600 [XPG4 || UNIX98] (sockatmark): Do not expect.
7601 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
7602 (clock_getcpuclockid): Do not expect.
7603 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
7604 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
7605 Do not expect.
7606 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
7607 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
7608 [UNIX98] (vwscanf): Likewise.
7609 [UNIX98] (vswscanf): Likewise.
7610
fb1ae1ee
JM
76112012-11-09 Joseph Myers <joseph@codesourcery.com>
7612
9ec6f8bd
JM
7613 * timezone/version.h: Remove file.
7614 * timezone/README: Do not refer to version.h.
7615 * timezone/Makefile ($(objpfx)zic.o): New dependency on
7616 $(objpfx)version.h.
7617 ($(objpfx)zdump.o): Likewise.
c3f81911 7618 ($(objpfx)version.h): New target.
9ec6f8bd 7619
0aa8f8a1
JM
7620 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
7621 2012i.
7622 * timezone/README: Don't mention modification to tzselect.ksh.
7623 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
7624 work on unmodified tzselect.ksh. Substitute version numbers in
7625 tzselect.ksh.
7626
4e87147f
JM
7627 * Makefile (format-me): Remove.
7628 (INSTALL): Adjust indentation. Use commands directly instead of
7629 using $(format-me).
7630
8b748aed
JM
7631 * aclocal.m4 (ACX_PKGVERSION): New macro.
7632 (ACX_BUGURL): Likewise.
7633 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7634 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7635 (REPORT_BUGS_TO): Likewise.
7636 * configure: Regenerated.
7637 * config.h.in (PKGVERSION): New macro.
7638 (REPORT_BUGS_TO): Likewise.
7639 * config.make.in (PKGVERSION): New variable.
7640 (PKGVERSION_TEXI): Likewise.
7641 (REPORT_BUGS_TO): Likewise.
7642 (REPORT_BUGS_TEXI): Likewise.
7643 * Makefile (format-me): Use -I$(common-objpfx)manual.
7644 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7645 ($(common-objpfx)manual/%): New target.
7646 (manual/%): Remove target.
7647 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7648 (print_version): Use PKGVERSION.
7649 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7650 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7651 and REPORT_BUGS_TO.
7652 ($(objpfx)xtrace): Likewise.
7653 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7654 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7655 (print_version): Use PKGVERSION.
7656 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7657 (do_version): Use PKGVERSION.
7658 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7659 REPORT_BUGS_TO.
7660 (common-ldd-rewrite): Likewise.
7661 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7662 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7663 (print_version): Use PKGVERSION.
7664 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7665 * elf/pldd.c (argp_program_bug_address): Remove variable.
7666 (more_help): New function.
7667 (argp): Use more_help.
7668 (print_version): Use PKGVERSION.
7669 * elf/sln.c (main): Use PKGVERSION.
7670 (usage): Use REPORT_BUGS_TO.
7671 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7672 (top level): Use PKGVERSION.
7673 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7674 (print_version): Use PKGVERSION.
7675 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7676 (print_version): Use PKGVERSION.
7677 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7678 (print_version): Use PKGVERSION.
7679 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7680 (print_version): Use PKGVERSION.
7681 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7682 (print_version): Use PKGVERSION.
7683 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7684 (print_version): Use PKGVERSION.
7685 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7686 and BUGURL.
7687 ($(objpfx)memusage): Likewise.
7688 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7689 (do_version): Use PKGVERSION.
7690 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7691 (print_version): Use PKGVERSION.
7692 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7693 ($PKGVERSION): New variable.
7694 ($REPORT_BUGS_TO): Likewise.
7695 (usage): Use $REPORT_BUGS_TO.
7696 (top level): Use $PKGVERSION.
7697 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7698 ($(objpfx)pkgvers.texi): New rule.
7699 ($(objpfx)stamp-pkgvers): Likewise.
7700 * manual/install.texi: Include pkgvers.texi.
7701 (--with-pkgversion): Document new configure option.
7702 (--with-bugurl): Likewise.
7703 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7704 than necessarily for this particular distribution. Use
7705 REPORT_BUGS_TO for where to report bugs.
7706 * INSTALL: Regenerated.
7707 * manual/libc.texinfo: Include pkgvers.texi.
7708 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7709 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7710 (print_version): Use PKGVERSION.
7711 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7712 (print_version): Use PKGVERSION.
7713 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7714 (print_version): Use PKGVERSION.
7715 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7716 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7717 macro.
7718 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7719 (print_version): Use PKGVERSION.
7720 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7721 (print_version): Use PKGVERSION.
7722 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7723 and PKGVERSION.
7724
92e4b6a9
JM
7725 * timezone/checktab.awk: Update from tzcode 2012i.
7726 * timezone/ialloc.c: Likewise.
7727 * timezone/private.h: Likewise.
7728 * timezone/scheck.c: Likewise.
7729 * timezone/tzfile.h: Likewise.
7730 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7731 (TZVERSION): Hardcode tzcode version number.
7732 * timezone/zdump.c: Update from tzcode 2012i.
7733 * timezone/zic.c: Likewise.
7734 * timezone/version.h: New file.
7735 * timezone/README: Describe version.h. Update upstream location.
7736
9bde902c
JM
7737 [BZ #14824]
7738 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7739 (mktemp): Enable declaration.
7740 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7742 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7744 Likewise.
7745 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7746 Likewise.
7747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7748 Likewise.
7749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7750 Likewise.
7751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7752 Likewise.
7753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7754 Likewise.
7755
fb1ae1ee
JM
7756 [BZ #14821]
7757 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7758 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7759 for copies of such integer values.
7760 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7761 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7762
2c1adbcb
AJ
77632012-11-09 Andreas Jaeger <aj@suse.de>
7764
7765 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7766 definitions and declarations that are provided by
7767 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7768
d0f8457e
AK
77692012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7770
3a235abb 7771 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7772 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7773 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7774 definition.
7775
57241e26
MS
77762012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7777
7778 * elf/elf.h: Update comment before AArch64 relocations.
7779
60e8270d
DM
77802012-11-07 David S. Miller <davem@davemloft.net>
7781
7782 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7783 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7784 (__start_context): Declare.
7785 (__makecontext_ret): Delete.
7786 (__makecontext): Hook up __start_context instead of
7787 __makecontext_ret.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7789 (sysdep_routines): Add __start_context when in stdlib.
7790
0fbb0fbc
JM
77912012-11-07 Joseph Myers <joseph@codesourcery.com>
7792
7793 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7794 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7795 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7796 hardcoded "nm".
7797 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7798 (READELF): New variable. Use it instead of hardcoded "readelf".
7799
eb48db7e
L
78002012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7801
7802 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7803 * sysdeps/x86/Makefile: Here.
7804 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7805 * sysdeps/x86/tst-xmmymm.sh: This.
7806
05bcf62a
JM
78072012-11-07 Joseph Myers <joseph@codesourcery.com>
7808
c4b6cf53
JM
7809 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7810 expectations.
7811 [UNIX98] (pthread_barrier_t): Do not expect.
7812 [UNIX98] (pthread_barrierattr_t): Likewise.
7813 [UNIX98] (pthread_spinlock_t): Likewise.
7814 [UNIX98] (pthread_barrier_destroy): Likewise.
7815 [UNIX98] (pthread_barrier_init): Likewise.
7816 [UNIX98] (pthread_barrier_wait): Likewise.
7817 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7818 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7819 [UNIX98] (pthread_barrierattr_init): Likewise.
7820 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7821 [UNIX98] (pthread_getcpuclockid): Likewise.
7822 [UNIX98] (pthread_mutex_timedlock): Likewise.
7823 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7824 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7825 [UNIX98] (pthread_sigmask): Likewise.
7826 [UNIX98] (pthread_spin_destroy): Likewise.
7827 [UNIX98] (pthread_spin_init): Likewise.
7828 [UNIX98] (pthread_spin_lock): Likewise.
7829 [UNIX98] (pthread_spin_trylock): Likewise.
7830 [UNIX98] (pthread_spin_unlock): Likewise.
7831 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7832 Do not expect.
7833 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7834 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7835 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7836 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7837 [XPG3 || XPG4] (pthread_key_t): Likewise.
7838 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7839 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7840 [XPG3 || XPG4] (pthread_once_t): Likewise.
7841 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7842 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7843 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7844 [XPG3 || XPG4] (pthread_t): Likewise.
7845
cbe6e120
JM
7846 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7847 not expect.
7848 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7849
1b126443
JM
7850 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7851 Change function return type to int.
7852
b961a573
JM
7853 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7854 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7855 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7856 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7857 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7858 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7859 [!POSIX] (posix_madvise): Likewise.
7860 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7861 && !UNIX98].
7862 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7863 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7864 (mode_t): Likewise.
7865 (posix_mem_offset): Likewise.
7866 (posix_typed_mem_get_info): Likewise.
7867 (posix_typed_mem_open): Likewise.
7868
9e188909
JM
7869 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7870 Change condition to [XOPEN2K8].
7871
05bcf62a
JM
7872 * conform/conformtest.pl: Preprocess allow-header data with -x c
7873 instead of from stdin.
7874 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7875 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7876 [C99-based standards] (cerfc): Likewise.
7877 [C99-based standards] (cexp2): Likewise.
7878 [C99-based standards] (cexpm1): Likewise.
7879 [C99-based standards] (clog10): Likewise.
7880 [C99-based standards] (clog1p): Likewise.
7881 [C99-based standards] (clog2): Likewise.
7882 [C99-based standards] (clgamma): Likewise.
7883 [C99-based standards] (ctgamma): Likewise.
7884 [C99-based standards] (cerff): Likewise.
7885 [C99-based standards] (cerfcf): Likewise.
7886 [C99-based standards] (cexp2f): Likewise.
7887 [C99-based standards] (cexpm1f): Likewise.
7888 [C99-based standards] (clog10f): Likewise.
7889 [C99-based standards] (clog1pf): Likewise.
7890 [C99-based standards] (clog2f): Likewise.
7891 [C99-based standards] (clgammaf): Likewise.
7892 [C99-based standards] (ctgammaf): Likewise.
7893 [C99-based standards] (cerfl): Likewise.
7894 [C99-based standards] (cerfcl): Likewise.
7895 [C99-based standards] (cexp2l): Likewise.
7896 [C99-based standards] (cexpm1l): Likewise.
7897 [C99-based standards] (clog10l): Likewise.
7898 [C99-based standards] (clog1pl): Likewise.
7899 [C99-based standards] (clog2l): Likewise.
7900 [C99-based standards] (clgammal): Likewise.
7901 [C99-based standards] (ctgammal): Likewise.
7902 * conform/data/inttypes.h-data [C99-based standards]: Include
7903 stdint.h-data. Remove all expectations for stdint.h contents.
7904 [C99-based standards] (PRI*): Do not allow.
7905 [C99-based standards] (SCN*): Likewise.
7906 [C99-based standards] (*_t): Likewise.
7907 [C99-based-standards] (PRId8): Expect macro.
7908 [C99-based-standards] (PRIi8): Likewise.
7909 [C99-based-standards] (PRIo8): Likewise.
7910 [C99-based-standards] (PRIu8): Likewise.
7911 [C99-based-standards] (PRIx8): Likewise.
7912 [C99-based-standards] (PRIX8): Likewise.
7913 [C99-based-standards] (SCNd8): Likewise.
7914 [C99-based-standards] (SCNi8): Likewise.
7915 [C99-based-standards] (SCNo8): Likewise.
7916 [C99-based-standards] (SCNu8): Likewise.
7917 [C99-based-standards] (SCNx8): Likewise.
7918 [C99-based-standards] (PRIdLEAST8): Likewise.
7919 [C99-based-standards] (PRIiLEAST8): Likewise.
7920 [C99-based-standards] (PRIoLEAST8): Likewise.
7921 [C99-based-standards] (PRIuLEAST8): Likewise.
7922 [C99-based-standards] (PRIxLEAST8): Likewise.
7923 [C99-based-standards] (PRIXLEAST8): Likewise.
7924 [C99-based-standards] (SCNdLEAST8): Likewise.
7925 [C99-based-standards] (SCNiLEAST8): Likewise.
7926 [C99-based-standards] (SCNoLEAST8): Likewise.
7927 [C99-based-standards] (SCNuLEAST8): Likewise.
7928 [C99-based-standards] (SCNxLEAST8): Likewise.
7929 [C99-based-standards] (PRIdFAST8): Likewise.
7930 [C99-based-standards] (PRIiFAST8): Likewise.
7931 [C99-based-standards] (PRIoFAST8): Likewise.
7932 [C99-based-standards] (PRIuFAST8): Likewise.
7933 [C99-based-standards] (PRIxFAST8): Likewise.
7934 [C99-based-standards] (PRIXFAST8): Likewise.
7935 [C99-based-standards] (SCNdFAST8): Likewise.
7936 [C99-based-standards] (SCNiFAST8): Likewise.
7937 [C99-based-standards] (SCNoFAST8): Likewise.
7938 [C99-based-standards] (SCNuFAST8): Likewise.
7939 [C99-based-standards] (SCNxFAST8): Likewise.
7940 [C99-based-standards] (PRId16): Likewise.
7941 [C99-based-standards] (PRIi16): Likewise.
7942 [C99-based-standards] (PRIo16): Likewise.
7943 [C99-based-standards] (PRIu16): Likewise.
7944 [C99-based-standards] (PRIx16): Likewise.
7945 [C99-based-standards] (PRIX16): Likewise.
7946 [C99-based-standards] (SCNd16): Likewise.
7947 [C99-based-standards] (SCNi16): Likewise.
7948 [C99-based-standards] (SCNo16): Likewise.
7949 [C99-based-standards] (SCNu16): Likewise.
7950 [C99-based-standards] (SCNx16): Likewise.
7951 [C99-based-standards] (PRIdLEAST16): Likewise.
7952 [C99-based-standards] (PRIiLEAST16): Likewise.
7953 [C99-based-standards] (PRIoLEAST16): Likewise.
7954 [C99-based-standards] (PRIuLEAST16): Likewise.
7955 [C99-based-standards] (PRIxLEAST16): Likewise.
7956 [C99-based-standards] (PRIXLEAST16): Likewise.
7957 [C99-based-standards] (SCNdLEAST16): Likewise.
7958 [C99-based-standards] (SCNiLEAST16): Likewise.
7959 [C99-based-standards] (SCNoLEAST16): Likewise.
7960 [C99-based-standards] (SCNuLEAST16): Likewise.
7961 [C99-based-standards] (SCNxLEAST16): Likewise.
7962 [C99-based-standards] (PRIdFAST16): Likewise.
7963 [C99-based-standards] (PRIiFAST16): Likewise.
7964 [C99-based-standards] (PRIoFAST16): Likewise.
7965 [C99-based-standards] (PRIuFAST16): Likewise.
7966 [C99-based-standards] (PRIxFAST16): Likewise.
7967 [C99-based-standards] (PRIXFAST16): Likewise.
7968 [C99-based-standards] (SCNdFAST16): Likewise.
7969 [C99-based-standards] (SCNiFAST16): Likewise.
7970 [C99-based-standards] (SCNoFAST16): Likewise.
7971 [C99-based-standards] (SCNuFAST16): Likewise.
7972 [C99-based-standards] (SCNxFAST16): Likewise.
7973 [C99-based-standards] (PRId32): Likewise.
7974 [C99-based-standards] (PRIi32): Likewise.
7975 [C99-based-standards] (PRIo32): Likewise.
7976 [C99-based-standards] (PRIu32): Likewise.
7977 [C99-based-standards] (PRIx32): Likewise.
7978 [C99-based-standards] (PRIX32): Likewise.
7979 [C99-based-standards] (SCNd32): Likewise.
7980 [C99-based-standards] (SCNi32): Likewise.
7981 [C99-based-standards] (SCNo32): Likewise.
7982 [C99-based-standards] (SCNu32): Likewise.
7983 [C99-based-standards] (SCNx32): Likewise.
7984 [C99-based-standards] (PRIdLEAST32): Likewise.
7985 [C99-based-standards] (PRIiLEAST32): Likewise.
7986 [C99-based-standards] (PRIoLEAST32): Likewise.
7987 [C99-based-standards] (PRIuLEAST32): Likewise.
7988 [C99-based-standards] (PRIxLEAST32): Likewise.
7989 [C99-based-standards] (PRIXLEAST32): Likewise.
7990 [C99-based-standards] (SCNdLEAST32): Likewise.
7991 [C99-based-standards] (SCNiLEAST32): Likewise.
7992 [C99-based-standards] (SCNoLEAST32): Likewise.
7993 [C99-based-standards] (SCNuLEAST32): Likewise.
7994 [C99-based-standards] (SCNxLEAST32): Likewise.
7995 [C99-based-standards] (PRIdFAST32): Likewise.
7996 [C99-based-standards] (PRIiFAST32): Likewise.
7997 [C99-based-standards] (PRIoFAST32): Likewise.
7998 [C99-based-standards] (PRIuFAST32): Likewise.
7999 [C99-based-standards] (PRIxFAST32): Likewise.
8000 [C99-based-standards] (PRIXFAST32): Likewise.
8001 [C99-based-standards] (SCNdFAST32): Likewise.
8002 [C99-based-standards] (SCNiFAST32): Likewise.
8003 [C99-based-standards] (SCNoFAST32): Likewise.
8004 [C99-based-standards] (SCNuFAST32): Likewise.
8005 [C99-based-standards] (SCNxFAST32): Likewise.
8006 [C99-based-standards] (PRId64): Likewise.
8007 [C99-based-standards] (PRIi64): Likewise.
8008 [C99-based-standards] (PRIo64): Likewise.
8009 [C99-based-standards] (PRIu64): Likewise.
8010 [C99-based-standards] (PRIx64): Likewise.
8011 [C99-based-standards] (PRIX64): Likewise.
8012 [C99-based-standards] (SCNd64): Likewise.
8013 [C99-based-standards] (SCNi64): Likewise.
8014 [C99-based-standards] (SCNo64): Likewise.
8015 [C99-based-standards] (SCNu64): Likewise.
8016 [C99-based-standards] (SCNx64): Likewise.
8017 [C99-based-standards] (PRIdLEAST64): Likewise.
8018 [C99-based-standards] (PRIiLEAST64): Likewise.
8019 [C99-based-standards] (PRIoLEAST64): Likewise.
8020 [C99-based-standards] (PRIuLEAST64): Likewise.
8021 [C99-based-standards] (PRIxLEAST64): Likewise.
8022 [C99-based-standards] (PRIXLEAST64): Likewise.
8023 [C99-based-standards] (SCNdLEAST64): Likewise.
8024 [C99-based-standards] (SCNiLEAST64): Likewise.
8025 [C99-based-standards] (SCNoLEAST64): Likewise.
8026 [C99-based-standards] (SCNuLEAST64): Likewise.
8027 [C99-based-standards] (SCNxLEAST64): Likewise.
8028 [C99-based-standards] (PRIdFAST64): Likewise.
8029 [C99-based-standards] (PRIiFAST64): Likewise.
8030 [C99-based-standards] (PRIoFAST64): Likewise.
8031 [C99-based-standards] (PRIuFAST64): Likewise.
8032 [C99-based-standards] (PRIxFAST64): Likewise.
8033 [C99-based-standards] (PRIXFAST64): Likewise.
8034 [C99-based-standards] (SCNdFAST64): Likewise.
8035 [C99-based-standards] (SCNiFAST64): Likewise.
8036 [C99-based-standards] (SCNoFAST64): Likewise.
8037 [C99-based-standards] (SCNuFAST64): Likewise.
8038 [C99-based-standards] (SCNxFAST64): Likewise.
8039 [C99-based-standards] (PRIdMAX): Likewise.
8040 [C99-based-standards] (PRIiMAX): Likewise.
8041 [C99-based-standards] (PRIoMAX): Likewise.
8042 [C99-based-standards] (PRIuMAX): Likewise.
8043 [C99-based-standards] (PRIxMAX): Likewise.
8044 [C99-based-standards] (PRIXMAX): Likewise.
8045 [C99-based-standards] (SCNdMAX): Likewise.
8046 [C99-based-standards] (SCNiMAX): Likewise.
8047 [C99-based-standards] (SCNoMAX): Likewise.
8048 [C99-based-standards] (SCNuMAX): Likewise.
8049 [C99-based-standards] (SCNxMAX): Likewise.
8050 [C99-based-standards] (PRIdPTR): Likewise.
8051 [C99-based-standards] (PRIiPTR): Likewise.
8052 [C99-based-standards] (PRIoPTR): Likewise.
8053 [C99-based-standards] (PRIuPTR): Likewise.
8054 [C99-based-standards] (PRIxPTR): Likewise.
8055 [C99-based-standards] (PRIXPTR): Likewise.
8056 [C99-based-standards] (SCNdPTR): Likewise.
8057 [C99-based-standards] (SCNiPTR): Likewise.
8058 [C99-based-standards] (SCNoPTR): Likewise.
8059 [C99-based-standards] (SCNuPTR): Likewise.
8060 [C99-based-standards] (SCNxPTR): Likewise.
8061 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8062 allow.
8063 * conform/data/stdint.h-data: Update comments to clarify
8064 requirements.
8065 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8066 type.
8067 [C99-based standards] (INT8_MAX): Likewise.
8068 [C99-based standards] (INT16_MIN): Likewise.
8069 [C99-based standards] (INT16_MAX): Likewise.
8070 [C99-based standards] (INT32_MIN): Likewise.
8071 [C99-based standards] (INT32_MAX): Likewise.
8072 [C99-based standards] (INT64_MIN): Likewise.
8073 [C99-based standards] (INT64_MAX): Likewise.
8074 [C99-based standards] (UINT8_MAX): Likewise.
8075 [C99-based standards] (UINT16_MAX): Likewise.
8076 [C99-based standards] (UINT32_MAX): Likewise.
8077 [C99-based standards] (UINT64_MAX): Likewise.
8078 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8079 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8080 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8081 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8082 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8083 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8084 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8085 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8086 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8087 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8088 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8089 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8090 [C99-based standards] (INT_FAST8_MIN): Likewise.
8091 [C99-based standards] (INT_FAST8_MAX): Likewise.
8092 [C99-based standards] (INT_FAST16_MIN): Likewise.
8093 [C99-based standards] (INT_FAST16_MAX): Likewise.
8094 [C99-based standards] (INT_FAST32_MIN): Likewise.
8095 [C99-based standards] (INT_FAST32_MAX): Likewise.
8096 [C99-based standards] (INT_FAST64_MIN): Likewise.
8097 [C99-based standards] (INT_FAST64_MAX): Likewise.
8098 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8099 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8100 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8101 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8102 [C99-based standards] (INTPTR_MIN): Likewise.
8103 [C99-based standards] (INTPTR_MAX): Likewise.
8104 [C99-based standards] (UINTPTR_MAX): Likewise.
8105 [C99-based standards] (INTMAX_MIN): Likewise.
8106 [C99-based standards] (INTMAX_MAX): Likewise.
8107 [C99-based standards] (UINTMAX_MAX): Likewise.
8108 [C99-based standards] (PTRDIFF_MIN): Likewise.
8109 [C99-based standards] (PTRDIFF_MAX): Likewise.
8110 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8111 [C99-based standards] (SIZE_MAX): Likewise.
8112 [C99-based standards] (WCHAR_MAX): Likewise.
8113 [C99-based standards] (WINT_MAX): Likewise.
8114 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8115 constraint on value.
8116 [C99-based standards] (WCHAR_MIN): Likewise.
8117 [C99-based standards] (WINT_MIN): Likewise.
8118 [C99-based standards] (*_t): Allow.
8119 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8120 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8121 Include math.h-data and complex.h-data. Remove all expectations
8122 of math.h and complex.h contents.
8123 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8124 at end of line.
8125 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8126 (struct tm): Expect tag.
8127 [C99-based-standards] (wcstof): Expect function.
8128 [C99-based-standards] (wcstold): Likewise.
8129 [C99-based-standards] (wcstoll): Likewise.
8130 [C99-based-standards] (wcstoull): Likewise.
8131 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8132 macro-int-constant. Specify type.
8133 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8134 constraint on value.
8135 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8136 Specify type.
8137 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8138 Specify value.
8139 [ISO C standards]: Do not allow headers.
8140 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8141 wcs[abcdefghijklmnopqrstuvwxyz]*.
8142 [ISO C standards] (*_t): Do not allow.
8143 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8144 Expect function.
8145 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8146 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8147 Specify type.
8148 [ISO C standards]: Do not allow headers.
8149 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8150 is[abcdefghijklmnopqrstuvwxyz]*.
8151 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8152 to[abcdefghijklmnopqrstuvwxyz]*.
8153 [ISO C standards] (*_t): Do not allow.
8154 * conform/data/stdalign.h-data: New file.
8155 * conform/data/stdbool.h-data: Likewise.
8156 * conform/data/stdnoreturn.h-data: Likewise.
8157
7514feb8
RM
81582012-11-07 Roland McGrath <roland@hack.frob.com>
8159
8160 [BZ #14815]
8161 * manual/filesys.texi (Directory Entries): Typo fix.
8162 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8163
19b2ecfc
MS
81642012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8165
8166 * elf/elf.h (EM_AARCH64): New macro.
8167 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8168 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8169 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8170 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8171 (R_AARCH64_TLSDESC): Likewise.
8172 (NT_ARM_TLS): Likewise.
8173 (NT_ARM_HW_BREAK): Likewise.
8174 (NT_ARM_HW_WATCH): Likewise.
8175
60e235ee
JM
81762012-11-07 Joseph Myers <joseph@codesourcery.com>
8177
8178 [BZ #14811]
8179 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8180 (__ieee754_powl): Saturate nonzero exponents with absolute value
8181 below 0x1p-79 to +/- 0x1p-79.
8182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8183 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8184 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8185 nonzero exponents with absolute value below 0x1p-32 to +/-
8186 0x1p-32.
8187 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8188 (__ieee754_powl): Saturate nonzero exponents with absolute value
8189 below 0x1p-79 to +/- 0x1p-79.
8190 * math/libm-test.inc (pow_test): Add more tests.
8191
0ab234b7
AK
81922012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8193
8194 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8195 _dl_s390_cap_flags with kernel. Increase string length.
8196 (_dl_s390_platforms): Add z196 and zEC12.
8197
45832f74
JM
81982012-11-07 Joseph Myers <joseph@codesourcery.com>
8199
8200 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8201 Change XOPEN21K to XOPEN2K.
8202
19218757
MK
82032012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8204
8205 * string/memmove.c: Use memcpy when possible.
8206
c5f45721
AJ
82072012-11-06 Andreas Jaeger <aj@suse.de>
8208
8209 * po/eo.po: Update from translation team.
8210
82477c28
JM
82112012-11-06 Joseph Myers <joseph@codesourcery.com>
8212
8213 [BZ #14793]
8214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8215 exponent and small x and y exponents, scale x or y up. Increase
8216 by 2 the exponent used in scaling up.
8217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8219 * math/libm-test.inc (fma_test): Add more tests.
8220 (fma_test_towardzero): Likewise.
8221 (fma_test_downward): Likewise.
8222 (fma_test_upward): Likewise.
8223
99252c8c
JM
82242012-11-05 Joseph Myers <joseph@codesourcery.com>
8225
acfa885f
JM
8226 [BZ #14805]
8227 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8228 fenv_t *.
8229
99252c8c
JM
8230 [BZ #14801]
8231 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8232 namespace for names of struct fields.
8233 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8234 fenv_t fields.
8235 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8236 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8237
d6d98dea
ST
82382012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8239
8240 [BZ #3665]
8241 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8242
e10bb107
TS
82432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8244
8245 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8246 PTR_DEMANGLE.
8247
8248 [BZ #5246]
8249 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8250 PTR_DEMANGLE.
8251
a0c2940d
JM
82522012-11-04 Joseph Myers <joseph@codesourcery.com>
8253
8254 [BZ #14797]
8255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8256 definitely overflow as x * y not x * y + z.
8257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8259 * math/libm-test.inc (fma_test): Add more tests.
8260 (fma_test_towardzero): Likewise.
8261 (fma_test_downward): Likewise.
8262 (fma_test_upward): Likewise.
8263
b830319d
TS
82642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8265
8266 [BZ #157]
8267
8268 * include/stub-tag.h: Remove file.
8269 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8270 '#include' of it.
8271 * manual/maint.texi (Porting): Don't reference it.
8272 * Makerules ($(objpfx)stubs): Likewise.
8273 * dirent/closedir.c: Don't include <stub-tag.h>.
8274 * dirent/dirfd.c: Likewise.
8275 * dirent/fdopendir.c: Likewise.
8276 * dirent/getdents.c: Likewise.
8277 * dirent/getdents64.c: Likewise.
8278 * dirent/opendir.c: Likewise.
8279 * dirent/readdir.c: Likewise.
8280 * dirent/readdir64.c: Likewise.
8281 * dirent/readdir64_r.c: Likewise.
8282 * dirent/readdir_r.c: Likewise.
8283 * dirent/rewinddir.c: Likewise.
8284 * dirent/seekdir.c: Likewise.
8285 * dirent/telldir.c: Likewise.
8286 * gmon/profil.c: Likewise.
8287 * grp/setgroups.c: Likewise.
8288 * inet/if_index.c: Likewise.
8289 * io/access.c: Likewise.
8290 * io/chdir.c: Likewise.
8291 * io/chmod.c: Likewise.
8292 * io/chown.c: Likewise.
8293 * io/close.c: Likewise.
8294 * io/dup.c: Likewise.
8295 * io/dup2.c: Likewise.
8296 * io/dup3.c: Likewise.
8297 * io/euidaccess.c: Likewise.
8298 * io/faccessat.c: Likewise.
8299 * io/fchdir.c: Likewise.
8300 * io/fchmod.c: Likewise.
8301 * io/fchmodat.c: Likewise.
8302 * io/fchown.c: Likewise.
8303 * io/fchownat.c: Likewise.
8304 * io/fcntl.c: Likewise.
8305 * io/flock.c: Likewise.
8306 * io/fstatfs.c: Likewise.
8307 * io/fstatfs64.c: Likewise.
8308 * io/fstatvfs.c: Likewise.
8309 * io/fstatvfs64.c: Likewise.
8310 * io/futimens.c: Likewise.
8311 * io/fxstat.c: Likewise.
8312 * io/fxstat64.c: Likewise.
8313 * io/fxstatat.c: Likewise.
8314 * io/fxstatat64.c: Likewise.
8315 * io/getcwd.c: Likewise.
8316 * io/isatty.c: Likewise.
8317 * io/lchmod.c: Likewise.
8318 * io/lchown.c: Likewise.
8319 * io/link.c: Likewise.
8320 * io/linkat.c: Likewise.
8321 * io/lseek.c: Likewise.
8322 * io/lseek64.c: Likewise.
8323 * io/lxstat64.c: Likewise.
8324 * io/mkdir.c: Likewise.
8325 * io/mkdirat.c: Likewise.
8326 * io/mkfifo.c: Likewise.
8327 * io/mkfifoat.c: Likewise.
8328 * io/open.c: Likewise.
8329 * io/open64.c: Likewise.
8330 * io/openat.c: Likewise.
8331 * io/openat64.c: Likewise.
8332 * io/pipe.c: Likewise.
8333 * io/pipe2.c: Likewise.
8334 * io/poll.c: Likewise.
8335 * io/posix_fadvise.c: Likewise.
8336 * io/posix_fadvise64.c: Likewise.
8337 * io/posix_fallocate.c: Likewise.
8338 * io/posix_fallocate64.c: Likewise.
8339 * io/read.c: Likewise.
8340 * io/readlink.c: Likewise.
8341 * io/readlinkat.c: Likewise.
8342 * io/rmdir.c: Likewise.
8343 * io/sendfile.c: Likewise.
8344 * io/sendfile64.c: Likewise.
8345 * io/statfs.c: Likewise.
8346 * io/statfs64.c: Likewise.
8347 * io/statvfs.c: Likewise.
8348 * io/statvfs64.c: Likewise.
8349 * io/symlink.c: Likewise.
8350 * io/symlinkat.c: Likewise.
8351 * io/ttyname.c: Likewise.
8352 * io/ttyname_r.c: Likewise.
8353 * io/umask.c: Likewise.
8354 * io/unlink.c: Likewise.
8355 * io/unlinkat.c: Likewise.
8356 * io/utime.c: Likewise.
8357 * io/utimensat.c: Likewise.
8358 * io/write.c: Likewise.
8359 * io/xmknod.c: Likewise.
8360 * io/xmknodat.c: Likewise.
8361 * io/xstat.c: Likewise.
8362 * io/xstat64.c: Likewise.
8363 * login/getpt.c: Likewise.
8364 * login/grantpt.c: Likewise.
8365 * login/unlockpt.c: Likewise.
8366 * math/e_acoshl.c: Likewise.
8367 * math/e_acosl.c: Likewise.
8368 * math/e_asinl.c: Likewise.
8369 * math/e_atan2l.c: Likewise.
8370 * math/e_atanhl.c: Likewise.
8371 * math/e_coshl.c: Likewise.
8372 * math/e_expl.c: Likewise.
8373 * math/e_fmodl.c: Likewise.
8374 * math/e_gammal_r.c: Likewise.
8375 * math/e_hypotl.c: Likewise.
8376 * math/e_j0l.c: Likewise.
8377 * math/e_j1l.c: Likewise.
8378 * math/e_jnl.c: Likewise.
8379 * math/e_lgammal_r.c: Likewise.
8380 * math/e_log10l.c: Likewise.
8381 * math/e_log2l.c: Likewise.
8382 * math/e_logl.c: Likewise.
8383 * math/e_powl.c: Likewise.
8384 * math/e_rem_pio2l.c: Likewise.
8385 * math/e_sinhl.c: Likewise.
8386 * math/e_sqrtl.c: Likewise.
8387 * math/fclrexcpt.c: Likewise.
8388 * math/fedisblxcpt.c: Likewise.
8389 * math/feenablxcpt.c: Likewise.
8390 * math/fegetenv.c: Likewise.
8391 * math/fegetexcept.c: Likewise.
8392 * math/fegetround.c: Likewise.
8393 * math/feholdexcpt.c: Likewise.
8394 * math/fesetenv.c: Likewise.
8395 * math/fesetround.c: Likewise.
8396 * math/feupdateenv.c: Likewise.
8397 * math/fgetexcptflg.c: Likewise.
8398 * math/fraiseexcpt.c: Likewise.
8399 * math/fsetexcptflg.c: Likewise.
8400 * math/ftestexcept.c: Likewise.
8401 * math/k_cosl.c: Likewise.
8402 * math/k_rem_pio2l.c: Likewise.
8403 * math/k_sinl.c: Likewise.
8404 * math/k_tanl.c: Likewise.
8405 * math/s_asinhl.c: Likewise.
8406 * math/s_atanl.c: Likewise.
8407 * math/s_cbrtl.c: Likewise.
8408 * math/s_erfl.c: Likewise.
8409 * math/s_expm1l.c: Likewise.
8410 * math/s_log1pl.c: Likewise.
8411 * math/s_tanhl.c: Likewise.
8412 * misc/acct.c: Likewise.
8413 * misc/brk.c: Likewise.
8414 * misc/chflags.c: Likewise.
8415 * misc/chroot.c: Likewise.
8416 * misc/fchflags.c: Likewise.
8417 * misc/fgetxattr.c: Likewise.
8418 * misc/flistxattr.c: Likewise.
8419 * misc/fremovexattr.c: Likewise.
8420 * misc/fsetxattr.c: Likewise.
8421 * misc/fsync.c: Likewise.
8422 * misc/ftruncate.c: Likewise.
8423 * misc/futimes.c: Likewise.
8424 * misc/futimesat.c: Likewise.
8425 * misc/getdomain.c: Likewise.
8426 * misc/getdtsz.c: Likewise.
8427 * misc/gethostid.c: Likewise.
8428 * misc/gethostname.c: Likewise.
8429 * misc/getloadavg.c: Likewise.
8430 * misc/getpagesize.c: Likewise.
8431 * misc/getsysstats.c: Likewise.
8432 * misc/getxattr.c: Likewise.
8433 * misc/gtty.c: Likewise.
8434 * misc/ioctl.c: Likewise.
8435 * misc/lgetxattr.c: Likewise.
8436 * misc/listxattr.c: Likewise.
8437 * misc/llistxattr.c: Likewise.
8438 * misc/lremovexattr.c: Likewise.
8439 * misc/lsetxattr.c: Likewise.
8440 * misc/lutimes.c: Likewise.
8441 * misc/madvise.c: Likewise.
8442 * misc/mincore.c: Likewise.
8443 * misc/mlock.c: Likewise.
8444 * misc/mlockall.c: Likewise.
8445 * misc/mmap.c: Likewise.
8446 * misc/mprotect.c: Likewise.
8447 * misc/msync.c: Likewise.
8448 * misc/munlock.c: Likewise.
8449 * misc/munlockall.c: Likewise.
8450 * misc/munmap.c: Likewise.
8451 * misc/preadv.c: Likewise.
8452 * misc/preadv64.c: Likewise.
8453 * misc/ptrace.c: Likewise.
8454 * misc/pwritev.c: Likewise.
8455 * misc/pwritev64.c: Likewise.
8456 * misc/readv.c: Likewise.
8457 * misc/reboot.c: Likewise.
8458 * misc/remap_file_pages.c: Likewise.
8459 * misc/removexattr.c: Likewise.
8460 * misc/revoke.c: Likewise.
8461 * misc/select.c: Likewise.
8462 * misc/setdomain.c: Likewise.
8463 * misc/setegid.c: Likewise.
8464 * misc/seteuid.c: Likewise.
8465 * misc/sethostid.c: Likewise.
8466 * misc/sethostname.c: Likewise.
8467 * misc/setregid.c: Likewise.
8468 * misc/setreuid.c: Likewise.
8469 * misc/setxattr.c: Likewise.
8470 * misc/sstk.c: Likewise.
8471 * misc/stty.c: Likewise.
8472 * misc/swapoff.c: Likewise.
8473 * misc/swapon.c: Likewise.
8474 * misc/sync.c: Likewise.
8475 * misc/syncfs.c: Likewise.
8476 * misc/syscall.c: Likewise.
8477 * misc/truncate.c: Likewise.
8478 * misc/ualarm.c: Likewise.
8479 * misc/usleep.c: Likewise.
8480 * misc/ustat.c: Likewise.
8481 * misc/utimes.c: Likewise.
8482 * misc/vhangup.c: Likewise.
8483 * misc/writev.c: Likewise.
8484 * posix/_exit.c: Likewise.
8485 * posix/alarm.c: Likewise.
8486 * posix/execve.c: Likewise.
8487 * posix/fexecve.c: Likewise.
8488 * posix/fork.c: Likewise.
8489 * posix/fpathconf.c: Likewise.
8490 * posix/getaddrinfo.c: Likewise.
8491 * posix/getegid.c: Likewise.
8492 * posix/geteuid.c: Likewise.
8493 * posix/getgid.c: Likewise.
8494 * posix/getgroups.c: Likewise.
8495 * posix/getlogin.c: Likewise.
8496 * posix/getlogin_r.c: Likewise.
8497 * posix/getpgid.c: Likewise.
8498 * posix/getpid.c: Likewise.
8499 * posix/getppid.c: Likewise.
8500 * posix/getresgid.c: Likewise.
8501 * posix/getresuid.c: Likewise.
8502 * posix/getsid.c: Likewise.
8503 * posix/getuid.c: Likewise.
8504 * posix/glob64.c: Likewise.
8505 * posix/nanosleep.c: Likewise.
8506 * posix/pathconf.c: Likewise.
8507 * posix/pause.c: Likewise.
8508 * posix/posix_madvise.c: Likewise.
8509 * posix/pread.c: Likewise.
8510 * posix/pread64.c: Likewise.
8511 * posix/pwrite.c: Likewise.
8512 * posix/pwrite64.c: Likewise.
8513 * posix/sched_getaffinity.c: Likewise.
8514 * posix/sched_getp.c: Likewise.
8515 * posix/sched_gets.c: Likewise.
8516 * posix/sched_primax.c: Likewise.
8517 * posix/sched_primin.c: Likewise.
8518 * posix/sched_rr_gi.c: Likewise.
8519 * posix/sched_setaffinity.c: Likewise.
8520 * posix/sched_setp.c: Likewise.
8521 * posix/sched_sets.c: Likewise.
8522 * posix/sched_yield.c: Likewise.
8523 * posix/setgid.c: Likewise.
8524 * posix/setlogin.c: Likewise.
8525 * posix/setpgid.c: Likewise.
8526 * posix/setresgid.c: Likewise.
8527 * posix/setresuid.c: Likewise.
8528 * posix/setsid.c: Likewise.
8529 * posix/setuid.c: Likewise.
8530 * posix/sleep.c: Likewise.
8531 * posix/spawni.c: Likewise.
8532 * posix/sysconf.c: Likewise.
8533 * posix/times.c: Likewise.
8534 * posix/wait.c: Likewise.
8535 * posix/wait3.c: Likewise.
8536 * posix/wait4.c: Likewise.
8537 * posix/waitpid.c: Likewise.
8538 * resolv/gai_sigqueue.c: Likewise.
8539 * resource/getpriority.c: Likewise.
8540 * resource/getrlimit.c: Likewise.
8541 * resource/getrusage.c: Likewise.
8542 * resource/nice.c: Likewise.
8543 * resource/setpriority.c: Likewise.
8544 * resource/setrlimit.c: Likewise.
8545 * resource/ulimit.c: Likewise.
8546 * rt/aio_cancel.c: Likewise.
8547 * rt/aio_fsync.c: Likewise.
8548 * rt/aio_read.c: Likewise.
8549 * rt/aio_sigqueue.c: Likewise.
8550 * rt/aio_suspend.c: Likewise.
8551 * rt/aio_write.c: Likewise.
8552 * rt/clock_getres.c: Likewise.
8553 * rt/clock_gettime.c: Likewise.
8554 * rt/clock_nanosleep.c: Likewise.
8555 * rt/clock_settime.c: Likewise.
8556 * rt/lio_listio.c: Likewise.
8557 * rt/mq_close.c: Likewise.
8558 * rt/mq_getattr.c: Likewise.
8559 * rt/mq_notify.c: Likewise.
8560 * rt/mq_open.c: Likewise.
8561 * rt/mq_receive.c: Likewise.
8562 * rt/mq_send.c: Likewise.
8563 * rt/mq_setattr.c: Likewise.
8564 * rt/mq_timedreceive.c: Likewise.
8565 * rt/mq_timedsend.c: Likewise.
8566 * rt/mq_unlink.c: Likewise.
8567 * rt/shm_open.c: Likewise.
8568 * rt/shm_unlink.c: Likewise.
8569 * rt/timer_create.c: Likewise.
8570 * rt/timer_delete.c: Likewise.
8571 * rt/timer_getoverr.c: Likewise.
8572 * rt/timer_gettime.c: Likewise.
8573 * rt/timer_settime.c: Likewise.
8574 * setjmp/__longjmp.c: Likewise.
8575 * setjmp/setjmp.c: Likewise.
8576 * signal/kill.c: Likewise.
8577 * signal/killpg.c: Likewise.
8578 * signal/raise.c: Likewise.
8579 * signal/sigaction.c: Likewise.
8580 * signal/sigaltstack.c: Likewise.
8581 * signal/sigblock.c: Likewise.
8582 * signal/sigignore.c: Likewise.
8583 * signal/sigintr.c: Likewise.
8584 * signal/signal.c: Likewise.
8585 * signal/sigpause.c: Likewise.
8586 * signal/sigpending.c: Likewise.
8587 * signal/sigqueue.c: Likewise.
8588 * signal/sigreturn.c: Likewise.
8589 * signal/sigset.c: Likewise.
8590 * signal/sigsetmask.c: Likewise.
8591 * signal/sigstack.c: Likewise.
8592 * signal/sigsuspend.c: Likewise.
8593 * signal/sigtimedwait.c: Likewise.
8594 * signal/sigvec.c: Likewise.
8595 * signal/sigwait.c: Likewise.
8596 * signal/sigwaitinfo.c: Likewise.
8597 * signal/sysv_signal.c: Likewise.
8598 * socket/accept.c: Likewise.
8599 * socket/accept4.c: Likewise.
8600 * socket/bind.c: Likewise.
8601 * socket/connect.c: Likewise.
8602 * socket/getpeername.c: Likewise.
8603 * socket/getsockname.c: Likewise.
8604 * socket/getsockopt.c: Likewise.
8605 * socket/isfdtype.c: Likewise.
8606 * socket/listen.c: Likewise.
8607 * socket/recv.c: Likewise.
8608 * socket/recvfrom.c: Likewise.
8609 * socket/recvmsg.c: Likewise.
8610 * socket/send.c: Likewise.
8611 * socket/sendmsg.c: Likewise.
8612 * socket/sendto.c: Likewise.
8613 * socket/setsockopt.c: Likewise.
8614 * socket/shutdown.c: Likewise.
8615 * socket/sockatmark.c: Likewise.
8616 * socket/socket.c: Likewise.
8617 * socket/socketpair.c: Likewise.
8618 * stdio-common/ctermid.c: Likewise.
8619 * stdio-common/cuserid.c: Likewise.
8620 * stdio-common/remove.c: Likewise.
8621 * stdio-common/rename.c: Likewise.
8622 * stdio-common/renameat.c: Likewise.
8623 * stdio-common/tempname.c: Likewise.
8624 * stdlib/getcontext.c: Likewise.
8625 * stdlib/makecontext.c: Likewise.
8626 * stdlib/setcontext.c: Likewise.
8627 * stdlib/swapcontext.c: Likewise.
8628 * stdlib/system.c: Likewise.
8629 * streams/fattach.c: Likewise.
8630 * streams/fdetach.c: Likewise.
8631 * streams/getmsg.c: Likewise.
8632 * streams/getpmsg.c: Likewise.
8633 * streams/putmsg.c: Likewise.
8634 * streams/putpmsg.c: Likewise.
8635 * sysdeps/unix/bsd/getpt.c: Likewise.
8636 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8637 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8638 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8640 Likewise.
8641 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8642 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8643 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8644 * sysvipc/msgctl.c: Likewise.
8645 * sysvipc/msgget.c: Likewise.
8646 * sysvipc/msgrcv.c: Likewise.
8647 * sysvipc/msgsnd.c: Likewise.
8648 * sysvipc/semctl.c: Likewise.
8649 * sysvipc/semget.c: Likewise.
8650 * sysvipc/semop.c: Likewise.
8651 * sysvipc/semtimedop.c: Likewise.
8652 * sysvipc/shmat.c: Likewise.
8653 * sysvipc/shmctl.c: Likewise.
8654 * sysvipc/shmdt.c: Likewise.
8655 * sysvipc/shmget.c: Likewise.
8656 * termios/tcdrain.c: Likewise.
8657 * termios/tcflow.c: Likewise.
8658 * termios/tcflush.c: Likewise.
8659 * termios/tcgetattr.c: Likewise.
8660 * termios/tcgetpgrp.c: Likewise.
8661 * termios/tcsendbrk.c: Likewise.
8662 * termios/tcsetattr.c: Likewise.
8663 * termios/tcsetpgrp.c: Likewise.
8664 * time/adjtime.c: Likewise.
8665 * time/clock.c: Likewise.
8666 * time/getitimer.c: Likewise.
8667 * time/gettimeofday.c: Likewise.
8668 * time/setitimer.c: Likewise.
8669 * time/settimeofday.c: Likewise.
8670 * time/stime.c: Likewise.
8671 * time/time.c: Likewise.
8672
86732012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 8674
a20492cf
PT
8675 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8676 /usr/old/bin.
8677
72e182e3
PT
8678 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8679 instead of spaces.
8680 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8681
fbeafede
JM
86822012-11-03 Joseph Myers <joseph@codesourcery.com>
8683
5b5b04d6
JM
8684 [BZ #14796]
8685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8686 FE_TONEAREST before applying Dekker multiplication and Knuth
8687 addition. Clear inexact exceptions and check for exact zero
8688 results afterwards.
8689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8690 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8692 * math/libm-test.inc (fma_test): Add more tests.
8693 (fma_test_towardzero): Likewise.
8694 (fma_test_downward): Likewise.
8695 (fma_test_upward): Likewise.
8696 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8697 function.
8698 (libc_fesetround): New macro.
8699 (libc_fesetroundf): Likewise.
8700 (libc_fesetroundl): Likewise.
8701 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8702 function.
8703 (libc_fesetround_387): Likewise.
8704 (libc_fesetroundf): New macro.
8705 (libc_fesetround): Likewise.
8706 (libc_fesetroundl): Likewise.
8707 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8708 function.
8709 (libc_fesetroundf): New macro.
8710 (libc_fesetround): Likewise.
8711 (libc_fesetroundl): Likewise.
8712 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8713 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8714 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8715 libm_hidden_ver.
8716 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8717 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8718 libm_hidden_def.
8719 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8720 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8721 libm_hidden_ver.
8722 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8723 libm_hidden_def.
8724
fbeafede
JM
8725 [BZ #3439]
8726 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8727 integer constant usable in #if and use that to give value to enum
8728 constant.
8729 (FE_DIVBYZERO): Likewise.
8730 (FE_UNDERFLOW): Likewise.
8731 (FE_OVERFLOW): Likewise.
8732 (FE_INVALID): Likewise.
8733 (FE_INVALID_SNAN): Likewise.
8734 (FE_INVALID_ISI): Likewise.
8735 (FE_INVALID_IDI): Likewise.
8736 (FE_INVALID_ZDZ): Likewise.
8737 (FE_INVALID_IMZ): Likewise.
8738 (FE_INVALID_COMPARE): Likewise.
8739 (FE_INVALID_SOFTWARE): Likewise.
8740 (FE_INVALID_SQRT): Likewise.
8741 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8742 (FE_TONEAREST): Likewise.
8743 (FE_TOWARDZERO): Likewise.
8744 (FE_UPWARD): Likewise.
8745 (FE_DOWNWARD): Likewise.
8746 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8747 (FE_DIVBYZERO): Likewise.
8748 (FE_OVERFLOW): Likewise.
8749 (FE_UNDERFLOW): Likewise.
8750 (FE_INEXACT): Likewise.
8751 (FE_TONEAREST): Likewise.
8752 (FE_DOWNWARD): Likewise.
8753 (FE_UPWARD): Likewise.
8754 (FE_TOWARDZERO): Likewise.
8755 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8756 (FE_UNDERFLOW): Likewise.
8757 (FE_OVERFLOW): Likewise.
8758 (FE_DIVBYZERO): Likewise.
8759 (FE_INVALID): Likewise.
8760 (FE_TONEAREST): Likewise.
8761 (FE_TOWARDZERO): Likewise.
8762 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8763 (FE_OVERFLOW): Likewise.
8764 (FE_UNDERFLOW): Likewise.
8765 (FE_DIVBYZERO): Likewise.
8766 (FE_INEXACT): Likewise.
8767 (FE_TONEAREST): Likewise.
8768 (FE_TOWARDZERO): Likewise.
8769 (FE_UPWARD): Likewise.
8770 (FE_DOWNWARD): Likewise.
8771 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8772 (FE_DIVBYZERO): Likewise.
8773 (FE_OVERFLOW): Likewise.
8774 (FE_UNDERFLOW): Likewise.
8775 (FE_INEXACT): Likewise.
8776 (FE_TONEAREST): Likewise.
8777 (FE_DOWNWARD): Likewise.
8778 (FE_UPWARD): Likewise.
8779 (FE_TOWARDZERO): Likewise.
8780
105ca950
CM
87812012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8782
8783 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8784
a542b389
AS
87852012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8786
8787 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8788 commands. Quote $PWD.
8789 (blacklist_exports): Don't use remove_newlines. Replace "declare
8790 -x" by "export".
8791 (remove_newlines): Remove.
8792
f62c8abc
L
87932012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8794
8795 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8796 * stdlib/stdlib.h (atof): Moved to ...
8797 * include/bits/stdlib-float.h: Here. New file.
8798 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8799 * stdlib/bits/stdlib-float.h: New file.
8800 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8801 -mno-sse -mno-mmx.
8802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8803 <xmmintrin.h>.
8804
0155d5b2
JM
88052012-11-02 Joseph Myers <joseph@codesourcery.com>
8806
a68d0680
JM
8807 * conform/conformtest.pl (@headers): Add fenv.h.
8808 * conform/data/fenv.h-data: New file.
8809 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8810 include of <math/fenv.h>.
8811
caf7f573
JM
8812 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8813 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8814 && !UNIX98]. Enables tests for XOPEN2K8.
8815 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8816 POSIX2008]: Likewise.
8817
6c073ad6
JM
8818 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8819 (struct rusage): Do not expect type or its members.
8820
0155d5b2
JM
8821 [BZ #3439]
8822 * math/math.h (FP_NAN): Define macro to integer constant usable in
8823 #if and use that to give value to enum constant.
8824 (FP_INFINITE): Likewise.
8825 (FP_ZERO): Likewise.
8826 (FP_SUBNORMAL): Likewise.
8827 (FP_NORMAL): Likewise.
8828
b5dcacb4
AS
88292012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8830
8831 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8832 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8833 arguments.
8834
f7934be8
RM
88352012-11-02 Roland McGrath <roland@hack.frob.com>
8836
8837 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8838 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8839 autoconf-time if not.
8840 * configure.in: Remove AC_PREREQ.
8841
d7d08bde
TMQMF
88422012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8843
8844 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8845 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8846 of the internal implementation.
8847
dcdae19a
JM
88482012-11-02 Joseph Myers <joseph@codesourcery.com>
8849
8850 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8851 except include of <misc/sys/syslog.h>.
8852
d6cffd3e
AS
88532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8854
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8856 function returns with a NULL context exit with zero.
8857
b3563932
TMQMF
88582012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8859
8860 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8861
b288a93d
L
88622012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8863
8864 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8865 (run_program_cmd): This.
8866 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8867 (tst_langinfo): New variable. Use it.
8868
a2421a68
SAS
88692012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8870
8871 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8872 floating point opcodes.
8873
6f796e1b
TS
88742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8875
7402596b
TS
8876 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8877 variable.
8878
d0d4f868
TS
8879 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8880
6f796e1b
TS
8881 * sysdeps/mach/hurd/powerpc: Remove directory.
8882 * sysdeps/mach/powerpc: Likewise.
8883
4da224a2
AS
88842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * scripts/check-local-headers.sh: Ignore c++ headers.
8887
341dd673
TS
88882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8889
8890 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8891 __libc_cleanup_region_start argument.
8892
473611b2
JM
88932012-11-01 Joseph Myers <joseph@codesourcery.com>
8894
8895 [BZ #14784]
8896 [BZ #14785]
8897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8898 x * y using scaling, not as x * y + z.
8899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8901 * math/libm-test.inc (fma_test): Add more tests.
8902 (fma_test_towardzero): Likewise.
8903 (fma_test_downward): Likewise.
8904 (fma_test_upward): Likewise.
8905
4078da3d
TS
89062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8907
8908 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8909
903252aa
JM
89102012-10-31 Joseph Myers <joseph@codesourcery.com>
8911
8912 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8913 New variable.
8914
cbc818d0
TS
89152012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8916
8917 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8918
5a03cb1e
AS
89192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8920
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8922 Fix sort order.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8924 Likewise.
8925
90aff2ff
TMQMF
89262012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8927
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8929 Fix the order of the list for glibc 2.17.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8931 Likewise.
8932
1818fcb7
AS
89332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8934
8935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8936
ef82f4da
JM
89372012-10-31 Joseph Myers <joseph@codesourcery.com>
8938
16a0e2ec
JM
8939 [BZ #14610]
8940 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8941 for low part of x being zero before using __atanl (y).
8942 * math/libm-test.inc (atan2_test): Add another test.
8943
0eb69512
JM
8944 * manual/install.texi (Configuring and compiling): Document
8945 general use of test-wrapper and test-wrapper-env.
8946 * INSTALL: Regenerated.
8947
ef82f4da
JM
8948 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8949 (__fma): Do not extract and scale down low bits on after-rounding
8950 systems when result rounded to normal precision would have normal
8951 exponent.
8952 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8953 (__fmal): Do not extract and scale down low bits on after-rounding
8954 systems when result rounded to normal precision would have normal
8955 exponent.
8956 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8957 (__fmal): Do not extract and scale down low bits on after-rounding
8958 systems when result rounded to normal precision would have normal
8959 exponent.
8960 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8961 macro.
8962 (fma_test): Add more tests.
8963 (fma_test_towardzero): Likewise.
8964 (fma_test_downward): Likewise.
8965 (fma_test_upward): Likewise.
8966
954ef0d9
L
89672012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 * sysdeps/i386/tininess.h: Renamed to ...
8970 * sysdeps/x86/tininess.h: This.
8971 * sysdeps/x86_64/tininess.h: Removed.
8972
df61ffb2
JM
89732012-10-30 Joseph Myers <joseph@codesourcery.com>
8974
8975 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8976 input. Use $(build-program-cmd).
8977 ($(objpfx)tst-array1-static.out): Likewise.
8978 ($(objpfx)tst-array2.out): Likewise.
8979 ($(objpfx)tst-array3.out): Likewise.
8980 ($(objpfx)tst-array4.out): Likewise.
8981 ($(objpfx)tst-array5.out): Likewise.
8982 ($(objpfx)tst-array5-static.out): Likewise.
8983
01767843
CM
89842012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8985
47cc1490
CM
8986 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8987 if defined.
8988
01767843
CM
8989 * nss/nsswitch.h (nss_interface_function): Provide new
8990 macro for use with NSS functions.
8991 * grp/initgroups.c: Use new macro.
8992 * nss/getXXbyYY.c: Likewise.
8993 * nss/getXXbyYY_r.c: Likewise.
8994 * nss/getXXent.c: Likewise.
8995 * nss/getXXent_r.c: Likewise.
8996 * sysdeps/posix/getaddrinfo.c: Likewise.
8997
8321aa97
AJ
89982012-10-30 Andreas Jaeger <aj@suse.de>
8999
9000 * po/ru.po: Update Russion translation from translation project.
9001
2a27fd6d
JM
90022012-10-30 Joseph Myers <joseph@codesourcery.com>
9003
8627a232
JM
9004 [BZ #14152]
9005 [BZ #14783]
9006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9007 result and shift together with sticky bit instead of replicating
9008 round-to-nearest rounding.
9009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9011 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9012 missing underflow exceptions.
9013 (fma_test_towardzero): Add more tests.
9014 (fma_test_downward): Likewise.
9015 (fma_test_upward): Likewise.
9016
2a27fd6d
JM
9017 [BZ #14047]
9018 * sysdeps/generic/tininess.h: New file.
9019 * sysdeps/i386/tininess.h: Likewise.
9020 * sysdeps/sh/tininess.h: Likewise.
9021 * sysdeps/x86_64/tininess.h: Likewise.
9022 * stdlib/tst-strtod-underflow.c: Likewise.
9023 * stdlib/tst-tininess.c: Likewise.
9024 * stdlib/strtod_l.c: Include <tininess.h>.
9025 (round_and_return): Do not set errno for exact underflow cases.
9026 Force an underflow exception when setting errno for underflow.
9027 Determine underflow based on rounding to normal precision if
9028 TININESS_AFTER_ROUNDING.
9029 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9030 ERANGE for exact underflow cases.
9031 * stdlib/Makefile (tests): Add tst-tininess and
9032 tst-strtod-underflow.
9033 ($(objpfx)tst-tininess): Use $(link-libm).
9034 ($(objpfx)tst-strtod-underflow): Likewise.
9035
e7170363
AJ
90362012-10-30 Andreas Jaeger <aj@suse.de>
9037
e5088dc6
AJ
9038 [BZ#14767]
9039 * elf/Makefile (tests): Remove conditional for have-initfini-array
9040 since this is now always required and the variable does not exist
9041 anymore.
9042 (tests-static): Likewise.
9043 (modules-names): Likewise.
9044
e7170363 9045 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9046
9047 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9048 merged with constructor/destructor.
9049 (init_array): Likewise.
9050 * elf/tst-array2dep.c (fini_array): Likewise.
9051 (init_array): Likewise.
9052
60457d8a
MF
90532012-10-29 Mike Frysinger <vapier@gentoo.org>
9054
9055 * manual/message.texi: Delete @cartouche tags.
9056
8bece752
PT
90572012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9058
94ce799f
PT
9059 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9060 EOPNOTSUPP.
9061 * sysdeps/mach/hurd/fsync.c: Likewise.
9062
8bece752
PT
9063 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9064 [_POSIX_REALTIME_SIGNALS]: Change condition to
9065 [_POSIX_REALTIME_SIGNALS > 0].
9066
86ebe6b1
AJ
90672012-10-27 Andreas Jaeger <aj@suse.de>
9068
9069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9070 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9072 [__WORDSIZE != 64]: Likewise.
9073
54399c08
L
90742012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 * iconvdata/tst-table.sh: Remove ${SHELL}.
9077 * iconvdata/tst-tables.sh: Likewise.
9078
e2211bed
DM
90792012-10-25 David S. Miller <davem@davemloft.net>
9080
9081 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9082 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9083 of strtoull.
9084
f303f97c
DM
9085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9086 ifunc-impl-list.c
9087 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9088 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9089 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9090 file.
9091
1e9d84cd
RM
90922012-10-25 Roland McGrath <roland@hack.frob.com>
9093
9094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9095 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9096 __getdirentries.
9097
df381762
JM
90982012-10-25 Joseph Myers <joseph@codesourcery.com>
9099 Jim Blandy <jimb@codesourcery.com>
9100
9101 * scripts/cross-test-ssh.sh: New file.
9102 * manual/install.texi (Configuring and compiling): Document use of
9103 cross-test-ssh.sh.
9104 * INSTALL: Regenerated.
9105
bff64913
PT
91062012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9107
9108 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9109 EOPNOTSUPP.
9110
25fe8932
JM
91112012-10-25 Joseph Myers <joseph@codesourcery.com>
9112
9113 * Makeconfig (run-program-prefix): Fix comment.
9114
cc1290d0
JM
91152012-10-24 Joseph Myers <joseph@codesourcery.com>
9116 Jim Blandy <jimb@codesourcery.com>
9117
9118 * Makeconfig (test-wrapper): New variable,
9119 (test-wrapper-env): Likewise.
9120 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9121 (run-built-tests): Define to yes.
9122 (run-program-prefix): Use $(test-wrapper).
9123 (built-program-cmd): Likewise.
9124 * Rules (make-test-out): Use $(test-wrapper-env) and
9125 $(host-built-program-cmd).
9126 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9127 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9128 tst-pathopt.sh.
9129 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9130 $(test-wrapper-env) to tst-rtld-load-self.sh.
9131 ($(objpfx)order2.out): Use $(test-wrapper).
9132 ($(objpfx)tst-initorder.out): Likewise.
9133 ($(objpfx)tst-initorder2.out): Likewise.
9134 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9135 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9136 (test_wrapper_env): New variable. Use it to run ld.so.
9137 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9138 Use it to run ld.so.
9139 (test_wrapper_env): Likewise.
9140 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9141 $(test-wrapper) to run-iconv-test.sh.
9142 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9143 (ICONV): Use $test_wrapper.
9144 * posix/Makefile ($(objpfx)globtest.out): Pass
9145 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9146 globtest.sh, not $(run-program-prefix).
9147 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9148 (test_wrapper): Likewise.
9149 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9150 set together with run_via_rtld_prefix.
9151 (run_program_prefix): Define in terms of test_wrapper and
9152 run_via_rtld_prefix.
9153
6e6249d0
RM
91542012-10-24 Roland McGrath <roland@hack.frob.com>
9155
9156 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9157 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9158 Targets removed.
9159
9160 [BZ #14743]
9161 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9162 Declare __clock_getres, __clock_gettime, __clock_settime,
9163 __clock_nanosleep, and __clock_getcpuclockid.
9164 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9165 Remove librt_hidden_def (clock_gettime).
9166 * sysdeps/unix/clock_gettime.c: Likewise.
9167 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9168 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9169 * rt/clock_getres.c: Define __clock_getres as an alias.
9170 * sysdeps/posix/clock_getres.c: Likewise.
9171 * rt/clock_settime.c: Define __clock_settime as an alias.
9172 * sysdeps/unix/clock_settime.c: Likewise.
9173 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9174 * sysdeps/unix/clock_nanosleep.c: Likewise.
9175 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9176 * rt/clock-compat.c: New file.
9177 * rt/Makefile (librt-routines): Add clock-compat and move
9178 $(clock-routines) to ...
9179 (routines): ... here, new variable.
9180 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9181 Don't add get_clockfreq here.
9182 * rt/Versions (libc: GLIBC_2.17): New version set.
9183 Add clock_* symbols here.
9184 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9186 (GLIBC_2.17): Add clock_* symbols.
9187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9191 Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9193 Likewise.
9194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9198 * NEWS: Mention the move.
9199
9200 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9201 Use __open, __read, __close rather than their public counterparts.
9202 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9203 (__get_clockfreq_via_cpuinfo): Likewise.
9204 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9205 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9206
9207 * config.h.in (HAVE_IFUNC): New #undef.
9208 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9209 was successful.
9210 * configure: Regenerated.
9211
0cae3f4b
MF
92122012-10-24 Mike Frysinger <vapier@gentoo.org>
9213
9214 * configure.in: Move READELF check to start of file.
9215 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9216 libc_cv_asm_gnu_indirect_function in the process.
9217 * configure: Regenerated.
9218
8175a253
MF
92192012-10-24 Mike Frysinger <vapier@gentoo.org>
9220
9221 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9222 send the output to /dev/null.
9223 (libc_cv_cc_with_libunwind): Likewise.
9224 (libc_cv_as_noexecstack): Likewise.
9225 * configure: Regenerate.
9226
0708a7d1
JM
92272012-10-24 Joseph Myers <joseph@codesourcery.com>
9228
10b40d85
JM
9229 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9230
0708a7d1
JM
9231 * posix/globtest.sh (TMPDIR): Do not set.
9232 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9233 (testout): Likewise.
9234
9fddec1a
AJ
92352012-10-24 Andreas Jaeger <aj@suse.de>
9236
3a8db22f
AJ
9237 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9238 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9239 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9240 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9241 posix_fadvise64, posix_fallocate64.
9242
9fddec1a
AJ
9243 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9244 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9245 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9246 Likewise.
9247 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9248 Likewise.
9249 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9250
9251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9252 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9253 <bits/fcntl-linux.h>.
9254 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9255
9256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9257 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9258 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9259 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9260 [__WORDSIZE != 64]: Likewise.
9261
ebfd1bbd
JM
92622012-10-23 Joseph Myers <joseph@codesourcery.com>
9263
03ac099f
JM
9264 * Makeconfig (run-built-tests): New variable.
9265 * Rules [$(cross-compiling) = yes]: Change condition to
9266 [$(run-built-tests) = no].
9267 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9268 to [$(run-built-tests) = yes].
9269 * elf/Makefile [$(cross-compiling) = no]: Likewise
9270 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9271 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9272 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9273 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9274 * io/Makefile [$(cross-compiling) = no]: Likewise.
9275 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9276 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9277 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9278 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9279 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9280 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9281 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9282 * string/Makefile [$(cross-compiling) = no]: Likewise.
9283
ebfd1bbd
JM
9284 * posix/Makefile ($(objpfx)globtest.out): Pass
9285 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9286 $(rtld-installed-name).
9287 * posix/globtest.sh (elf_objpfx): Remove variable.
9288 (rtld_installed_name): Likewise.
9289 (library_path): Likewise.
9290 (run_program_prefix): New variable. Use for running globtest
9291 binary.
9292
166bca24
JB
92932012-10-23 Jim Blandy <jimb@codesourcery.com>
9294 Joseph Myers <joseph@codesourcery.com>
9295
9296 * Makeconfig (host-built-program-cmd): New variable.
9297 * elf/Makefile (tst-stackguard1-ARGS): Use
9298 $(host-built-program-cmd).
9299 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9300 (tst-spawn-ARGS): Likewise.
9301 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9302
88866099
JM
93032012-10-23 Joseph Myers <joseph@codesourcery.com>
9304 Jim Blandy <jimb@codesourcery.com>
9305
9306 * Makeconfig (run-via-rtld-prefix): New variable.
9307 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9308 (built-program-cmd): Likewise.
9309
b4b4c296
AJ
93102012-10-22 Andreas Jaeger <aj@suse.de>
9311
9312 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9313 __O_RSYNC if it exists, otherwise to O_SYNC.
9314
6fb54a22
JB
93152012-10-22 Jim Blandy <jimb@codesourcery.com>
9316 Joseph Myers <joseph@codesourcery.com>
9317
9318 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9319 /dev/null.
9320 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9321 from /dev/null
9322 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9323 /dev/null.
9324
481b90b9
AJ
93252012-10-22 Andreas Jaeger <aj@suse.de>
9326
2a0e2669
AJ
9327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9328 Define always.
9329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9330
76e38f9a
AJ
9331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9332 bits/fcntl-linux.h.
9333
7cd37b43
AJ
9334 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9335 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9336
481b90b9
AJ
9337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9338 to __O_LARGEFILE.
9339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9340 to __O_LARGEFILE.
9341
aba75984
JB
93422012-10-21 Jim Blandy <jimb@codesourcery.com>
9343 Joseph Myers <joseph@codesourcery.com>
9344
9345 * config.make.in (NM): New variable.
9346
88d4247f
AJ
93472012-10-21 Andreas Jaeger <aj@suse.de>
9348
9349 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9350 definitions and declarations that are provided by
9351 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9352
f2eed205
L
93532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 [BZ #14683]
9356 * elf/Makefile (tests-static): Add tst-leaks1-static.
9357 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9358 ($(objpfx)tst-leaks1-static): New rule.
9359 ($(objpfx)tst-leaks1-static-mem): Likewise.
9360 (tst-leaks1-static-ENV): New macro.
9361 * elf/dl-open.c (dl_open_worker): Check the main application
9362 only if SHARED is defined.
9363 * elf/tst-leaks1-static.c: New file.
9364
335e6931
AJ
93652012-10-20 Andreas Jaeger <aj@suse.de>
9366
9367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9368 generic values for Linux.
9369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9370 and declarations that are provided by <bits/fcntl-linux.h> and
9371 include <bits/fcntl-linux.h>.
9372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9374
ac5c94d3
RM
93752012-10-20 Roland McGrath <roland@hack.frob.com>
9376
9377 * io/fcntl.h: Move include of <bits/types.h> to the top and
9378 include it unconditionally.
9379
de54b33a
L
93802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9381
228cfb01
L
9382 * wcsmbs/Makefile (tests-ifunc): New variable.
9383 (tests): Add $(tests-ifunc).
9384 * wcsmbs/test-wcschr-ifunc.c: New file.
9385 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9386 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9387 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9388 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9389 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9390
69f07e5f
L
9391 * string/Makefile (tests-ifunc): New variable.
9392 (tests): Add $(tests-ifunc).
9393 * string/test-memccpy.c (TEST_NAME): New macro.
9394 * string/test-memchr.c (TEST_NAME): Likewise.
9395 * string/test-memcmp.c (TEST_NAME): Likewise.
9396 * string/test-memcpy.c (TEST_NAME): Likewise.
9397 * string/test-memmem.c (TEST_NAME): Likewise.
9398 * string/test-memmove.c (TEST_NAME): Likewise.
9399 * string/test-memset.c (TEST_NAME): Likewise.
9400 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9401 * string/test-stpcpy.c (TEST_NAME): Likewise.
9402 * string/test-stpncpy.c (TEST_NAME): Likewise.
9403 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9404 * string/test-strcasestr.c (TEST_NAME): Likewise.
9405 * string/test-strcat.c (TEST_NAME): Likewise.
9406 * string/test-strchr.c (TEST_NAME): Likewise.
9407 * string/test-strcmp.c(TEST_NAME): Likewise.
9408 * string/test-strcpy.c (TEST_NAME): Likewise.
9409 * string/test-strcspn.c (TEST_NAME): Likewise.
9410 * string/test-strlen.c (TEST_NAME): Likewise.
9411 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9412 * string/test-strncmp.c (TEST_NAME): Likewise.
9413 * string/test-strncpy.c (TEST_NAME): Likewise.
9414 * string/test-strnlen.c (TEST_NAME): Likewise.
9415 * string/test-strpbrk.c (TEST_NAME): Likewise.
9416 * string/test-strrchr.c (TEST_NAME): Likewise.
9417 * string/test-strspn.c (TEST_NAME): Likewise.
9418 * string/test-strstr.c (TEST_NAME): Likewise.
9419 * string/test-bcopy-ifunc.c: New file.
9420 * string/test-bzero-ifunc.c: Likewise.
9421 * string/test-memccpy-ifunc.c: Likewise.
9422 * string/test-memchr-ifunc.c: Likewise.
9423 * string/test-memcmp-ifunc.c: Likewise.
9424 * string/test-memcpy-ifunc.c: Likewise.
9425 * string/test-memmem-ifunc.c: Likewise.
9426 * string/test-memmove-ifunc.c: Likewise.
9427 * string/test-mempcpy-ifunc.c: Likewise.
9428 * string/test-memset-ifunc.c: Likewise.
9429 * string/test-rawmemchr-ifunc.c: Likewise.
9430 * string/test-stpcpy-ifunc.c: Likewise.
9431 * string/test-stpncpy-ifunc.c: Likewise.
9432 * string/test-strcasecmp-ifunc.c: Likewise.
9433 * string/test-strcasestr-ifunc.c: Likewise.
9434 * string/test-strcat-ifunc.c: Likewise.
9435 * string/test-strchr-ifunc.c: Likewise.
9436 * string/test-strchrnul-ifunc.c: Likewise.
9437 * string/test-strcmp-ifunc.c: Likewise.
9438 * string/test-strcpy-ifunc.c: Likewise.
9439 * string/test-strcspn-ifunc.c: Likewise.
9440 * string/test-strlen-ifunc.c: Likewise.
9441 * string/test-strncasecmp-ifunc.c: Likewise.
9442 * string/test-strncat-ifunc.c: Likewise.
9443 * string/test-strncmp-ifunc.c: Likewise.
9444 * string/test-strncpy-ifunc.c: Likewise.
9445 * string/test-strnlen-ifunc.c: Likewise.
9446 * string/test-strpbrk-ifunc.c: Likewise.
9447 * string/test-strrchr-ifunc.c: Likewise.
9448 * string/test-strspn-ifunc.c: Likewise.
9449 * string/test-strstr-ifunc.c: Likewise.
9450
de54b33a
L
9451 * debug/Makefile (tests-ifunc): New variable.
9452 (tests): Add $(tests-ifunc).
9453 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
9454 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
9455 * debug/test-stpcpy_chk-ifunc.c: New file.
9456 * debug/test-strcpy_chk-ifunc.c: Likewise.
9457
88481c16
SP
94582012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9459
9460 [BZ #13601]
9461 * elf/dl-load.c (open_verify): Retry read if the entire ELF
9462 header is not read in.
9463
135948bd
JM
94642012-10-19 Joseph Myers <joseph@codesourcery.com>
9465
89f1c388
JM
9466 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
9467 script to $(SHELL) as $<. Pass $(common-objpfx) to script
9468 directly. Pass built executable to script as
9469 $(built-program-cmd).
9470 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
9471 $testprogram without using LD_LIBRARY_PATH and $ldso.
9472
e40a0d21
JM
9473 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
9474 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
9475 $(rtld-installed-name).
9476 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
9477 (rtld_installed_name): Likewise.
9478 (library_path): Likewise.
9479 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
9480 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
9481 $(run-program-prefix) to tst-tables.sh.
9482 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
9483 it to run tst-table-from and tst-table-to.
9484 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
9485 Pass it to tst-table.sh.
9486 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
9487 $(run-program-prefix) to tst-gettext.sh.
9488 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
9489 tst-translit.sh.
9490 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
9491 tst-gettext2.sh.
9492 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
9493 to run tst-gettext.
9494 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
9495 to run tst-gettext2.
9496 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
9497 to run tst-translit.
9498 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
9499 $(run-program-prefix) to tst-mtrace.sh.
9500 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
9501 to run tst-mtrace.
9502 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
9503 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
9504 $(rtld-installed-name).
9505 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
9506 (rtld_installed_name): Likewise.
9507 (run_program_prefix): New variable. Use it to run wordexp-test.
9508
728e272a
JM
9509 * Makeconfig (ARCH): Remove all definitions.
9510 (machine): Likewise.
9511 [ARCH]: Remove conditional code.
9512 [!objdir]: Give error.
9513 [!objdir] (objpfx): Remove.
9514 [!objdir] (common-objpfx): Likewise.
9515 [!objdir] (common-objdir): Likewise.
9516 * configure.in (config_makefile): Remove. Hardcode Makefile in
9517 AC_CONFIG_FILES call.
9518 * configure: Regenerated.
9519
d528cdcf
JM
9520 [BZ #13888]
9521 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
9522 or TMPDIR.
9523 (testout): Likewise.
9524
135948bd
JM
9525 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
9526 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
9527 $(rtld-installed-name).
9528 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
9529 (rtld_installed_name): Likwise.
9530 (runit): Remove function.
9531 (run_getconf): New variable, Use it for running getconf binary.
9532
38c78296
L
95332012-10-18 H.J. Lu <hongjiu.lu@intel.com>
9534
9535 [BZ #14716]
9536 * string/test-memmem.c (check_result): New function.
9537 (do_one_test): Use it.
9538 (check1): New function.
9539 (test_main): Use it.
9540
d077f65f
MT
95412012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
9542
9543 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
9544
ced52c71
JM
95452012-10-18 Joseph Myers <joseph@codesourcery.com>
9546
9547 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
9548 (_G_LSEEK64): Likewise.
9549 (_G_MMAP64): Likewise.
9550 (_G_FSTAT64): Likewise.
9551 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
9552 (_G_LSEEK64): Likewise.
9553 (_G_MMAP64): Likewise.
9554 (_G_FSTAT64): Likewise.
9555 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
9556 unconditional. Call __mmap64 directly.
9557 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
9558 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
9559 __lseek64 directly.
9560 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
9561 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
9562 __mmap64 directly.
9563 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
9564 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
9565 __lseek64 directly.
9566 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
9567 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
9568 __lseek64 directly.
9569 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
9570 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
9571 __lseek64 directly.
9572 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
9573 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
9574 __fxstat64 directly.
9575 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
9576 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
9577 unconditional.
9578 (freopen64) [!_G_OPEN64]: Remove conditional code.
9579 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
9580 unconditional.
9581 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
9582 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
9583 unconditional.
9584 (ftello64) [!_G_LSEEK64]: Remove conditional code.
9585 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
9586 unconditional.
9587 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9588 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
9589 unconditional.
9590 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
9591 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
9592 unconditional.
9593 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9594 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
9595 unconditional.
9596 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
9597 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
9598 unconditional.
9599 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
9600
b741de23
SP
96012012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9602
9603 [BZ #12140]
9604 * manual/memory.texi (Malloc Tunable Parameters): Add note
9605 about free list pointers overwriting some perturb bytes.
9606 Wording suggested by Roland McGrath.
9607
f9b9d9c9
JM
96082012-10-17 Joseph Myers <joseph@codesourcery.com>
9609
9610 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
9611 (lgamma_test): Likewise.
9612 (tgamma_test): Likewise.
9613
172a631a
FW
96142012-10-16 Florian Weimer <fweimer@redhat.com>
9615
9616 [BZ #14700]
9617 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
9618 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
9619
e9f37252
MK
96202012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
9621
9622 * NEWS: Mention BZ #14716.
9623 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
9624 when removing AVAILABLE1_USES_J macro.
9625
d394eb74
L
96262012-10-12 H.J. Lu <hongjiu.lu@intel.com>
9627
9628 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
9629 (__bswap_64): __uint64_t for unsigned 64-bit int.
9630
ca38dc17
AS
96312012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9632
9633 * include/string.h (memmem): Declare libc hidden alias.
9634 * string/memmem.c (memmem): Define libc hidden alias.
9635 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9636 __read, __close instead of open, read, close.
9637
9a387d1f
L
96382012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9639
ac49ecaf
L
9640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9641 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9642 global and hidden.
9643 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9644 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9645 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9646 Likewise.
9647 (__rawmemchr_sse2): Likewise.
9648 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9649 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9650 (__strchr_sse2): Likewise.
9651 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9652 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9653 (__strcasecmp_sse2): Likewise.
9654 (__strncasecmp_sse2): Likewise.
9655 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9656 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9657 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9658 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9659 (__strrchr_sse2): Likewise.
9660 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9661 ifunc-impl-list.c.
9662 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9663 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9664 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9665 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9666 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9667 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9668 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9669 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9670 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9671 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9672 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9673 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9674 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9675 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9676 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9677 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9678 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9679 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9680 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9681 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9682 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9683 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9684 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9685 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9686 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9688 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9689 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9690 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9691 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9692
b090e8ea
L
9693 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9694 global and hidden.
9695 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9696 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9697 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9698 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9699 Likewise.
9700 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9701 Likewise.
9702 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9703 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9704 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9705 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9706 ifunc-impl-list.c.
9707 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9708 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9710 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9711 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9712 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9713 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9714 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9715 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9716 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9717 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9718 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9719 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9720 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9721 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9722 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9723 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9724 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9725 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9726 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9727 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9728 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9729 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9730 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9731 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9732 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9733 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9734 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9735 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9737 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9738 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9739 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9740 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9741 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9742 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9743 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9744 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9745 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9746 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9747 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9748
11dd4af6
L
9749 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9750 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9751 * include/ifunc-impl-list.h: New file.
9752 * misc/ifunc-impl-list.c: Likewise.
9753 * misc/Makefile (routines): Add ifunc-impl-list.
9754 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9755 * string/test-string.h: Include <ifunc-impl-list.h>.
9756 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9757 impl_array): New variables.
9758 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9759 are defined.
9760 (test_init): Call __libc_ifunc_impl_list to initialize
9761 func_list if TEST_IFUNC and TEST_NAME are defined.
9762
9a387d1f
L
9763 * string/Makefile (strop-tests): Add bcopy and bzero.
9764 * string/test-bcopy.c: New file.
9765 * string/test-bzero.c: Likewise.
9766 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9767 defined.
9768 * string/test-memset.c: Support bzero test if TEST_BZERO is
9769 defined.
9770 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9771 __libc_memmove.
9772 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9773 __libc_memset.
9774 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9775 of memset.
9776
472371b9
JM
97772012-10-10 Joseph Myers <joseph@codesourcery.com>
9778
1e4a9536
JM
9779 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9780 * configure: Regenerated.
9781
d173d12e
JM
9782 * Makeconfig (+link-static-before-libc): Don't include
9783 $(link-static-libc).
9784
472371b9
JM
9785 * libio/libio.h (_IO_pos_t): Remove.
9786
89a3ad0b
AO
97872012-10-10 Alexandre Oliva <aoliva@redhat.com>
9788
9789 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9790 McGrath.
9791
e7451425
AO
97922012-10-10 Alexandre Oliva <aoliva@redhat.com>
9793
9794 * crypt/crypt-entry.c: Include fips-private.h.
9795 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9796 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9797 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9798 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9799
4ba74a35
AO
98002012-10-10 Alexandre Oliva <aoliva@redhat.com>
9801
9802 * crypt/crypt-private.h: Include stdbool.h.
9803 (_ufc_setup_salt_r): Return bool.
9804 * crypt/crypt-entry.c: Include errno.h.
9805 (__crypt_r): Return NULL with EINVAL for bad salt.
9806 * crypt/crypt_util.c (bad_for_salt): New.
9807 (_ufc_setup_salt_r): Check that salt is long enough and within
9808 the specified alphabet.
9809 * crypt/badsalttest.c: New file.
9810 * crypt/Makefile (tests): Add it.
9811 ($(objpfx)badsalttest): New.
9812
f96f1242
MK
98132012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9814
9815 * NEWS: Add entry for BZ #14602.
9816
0e8e0c1c
JM
98172012-10-09 Joseph Myers <joseph@codesourcery.com>
9818
9819 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9820 type-generic.
9821 * math/libm-test.inc: Update comment listing what functions and
9822 macros are tested.
9823 (isgreater_test): New function.
9824 (isgreaterequal_test): Likewise.
9825 (isless_test): Likewise.
9826 (islessequal_test): Likewise.
9827 (islessgreater_test): Likewise.
9828 (isunordered_test): Likewise.
9829 (main): Call the new functions.
9830
273edc5e
RM
98312012-10-09 Roland McGrath <roland@hack.frob.com>
9832
b8493de0
RM
9833 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9834 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9835 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9836 * sysdeps/i386/configure: Regenerated.
9837 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9838 * sysdeps/mach/configure: Regenerated.
9839 * sysdeps/mach/hurd/configure: Regenerated.
9840 * sysdeps/powerpc/configure: Regenerated.
9841 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9842 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9843 * sysdeps/s390/s390-32/configure: Regenerated.
9844 * sysdeps/s390/s390-64/configure: Regenerated.
9845 * sysdeps/sh/configure: Regenerated.
9846 * sysdeps/sparc/configure: Regenerated.
9847 * sysdeps/unix/sysv/linux/configure: Regenerated.
9848 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9849 * sysdeps/x86_64/configure: Regenerated.
9850
273edc5e
RM
9851 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9852 defined. Don't check if MAP is NULL.
9853
c8450f70
JM
98542012-10-09 Joseph Myers <joseph@codesourcery.com>
9855
9856 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9857 (_G_stat64): Likewise.
9858 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9859 (_G_stat64): Likewise.
9860 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9861 instead of struct _G_stat64.
9862 * libio/fileops.c (mmap_remap_check): Likewise.
9863 (decide_maybe_mmap): Likewise.
9864 (_IO_new_file_seekoff): Likewise.
9865 (_IO_file_stat): Likewise.
9866 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9867 _G_off64_t.
9868 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9869 instead of struct _G_stat64.
9870 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9871
57e605ba
MK
98722012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9873
9874 [BZ #14602]
9875 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9876 Replace with ...
9877 (CHECK_EOL): New macro.
9878 (two_way_short_needle): Check beginning of haystack for EOL. Use
9879 CHECK_EOL.
9880 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9881 Replace with CHECK_EOL.
9882 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9883 Replace with CHECK_EOL.
9884
ef1bb361
JM
98852012-10-08 Joseph Myers <joseph@codesourcery.com>
9886
9887 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9888 type-generic.
9889 * math/libm-test.inc: Update comment listing what functions and
9890 macros are tested.
9891 (finite_test): New function.
9892 (isinf_test): Likewise.
9893 (isnan_test): Likewise.
9894 (fpclassify_test): Test subnormal input.
9895 (isfinite_test): Likewise.
9896 (isnormal_test): Likewise.
9897 (main): Call the new functions.
9898
55f11534
JN
98992012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9900
9901 [BZ #14660]
9902 * Makerules (%.dynsym): Force C locale when running
9903 $(OBJDUMP) --dynamic-syms.
9904
1ab29350
AS
99052012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9906
9907 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9908 <stdint.h>.
9909
f1ecb7ef
DM
99102012-10-06 David S. Miller <davem@davemloft.net>
9911
9912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9913 upper 32-bits of the length value in %o2 since we use branch-on-register
9914 tests which consider the entire 64-bit register.
9915
5d41d91a
L
99162012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 * string/test-strstr.c (check2): Add a test for page boundary.
9919
3baddb72
DM
99202012-10-05 David S. Miller <davem@davemloft.net>
9921
9922 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9923 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9924 file.
9925 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9926 sysdep_routines.
9927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9928 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9929 and bzero when HWCAP_SPARC_CRYPTO is present.
9930
9cee5585
L
99312012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9932
d7e0dab9
L
9933 [BZ #14602]
9934 * string/test-strstr.c (check2): New function.
9935 (test_main): Call check2.
9936
03759f47
L
9937 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9938 and bug-strchr1.
9939 * string/bug-strcasestr1.c (do_test): Moved to ...
9940 * string/test-strcasestr.c (check1): Here. New function.
9941 (do_one_test): Break out result checking code into ...
9942 (check_result): This. New function.
9943 (do_one_test): Call check_result.
9944 (test_main): Call check1.
9945 * string/bug-strchr1.c (do_test): Moved to ...
9946 * string/test-strchr.c (check1): Here. New function.
9947 (do_one_test): Break out result checking code into ...
9948 (check_result): This. New function.
9949 (do_one_test): Call check_result.
9950 (test_main): Call check1.
9951 * string/bug-strstr1.c (main): Moved to ...
046f153e 9952 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9953 (do_one_test): Break out result checking code into ...
9954 (check_result): This. New function.
9955 (do_one_test): Call check_result.
9956 (test_main): Call check1.
9957 * string/bug-strcasestr1.c: Removed.
9958 * string/bug-strchr1.c: Likewise.
9959 * string/bug-strstr1.c: Likewise.
9960
53cea63e
L
9961 * elf/Makefile (dl-routines): Add hwcaps.
9962 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9963 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9964 (_dl_important_hwcaps): Moved to ...
9965 * elf/dl-hwcaps.c: Here. New file.
9966 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9967
9cee5585 9968 [BZ #14557]
bb859b06
L
9969 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9970 if IS_IN_rtld isn't defined.
9971
9cee5585
L
9972 * elf/dl-support.c (_dl_sysinfo_map): New.
9973 Include "get-dynamic-info.h" and "setup-vdso.h".
9974 (_dl_non_dynamic_init): Call setup_vdso.
9975 * elf/dynamic-link.h: Don't include <assert.h>.
9976 (elf_get_dynamic_info): Moved to ...
9977 * elf/get-dynamic-info.h: Here. New file.
9978 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9979 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9980 * elf/setup-vdso.h: Here. New file.
9981 * elf/rtld.c: Include "setup-vdso.h".
9982 (dl_main): Call setup_vdso.
9983
23c31b76
JM
99842012-10-05 Joseph Myers <joseph@codesourcery.com>
9985
28234b07
JM
9986 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9987 creal in comment listing functions tested. List finite, isinf,
9988 isnan, isless, islessequal, isgreater, isgreaterequal,
9989 islessgreater, isunordered, lgamma_r and pow10 as functions and
9990 macros not tested. Mention which functions not tested are aliases
9991 for other functions. Fix typo. Note that signs of NaNs are not
9992 tested.
9993
23c31b76
JM
9994 * scripts/config.guess: Update from config.git.
9995 * scripts/config.sub: Likewise.
9996
9043e228
RM
99972012-10-04 Roland McGrath <roland@hack.frob.com>
9998
9999 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10000 * misc/madvise.c (madvise): Renamed to __madvise.
10001 Make madvise a weak alias.
10002 * include/sys/mman.h: Declare __madvise.
10003 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10004 * sysdeps/unix/syscalls.list
10005 (madvise): Make __madvise the strong name, and madvise a weak alias.
10006 * sysdeps/unix/sysv/linux/syscalls.list
10007 (madvise, mmap): Remove redundant entries.
10008 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10009 * malloc/malloc.c (mtrim): Likewise.
10010 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10011
f57f8055
RM
100122012-10-03 Roland McGrath <roland@hack.frob.com>
10013
10014 * sysdeps/mach/hurd/dl-cache.c: File removed.
10015 * config.h.in (USE_LDCONFIG): New #undef.
10016 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10017 * configure: Regenerated.
10018 * elf/Makefile (dl-routines): Add dl-cache only under
10019 [$(use-ldconfig) = yes].
10020 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10021 cache on [USE_LDCONFIG].
10022 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10023 [USE_LDCONFIG].
10024 * elf/rtld.c (dl_main): Likewise.
10025
5bb0c10a
PT
100262012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10027
10028 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10029 _SC_LEVEL4_CACHE_LINESIZE.
10030
010188c6
RM
100312012-10-03 Roland McGrath <roland@hack.frob.com>
10032
10033 * sysdeps/unix/bsd/confstr.h: File removed.
10034
b6c5ec07
AO
100352012-10-02 Alexandre Oliva <aoliva@redhat.com>
10036
10037 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10038 sys/sdt-config.h.
10039
408223d4
RM
100402012-10-02 Roland McGrath <roland@hack.frob.com>
10041
10042 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10043 Make 'mapoff' field ElfW(Off) rather than off_t.
10044
bb9510dc
DL
100452012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10046
fc997c6e
DL
10047 * nscd/Makefile: Remove nscd-cflags and all its users.
10048 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10049 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10050
bb9510dc
DL
10051 [BZ #10631]
10052 * malloc.c (malloc_printerr): Clarify error message.
10053
05699367
L
100542012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10055
10056 [BZ #14648]
10057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10058 Set bit_FMA_Usable if FMA is supported.
10059 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10060 macro.
10061 (bit_FMA4_Usable): Updated.
10062 (index_FMA_Usable): New macro.
10063 (CPUID_FMA): Likewise
10064 (HAS_FMA): Defined with bit_FMA_Usable.
10065
51367701
RM
100662012-10-01 Roland McGrath <roland@hack.frob.com>
10067
10068 * bits/types.h (__swblk_t): Type removed.
10069 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10070 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10072 (__SWBLK_T_TYPE): Likewise.
10073 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10074 (__SWBLK_T_TYPE): Likewise.
10075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10076 (__SWBLK_T_TYPE): Likewise.
10077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10078 (__SWBLK_T_TYPE): Likewise.
10079
4d57bf63 100802012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10081 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10082
10083 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10084 (xdr_mapname): Use YPMAXMAP as maxsize.
10085 (xdr_peername): Use YPMAXPEER as maxsize.
10086 (xdr_keydat): Use YPAXRECORD as maxsize.
10087 (xdr_valdat): Use YPMAXRECORD as maxsize.
10088
93c65d43
RM
100892012-10-01 Roland McGrath <roland@hack.frob.com>
10090
497a03d6
RM
10091 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10092
93c65d43
RM
10093 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10094 * csu/init-first.c: ... here.
10095 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10096 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10097 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10098 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10099 * sysdeps/i386/init-first.c: File removed.
10100 * sysdeps/sh/init-first.c: File removed.
10101
bec749fd
JM
101022012-10-01 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #14645]
10105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10106 if x * y might underflow to zero and z is zero.
10107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10109 * math/libm-test.inc (min_subnorm_value): New variable.
10110 (fma_test): Add more tests.
10111 (fma_test_towardzero): Likewise.
10112 (fma_test_downward): Likewise
10113 (fma_test_upward): Likewise.
10114 (initialize): Set min_subnorm_value.
10115
8ec5b013
JM
101162012-09-29 Joseph Myers <joseph@codesourcery.com>
10117
10118 [BZ #14638]
10119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10120 0 + 0.
10121 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10122 mode for addition resulting in exact zero.
10123 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10125 exact 0 + 0.
10126 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10128 * math/libm-test.inc (fma_test): Add more tests.
10129 (fma_test_towardzero): New function.
10130 (fma_test_downward): Likewise.
10131 (fma_test_upward): Likewise.
10132 (main): Call the new functions.
10133
b1fa802e
DM
101342012-09-28 David S. Miller <davem@davemloft.net>
10135
10136 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10137
d3b9fd9e
RM
101382012-09-28 Roland McGrath <roland@hack.frob.com>
10139
ea4d37b3
RM
10140 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10141 instead of SIGALRM.
10142
ac51c949
RM
10143 * sysdeps/gnu/_G_config.h: Moved to ...
10144 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10145 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10146 * sysdeps/generic/_G_config.h: ... here.
10147
28c195f7
RM
10148 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10149
848917f9
RM
10150 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10151
6bacf05b
RM
10152 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10153 Conditionalize target on [libnss_test1.so-version].
10154
91363dbb
RM
10155 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10156
cc87f7d8
RM
10157 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10158 (elfobjdir): Move out of conditionals.
10159
b1c608fe
RM
10160 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10161 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10162 (__nss_lookup_function): Conditionalize label remove_from_tree on
10163 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10164
1d9a6d96
DM
101652012-09-28 David S. Miller <davem@davemloft.net>
10166
10167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10168 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10169 file.
10170 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10171 sysdep_routines.
10172 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10174 when HWCAP_SPARC_CRYPTO is present.
10175
72581615
PT
101762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10177
10178 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10179
715a900c
JL
101802012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10181
10182 [BZ #6530]
10183 * stdio-common/vfprintf.c (process_string_arg): Revert
10184 2000-07-22 change.
10185
101862011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10187
10188 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10189 for testcase.
10190 * stdio-common/tst-sprintf.c: Include <locale.h>
10191 (main): Test sprintf's handling of incomplete multibyte
10192 characters.
10193
9bac1d86
L
101942012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 * elf/dl-runtime.c (VERSYMIDX): Removed.
10197 * elf/dl-version.c (VERSYMIDX): Likewise.
10198 * elf/do-rel.h (VERSYMIDX): Likewise.
10199 (VALIDX): Likewise.
10200 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10201 * elf/rtld.c (VALIDX): Likewise.
10202 (ADDRIDX): Likewise.
9bac1d86
L
10203 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10204 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10205 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10206 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10207 (VALIDX): Likewise.
10208 (ADDRIDX): Likewise.
9bac1d86 10209
b31606c0
PT
102102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10211
10212 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10213
11541177
JL
102142012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10215
10216 [BZ #11438]
10217 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10218 to global scope.
10219 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10220 addresses are in the same scope as 192.0.2/24.
10221 * posix/gai.conf: Document new scope table defaults.
10222
adb26fae
SP
102232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10224
10225 [BZ #5298]
10226 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10227 for ftell. Compute offsets from write pointers instead.
10228 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10229
4573c6b0
SP
102302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10231
10232 [BZ #14543]
10233 * libio/Makefile (tests): New test case tst-fseek.
10234 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10235 combination works in wide mode.
10236 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10237 state when the external buffer state changes.
10238
aa9bbfe6
DM
102392012-09-27 David S. Miller <davem@davemloft.net>
10240
10241 [BZ #14376]
10242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10243 pass reloc->r_addend in as the 'high' argument to
10244 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10245
784421e7
DM
10246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10247
c39bc8b8
PT
102482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10249
10250 * rt/tst-aio2.c: Include <pthread.h>.
10251 * rt/tst-aio3.c: Likewise.
10252
1ccc2399
SE
102532012-09-27 Steve Ellcey <sellcey@mips.com>
10254
10255 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10256
31ed4153
L
102572012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10258
25f5f885
L
10259 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10260 contents on [SHARED].
31ed4153 10261
b7bfe116
MP
102622012-09-26 Marek Polacek <polacek@redhat.com>
10263
10264 [BZ #14530]
10265 [BZ #13741]
10266 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10267 for C++ and GCC <4.3 as well as for non GCC compilers.
10268
43c4edba
MT
102692012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10270
10271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10272
6a1bf82f
RM
102732012-09-25 Roland McGrath <roland@hack.frob.com>
10274
10275 * Makefile.in (all, install): Declare with .PHONY.
10276 Reported by Michael Hope <michael.hope@linaro.org>.
10277
8ad11b9a
TMQMF
102782012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10279
10280 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10281 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10282 system header.
10283 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10284 Likewise.
10285 (sydep_routines): Add the new and the internal functions.
10286 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10287 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10289 (GLIBC_2.17): Add the new function.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10291 (GLIBC_2.17): Likewise.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10293 (GLIBC_2.17): Likewise.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10295 (GLIBC_2.17): Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10297
7e2fca8d
AM
102982012-09-25 Alan Modra <amodra@gmail.com>
10299
10300 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10301 Add release barrier before setting once_control to say
10302 initialisation is done. Add hints on lwarx. Use macro in
10303 place of isync.
10304 (clear_once_control): Add release barrier.
10305
b87c4b24
JM
103062012-09-25 Joseph Myers <joseph@codesourcery.com>
10307
d032e0d2
JM
10308 [BZ #13629]
10309 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10310 specially.
10311 * math/s_clog10.c (__clog10): Likewise.
10312 * math/s_clog10f.c (__clog10f): Likewise.
10313 * math/s_clog10l.c (__clog10l): Likewise.
10314 * math/s_clogf.c (__clogf): Likewise.
10315 * math/s_clogl.c (__clogl): Likewise.
10316 * math/Makefile (libm-calls): Add x2y2m1.
10317 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10318 (__x2y2m1): Likewise.
10319 (__x2y2m1l): Likewise.
10320 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10321 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10325 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10326 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10327 * sysdeps/i386/fpu/libm-test-ulps: Update.
10328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10329
b87c4b24
JM
10330 [BZ #14621]
10331 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10332 int as type of variable DEPTH.
10333 (glob): Use size_t instead of int as type of variables NEWCOUNT
10334 and OLD_PATHC.
10335
6d3bf199
LD
103362012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10337
22bf5c17
LD
10338 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10339 Add s_sincosf-sse2.
10340 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10341 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10342 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10343 macros for using routine as __sincosf_ia32.
10344 Use macro for function declaration and weak_alias.
10345 * sysdeps/i386/fpu/libm-test-ulps: Update.
10346
10347 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10349
10350 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10351 subnormal argument.
10352 * math/s_cexpf.c (__cexpf): Likewise.
10353 * math/s_csinf.c (__csinf): Likewise.
10354 * math/s_csinhf.c (__csinhf): Likewise.
10355 * math/s_ctanf.c (__ctanf): Likewise.
10356 * math/s_ctanhf.c (__ctanhf): Likewise.
10357 * math/s_ccosh.c (__ccoshf): Likewise.
10358 * math/s_cexp.c (__cexpl): Likewise.
10359 * math/s_csin.c (__csin): Likewise.
10360 * math/s_csinh.c (__csinh): Likewise.
10361 * math/s_ctan.c (__ctan): Likewise.
10362 * math/s_ctanh.c (ctanh): Likewise.
10363 * math/s_ccoshl.c (__ccoshl): Likewise.
10364 * math/s_cexpl.c (__cexpl): Likewise.
10365 * math/s_csinl.c (__csinl): Likewise.
10366 * math/s_csinhl.c (__csinhl): Likewise.
10367 * math/s_ctanl.c (__ctanl): Likewise.
10368 * math/s_ctanhl.c (__ctanhl): Likewise.
10369
203e5603
JM
103702012-09-25 Joseph Myers <joseph@codesourcery.com>
10371
10372 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10373 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10374 (_IO_off_t): Define to __off_t, not _G_off_t.
10375 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10376 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10377 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10378 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10379 type of __dummy and __dummy2 fields.
10380 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10381 (_G_ssize_t): Likewise.
10382 (_G_off_t): Likewise.
10383 (_G_pid_t): Likewise.
10384 (_G_uid_t): Likewise.
10385 (_G_wchar_t): Likewise.
10386 (_G_wint_t): Likewise.
10387 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10388 (_G_ssize_t): Likewise.
10389 (_G_off_t): Likewise.
10390 (_G_pid_t): Likewise.
10391 (_G_uid_t): Likewise.
10392 (_G_wchar_t): Likewise.
10393 (_G_wint_t): Likewise.
10394 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10395 (_G_ssize_t): Likewise.
10396 (_G_off_t): Likewise.
10397 (_G_pid_t): Likewise.
10398 (_G_uid_t): Likewise.
10399 (_G_wchar_t): Likewise.
10400 (_G_wint_t): Likewise.
10401
9fab36eb
SP
104022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10403
10404 * malloc/arena.c: Include malloc-sysdep.h.
10405 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10406 is sufficient to shrink the heap or an unmap is needed.
10407 * sysdeps/generic/malloc-sysdep.h: New file. Define
10408 new function check_may_shrink_heap.
10409 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10410 new function check_may_shrink_heap.
10411
2b4f00d1
SP
104122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10413
10414 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10415 comments.
10416
9a9028b1
DL
104172012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10418
57c69bef
DL
10419 * catgets/test-gencat.sh: Add "set -e".
10420 * elf/tst-pathopt.sh: Likewise.
10421 * grp/tst_fgetgrent.sh: Likewise.
10422 * iconvdata/run-iconv-test.sh: Likewise.
10423 * intl/tst-gettext.sh: Likewise.
10424 * intl/tst-gettext2.sh: Likewise.
10425 * intl/tst-gettext4.sh: Likewise.
10426 * intl/tst-gettext6.sh: Likewise.
10427 * intl/tst-translit.sh: Likewise.
10428 * io/ftwtest-sh: Likewise.
10429 * libio/test-freopen.sh: Likewise.
10430 * malloc/tst-mtrace.sh: Likewise.
10431 * posix/globtest.sh: Likewise.
10432 * posix/tst-getconf.sh: Likewise.
10433 * posix/wordexp-tst.sh: Likewise.
10434 * stdio-common/tst-printf.sh: Likewise.
10435 * stdio-common/tst-unbputc.sh: Likewise.
10436 * stdlib/tst-fmtmsg.sh: Likewise.
10437 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10438 * catgets/Makefile: Do not specify -e option when running
10439 testsuite shell scripts.
10440 * elf/Makefile: Likewise.
10441 * grp/Makefile: Likewise.
10442 * iconvdata/Makefile: Likewise.
10443 * intl/Makefile: Likewise.
10444 * io/Makefile: Likewise.
10445 * libio/Makefile: Likewise.
10446 * malloc/Makefile: Likewise.
10447 * posix/Makefile: Likewise.
10448 * stdio-common/Makefile: Likewise.
10449 * stdlib/Makefile: Likewise.
10450 * sysdeps/x86_64/Makefile: Likewise.
10451
9a9028b1
DL
10452 * io/ftwtest-sh: Add copyright header.
10453 * posix/globtest.sh: Likewise.
10454 * posix/tst-getconf.sh: Likewise.
10455 * posix/wordexp-tst.sh: Likewise.
10456 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
10457
ced6f16e
L
104582012-09-24 H.J. Lu <hongjiu.lu@intel.com>
10459
94b32c39
L
10460 [BZ #13679]
10461 * Makeconfig (+link): Defined as $(+link-static) if
10462 $(build-shared) isn't yes.
10463 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
10464 isn't yes.
10465 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
10466
189e935b
L
10467 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
10468
ced6f16e
L
10469 [BZ #14562]
10470 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
10471 new chunk size with MALLOC_ALIGN_MASK.
10472
a9f8e53a
JM
104732012-09-24 Joseph Myers <joseph@codesourcery.com>
10474
10475 [BZ #5044]
10476 * stdio-common/printf_fphex.c: Include <stdbool.h> and
10477 <rounding-mode.h>.
10478 (__printf_fphex): Determine rounding using get_rounding_mode and
10479 round_away.
10480 * stdio-common/tst-printf-round.c (struct hex_test): New
10481 structure.
10482 (hex_tests): New variable.
10483 (test_hex_in_one_mode): New function.
10484 (do_test): Also run tests for hex float output.
10485
43153109
JM
104862012-09-21 Joseph Myers <joseph@codesourcery.com>
10487
10488 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10489 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10490 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
10491 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
10492 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
10493 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
10494 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10495 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
10496
8a26625d
JM
104972012-09-20 Joseph Myers <joseph@codesourcery.com>
10498
10499 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
10500 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
10501 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
10502 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
10503
f3fd569c
DL
105042012-09-19 Dmitry V. Levin <ldv@altlinux.org>
10505
10506 [BZ #14579]
10507 * elf/rtld.c (dl_main): Limit the check for self loading to normal
10508 mode only.
10509 * elf/tst-rtld-load-self.sh: New test.
10510 * elf/Makefile: Run it.
10511
63bbedd4
JM
105122012-09-18 Joseph Myers <joseph@codesourcery.com>
10513
10514 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
10515 (tst-writev-ENV): Remove.
10516 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
10517
626f8b6a
CM
105182012-09-17 Chris Metcalf <cmetcalf@tilera.com>
10519
10520 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
10521
b7aaa4d6
JM
105222012-09-17 Joseph Myers <joseph@codesourcery.com>
10523
10524 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
10525 unconditional.
10526 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
10527 Likewise.
10528 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
10529 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
10530 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
10531 Likewise.
10532
65513990
L
105332012-09-14 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 [BZ #14587]
10536 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
10537 * config.make.in (have-cpp-asm-debuginfo): Removed.
10538 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
10539 * configure: Regenerated.
10540
784761be
JM
105412012-09-14 Joseph Myers <joseph@codesourcery.com>
10542
10543 [BZ #5044]
10544 * stdio-common/printf_fp.c: Include <stdbool.h> and
10545 <rounding-mode.h>.
10546 (___printf_fp): Determine rounding using get_rounding_mode and
10547 round_away.
10548 * stdio-common/tst-printf-round.c: New file.
10549 * stdio-common/Makefile (tests): Add tst-printf-round.
10550 (link-libm): New variable.
10551 ($(objpfx)tst-printf-round): Depend in $(link-libm).
10552
9503345f
L
105532012-09-13 H.J. Lu <hongjiu.lu@intel.com>
10554
10555 [BZ #14576]
10556 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
10557 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
10558 Likewise.
10559 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
10560 Likewise.
10561
ad35fc00
JM
105622012-09-13 Joseph Myers <joseph@codesourcery.com>
10563
10564 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
10565 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10566 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10567 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
10568
6c9b0f68
JM
105692012-09-12 Joseph Myers <joseph@codesourcery.com>
10570
10571 [BZ #14518]
10572 * include/rounding-mode.h: New file.
10573 * sysdeps/generic/get-rounding-mode.h: Likewise.
10574 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
10575 * stdlib/strtod_l.c: Include <rounding-mode.h>.
10576 (MAX_VALUE): New macro.
10577 (MIN_VALUE): Likewise.
10578 (overflow_value): New function.
10579 (underflow_value): Likewise.
10580 (round_and_return): Use overflow_value and underflow_value to
10581 determine return values in overflow and underflow cases. Use
10582 round_away to determine rounding depending on rounding mode.
10583 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
10584 determine return values in overflow and underflow cases.
10585 * stdlib/tst-strtod-round.c: Include <fenv.h>.
10586 (struct test_results): New structure.
10587 (struct test): Use struct test_results to store expected results
10588 for all rounding modes.
10589 (TEST): Include expected results for all rounding modes.
10590 (test_in_one_mode): New function.
10591 (do_test): Use test_in_one_mode to compute and check results.
10592 Check results for all rounding modes.
10593 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
10594 $(link-libm).
10595
19fcedd5
AM
105962012-12-09 Allan McRae <allan@archlinux.org>
10597
1e9d84cd 10598 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 10599
8bbfd2f1
JM
106002012-09-11 Joseph Myers <joseph@codesourcery.com>
10601
10602 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
10603 (_G_int32_t): Likewise.
10604 (_G_uint16_t): Likewise.
10605 (_G_uint32_t): Likewise.
10606 (_G_HAVE_BOOL): Likewise.
10607 (_G_HAVE_ATEXIT): Likewise.
10608 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10609 (_G_HAVE_IO_FILE_OPEN): Likewise.
10610 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
10611 (_G_int32_t): Likewise.
10612 (_G_uint16_t): Likewise.
10613 (_G_uint32_t): Likewise.
10614 (_G_HAVE_BOOL): Likewise.
10615 (_G_HAVE_ATEXIT): Likewise.
10616 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10617 (_G_HAVE_IO_FILE_OPEN): Likewise.
10618 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
10619 (_G_int32_t): Likewise.
10620 (_G_uint16_t): Likewise.
10621 (_G_uint32_t): Likewise.
10622 (_G_HAVE_BOOL): Likewise.
10623 (_G_HAVE_ATEXIT): Likewise.
10624 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
10625 (_G_HAVE_IO_FILE_OPEN): Likewise.
10626
b1dc5912
L
106272012-09-11 H.J. Lu <hongjiu.lu@intel.com>
10628
10629 * csu/libc-tls.c: Update copyright years.
10630
0e886ef9
JM
106312012-09-10 Joseph Myers <joseph@codesourcery.com>
10632
28361c5e
JM
10633 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10634 [!_G_USING_THUNKS]: Remove conditional code.
10635 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10636 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10637
0e886ef9
JM
10638 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10639 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10640 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10641 (_G_VTABLE_LABEL_PREFIX): Likewise.
10642 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10643 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10644 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10645 (_G_VTABLE_LABEL_PREFIX): Likewise.
10646 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10647 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10648 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10649 (_G_VTABLE_LABEL_PREFIX): Likewise.
10650 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10651
bcba7aa2
L
106522012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10653
10654 * libio/Makefile: Include ../Makeconfig before tests.
10655 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10656 only if $(build-shared) is yes.
10657
06585ee8
L
10658 * iconv/gconv_db.c: Update copyright years.
10659
80ccd52c
LD
106602012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10661
10662 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10663 unwind info if defined PIC. Fix special cases description.
10664 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10665
10666 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10667 DP_HI_MASK entry.
10668 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10669
691bc9c1
L
106702012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10671
3d9b46b3
L
10672 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10673
de2139a9
L
10674 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10675 is NULL.
10676
5ca78dd0
L
10677 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10678 (LDLIBS-tst-chk4): This.
10679 (LDFLAGS-tst-chk5): Renamed to ...
10680 (LDLIBS-tst-chk5): This.
10681 (LDFLAGS-tst-chk6): Renamed to ...
10682 (LDLIBS-tst-chk6): This.
10683 (LDFLAGS-tst-lfschk4): Renamed to ...
10684 (LDLIBS-tst-lfschk4): This.
10685 (LDFLAGS-tst-lfschk5): Renamed to ...
10686 (LDLIBS-tst-lfschk5): This.
10687 (LDFLAGS-tst-lfschk6): Renamed to ...
10688 (LDLIBS-tst-lfschk6): This.
10689
691bc9c1
L
10690 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10691 on $(common-objpfx)soversions.mk.
10692
65cafb1c
JM
106932012-09-07 Joseph Myers <joseph@codesourcery.com>
10694
10695 [BZ #10014]
10696 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10697 example host name.
10698
c78ab094
SP
106992012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10700
10701 * malloc/arena.c (arena_get_retry): New function that gets
10702 another arena for the caller to try its request on.
10703 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10704 current arena cannot fulfill the request.
10705 (__libc_memalign): Likewise.
10706 (__libc_memalign): Likewise.
10707 (__libc_pvalloc): Likewise.
10708 (__libc_calloc): Likewise.
10709
01f49f59
JT
107102012-09-05 John Tobey <john.tobey@gmail.com>
10711
10712 [BZ #13542]
10713 * manual/arith.texi (Operations on Complex): Fix description
10714 of carg branch cut.
10715
4c23fed5
JM
107162012-09-06 Joseph Myers <joseph@codesourcery.com>
10717
1d3c8572
JM
10718 [BZ #10014]
10719 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10720 host name.
10721
4c23fed5
JM
10722 [BZ #10038]
10723 * manual/memory.texi (Memory): Make order of menu items match
10724 order of sections.
10725
04570aaa
L
107262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10727
10728 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10729 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10730 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10731
b80af2f4
L
107322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * csu/libc-tls.c (static_dtv): Renamed to ...
10735 (_dl_static_dtv): This. Make it global.
10736 (_dl_initial_dtv): Removed.
10737 (__libc_setup_tls): Updated.
10738 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10739 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10740 DL_INITIAL_DTV.
10741
2abe9f15
PM
107422012-09-06 Petr Machata <pmachata@redhat.com>
10743
10744 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10745 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10746 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10747 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10748
0948c3af
L
107492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10750
10751 [BZ #14545]
10752 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10753 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10754 freeing dtv[-1].
10755
a5055ad1
L
107562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 [BZ #14544]
10759 * Makeconfig (link-static-before-libc): Replace $(+prector)
10760 with $(+prectorT).
10761 (link-static-after-libc): Replace $(+postctor) with
10762 $(+postctorT).
10763 (link-bounded): Replace $(+prector)/$(+postctor) with
10764 $(+prectorT)/$(+postctorT).
10765 (+prectorT): New macro.
10766 (+postctorT): Likewise.
10767
ed8c2ecd
JM
107682012-09-06 Joseph Myers <joseph@codesourcery.com>
10769
10770 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10771 (round_str): Handle values above the maximum for IBM long double
10772 as inexact.
10773 * stdlib/tst-strtod-round.c (tests): Regenerated.
10774
14c996c8
AK
107752012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10776
10777 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10778 assembler flag.
10779 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10780 zarch_nohighgprs around the zarch optimized routines.
10781 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10782 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10784 for zarch.
10785
430d6ce6
DM
107862012-09-05 David S. Miller <davem@davemloft.net>
10787
10788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10789
ff04dda4
DM
10790 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10791 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10792 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10793 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10794 entries.
10795
24d4e01b
AO
107962012-09-05 Alexandre Oliva <aoliva@redhat.com>
10797
10798 * malloc/arena.c: Fold copyright years.
10799 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10800
61d58174
AO
108012012-09-05 Alexandre Oliva <aoliva@redhat.com>
10802
10803 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10804
20196a5e
AO
108052012-09-05 Alexandre Oliva <aoliva@redhat.com>
10806
10807 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10808
5c447383
AO
108092012-09-05 Alexandre Oliva <aoliva@redhat.com>
10810
10811 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10812 change internal state upon failure.
10813
fad64255
AO
108142012-09-05 Alexandre Oliva <aoliva@redhat.com>
10815
10816 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10817 * malloc/memusage.c (mmap): Likewise.
10818 (mmap64, mremap): Likewise. Adjust name in comment.
10819
1ffb8c90
SP
108202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10821
10822 * libio/fileops.c: Fix typos in comments.
10823 * libio/oldfileops.c: Likewise.
10824 * libio/wfileops.c: Likewise.
10825
6ef9cc37
SP
108262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10827
10828 [BZ #1349]
10829 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10830 (tst-malloc-usable-ENV): Set environment for test case.
10831 * malloc/hooks.c (malloc_check_get_size): New function to get
10832 requested size.
10833 * malloc/malloc.c (musable): Use malloc_check_get_size.
10834 * malloc/tst-malloc-usable.c: New test case.
10835
4d038ae3
AS
108362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10837
10838 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10839
c4e85184
AM
108402012-09-05 Allan McRae <allan@archlinux.org>
10841
b9dafc56 10842 [BZ #13966]
c4e85184
AM
10843 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10844 determine header location.
10845 * configure: Regenerated.
10846
e1343020
AS
108472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10848
10849 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10850 float format.
10851 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10852 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10853 format.
e1343020
AS
10854 (test): Regenerate.
10855
0a9f1987
DM
108562012-09-04 David S. Miller <davem@davemloft.net>
10857
10858 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10859 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10860 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10861
29237804
FW
108622012-09-04 Florian Weimer <fweimer@redhat.com>
10863
10864 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10865 failures.
10866
edb3cb88
FW
10867 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10868
60160d83
JM
108692012-09-04 Joseph Myers <joseph@codesourcery.com>
10870
10871 [BZ #9914]
10872 * libio/iogetdelim.c: Include <limits.h>.
10873 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10874 + len + 1 would overflow.
10875
bcd6c8dc
AJ
108762012-09-03 Andreas Jaeger <aj@suse.de>
10877
10878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10879 * sysdeps/i386/fpu/libm-test-ulps: Update.
10880
4ffffbd2
LD
108812012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10882
10883 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10884 Add s_sinf-sse2, s_conf-sse2.
10885
10886 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10887 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10888 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10889 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10890
10891 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10892 for using routine as __sinf_ia32.
10893 Use macro for function declaration and weak_alias.
10894 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10895 for using routine as __cosf_ia32.
10896 Use macro for function declaration and weak_alias.
10897
10898 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10899 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10900
10901 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10902 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10904
10905 * math/libm-test.inc (cos_test): Add more test cases.
10906 (sin_test): Likewise.
10907 (sincos_test): Likewise.
10908
511fa286
AK
109092012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10910
10911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10912 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10913 hidden.
10914 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10915
5f30cfec
L
109162012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10917
10918 [BZ #14538]
10919 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10920 first element of the GOT.
10921 (elf_machine_load_address): Return the difference between
10922 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10923
0786794f
AM
109242012-09-01 Allan McRae <allan@archlinux.org>
10925
5f30cfec
L
10926 [BZ #13412]
10927 * configure.in (AWK): Require gawk version 3.0 or later.
10928 * configure: Regenerated.
0786794f 10929
26889eac
JM
109302012-09-01 Joseph Myers <joseph@codesourcery.com>
10931
10932 * sysdeps/unix/sysv/linux/kernel-features.h
10933 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10934 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10935 [__NR_clock_getres]: Make code unconditional.
10936 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10937 (clock_getcpuclockid): Remove code left unreachable by removal of
10938 conditionals.
10939 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10940 code unconditional.
10941 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10942 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10943 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10944 Make code unconditional.
10945 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10946 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10947 * sysdeps/unix/sysv/linux/clock_settime.c
10948 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10949 conditional code.
10950 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10951 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10952
d22e28b0
L
109532012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 [BZ #14476]
10956 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10957 scripts/test-installation.pl.
10958
10959 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10960 and $ld_so_version if it is set.
10961
050af9c4
SP
109622012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
10964 [BZ #14516]
10965 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10966 failure if reading from procfs failed.
10967 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10968
ad845c0b
JM
109692012-08-27 Joseph Myers <joseph@codesourcery.com>
10970
10971 * sysdeps/unix/sysv/linux/kernel-features.h
10972 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10973 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10974 Remove conditional code.
10975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10976 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10977 Remove conditional code.
10978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10979 * sysdeps/unix/sysv/linux/i386/fxstat.c
10980 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10982 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10983 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10985 * sysdeps/unix/sysv/linux/i386/lxstat.c
10986 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10988 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10989 Remove conditional code.
10990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10991 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10992 Remove conditional code.
10993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10994 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10995 <kernel-features.h>.
10996 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10997 Remove.
10998 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10999 Remove conditional code.
11000 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11001 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11002 Remove conditional.
11003
5dbf56af
MF
110042012-08-27 Mike Frysinger <vapier@gentoo.org>
11005
11006 [BZ #5400]
11007 * NEWS: Add fixed bug number.
11008
d6e70f43
JM
110092012-08-27 Joseph Myers <joseph@codesourcery.com>
11010
7efb4737
JM
11011 [BZ #14519]
11012 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11013 underflowing exponent in case of negative sign.
11014 * stdlib/tst-strtod-round-data: Add more tests.
11015 * stdlib/tst-strtod-round.c (tests): Regenerated.
11016
af92131a
JM
11017 [BZ #3479]
11018 * stdlib/strtod_l.c (NDIG): Remove.
11019 (HEXNDIG): Likewise.
11020 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11021 smallest representable value.
11022 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11023 lie within an exact representation of 1/2 ulp of the result.
11024 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11025 unconditionally.
11026 (TENS_P9_IDX): Define unconditionally.
11027 (TENS_P9_SIZE): Likewise.
11028 (TENS_P10_IDX): Likewise.
11029 (TENS_P10_SIZE): Likewise.
11030 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11031 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11032 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11033 entries for 10^2^13 and 10^2^14.
11034 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11035 (TENS_P13_IDX): Define.
11036 (TENS_P13_SIZE): Likewise.
11037 (TENS_P14_IDX): Likewise.
11038 (TENS_P14_SIZE): Likewise.
11039 (_fpioconst_pow10): Change array size to
11040 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11041 unconditional.
11042 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11043 1024]: Add entries for 10^2^13 and 10^2^14.
11044 [LAST_POW10 > _LAST_POW10]: Remove #error.
11045 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11046 (_fpioconst_pow10): Change array size to
11047 FPIOCONST_POW10_ARRAY_SIZE.
11048 * stdlib/gen-fpioconst.c: New file.
11049 * stdlib/gen-tst-strtod-round.c: Likewise.
11050 * stdlib/tst-strtod-round-data: Likewise.
11051 * stdlib/tst-strtod-round.c: Likewise.
11052 * stdlib/Makefile (tests): Add tst-strtod-round.
11053
d6e70f43
JM
11054 [BZ #14459]
11055 * stdlib/strtod_l.c: Include <stdint.h>.
11056 (NDEBUG): Do not define.
11057 (round_and_return): Change EXPONENT parameter to type intmax_t.
11058 Rearrange calculations to avoid internal overflow possibilities.
11059 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11060 Rearrange calculations to avoid internal overflow possibilities.
11061 Assert that number fits inside MPNSIZE limbs.
11062 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11063 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11064 calculations and add assertions to avoid internal overflow
11065 possibilities. Add casts to avoid signed/unsigned operations.
11066 * stdlib/tst-strtod-overflow.c: New file.
11067 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11068
1f529f7d
MP
110692012-08-25 Marek Polacek <polacek@redhat.com>
11070
11071 * time/time.h: Fix some typos in comments.
11072
59a629f1
RM
110732012-08-23 Roland McGrath <roland@hack.frob.com>
11074
11075 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11076 * posix/tst-rfc3484-2.c: Likewise.
11077 * posix/tst-rfc3484-3.c: Likewise.
11078
d3bafbc9
SM
110792012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11080
11081 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11082 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11083
4efcc022
JM
110842012-08-23 Joseph Myers <joseph@codesourcery.com>
11085
11086 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11087 #include of fxstatat64.c.
11088
3cc3ef96
RM
110892012-08-22 Roland McGrath <roland@hack.frob.com>
11090
f04e2132
RM
11091 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11092 * shadow/getspent_r.c: Likewise.
11093 * shadow/getspnam.c: Likewise.
11094 * shadow/getspnam_r.c: Likewise.
11095 * gshadow/getsgent.c: Likewise.
11096 * gshadow/getsgent_r.c: Likewise.
11097 * gshadow/getsgnam.c: Likewise.
11098 * gshadow/getsgnam_r.c: Likewise.
11099 * inet/getnetbyad.c: Likewise.
11100 * inet/getnetbyad_r.c: Likewise.
11101 * inet/getnetbynm.c: Likewise.
11102 * inet/getnetbynm_r.c: Likewise.
11103 * inet/getnetent.c: Likewise.
11104 * inet/getnetent_r.c: Likewise.
11105 * inet/getproto.c: Likewise.
11106 * inet/getproto_r.c: Likewise.
11107 * inet/getprtent.c: Likewise.
11108 * inet/getprtent_r.c: Likewise.
11109 * inet/getprtname.c: Likewise.
11110 * inet/getprtname_r.c: Likewise.
11111 * inet/getrpcbyname.c: Likewise.
11112 * inet/getrpcbyname_r.c: Likewise.
11113 * inet/getrpcbynumber.c: Likewise.
11114 * inet/getrpcbynumber_r.c: Likewise.
11115 * inet/getrpcent.c: Likewise.
11116 * inet/getrpcent_r.c: Likewise.
11117 * inet/getaliasent.c: Likewise.
11118 * inet/getaliasent_r.c: Likewise.
11119 * inet/getaliasname.c: Likewise.
11120 * inet/getaliasname_r.c: Likewise.
11121 * nscd/getgrgid_r.c: Likewise.
11122 * nscd/getgrnam_r.c: Likewise.
11123 * nscd/gethstbyad_r.c: Likewise.
11124 * nscd/gethstbynm3_r.c: Likewise.
11125 * nscd/getpwnam_r.c: Likewise.
11126 * nscd/getpwuid_r.c: Likewise.
11127 * nscd/getsrvbynm_r.c: Likewise.
11128 * nscd/getsrvbypt_r.c: Likewise.
11129 * nscd/gai.c: Likewise.
11130
c53d909c
RM
11131 * configure.in (build_nscd): New substituted variable, set
11132 by --disable-build-nscd and defaults to $use_nscd.
11133 * configure: Regenerated.
11134 * config.make.in (build-nscd): New substituted variable.
11135 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11136 Change conditional to require [$(build-nscd) = yes] as well.
11137 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11138
3cc3ef96
RM
11139 [BZ# 13696]
11140 * configure.in (use_nscd): New substituted variable, set by
11141 --disable-nscd. If enabled, define USE_NSCD.
11142 * configure: Regenerated.
11143 * config.h.in: Add USE_NSCD.
11144 * config.make.in (use-nscd): New substituted variable.
11145 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11146 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11147 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11148 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11149 (CFLAGS-getgrnam_r.c): Likewise.
11150 (CFLAGS-initgroups.c): Likewise.
11151 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11152 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11153 Variables removed.
11154 * inet/getnetgrent_r.c
11155 (nscd_setnetgrent): New function, broken out of ...
11156 (setnetgrent): ... here. Call it.
11157 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11158 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11159 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11160 * nscd/Makefile (routines, aux): Move definitions after include of
11161 Makeconfig. Conditionalize on [$(use-nscd) != no].
11162 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11163 Conditionalize on [USE_NSCD].
11164 (is_nscd, nscd_init_cb): Likewise.
11165 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11166 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11167 * nss/nss_db/db-init.c: Likewise.
11168 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11169 [USE_NSCD].
11170 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11171 (make_request): Use it.
11172 (cache_valid_p): New function.
11173 (__check_pf): Use it.
11174 * NEWS: Add item for --disable-nscd.
11175
07e51550
DL
111762012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11177
11178 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11179 to support sed >= 4.2.1-20-ga9bf076.
11180 * configure: Regenerated.
11181
35a5b08b
RM
111822012-08-22 Roland McGrath <roland@hack.frob.com>
11183
11184 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11185 Conditionalize whole body on [IREL].
11186
8479f23a
JL
111872012-08-22 Jeff Law <law@redhat.com>
11188
11189 [BZ #14505]
11190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11191 if the family is PF_UNSPEC.
11192
48da0b21
MF
111932012-08-22 Mike Frysinger <vapier@gentoo.org>
11194
11195 * Makerules (lib-version): Rename from V.
11196 (install-lib-nosubdir): Change V to lib-version.
11197
15d0da8c
WS
111982012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11199
11200 [BZ #14252]
11201 * powerpc32/power6/wcschr.c: New file.
11202 * powerpc32/power6/wcscpy.c: New file.
11203 * powerpc32/power6/wcsrchr.c: New file.
11204 * powerpc64/power6/wcschr.c: New file.
11205 * powerpc64/power6/wcscpy.c: New file.
11206 * powerpc64/power6/wcsrchr.c: New file.
11207
bcca0895
MK
112082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11209
11210 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11211 (two_way_short_needle): Use it.
5a4aaa33
RM
11212 * string/strstr.c (AVAILABLE1_USES_J): Define.
11213 * string/strcasestr.c: Likewise.
99677e57
MK
11214
11215 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11216 array references.
11217 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11218
400726de
MK
11219 [BZ #11607]
11220 * NEWS: Add an entry.
11221 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11222 define their defaults.
11223 (two_way_short_needle): Detect end-of-string on-the-fly.
11224 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11225 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11226 * string/bug-strcasestr1.c: New test.
11227 * string/Makefile: Run it.
11228
20a71f2c
MK
112292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11230
11231 [BZ #11607]
11232 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11233 the first character.
11234
21ad0558
RM
112352012-08-21 Roland McGrath <roland@hack.frob.com>
11236
11237 * csu/elf-init.c (__libc_csu_irel): Function removed.
11238 * csu/libc-start.c (apply_irel): New function.
11239 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11240
0e1d9911
JM
112412012-08-21 Joseph Myers <joseph@codesourcery.com>
11242
11243 * sysdeps/unix/sysv/linux/kernel-features.h
11244 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11245 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11246 <kernel-features.h>.
11247 [__NR_fadvise64_64]: Make code unconditional.
11248 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11249 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11250 !__NR_fadvise64_64)]: Likewise.
11251 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11252 !__NR_fadvise64_64))]: Likewise.
11253 [__NR_fadvise64]: Make code unconditional.
11254 [!__NR_fadvise64]: Remove conditional code.
11255 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11256 <kernel-features.h>.
11257 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11258 unconditional.
11259 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11260 conditional code.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11262 not include <kernel-features.h>.
11263 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11264 unconditional.
11265 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11266 conditional code.
11267 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11268 include <kernel-features.h>.
11269 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11270 unconditional.
11271 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11272 conditional code.
11273
14a50c9d
WS
112742012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11275
11276 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11277 slight instruction rearrangements per scrollpipe analysis.
11278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11279
c0f4faf0
RM
112802012-08-20 Roland McGrath <roland@hack.frob.com>
11281
696da859
RM
11282 * manual/syslog.texi (syslog; vsyslog, closelog):
11283 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11284 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11285
c0f4faf0
RM
11286 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11287 DSOCAPS to match condition on defining it.
11288
348363b2
JM
112892012-08-20 Joseph Myers <joseph@codesourcery.com>
11290
a35cbf28
JM
11291 * sysdeps/unix/sysv/linux/kernel-features.h
11292 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11294 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11295 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11297 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11298 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11300 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11301 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11302
445f7ecd
JM
11303 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11304 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11305
348363b2
JM
11306 * sysdeps/unix/sysv/linux/kernel-features.h
11307 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11308 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11309 unconditional.
11310 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11311 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11312 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11313 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11314 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11315 Make code unconditional.
11316 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11317 (__mmap64) [!__NR_mmap2]: Likewise.
11318 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11319 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11320 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11321 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11322 [__NR_mmap2]: Make code unconditional.
11323 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11324 (__mmap64) [!__NR_mmap2]: Likewise.
11325
bc5bc0e5
AK
113262012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11327
11328 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11329
88d506de
AJ
113302012-08-18 Andreas Jaeger <aj@suse.de>
11331
11332 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11333
493387d2
MF
113342012-08-18 Mike Frysinger <vapier@gentoo.org>
11335
11336 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11337 * include/unistd.h (__have_sock_cloexec): Likewise.
11338 (__have_pipe2): Likewise.
11339 (__have_dup3): Likewise.
11340
a277af22
MF
113412012-08-18 Mike Frysinger <vapier@gentoo.org>
11342
11343 [BZ #9685]
11344 * include/unistd.h (__have_pipe2): Change define into an extern int.
11345 (__have_dup3): Likewise.
11346 * socket/have_sock_cloexec.c: Include fcntl.h.
11347 (__have_pipe2): New variable.
11348 (__have_dup3): Likewise.
11349
fdab8fd3
MF
113502012-08-17 Mike Frysinger <vapier@gentoo.org>
11351
11352 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11353
31035e80
MP
113542012-08-17 Marek Polacek <polacek@redhat.com>
11355
11356 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11357 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11358
3bd9e993
RM
113592012-08-17 Roland McGrath <roland@hack.frob.com>
11360
c91c505f
RM
11361 * configure.in: Add AC_SUBST for sysheaders.
11362 * configure: Regenerated.
11363 * config.make.in (sysheaders): New substituted variable.
11364
7c6f9d53
RM
11365 * sysdeps/unix/mkfifo.c: Moved ...
11366 * sysdeps/posix/mkfifo.c: ... here.
11367 * sysdeps/unix/mkfifoat.c: Moved ...
11368 * sysdeps/posix/mkfifoat.c: ... here.
11369
11370 * sysdeps/unix/utime.c: Moved ...
11371 * sysdeps/posix/utime.c: ... here.
11372
11373 * sysdeps/unix/time.c: Moved ...
11374 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11375 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11376 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11377
11378 * sysdeps/unix/nice.c: Moved ...
11379 * sysdeps/posix/nice.c: ... here.
11380
11381 * sysdeps/unix/alarm.c: Moved ...
11382 * sysdeps/posix/alarm.c: ... here.
11383
3bd9e993
RM
11384 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11385
d1f09384
JL
113862012-08-17 Jeff Law <law@redhat.com>
11387
11388 * intl/Makefile (codeset_mo): New variable.
11389 ($(codeset_mo)): New target.
11390 (tst-codeset.out): Depend on that. Remove explicit rule.
11391 (tst-gettext3.out, tst-gettext5.out): Likewise.
11392 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11393 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11394 * intl/tst-codeset.sh: Remove.
11395 * intl/tst-gettext3.sh: Likewise.
11396 * intl/tst-gettext5.sh: Likewise.
11397
2ae1ae5c
RM
113982012-08-17 Roland McGrath <roland@hack.frob.com>
11399
c31fdb83
RM
11400 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11401 * sysdeps/unix/syscalls.list: ... here.
11402
a0844057
RM
11403 * sysdeps/posix/getaddrinfo.c
11404 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11405 (gaiconf_init, gaiconf_reload): Use them.
11406 [!_STATBUF_ST_NSEC]
11407 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11408 Define using time_t rather than struct timespec.
11409
750c1f2a
RM
11410 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11411 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11412 Macros removed.
11413 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11414 [!NO_THREADS].
11415 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11416 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11417 Likewise.
11418
2ae1ae5c
RM
11419 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11420 __libc_cleanup_push argument.
11421
e66a42f5
RM
11422 * bits/param.h: New file.
11423 * misc/sys/param.h: New file.
11424 * include/sys/param.h: New file.
11425 * misc/Makefile (headers): Add bits/param.h.
11426 * sysdeps/generic/sys/param.h: File removed.
11427 * sysdeps/unix/sysv/linux/bits/param.h: New file.
11428 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
11429 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 11430 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 11431
b7c08a66
RM
11432 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
11433 last change.
11434
b2e1c562
RM
11435 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
11436 [_IO_MTSAFE_IO].
11437 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
11438 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
11439 New macros.
11440
c75ccd4c
RM
11441 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
11442 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
11443 rather than -D_IO_MTSAFE_IO conditionally.
11444 * stdio-common/Makefile (CPPFLAGS): Likewise.
11445 * wcsmbs/Makefile (CPPFLAGS): Likewise.
11446 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
11447 Use $(libio-mtsafe).
11448 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
11449 of -D_IO_MTSAFE_IO.
11450 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
11451 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
11452 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
11453 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
11454 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
11455 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
11456 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
11457 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
11458 (CFLAGS-fread_u_chk.c): Likewise.
11459 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
11460 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
11461 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
11462 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
11463 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
11464 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
11465 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
11466 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
11467 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
11468
11469 * libio/Makefile: Test [$(libc-reentrant) = yes]
11470 instead of [$(filter %REENTRANT, $(defines)) nonempty].
11471
11472 * Makeconfig
11473 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
11474 * sysdeps/pthread/configure: File removed.
11475 * sysdeps/pthread/Makeconfig: New file.
11476 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
11477 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
11478
d9195db8
GB
114792012-08-16 Gary Benson <gbenson@redhat.com>
11480
11481 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
11482 unmapping the first object in a namespace.
11483
86466cd9
RM
114842012-08-16 Roland McGrath <roland@hack.frob.com>
11485
11486 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
11487 (__internal_setnetgrent): ... this. Add internal_function to
11488 definition. Add libc_hidden_def.
11489 (setnetgrent): Update caller.
11490 (internal_endnetgrent): Renamed to ...
11491 (__internal_endnetgrent): ... this. Add internal_function to
11492 definition. Add libc_hidden_def.
11493 (endnetgrent): Update caller.
11494 (internal_getnetgrent_r): Renamed to ...
11495 (__internal_getnetgrent_r): ... this. Add internal_function to
11496 definition. Add libc_hidden_def.
11497 (__getnetgrent_r): Update caller.
11498 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
11499
c3c8283c
JM
115002012-08-16 Joseph Myers <joseph@codesourcery.com>
11501
11502 * stdlib/longlong.h: Update from GCC.
11503
db1ee0a8
RM
115042012-08-16 Roland McGrath <roland@hack.frob.com>
11505
11506 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
11507 on _QL, which is set by umul_ppmm but never used.
11508 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
11509 variables, which are set by GMP macros but never used.
11510 * stdio-common/_itowa.c (_itowa): Likewise.
11511 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
11512 * stdlib/mod_1.c (mpn_mod_1): Likewise.
11513
30f69637
CD
115142012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
11515
11516 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
11517 struct La_sh_regs is not constant.
11518 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
11519 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
11520 and struct La_sparc64_regs are not constant.
11521
93a78ac4
JM
115222012-08-16 Joseph Myers <joseph@codesourcery.com>
11523
11524 * sysdeps/unix/sysv/linux/kernel-features.h
11525 (__ASSUME_POSIX_TIMERS): Remove.
11526 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11528 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
11529 Make code unconditional.
11530 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11531 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
11532 Make code unconditional.
11533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11534 * sysdeps/unix/sysv/linux/clock_nanosleep.c
11535 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
11536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11537 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
11538 Make code unconditional.
11539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
11540 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
11541 (__libc_missing_posix_timers): Remove.
11542
dd924cd7
RM
115432012-08-15 Roland McGrath <roland@hack.frob.com>
11544
4b4f2771
RM
11545 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
11546 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
11547
601c888b
RM
11548 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
11549
176790a7
RM
11550 * elf/dl-sym.c: Include <stdlib.h>.
11551
329bc018
RM
11552 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
11553 constants, which avoids warnings in 32-bit builds.
11554
e04e272d
RM
11555 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
11556 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
11557
952bf94a
RM
11558 * misc/lseek.c: File moved to ...
11559 * io/lseek.c: ... here.
11560
7c99b50a
RM
11561 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
11562
dd924cd7
RM
11563 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
11564 shifting LEN more than 31 bits at once.
11565
b3f479a8
LD
115662012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11567
11568 [BZ #14195]
8c4ae0d4
RM
11569 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
11570 segmentation fault for a case of two empty input strings.
b3f479a8
LD
11571 * string/test-strncasecmp.c (check1): Renamed to...
11572 (bz12205): ...this.
11573 (bz14195): Add new testcase for two empty input strings and N > 0.
11574 (test_main): Call new testcase, adapt for renamed function.
11575
9c55864e
AJ
115762012-08-15 Andreas Jaeger <aj@suse.de>
11577
11578 [BZ #14090]
11579 * crypt/md5test2.c: New test, based on test supplied by Serge
11580 Belyshev <belyshev@depni.sinp.msu.ru>.
11581 * crypt/Makefile (xtests): Add md5test-giant..
11582 * crypt/Makefile ($(objpfx)md5test-giant): Add.
11583
02dcb6c5
PE
115842012-08-15 Paul Eggert <eggert@cs.ucla.edu>
11585
11586 [BZ #14090]
11587 * crypt/md5.c (md5_process_block): Don't assume the buffer
11588 length is less than 2**32.
11589 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
11590 length is less than 2**64.
11591
a3f95dcc
RM
115922012-08-15 Roland McGrath <roland@hack.frob.com>
11593
be75d758
RM
11594 * string/str-two-way.h: Include <sys/param.h>.
11595 (MAX): Macro removed.
11596
7312ca90
RM
11597 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
11598 Move #define and #undef of memmove to just before and after
11599 including <string.h>.
11600
9a0a5486
RM
11601 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
11602 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
11603 and after including <string.h>. Move declarations of
11604 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
11605 to before #include "string/memmove.c".
11606
67cc348d
RM
11607 * include/dirent.h: Declare __getdirentries.
11608
a3f95dcc
RM
11609 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
11610 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
11611
ca98e171
MF
116122012-08-14 Mike Frysinger <vapier@gentoo.org>
11613
11614 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
11615 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
11616 * sysdeps/i386/configure: Regenerated.
11617 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
11618 STABS_CURRENT_FILE, and STABS_FUN.
11619 (END): Remove call to STABS_FUN_END.
11620 (STABS_CURRENT_FILE1): Delete.
11621 (STABS_CURRENT_FILE): Likewise.
11622 (STABS_FUN): Likewise.
11623 (STABS_FUN_END): Likewise.
11624 (STABS_FUN2): Likewise.
11625 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
11626 * sysdeps/x86_64/configure: Regenerated.
11627
5908bf46
RM
116282012-08-14 Roland McGrath <roland@hack.frob.com>
11629
11630 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 11631 * elf/dl-lookup.c: Likewise.
5908bf46 11632
f2c05b9e
JM
116332012-08-14 Joseph Myers <joseph@codesourcery.com>
11634
11635 * sysdeps/unix/sysv/linux/kernel-features.h
11636 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11637 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11638 unconditionally.
11639 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11640 unconditionally.
11641 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11642 condition on __ASSUME_CLONE_THREAD_FLAGS.
11643
e11f5155
AJ
116442012-08-14 Andreas Jaeger <aj@suse.de>
11645
11646 * sysdeps/i386/fpu/libm-test-ulps: Update.
11647
51a9ba86
MK
116482012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11649
2fdd4f78
AJ
11650 * include/atomic.h (atomic_exchange_and_add): Split into ...
11651 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11652 New atomic macros.
51a9ba86 11653
ba6cba9e
MT
116542012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11655
11656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11657
42443a47
JL
116582012-08-13 Jeff Law <law@redhat.com>
11659
11660 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11661 null byte in the output string.
11662
121dce05
JM
116632012-08-10 Joseph Myers <joseph@codesourcery.com>
11664
11665 * sysdeps/unix/sysv/linux/kernel-features.h
11666 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11667 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11668 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11669 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11670 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11671 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11672 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11673
bf51f568
JL
116742012-08-09 Jeff Law <law@redhat.com>
11675
11676 [BZ #13939]
11677 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11678 When avoid_arena is set, don't retry in the that arena. Pick the
11679 next one, whatever it might be.
11680 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11681 (arena_lock): Pass in new parameter to arena_get2.
11682 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11683 arena_get2.
11684 (__libc_malloc): Unify retrying after main arena failure with
11685 __libc_memalign version.
11686 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11687
f85fa270
L
116882012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11689
11690 [BZ #14166]
11691 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11692 to __redirect_strstr.
11693 (__strstr_sse42): Use typeof __redirect_strstr.
11694 (__strstr_ia32): Likewise.
11695 (__libc_strstr): New prototype.
11696 (strstr): Renamed to ...
11697 (__libc_strstr): This.
11698 (strstr): New strong alias of __libc_strstr.
11699 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11700 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11701 __redirect_time.
11702 Include <time.h>.
11703 (__libc_time): New prototype.
11704 (time_ifunc): Replace time with __libc_time.
11705 (time): New strong alias and hidden definition of __libc_time.
11706 (__GI_time): Remove strong alias.
11707 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11708 Include <stddef.h>.
11709 (memmove): Redefined to __redirect_memmove.
11710 (__memmove_sse2): Use typeof __redirect_memmove.
11711 (__memmove_ssse3): Likewise.
11712 (__memmove_ssse3_back): Likewise.
11713 (__libc_memmove): New prototype.
11714 (memmove): Renamed to ...
11715 (__libc_memmove): This.
11716 (memmove): New strong alias of __libc_memmove.
11717
33b4a91e
MS
117182012-08-08 Mark Salter <msalter@redhat.com>
11719
11720 * elf/elf.h
11721 (R_MN10300_TLS_GD): Define.
11722 (R_MN10300_TLS_LD): Likewise.
11723 (R_MN10300_TLS_LDO): Likewise.
11724 (R_MN10300_TLS_GOTIE): Likewise.
11725 (R_MN10300_TLS_IE): Likewise.
11726 (R_MN10300_TLS_LE): Likewise.
11727 (R_MN10300_TLS_DTPMOD): Likewise.
11728 (R_MN10300_TLS_DTPOFF): Likewise.
11729 (R_MN10300_TLS_TPOFF): Likewise.
11730 (R_MN10300_SYM_DIFF): Likewise.
11731 (R_MN10300_ALIGN): Likewise.
11732 (R_MN10300_NUM): Update.
11733
b36137f1
JM
117342012-08-08 Joseph Myers <joseph@codesourcery.com>
11735
11736 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11737 Remove.
11738
cdd915fd
RM
117392012-08-08 Roland McGrath <roland@hack.frob.com>
11740
a2433aac
RM
11741 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11742
cdd915fd
RM
11743 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11744 sysdeps/unix -> sysdeps/posix move.
11745 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11746
bf9b740a
AM
117472012-08-07 Allan McRae <allan@archlinux.org>
11748
11749 [BZ #14303]
11750 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11751 (SUNOS_CPP): Likewise.
11752 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11753 not found.
11754 (open_input): Call CPP using execvp.
11755
93df14ee
JM
117562012-08-07 Joseph Myers <joseph@codesourcery.com>
11757
11758 * sysdeps/unix/sysv/linux/kernel-features.h
11759 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11762 (__ASSUME_WAITID_SYSCALL): Likewise.
11763 * sysdeps/unix/sysv/linux/dl-execstack.c
11764 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11765 code unconditional.
11766 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11767 conditional code.
11768 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11769 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11770 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11771 code.
11772 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11773 unconditional.
11774 [__ASSUME_WAITID_SYSCALL]: Likewise.
11775 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11776
d34689de
RM
117772012-08-07 Roland McGrath <roland@hack.frob.com>
11778
a281decc
RM
11779 * sysdeps/unix/closedir.c: Renamed to ...
11780 * sysdeps/posix/closedir.c: ... here.
11781 * sysdeps/unix/dirfd.c: Renamed to ...
11782 * sysdeps/posix/dirfd.c: ... here.
11783 * sysdeps/unix/dirstream.h: Renamed to ...
11784 * sysdeps/posix/dirstream.h: ... here.
11785 * sysdeps/unix/fdopendir.c: Renamed to ...
11786 * sysdeps/posix/fdopendir.c: ... here.
11787 * sysdeps/unix/opendir.c: Renamed to ...
11788 * sysdeps/posix/opendir.c: ... here.
11789 * sysdeps/unix/readdir.c: Renamed to ...
11790 * sysdeps/posix/readdir.c: ... here.
11791 * sysdeps/unix/readdir_r.c: Renamed to ...
11792 * sysdeps/posix/readdir_r.c: ... here.
11793 * sysdeps/unix/rewinddir.c: Renamed to ...
11794 * sysdeps/posix/rewinddir.c: ... here.
11795 * sysdeps/unix/seekdir.c: Renamed to ...
11796 * sysdeps/posix/seekdir.c: ... here.
11797 * sysdeps/unix/telldir.c: Renamed to ...
11798 * sysdeps/posix/telldir.c: ... here.
11799 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11800 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11801 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11802 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11803
22895b47
RM
11804 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11805 * bits/fcntl.h: ... here.
11806
707a53b6
RM
11807 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11808 not 0.
11809 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11810 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11811 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11812 (struct flock): Move l_start, l_len to the beginning.
11813 Use __pid_t for l_pid.
11814 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11815 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11816 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11817 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11818 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11819 [__USE_LARGEFILE64] (struct flock64): New type.
11820 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11821
f0bd3e25
RM
11822 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11823 * bits/dirent.h: ... here.
11824
d34689de
RM
11825 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11826 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11827
6dad2c06
JM
118282012-08-07 Joseph Myers <joseph@codesourcery.com>
11829
11830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11831 Change from 2.6.0 to 2.6.16.
11832 * sysdeps/unix/sysv/linux/configure: Regenerated.
11833 * sysdeps/unix/sysv/linux/kernel-features.h
11834 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11835 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11836 version.
11837 (__ASSUME_UTIMES): Likewise.
11838 (__ASSUME_CLONE_STOPPED): Remove.
11839 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11840 architectures, not kernel version.
11841 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11842 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11843 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11844 (__ASSUME_WAITID_SYSCALL): Likewise.
11845 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11846 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11847 * README: State 2.6.16 as minimum Linux kernel version. Do not
11848 refer to older versions.
11849
03af9520
RM
118502012-08-06 Roland McGrath <roland@hack.frob.com>
11851
8e49df1d
RM
11852 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11853 Define alphasort64 as an alias.
11854 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11855 Define versionsort64 as an alias.
11856 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11857 Define scandir64 as an alias.
11858 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11859 Define scandirat64 as an alias.
11860 * dirent/alphasort64.c (alphasort64):
11861 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11862 * dirent/versionsort64.c: Likewise.
11863 * dirent/scandir64.c: Likewise.
11864 * dirent/scandirat64.c: Likewise.
11865 * sysdeps/wordsize-64/alphasort.c: File removed.
11866 * sysdeps/wordsize-64/alphasort64.c: File removed.
11867 * sysdeps/wordsize-64/scandir.c: File removed.
11868 * sysdeps/wordsize-64/scandir64.c: File removed.
11869 * sysdeps/wordsize-64/scandirat.c: File removed.
11870 * sysdeps/wordsize-64/scandirat64.c: File removed.
11871 * sysdeps/wordsize-64/versionsort.c: File removed.
11872 * sysdeps/wordsize-64/versionsort64.c: File removed.
11873 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11875 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11876 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11877 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11878 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11879 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11880 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11881
11882 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11884 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11885 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11886 [defined __arch64__ || defined __sparcv9]
11887 (__INO_T_MATCHES_INO64_T): New macro.
11888 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11889 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11890 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11891 * sysdeps/unix/sysv/linux/bits/dirent.h
11892 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11893 (_DIRENT_MATCHES_DIRENT64): New macro.
11894
03af9520
RM
11895 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11896 Define lockf64 as an alias.
11897 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11898 Define fseeko64 as an alias.
11899 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11900 Define ftello64 as an alias.
11901 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11902 Define _IO_fgetpos64 and fgetpos64 as aliases.
11903 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11904 Define _IO_fsetpos64 and fsetpos64 as aliases.
11905 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11906 Conditionalize body on this.
11907 * libio/fseeko64.c: Likewise.
11908 * libio/ftello64.c: Likewise.
11909 * libio/iofgetpos64.c: Likewise.
11910 * libio/iofsetpos64.c: Likewise.
11911 * sysdeps/wordsize-64/lockf.c: File removed.
11912 * sysdeps/wordsize-64/lockf64.c: File removed.
11913 * sysdeps/wordsize-64/fseeko.c: File removed.
11914 * sysdeps/wordsize-64/fseeko64.c: File removed.
11915 * sysdeps/wordsize-64/ftello.c: File removed.
11916 * sysdeps/wordsize-64/ftello64.c: File removed.
11917 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11918 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11919 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11920 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11921 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11922 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11923 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11924 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11925 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11926 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11927 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11929 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11930 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11931
11932 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11933 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11934 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11935 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11936 [defined __arch64__ || defined __sparcv9]
11937 (__OFF_T_MATCHES_OFF64_T): New macro.
11938 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11939 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11941 (__OFF_T_MATCHES_OFF64_T): New macro.
11942
c5757acd
L
119432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 * stdlib/secure-getenv.c (__secure_getenv): Replace
11946 GLIBC_2_16 with GLIBC_2_17.
11947
3a31811e
L
119482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11949
11950 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11951 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11952
faa2bccb
DM
119532012-08-03 David S. Miller <davem@davemloft.net>
11954
11955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11956
85fe1997
JM
119572012-08-03 Joseph Myers <joseph@codesourcery.com>
11958
11959 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11960 Remove.
11961 (__ASSUME_CORRECT_SI_PID): Likewise.
11962 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11963 (__ASSUME_TMPFS_NAME): Likewise.
11964 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11965 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11966 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11967 (HAVE_AUX_SECURE): Make definition unconditional.
11968 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11969 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11970
4f75b7a0
RM
119712012-08-03 Roland McGrath <roland@hack.frob.com>
11972
11973 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11974 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11975 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11976 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11977 __eloop_threshold instead of SYMLOOP_MAX.
11978
11979 * sysdeps/generic/eloop-threshold.h: New file.
11980 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11981 of MAXSYMLINKS.
11982 * elf/chroot_canon.c (chroot_canon): Likewise.
11983
7aab07e4
JM
119842012-08-03 Joseph Myers <joseph@codesourcery.com>
11985
11986 [BZ #13717]
11987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11988 Change to 2.6.0 everywhere.
11989 * sysdeps/unix/sysv/linux/configure: Regenerated.
11990 * sysdeps/unix/sysv/linux/kernel-features.h
11991 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11992 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11993 kernel versions.
11994 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11995 (__ASSUME_FUTEX_REQUEUE): Remove.
11996 (__ASSUME_STATFS64): Define unconditionally.
11997 (__ASSUME_AT_SECURE): Likewise.
11998 (__ASSUME_CORRECT_SI_PID): Likewise.
11999 (__ASSUME_TGKILL): Define without depending on kernel version for
12000 i386.
12001 (__ASSUME_UTIMES): Likewise.
12002 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12003 kernel version.
12004 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12005 (__ASSUME_TMPFS_NAME): Likewise.
12006 * README: Update reference to Linux kernel versions.
12007
b67e9372
MP
120082012-08-02 Marek Polacek <polacek@redhat.com>
12009
1f529f7d 12010 [BZ# 14150]
b67e9372
MP
12011 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12012 libc_cv_asm_type_prefix with %.
12013 * configure: Regenerated.
d2441631
RM
12014 * include/libc-symbols.h: Remove comment about
12015 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12016 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12017 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12018 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12019 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12020 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12021 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12022 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12023 * elf/tst-unique2mod1.c: Likewise.
12024 * elf/tst-unique1mod2.c: Likewise.
12025 * elf/tst-unique1mod1.c: Likewise.
12026 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12027 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12028 Replace ASM_TYPE_DIRECTIVE with .type.
12029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12030 * sysdeps/i386/sysdep.h: Likewise.
12031 * sysdeps/x86_64/sysdep.h: Likewise.
12032 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12034 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12035 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12036 * sysdeps/powerpc/powerpc32/sysdep.h:
12037 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12038 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12039 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12040 * sysdeps/i386/fpu/e_powf.S: Likewise.
12041 * sysdeps/i386/fpu/e_expl.S: Likewise.
12042 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12043 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12044 * sysdeps/i386/fpu/e_pow.S: Likewise.
12045 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12046 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12047 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12048 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12049 * sysdeps/i386/fpu/e_log2.S: Likewise.
12050 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12052 * sysdeps/i386/fpu/e_powl.S: Likewise.
12053 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12054 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12055 * sysdeps/i386/fpu/e_logl.S: Likewise.
12056 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12057 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12058 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12059 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12060 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12061 * sysdeps/i386/fpu/e_log.S: Likewise.
12062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12063 * sysdeps/i386/fpu/e_logf.S: Likewise.
12064 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12065 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12066 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12067 * sysdeps/i386/fpu/e_log10.S: Likewise.
12068 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12069 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12070 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12071 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12072 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12073 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12074 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12075 * sysdeps/i386/i686/strtok.S: Likewise.
12076 * sysdeps/i386/i386-mcount.S: Likewise.
12077 * sysdeps/i386/strtok.S: Likewise.
12078 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12079 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12080 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12081 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12082 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12083 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12084 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12085 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12087 * sysdeps/x86_64/_mcount.S: Likewise.
12088 * sysdeps/x86_64/strtok.S: Likewise.
12089 * sysdeps/sh/_mcount.S: Likewise.
12090
2747bf9a
RM
120912012-08-01 Roland McGrath <roland@hack.frob.com>
12092
12093 * libio/iofopen.c: Include <fcntl.h>.
12094 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12095 (_IO_fopen64, fopen64): Define as aliases.
12096 * libio/iofopen64.c: Include <fcntl.h>.
12097 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12098 Conditionalize body on this.
12099 * sysdeps/wordsize-64/iofopen.c: File removed.
12100 * sysdeps/wordsize-64/iofopen64.c: File removed.
12101
3fb791b8
MP
121022012-08-01 Marek Polacek <polacek@redhat.com>
12103
12104 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12105 Use dlfcn directly instead of a variable.
12106 (binfmt-subdir): Do not define.
12107 (dlfcn): Likewise.
12108
a9f1039f
JM
121092012-08-01 Joseph Myers <joseph@codesourcery.com>
12110
23bddc06
JM
12111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12112 Remove all definitions.
12113 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12114 <kernel-features.h>.
12115 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12116 (miss_F_GETOWN_EX): Remove all definitions.
12117 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12118 macro definition.
12119 [!__ASSUME_FCNTL64]: Remove conditional code.
12120 [__ASSUME_FCNTL64]: Make code unconditional.
12121 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12122 <kernel-features.h>.
12123 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12124 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12125 (lockf64) [__NR_fcntl64]: Make code unconditional.
12126 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12127
a9f1039f
JM
12128 * sysdeps/unix/sysv/linux/kernel-features.h
12129 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12130 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12131 Make code unconditional.
12132 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12133 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12135 [__NR_vfork]: Make code unconditional.
12136 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12137 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12139 [__NR_vfork]: Make code unconditional.
12140 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12141 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12142
09c0ee5f
RM
121432012-08-01 Roland McGrath <roland@hack.frob.com>
12144
48aec5b9
RM
12145 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12146 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12147
cd97c966
RM
12148 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12149 Define mkstemp64 as an alias.
3f55550c
RM
12150 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12151 Define mkstemps64 as an alias.
cd97c966
RM
12152 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12153 Define mkostemp64 as an alias.
b8625cfc
RM
12154 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12155 Define mkostemps64 as an alias.
cd97c966
RM
12156 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12157 Conditionalize body on this.
12158 * misc/mkostemp64.c: Likewise.
b8625cfc 12159 * misc/mkostemps64.c: Likewise.
3f55550c 12160 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12161 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12162 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12163 * sysdeps/wordsize-64/mkostemp.c: File removed.
12164 * sysdeps/wordsize-64/mkstemp.c: File removed.
12165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12166 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12167 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12168 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12169
09c0ee5f
RM
12170 [BZ #14138]
12171 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12172 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12173 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12174 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12175
12176 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12177 compat_symbol macros from <shlib-compat.h> rather than the underlying
12178 default_symbol_version and symbol_version macros, so that DEFAULT
12179 lines in shlib-versions are respected.
12180 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12181
7e66ee51
FW
121822012-08-01 Florian Weimer <fweimer@redhat.com>
12183
12184 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12185 Declare with warn_unused_result.
12186 (setgid, setregid, setegid, setresgid): Likewise.
12187 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12188 Likewise.
12189 * WUR-REPORT: Remove set*id functions.
12190
d2a54255
PT
121912012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12192
12193 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12194
7ecdb005
RM
121952012-07-31 Roland McGrath <roland@hack.frob.com>
12196
b4180a5e 12197 [BZ #10191]
789bd351
RM
12198 * include/sys/socket.h (__libc_accept, __libc_accept4):
12199 Add attribute_hidden.
12200 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12201
40ce302d
RM
12202 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12203 use of PTR_MANGLE.
12204 * inet/getnetgrent_r.c (setup): Likewise.
12205
7ecdb005
RM
12206 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12207
e2eabb2c
DM
122082012-07-31 David S. Miller <davem@davemloft.net>
12209
12210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12211
d0419dbf
JM
122122012-07-31 Joseph Myers <joseph@codesourcery.com>
12213
12214 [BZ #13629]
12215 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12216 value between 1.0 and 2.0 and smaller part has absolute value less
12217 than 1.0.
12218 * math/s_clog10.c (__clog10): Likewise.
12219 * math/s_clog10f.c (__clog10f): Likewise.
12220 * math/s_clog10l.c (__clog10l): Likewise.
12221 * math/s_clogf.c (__clogf): Likewise.
12222 * math/s_clogl.c (__clogl): Likewise.
12223 * math/libm-test.inc (clog_test): Add more tests.
12224 (clog10_test): Likewise.
12225 * sysdeps/i386/fpu/libm-test-ulps: Update.
12226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12227
2bc13872
FW
122282012-07-31 Florian Weimer <fweimer@redhat.com>
12229
12230 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12231 Exit with zero in case no suitable GID is found, and write a
12232 message to standard error.
12233
bea9b193
RM
122342012-07-30 Roland McGrath <roland@hack.frob.com>
12235
12236 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12237 rather than to 1.
12238 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12239 (MAXPATHLEN): Removed.
12240 (NOGROUP, NODEV): New macros.
12241 (setbit, clrbit, isset, isclr): New macros.
12242 (howmany, roundup, powerof2): New macros.
12243 (DEV_BSIZE): New macro.
12244
12245 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12246 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12247
12248 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12249 definition on [!__NO_LONG_DOUBLE_MATH].
12250
12251 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12252 PTR_MANGLE and PTR_DEMANGLE.
12253
12254 * socket/accept4.c (accept4): Rename to __libc_accept4.
12255 Define accept4 as a weak alias.
12256
12257 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12258 on [_DIRENT_HAVE_D_TYPE].
12259 * io/ftw.c (ftw_dir): Likewise.
12260
12261 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12262
12263 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12264
12265 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12266 Use the BSD numbers rather than the arbitrary ones we had.
12267 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12268 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12269 (SIGXCPU, SIGXFSZ): New macros.
12270 (_NSIG): Now 32.
12271
12272 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12273 initializer on [_LIBC_REENTRANT].
12274
12275 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12276 definitions inside [_POSIX_MAPPED_FILES].
12277
12278 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12279
12280 * dirent/opendir.c: Include <fcntl.h>.
12281
12282 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12283 (__libc_getspecific): Likewise.
12284 (__libc_key_create): Likewise.
12285
12286 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12287 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12288 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12289 (tmpfile64): Define as alias.
12290 * sysdeps/wordsize-64/tmpfile.c: File removed.
12291 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12292 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12293 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12294
12295 * stdio-common/vfscanf.c: Include <stdbool.h>.
12296 * nss/makedb.c: Likewise.
12297 * stdio-common/_i18n_number.h: Likewise.
12298 * argp/argp-help.c: Likewise.
12299 * posix/wordexp.c: Likewise.
12300 * sysdeps/posix/spawni.c: Likewise.
12301 * nss/nss_files/files-initgroups.c: Likewise.
12302 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12303 * nss/nss_files/files-initgroups.c: Likewise.
12304 * nss/nss_db/db-netgrp.c: Likewise.
12305 * nss/nss_db/db-initgroups.c: Likewise.
12306 * io/fchmodat.c: Include <sys/stat.h>.
12307
12308 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12309 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12310
12311 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12312 [HAVE_MMAP].
12313
12314 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12315 Add multiple inclusion protection.
12316
e5abc686
DM
123172012-07-27 David S. Miller <davem@davemloft.net>
12318
12319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12320
815e6fa3
GB
123212012-07-27 Gary Benson <gbenson@redhat.com>
12322
12323 [BZ #14298]
12324 * elf/rtld.c: Include <stap-probe.h>.
12325 (dl_main): Added static probes "init_start" and "init_complete".
12326 * elf/dl-load.c: Include <stap-probe.h>.
12327 (lose): Take new parameter "nsid".
12328 Added static probe "map_failed".
12329 (_dl_map_object_from_fd): Pass namespace id to lose.
12330 Added static probe "map_start".
12331 (open_verify): Pass namespace id to lose.
12332 * elf/dl-open.c: Include <stap-probe.h>.
12333 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12334 and "reloc_complete".
12335 * elf/dl-close.c: Include <stap-probe.h>.
12336 (_dl_close_worker): Added static probes "unmap_start" and
12337 "unmap_complete".
12338 * elf/rtld-debugger-interface.txt: New file documenting the above.
12339
9f98c16c
RM
123402012-07-26 Roland McGrath <roland@hack.frob.com>
12341
12342 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12343 rather than a string variable.
12344 * sunrpc/rpc_main.c (h_output): Likewise.
12345 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12346
f3c22df3
PT
123472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12348
12349 * inet/check_native.c: New file.
12350
3129cfc6
JM
123512012-07-26 Joseph Myers <joseph@codesourcery.com>
12352
da865e95
JM
12353 [BZ #13629]
12354 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12355 if larger part has absolute value 1.0.
12356 * math/s_clog10.c (__clog10): Likewise.
12357 * math/s_clog10f.c (__clog10f): Likewise.
12358 * math/s_clog10l.c (__clog10l): Likewise.
12359 * math/s_clogf.c (__clogf): Likewise.
12360 * math/s_clogl.c (__clogl): Likewise.
12361 * math/libm-test.inc (clog_test): Add more tests.
12362 (clog10_test): Likewise.
12363 * sysdeps/i386/fpu/libm-test-ulps: Update.
12364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12365
3129cfc6
JM
12366 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12367 (pltexit): Likewise.
12368 (La_regs): Likewise.
12369 (La_retval): Likewise.
12370 (int_retval): Likewise.
12371 Update #error for removed macros to refer only to definitions in
12372 tst-audit.h.
12373 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12374 macro.
12375 (pltexit): Likewise.
12376 (La_regs): Likewise.
12377 (La_retval): Likewise.
12378 (int_retval): Likewise.
12379 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12380 macro.
12381 (pltexit): Likewise.
12382 (La_regs): Likewise.
12383 (La_retval): Likewise.
12384 (int_retval): Likewise.
12385 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12386 macro.
12387 (pltexit): Likewise.
12388 (La_regs): Likewise.
12389 (La_retval): Likewise.
12390 (int_retval): Likewise.
12391 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12392 macro.
12393 (pltexit): Likewise.
12394 (La_regs): Likewise.
12395 (La_retval): Likewise.
12396 (int_retval): Likewise.
12397 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12398 macro.
12399 (pltexit): Likewise.
12400 (La_regs): Likewise.
12401 (La_retval): Likewise.
12402 (int_retval): Likewise.
12403 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12404 macro.
12405 (pltexit): Likewise.
12406 (La_regs): Likewise.
12407 (La_retval): Likewise.
12408 (int_retval): Likewise.
12409 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12410 macro definitions in tst-audit.h.
12411 * sysdeps/i386/tst-audit.h: New file.
12412 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12413 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12414 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12415 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12416 * sysdeps/sh/tst-audit.h: Likewise.
12417 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12418 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12419 * sysdeps/x86_64/tst-audit.h: Likewise.
12420
bfc07087
AJ
124212012-07-26 Andreas Jaeger <aj@suse.de>
12422
b1b2aaf8
AJ
12423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12424 ptrace.
12425
12426 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12427 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
12428 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
12429 PTRACE_O_MASK.
12430 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
12432 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
12433
bfc07087
AJ
12434 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
12435 value.
12436
12437 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
12438 _sigsys.
12439 (si_call_addr, si_syscall, si_arch): Define new macro.
12440 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
12441 _sigsys.
12442 (si_call_addr, si_syscall, si_arch): Define new marcro.
12443 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
12444 _sigsys.
12445 (si_call_addr, si_syscall, si_arch): Define new macro.
12446 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
12447 _sigsys.
12448 (si_call_addr, si_syscall, si_arch): Define new macro.
12449
89b4b02f
JM
124502012-07-25 Joseph Myers <joseph@codesourcery.com>
12451
12452 [BZ #13717]
12453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12454 Change to 2.4.21 where previously 2.4.1.
12455 * sysdeps/unix/sysv/linux/configure: Regenerated.
12456 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
12457 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
12458 Linux kernel version.
12459 (__ASSUME_STD_AUXV): Remove.
12460 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
12461 kernel version.
12462 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
12463 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
12464 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
12465 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
12466 (__ASSUME_NETLINK_SUPPORT): Likewise.
12467 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
12468 (__no_netlink_support): Remove conditional definition.
12469 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
12470 Remove.
12471 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12472 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
12473 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
12474 (if_nameindex_ioctl): Remove.
12475 (if_nameindex_netlink): Do not handle __no_netlink_support.
12476 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12477 code.
12478 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
12479 Remove conditional code.
12480 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
12481 code.
12482 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
12483 unconditional.
12484 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
12485 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
12486 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
12487 Remove.
12488 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
12489 [!__ASSUME_STD_AUXV]: Remove conditional code.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
12491 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
12492 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
12494 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
12495 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12496 code.
12497 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12499 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
12500 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12501 conditional code.
12502 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12504 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
12505 code.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12507 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
12508 conditional code.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
12510 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12511 code unconditional.
12512 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12513 conditional code.
12514 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12515 unconditional.
12516 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12517 conditional code.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12519 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12520 unconditional.
12521 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12522 conditional code.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12524 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12525 code unconditional.
12526 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12527 conditional code.
12528 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12529 unconditional.
12530 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12531 conditional code.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12533 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
12534 code unconditional.
12535 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12536 conditional code.
12537 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
12538 unconditional.
12539 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
12540 conditional code.
12541
842a39cd
AS
125422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
12543
12544 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
12545 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
12546 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12547 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
12548 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
12549 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12550 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12551 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12552 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12553 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12554 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
12555 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
12556 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
12557 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12558 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12559 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
12561 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
12562 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
12563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
12564 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
12565 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12566 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12567
84b3fd84
FW
125682012-07-25 Florian Weimer <fweimer@redhat.com>
12569
12570 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
12571 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
12572 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
12573 Introduce __libc_secure_getenv.
0c7936d5
FW
12574 * stdlib/Versions (2.17): Add secure_getenv
12575 (GLIBC_PRIVATE): Add __libc_secure_getenv.
12576 * stdlib/secure-getenv.c: Rename __secure_getenv to
12577 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
12578 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
12579 * stdlib/tst-secure-getenv.c: New.
12580 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
12581 * manual/startup.texi (Environment Access): Document
12582 secure_getenv.
84b3fd84
FW
12583 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
12584 __libc_secure_getenv.
12585 * inet/ruserpass.c (ruserpass): Likewise.
12586 * malloc/mtrace.c (mtrace): Likewise.
12587 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 12588 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
12589 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
12590 * sysdeps/posix/tempname.c: Likewise. Evaluate
12591 HAVE_SECURE_GETENV.
12592 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 12593 __secure_getenv to __libc_secure_getenv.
84b3fd84 12594 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12596 Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12598 Likewise.
12599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 12606
56e49b71
JM
126072012-07-25 Joseph Myers <joseph@codesourcery.com>
12608
12609 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
12610 (struct La_i86_retval): Likewise.
12611 (struct La_x86_64_regs): Likewise.
12612 (struct La_x86_64_retval): Likewise.
12613 (struct La_x32_regs): Likewise.
12614 (struct La_x32_retval): Likewise.
12615 (struct La_ppc32_regs): Likewise.
12616 (struct La_ppc32_retval): Likewise.
12617 (struct La_ppc64_regs): Likewise.
12618 (struct La_ppc64_retval): Likewise.
12619 (struct La_sh_regs): Likewise.
12620 (struct La_sh_retval): Likewise.
12621 (struct La_s390_32_regs): Likewise.
12622 (struct La_s390_32_retval): Likewise.
12623 (struct La_s390_64_regs): Likewise.
12624 (struct La_s390_64_retval): Likewise.
12625 (struct La_sparc32_regs): Likewise.
12626 (struct La_sparc32_retval): Likewise.
12627 (struct La_sparc64_regs): Likewise.
12628 (struct La_sparc64_retval): Likewise.
12629 (struct audit_ifaces): Remove architecture-specific pltenter and
12630 pltexit members.
12631 * sysdeps/i386/ldsodefs.h: New file.
12632 * sysdeps/powerpc/ldsodefs.h: Likewise.
12633 * sysdeps/s390/ldsodefs.h: Likewise.
12634 * sysdeps/sh/ldsodefs.h: Likewise.
12635 * sysdeps/sparc/ldsodefs.h: Likewise.
12636 * sysdeps/x86_64/ldsodefs.h: Likewise.
12637
354691b7
MP
126382012-07-25 Marek Polacek <polacek@redhat.com>
12639
12640 [BZ #6808]
12641 * math/libm-test.inc (yn_test): Add another test.
12642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12643 to ERANGE when the result is +-Inf.
12644 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12645 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12646 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12647 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12648
bf9e2071
JM
126492012-07-24 Joseph Myers <joseph@codesourcery.com>
12650
12651 * conform/data/time.h-data (NULL): Use macro-constant. Require
12652 equal to 0.
12653 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12654 clock_t.
12655 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12656
57633811
TS
126572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12658
12659 * configure.in <sysdeps resolving>: Correct printing
12660 Implies_before.
12661 * configure: Regenerate.
12662
c23c33b0
TS
126632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12664
12665 * math/w_ilogb.c: Include <limits.h>.
12666 * math/w_ilogbl.c: Likewise.
12667
b5982523
JM
126682012-07-20 Joseph Myers <joseph@codesourcery.com>
12669
12670 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12671 va_copy. Document allowing for unavailable va_copy only as
12672 pre-C99 compatibility.
12673 * manual/string.texi (Copying and Concatenation): Use va_copy
12674 instead of __va_copy in concat example.
12675
ac4ea442
PT
126762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12677
12678 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12679 (__sendto): Use create_address_port. Initialize APORT and deallocate
12680 it if not null.
12681
f98eafbd
PT
12682 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12683 with O_NOLINK passed to __file_name_lookup.
12684
898c7aab
PT
12685 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12686 with O_NOLINK passed to __file_name_lookup.
12687
0ced335a
PT
12688 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12689 negative N or less than NGIDS.
12690
b3404dbd
PT
12691 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12692 type to string_t. Set ERANGE as errno and return it if NAME is not big
12693 enough. Use memcpy instead of strncpy.
12694
0f48659e
JM
126952012-07-20 Joseph Myers <joseph@codesourcery.com>
12696
12697 * elf/Makefile (check-data): Remove.
12698 (localplt.data): New vpath directive.
12699 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12700 instead of $(check-data).
12701 * scripts/data/localplt-generic.data: Move to ...
12702 * sysdeps/generic/localplt.data: ... here.
12703 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12704 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12705 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12707 ... here.
12708 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12710 ... here.
12711 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12713 ... here.
12714 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12716 ... here.
12717 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12719 ... here.
12720 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12722 ... here.
12723
d37cbdaa
AZ
127242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12725
12726 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12727 PPC32 and PPC64 files.
12728 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12729 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12730
46f85fc2
AK
127312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12732
12733 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12734 __makecontext_ret to ...
12735 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12736 ... here and call exit if uc_link is NULL. New file.
12737 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12738 __makecontext_ret.S.
12739 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12740 __makecontext_ret to ...
12741 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12742 ... here and call exit if uc_link is NULL. New file.
12743 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12744 __makecontext_ret.S.
12745
08f43f9b
AK
127462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12747
12748 * elf/elf.h (R_390_IRELATIVE): New definition.
12749 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12750 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12751 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12753 (elf_machine_lazy_rel): Likewise.
12754 * sysdeps/s390/dl-irel.h: New file.
12755 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12756 * sysdeps/s390/s390-64/memset.S: New asm code.
12757 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12758 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12759 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12760 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12761 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12762 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12763 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12764 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12765 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12766 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12767 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12768 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12769 * sysdeps/s390/s390-32/memset.S: New asm code.
12770 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12771
3b05db33
MP
127722012-07-17 Marek Polacek <polacek@redhat.com>
12773
12774 [BZ #14349]
12775 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12776 * sysdeps/s390/s390-64/configure.in: Likewise.
12777 * sysdeps/sparc/configure.in: Likewise.
12778 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12779 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12780 * sysdeps/i386/configure.in: Likewise.
12781 * sysdeps/x86_64/configure.in: Likewise.
12782 * sysdeps/sh/configure.in: Likewise.
12783 * sysdeps/s390/s390-32/configure: Regenerated.
12784 * sysdeps/s390/s390-64/configure: Likewise.
12785 * sysdeps/x86_64/configure: Likewise.
12786 * sysdeps/sh/configure: Likewise.
12787 * sysdeps/powerpc/powerpc64/configure: Likewise.
12788 * sysdeps/powerpc/powerpc32/configure: Likewise.
12789 * sysdeps/sparc/configure: Likwise.
12790 * sysdeps/i386/configure: Likewise.
12791
a66877c6
MP
12792 * elf/dl-open.c: Comment fixes.
12793
cfc82fd8
JM
127942012-07-17 Joseph Myers <joseph@codesourcery.com>
12795
bd29910a
JM
12796 * Makefile [CXX] (check-data): Remove.
12797 [CXX] (c++-types.data): New vpath directive.
12798 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12799 vpath. Do not allow for C++ type data being missing.
12800 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12801 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12802 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12803 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12804 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12805 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12806 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12808 ... here.
12809 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12811 ... here.
12812 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12814 ... here.
12815 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12817 ... here.
12818 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12820 ... here.
12821 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12823 ... here.
12824 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12826 ... here.
12827 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12829
cfc82fd8
JM
12830 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12831 definitions to architecture-specific files.
12832 (TLS_IE): Likewise.
12833 (TLS_LD): Likewise.
12834 (TLS_GD): Likewise.
12835 * sysdeps/i386/tls-macros.h: New file.
12836 * sysdeps/powerpc/tls-macros.h: Likewise.
12837 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12838 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12839 * sysdeps/sh/tls-macros.h: Likewise.
12840 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12841 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12842 * sysdeps/x86_64/tls-macros.h: Likewise.
12843
f7db3170
TS
128442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12845
07cbfc23
TS
12846 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12847 zero value for regular exit case.
12848
f7db3170
TS
12849 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12850 (__start_context): Preserve zero value for regular exit case.
12851
dc97c227
TS
128522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12853 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12854
12855 * manual/setjmp.texi (setcontext): Clarify normal process
12856 termination when uc_link is the null pointer.
12857 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12858 exit call.
12859
d0cd7d02
AS
128602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12861
12862 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12863 preprocessor. Test for each exception mask separately.
12864
dd318934
AJ
128652012-07-16 Andreas Jaeger <aj@suse.de>
12866
12867 * po/ru.po: Update from translation team.
12868
8048311a
JM
128692012-07-15 Joseph Myers <joseph@codesourcery.com>
12870
12871 * conform/data/string.h-data (NULL): Use macro-constant. Require
12872 equal to 0.
12873 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12874 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12875 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12876 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12878
b637d46e
AJ
128792012-07-13 Andreas Jaeger <aj@suse.de>
12880
12881 * po/fr.po: Update from translation team.
12882
541428fe
MP
128832012-07-12 Marek Polacek <polacek@redhat.com>
12884
12885 [BZ #14173]
12886 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12887 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12888 loop condition.
12889
ec332e94
JM
128902012-07-12 Joseph Myers <joseph@codesourcery.com>
12891
12892 [BZ #13717]
12893 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12894 Change to 2.4.1 where previously 2.4.0.
12895 * sysdeps/unix/sysv/linux/configure: Regenerated.
12896 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12897 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12898 version.
12899 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12900 (__ASSUME_AT_CLKTCK): Remove.
12901 (__ASSUME_AT_PAGESIZE): Likewise.
12902 (__ASSUME_AT_XID): Likewise.
12903 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12904 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12905 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12906 unconditionally.
12907 (HAVE_AUX_PAGESIZE): Likewise.
12908 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12909 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12910 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12911
7b6e99be
JB
129122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12913
12914 [BZ #14307]
12915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12916 the temporary buffer used to invoke __gethostbyname2_r,
12917 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12918 host_data / struct gaih_addrtuple.
12919 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12920 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12921 header file nss/nsswitch.h.
12922 * nss/nsswitch.h (global scope): Add definition of implementation
12923 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12924 resolv/nss_dns/dns-host.c).
12925
608404eb
AJ
129262012-07-11 Andreas Jaeger <aj@suse.de>
12927
12928 * po/fr.po: Update from translation team.
12929
71220aca
AJ
12930 * po/sv.po: Update from translation team
12931 * po/fr.po: Another update from translation team.
12932
28cfe843
AZ
129332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12934
12935 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12936 for subnormals or multiply small sinh result by itself.
12937 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12939
6b90f981
DM
129402012-07-11 David S. Miller <davem@davemloft.net>
12941
12942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12943
c6825772
AS
129442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12945
12946 [BZ #14347]
12947 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12948 (INTERNAL_MARK): Shift it here.
12949
7b8e0d49
MP
129502012-07-10 Marek Polacek <polacek@redhat.com>
12951
12952 [BZ #14151]
12953 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12954 libc_cv_asm_global_directive with .globl.
12955 * configure: Regenerated.
12956 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12957 with .globl.
12958 * sysdeps/i386/configure: Regenerated.
12959 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12960 with .globl.
12961 * sysdeps/x86_64/configure: Regenerated.
12962 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12963 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12964 * elf/tst-unique2mod2.c: Likewise.
12965 * elf/tst-unique2mod1.c: Likewise.
12966 * elf/tst-unique1mod2.c: Likewise.
12967 * elf/tst-unique1mod1.c: Likewise.
12968 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12969 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12971 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12972 * sysdeps/mach/sysdep.h: Likewise.
12973 * sysdeps/i386/sysdep.h: Likewise.
12974 * sysdeps/i386/i386-mcount.S: Likewise.
12975 * sysdeps/x86_64/_mcount.S: Likewise.
12976 * sysdeps/x86_64/sysdep.h: Likewise.
12977 * sysdeps/sh/_mcount.S: Likewise.
12978 * sysdeps/sh/sysdep.h: Likewise.
12979 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12980 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12981 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12982 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12983 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12984 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12985 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12986 * locale/localeinfo.h: Likewise.
12987 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12988 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12989
6c55cda3
RM
129902012-07-09 Roland McGrath <roland@hack.frob.com>
12991
12992 [BZ #14336]
12993 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12994 system".
12995 * manual/message.texi (The Uniforum approach): Likewise.
12996 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12997 (glibc iconv Implementation): Likewise.
12998
638a572e
JM
129992012-07-09 Joseph Myers <joseph@codesourcery.com>
13000
13001 [BZ #14337]
13002 * math/s_clog.c (__clog): Avoid scaling a value down where that
13003 could result in underflow.
13004 * math/s_clog10.c (__clog10): Likewise.
13005 * math/s_clog10f.c (__clog10f): Likewise.
13006 * math/s_clog10l.c (__clog10l): Likewise.
13007 * math/s_clogf.c (__clogf): Likewise.
13008 * math/s_clogl.c (__clogl): Likewise.
13009 * math/libm-test.inc (clog_test): Add more tests.
13010 (clog10_test): Likewise.
13011 * sysdeps/i386/fpu/libm-test-ulps: Update.
13012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13013
261f4859
AS
130142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13015
0abaf3e4
AS
13016 [BZ #14283]
13017 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13018 by 7 not 8 to examine high bit of fractional part.
13019
261f4859
AS
13020 [BZ #14042]
13021 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13022 for call to __mcount_internal.
13023 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13024 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13025 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13026
f17ac40d
JM
130272012-07-06 Joseph Myers <joseph@codesourcery.com>
13028
9ad63c23
JM
13029 [BZ #14154]
13030 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13031 approximation for values within 0x1p-13f of an odd multiple of
13032 pi/4.
13033 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13034 exception. Add more tests.
13035 * sysdeps/i386/fpu/libm-test-ulps: Update.
13036
f17ac40d
JM
13037 [BZ #6778]
13038 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13039 inputs and return -1 for them. Do not check for +Inf in case not
13040 reachable for +Inf.
13041 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13042 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13043 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13044 and return -1 for them. Do not check for +Inf in case not
13045 reachable for +Inf.
13046 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13047 define.
13048 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13049 and return -1 for them. Do not check for +Inf in case not
13050 reachable for +Inf.
13051 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13052 spurious underflow.
13053 * sysdeps/i386/fpu/libm-test-ulps: Update.
13054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13055
fb21f89b
MF
130562012-07-06 Mike Frysinger <vapier@gentoo.org>
13057
13058 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13059
cdfe2c5e
JM
130602012-07-05 Joseph Myers <joseph@codesourcery.com>
13061
13062 [BZ #14157]
13063 [BZ #14331]
13064 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13065 could result in spurious underflow. Scale down values above
13066 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13067 * math/s_csqrtf.c (__csqrtf): Likewise.
13068 * math/s_csqrtl.c (__csqrtl): Likewise.
13069 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13070 spurious underflow.
13071 * sysdeps/i386/fpu/libm-test-ulps: Update.
13072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13073
70d35b67
AS
130742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13075
704bc459
AS
13076 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13077 xopen-msg.sed.
13078 * catgets/xopen-msg.awk: New file.
13079 * catgets/xopen-msg.sed: Removed.
13080
70d35b67
AS
13081 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13082 po2text.sed.
13083 * intl/po2test.awk: New file.
13084 * intl/po2test.sed: Removed.
13085
ca61cf32
JM
130862012-07-04 Joseph Myers <joseph@codesourcery.com>
13087
13088 [BZ #14328]
13089 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13090 or multiply small sinh result by itself.
13091 * math/s_ctanf.c (__ctanf): Likewise.
13092 * math/s_ctanh.c (__ctanh): Likewise.
13093 * math/s_ctanhf.c (__ctanhf): Likewise.
13094 * math/s_ctanhl.c (__ctanhl): Likewise.
13095 * math/s_ctanl.c (__ctanl): Likewise.
13096 * math/libm-test.inc (ctan_test_tonearest): New function.
13097 (ctan_test_towardzero): Likewise.
13098 (ctan_test_downward): Likewise.
13099 (ctan_test_upward): Likewise.
13100 (ctanh_test_tonearest): Likewise.
13101 (ctanh_test_towardzero): Likewise.
13102 (ctanh_test_downward): Likewise.
13103 (ctanh_test_upward): Likewise.
13104 (main): Call these new functions.
13105 * sysdeps/i386/fpu/libm-test-ulps: Update.
13106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13107
ca48a46a
MF
131082012-07-03 Mike Frysinger <vapier@gentoo.org>
13109
13110 * .gitignore: Delete /ports entry.
13111
9d63d37d
AJ
131122012-07-03 Andreas Jaeger <aj@suse.de>
13113
13114 * po/bg.po: Update from translation team.
13115 * po/cs.po: Likewise.
13116 * po/de.po: Likewise.
13117 * po/hr.po: Likewise.
13118 * po/nl.pl: Likewise.
13119 * po/pl.po: Likewise.
13120 * po/vi.po: Likewise.
13121
370ca3d2
JM
131222012-07-03 Joseph Myers <joseph@codesourcery.com>
13123
95f5a9a8
JM
13124 * Makeconfig [!+link] (+link-before-libc): New variable.
13125 [!+link] (+link-after-libc): Likewise.
13126 [!+link] (+link-tests): Likewise.
13127 [!+link] (+link): Define in terms of $(+link-before-libc) and
13128 $(+link-after-libc).
13129 [!+link-static] (+link-static-before-libc): New variable.
13130 [!+link-static] (+link-static-after-libc): Likewise.
13131 [!+link-static] (+link-static-tests): Likewise.
13132 [!+link-static] (+link-static): Define in terms of
13133 $(+link-static-before-libc) and $(+link-static-after-libc).
13134 [build-shared] (link-libc-before-gnulib): New variable.
13135 [build-shared] (link-libc-tests): Likewise.
13136 [build-shared] (link-libc): Define in terms of
13137 $(link-libc-before-gnulib).
13138 [!build-shared] (link-libc-tests): New variable.
13139 (link-libc-static-tests): New variable.
13140 [!gnulib] (gnulib-arch): New variable.
13141 [!gnulib] (gnulib-tests): Likewise.
13142 [!gnulib] (static-gnulib-arch): Likewise.
13143 [!gnulib] (static-gnulib-tests): Likewise.
13144 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13145 Define with "=" instead of ":=".
13146 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13147 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13148 * Rules (binaries-all-notests): New variable.
13149 (binaries-all-tests): Likewise.
13150 (binaries-static-notests): Likewise.
13151 (binaries-static-tests): Likewise.
13152 (binaries-all): Define using $(binaries-all-notests) and
13153 $(binaries-all-tests).
13154 (binaries-static): Define using $(binaries-static-notests) and
13155 $(binaries-static-tests).
13156 (binaries-shared-tests): New variable.
13157 (binaries-shared-notests): Likewise.
13158 (binaries-shared): Remove variable.
13159 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13160 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13161 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13162 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13163 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13164 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13165 * elf/Makefile (sln-modules): New variable.
13166 (extra-objs): Add $(sln-modules:=.o).
13167 (ldconfig-modules): Add static-stubs.
13168 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13169 * elf/static-stubs.c: New file.
13170
7a845b2c
JM
13171 [BZ #14283]
13172 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13173 by 7 not 8 to examine high bit of fractional part. Use volatile
13174 variables when splitting into final array of floats if
13175 __FLT_EVAL_METHOD__ != 0.
13176 * math/libm-test.inc (cos_test): Add another test.
13177 (sin_test): Likewise.
13178 * sysdeps/i386/fpu/libm-test-ulps: Update.
13179
e2283f38
JM
13180 [BZ #14273]
13181 * math/libm-test.inc (cosh_test): Add more tests.
13182
370ca3d2
JM
13183 * version.h (RELEASE): Set to "development".
13184 (VERSION): Set to "2.16.90".
13185
ee9247c3
CD
131862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13187
13188 * NEWS: Update copyright. Remove last-updated date.
13189 Mention math library bug fixes and timezone data changes.
13190 * README: Mention GNU/Hurd, x32, and HPPA support status.
13191
4648c381
TS
131922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13193
13194 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13195
aac78a43
AJ
131962012-06-27 Andreas Jaeger <aj@suse.de>
13197
13198 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13199
ed3dbfad
AJ
132002012-06-25 Andreas Jaeger <aj@suse.de>
13201
13202 * sysdeps/s390/fpu/libm-test-ulps: Update.
13203
4d0ee855
AS
132042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13205 Thomas Schwinge <thomas@codesourcery.com>
13206
13207 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13208 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13210 fanotify_mark.
13211
af1bce34
TS
132122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13213
a9fa33ba
TS
13214 * sysdeps/mach/start.c: Remove file.
13215 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13216 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13217 * sysdeps/sh/init-first.c: Likewise.
13218
58f902b8
TS
13219 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13220 registers for frame unwinding purposes, add CFI directives.
13221 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13222 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13223 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13224 Likewise.
13225
1518f58b
TS
13226 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13227 __fortify_fail returning.
13228 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13229
db9b5059
TS
13230 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13231 sysdeps/sh/____longjmp_chk.S.
13232 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13233 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13234 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13235 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13236
967705fe
TS
13237 * sysdeps/sh/abort-instr.h: New file.
13238 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13239 process in case exit returns.
13240
a9def8c4
TS
13241 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13242 initialize the GOT register before use.
13243
2a649725
TS
13244 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13245 calculation of ARGC > 4.
13246
af1bce34
TS
13247 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13248 meaningful names to some local labels.
13249
d230f50a
KK
132502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13251 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13252
13253 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13254 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13255 (__arch_compare_and_exchange_val_16_acq): Likewise.
13256 (__arch_compare_and_exchange_val_32_acq): Likewise.
13257 (atomic_exchange_and_add): Fix gUSA sequence.
13258 (atomic_add): Likewise.
13259 (atomic_add_negative): Likewise.
13260 (atomic_add_zero): Likewise.
13261 (atomic_bit_test_set): Likewise.
13262
0479b305
AS
132632012-06-22 Andreas Schwab <schwab@redhat.com>
13264
13265 [BZ #13579]
13266 * include/link.h (struct link_map): Add l_free_initfini.
13267 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13268 l_initfini.
13269 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13270 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13271 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13272 set.
13273
0e3933b9
CD
132742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13275
13276 * configure.in: Use AC_LANG_SOURCE.
13277 * configure: Regenerate.
13278
4248b1b1
RM
132792012-06-22 Roland McGrath <roland@hack.frob.com>
13280
13281 * configure.in (libc_cv_localstatedir): New substituted variable.
13282 * configure: Regenerated.
13283 * config.make.in (localstatedir): New variable, substituted from
13284 libc_cv_localstatedir.
13285 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13286 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13287 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13288 * sysdeps/gnu/configure: Regenerated.
13289
006dd861
JL
132902012-06-21 Jeff Law <law@redhat.com>
13291
13292 [BZ #14277]
13293 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13294 free. Simplify list management for _LIBC case.
13295
79662d42
JM
132962012-06-21 Joseph Myers <joseph@codesourcery.com>
13297
b7abb4bf
JM
13298 [BZ #14273]
13299 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13300 Clear sign bit of 64-bit integer value before comparing against
13301 overflow value.
13302
79662d42
JM
13303 * sysdeps/mach/configure: Regenerated.
13304
1f150908
L
133052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13306
13307 [BZ #14278]
13308 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13309
28363bbf
JL
133102012-06-21 Jeff Law <law@redhat.com>
13311
13312 [BZ #13882]
13313 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13314 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13315 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13316 * elf/dl-open.c (dl_open_worker): Likewise.
13317
09615db4
CD
133182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13319
13320 * scripts/list-sources.sh: Scan PORTS for translations.
13321 * po/libc.pot: Regenerated.
13322
2174c6dd
AJ
133232012-06-21 Andreas Jaeger <aj@suse.de>
13324
13325 [BZ #12194]
13326 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13327 warning.
13328 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13329 * bits/byteswap-16.h (__bswap_16): Likewise.
13330 * bits/byteswap.h (__bswap_constant_16): Likewise.
13331
3ee947b1
L
133322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13333
13334 [BZ #14117]
a2f34833
L
13335 * sysdeps/i386/fpu_control.h: Removed.
13336 * sysdeps/x86_64/fpu_control.h: Moved to ...
13337 * sysdeps/x86/fpu_control.h: Here.
13338
3ee947b1
L
13339 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13340 (_FPU_SETCW): Likewise.
13341
ed1825f8
L
133422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13343
25f1282a
L
13344 [BZ #14117]
13345 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13346 * sysdeps/x86/fpu/bits/mathinline.h: This.
13347 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13348
ed1825f8
L
13349 [BZ #14050]
13350 [BZ #14117]
13351 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13352 functions if __x86_64__ is defined.
13353
36d54b74
CLT
133542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13355
13356 * string/endian.h: Add !__ASSEMBLER__ condition for including
13357 conversion interfaces.
13358
10285c21
JM
133592012-06-15 Joseph Myers <joseph@codesourcery.com>
13360
13361 [BZ #14241]
13362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13363 of ABS(x) in calculating zero to negative powers other than odd
13364 integers.
13365 * math/libm-test.inc (pow_test): Add more tests.
13366
06c5abbd
AJ
133672012-06-15 Andreas Jaeger <aj@suse.de>
13368
13369 * manual/contrib.texi (Contributors): Update entry of Liubov
13370 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13371 Machado Filho.
13372
a3aeac40
CH
133732012-06-15 Cyril Hrubis <metan@ucw.cz>
13374
13375 * string/string.h: Add __wur to GNU version of strerror_r.
13376
49bdf4c1
L
133772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13378
13379 [BZ #14229]
13380 * string/Makefile (tests): Add tst-strtok_r.
13381 * string/tst-strtok_r.c: New file.
13382 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13383 RAX_LP/RDX_LP on SAVE_PTR.
13384
834f9b8d
RM
133852012-06-14 Roland McGrath <roland@hack.frob.com>
13386
13387 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13388
75fa1921
JM
133892012-06-14 Joseph Myers <joseph@codesourcery.com>
13390
13391 * libm_test.inc (csqrt_test): Allow more spurious underflow
13392 exceptions.
13393 (j0_test): Likewise.
13394 (j1_test): Likewise.
13395 (y0_test): Likewise.
13396 (y1_test): Likewise.
13397
771766df
CD
133982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13399
13400 * po/Makefile (libc.pot): Use UTF-8 charset.
13401
ceb9e56b
PP
134022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13403
13404 [BZ #14210]
13405 Suppress sign-conversion warning from FD_SET.
13406 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13407 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13408 not unsigned long int.
13409 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13410
ddb28975
L
134112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13412
13413 [BZ #14050]
13414 [BZ #14117]
13415 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13416 __extern_always_inline instead of __extern_inline.
13417 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13418 (__signbit): Likewise.
13419 (__signbitl): Support C++ namespace.
13420 (lrintf): New inline function.
13421 (lrint): Likewise.
13422 (llrintf): Likewise.
13423 (llrint): Likewise.
13424 (fmaxf): Likewise.
13425 (fmax): Likewise.
13426 (fminf): Likewise.
13427 (fmin): Likewise.
13428 (rint): Likewise.
13429 (rintf): Likewise.
13430 (ceil): Likewise.
13431 (ceilf): Likewise.
13432 (floor): Likewise.
13433 (floorf): Likewise.
13434 (nearbyint): Likewise.
13435 (nearbyintf): Likewise.
13436
d7b4fb26
TS
134372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
13438
13439 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
13440 non-default versions.
13441
eb55f5c2
RM
134422012-06-11 Roland McGrath <roland@hack.frob.com>
13443
13444 [BZ #14218]
13445 * manual/argp.texi (Argp): Reword argp_parse description slightly.
13446
366af02c
TS
134472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
13448
99ff6e5c
TS
13449 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
13450 (FE_UPWARD, FE_DOWNWARD): Don't define.
13451 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
13452 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13453
366af02c
TS
13454 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
13455 reading it.
13456 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13457 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13458
793ea851
KK
134592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13460
13461 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
13463 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
13464 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
13465
a728a38f
L
134662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
13467
13468 [BZ #14117]
c08010c7
L
13469 * sysdeps/i386/fpu/bits/fenv.h: Removed.
13470 * sysdeps/i386/fpu/Implies: New file.
13471 * sysdeps/x86_64/fpu/Implies: Likewise.
13472 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
13473 * sysdeps/x86/fpu/bits/fenv.h: This.
13474
a728a38f
L
13475 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
13476 __SSE_MATH__.
13477
6e230d11
SP
134782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13479
13480 [BZ #14134]
13481 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
13482 character 0xffff that matches the last element of the
13483 conversion table.
13484
1b671feb
AZ
134852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13486
13487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
13488 fmodl commit.
13489
6043738b
AZ
134902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13491
13492 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
13493 values higher than 25.6283.
13494
34ae0b32
AZ
134952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13496
13497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
13498 subnormal exponent extraction and add some __builtin_expect.
13499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
13500 Fix for subnormal mantissa calculation.
13501
1214ec8f
MF
135022012-06-04 Mike Frysinger <vapier@gentoo.org>
13503
13504 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
13505 cpu2 is -1 and errno is not ENOSYS.
13506
f3d1f93c
L
135072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
13508
13509 [BZ #14117]
0e4a3cd7
L
13510 * sysdeps/i386/i486/bits/string.h: Renamed to ...
13511 * sysdeps/x86/bits/string.h: This.
13512 * sysdeps/x86_64/bits/string.h: Removed.
13513
6704c645
L
13514 * sysdeps/i386/i486/bits/string.h: Define inline functions only
13515 if not compiling for x86-64, but compiling for >= i486.
13516
48495318
L
13517 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
13518 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
13519
14adcbfc
L
13520 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
13521 New macro from Linux kernel 3.4.0.
13522 (FP_XSTATE_MAGIC2): Likewise.
13523 (FP_XSTATE_MAGIC2_SIZE): Likewise.
13524 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
13525 (struct _fpx_sw_bytes): New struct.
13526 (struct _xsave_hdr): Likewise.
13527 (struct _ymmh_state): Likewise.
13528 (struct _xstate): Likewise.
13529
68e408ab
L
13530 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
13531 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
13532 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
13533 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
13534 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
13535 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
13536
f3d1f93c
L
13537 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
13538 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
13539 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
13540 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
13541 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
13542 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
13543
d9dc34cd
TMQMF
135442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13545
13546 [BZ #13743]
13547 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
13548 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
13549 (sysdep_headers): Include sys/platform/ppc.h.
13550 * sysdeps/powerpc/test-gettimebase.c: Test for
13551 __ppc_get_timebase() to catch future ISA opcode/insn changes.
13552 * manual/Makefile (appendices): Include platform.texi.
13553 * manual/contrib.texi (Contributors): Update @node pointers.
13554 * manual/maint.texi (Maintenance): Likewise.
13555 (Platform): New node.
13556 * manual/platform.texi: New file. Document the new features.
13557
4af3879c
SP
135582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13559 Jakub Jelinek <jakub@redhat.com>
13560
13561 [BZ #14188]
13562 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
13563 where __builtin_expect is unavailable.
13564
2fd6ff13
DM
135652012-06-03 David S. Miller <davem@davemloft.net>
13566
13567 * stdlib/longlong.h: Updated from GCC.
13568
173f7220
AS
135692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
13570
13571 [BZ #14042]
13572 * sysdeps/powerpc/powerpc32/mcount.c: New file.
13573 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
13574 __mcount_internal.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13576 (GLIBC_2.16): Likewise.
13577
f34a1c6f
L
135782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13579
13580 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
13581
88a4576f
JM
135822012-06-01 Joseph Myers <joseph@codesourcery.com>
13583
ea32bcdd
JM
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13585 (default-abi): New variable.
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
13587 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
13588 variable.
13589 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
13590 Likewise.
13591 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
13592 Likewise.
13593 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
13594 Likewise.
13595
88a4576f
JM
13596 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
13597 definition. Document in comment.
13598
402fe938
DM
135992012-06-01 David S. Miller <davem@davemloft.net>
13600
13601 * stdlib/longlong.h: Updated from GCC.
13602
3553723f
L
136032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13604
13605 [BZ #14117]
3bd872c4
L
13606 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
13607 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
13608 sys/debugreg.h sys/io.h here.
13609 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
13610 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
13611 sys/io.h.
13612 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
13613 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
13614 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
13615 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
13616 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
13617 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
13618
3553723f
L
13619 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
13620 Define only if __x86_64__ is defined.
13621
4842e4fe
JM
136222012-06-01 Joseph Myers <joseph@codesourcery.com>
13623
c5bfe3d5
JM
13624 [BZ #14048]
13625 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
13626 Use int64_t for variable i.
13627 * math/libm-test.inc (fmod_test): Add more tests.
13628
4842e4fe
JM
13629 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
13630 z computation is not scheduled after fetestexcept.
13631 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13632 Use math_force_eval instead of asm to ensure calculation scheduled
13633 before exception test.
13634 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13635 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13636
efb73488
AJ
136372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13638
13639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13640 computation is not scheduled after fetestexcept.
13641
29bcce7c
L
136422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13643
13644 [BZ #14117]
13645 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13646 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13647
73a68f94
AZ
136482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13649
13650 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13651 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13652
67b6df78
L
136532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13654
edf2933a 13655 [BZ #14117]
ebc64a18
L
13656 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13657 <bits/wordsize.h>.
13658 (__WCHAR_MIN): Support __WORDSIZE == 64.
13659 (__WCHAR_MAX): Likewise.
13660
edf2933a
L
13661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13662 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13663
57c6cf40
L
13664 [BZ #14183]
13665 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13666 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13667
67b6df78 13668 [BZ #14117]
8eb6281e
L
13669 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13670 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13671
aac639f4
L
13672 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13673 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13674
67b6df78
L
13675 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13676 Defined to 1 if __x86_64__ isn't defined.
13677 (_STAT_VER_LINUX_OLD): New.
13678 (st_atime): Remove duplicate.
13679 (st_mtime): Likewise.
13680 (st_ctime): Likewise.
13681
1c2cfe81
DM
136822012-05-31 David S. Miller <davem@davemloft.net>
13683
13684 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13685 entries.
13686
5be8418c
AS
136872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13688
e7725326
AS
13689 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13690 gen-libm-test.pl.
13691
5be8418c
AS
13692 [BZ #14132]
13693 * elf/dl-reloc.c: Include <_itoa.h>.
13694 (_dl_reloc_bad_type): Remove use of INTUSE.
13695 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13696 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13697 * stdio-common/psiginfo.c (psiginfo): Likewise.
13698 * stdio-common/psignal.c (psignal): Likewise.
13699 * string/strsignal.c (strsignal): Likewise.
13700 * include/signal.h (_sys_siglist): Declare hidden proto.
13701 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13702 INTVARDEF with libc_hidden_data_def.
13703 * stdio-common/itoa-udigits.c: Likewise.
13704 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13705 (_itoa_lower_digits_internal): Remove declaration.
13706 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13707 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13708 (_sys_sigabbrev_internal): Remove aliases.
13709 (_sys_siglist): Define hidden alias.
13710
507352f1
MT
137112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13712
13713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13714 bits/sysctl.h.
13715
42bbb1c3
L
137162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13717
13718 [BZ #14117]
6bd784b6
L
13719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13720 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13721
8bca20f0
L
13722 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13723 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13724 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13725 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13727 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13728
f9e890a9
L
13729 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13730 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13731 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13732
471101a1
L
13733 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13734 with __addr.
13735 (insw): Likewise.
13736 (insl): Likewise.
13737 (outsb): Likewise.
13738 (outsw): Likewise.
13739 (outsl): Likewise.
13740
6451c862
L
13741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13742 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13743 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13744
a254b8c9
L
13745 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13746 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13747 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13748 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13749 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13750 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13751
b8dfdd92
L
13752 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13753 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13754
578cd270
L
13755 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13756 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13757
de662f5f
L
13758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13760 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13761
25653439
L
13762 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13763 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13764 to ...
13765 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13766
6bad24a0
L
13767 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13769 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13770
42bbb1c3
L
13771 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13772 for x86-64.
13773 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13774
2d10d547
JM
137752012-05-31 Joseph Myers <joseph@codesourcery.com>
13776
13777 * math/math.h (M_El): Use two more decimal places.
13778 (M_LOG2El): Likewise.
13779 (M_LOG10El): Likewise.
13780 (M_LN2l): Likewise.
13781 (M_LN10l): Likewise.
13782 (M_PIl): Likewise.
13783 (M_PI_2l): Likewise.
13784 (M_PI_4l): Likewise.
13785 (M_1_PIl): Likewise.
13786 (M_2_PIl): Likewise.
13787 (M_2_SQRTPIl): Likewise.
13788 (M_SQRT2l): Likewise.
13789 (M_SQRT1_2l): Likewise.
13790
f230c29b
DM
137912012-05-31 David S. Miller <davem@davemloft.net>
13792
13793 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13794 values between float registers.
13795 * sysdeps/sparc/sparc64/memset.S: Likewise.
13796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13797
fed806c3
MF
137982012-05-31 Mike Frysinger <vapier@gentoo.org>
13799
13800 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13801 -D_FORTIFY_SOURCE=1.
13802 (CPPFLAGS-tst-longjmp_chk.c): Define.
13803 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13804 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13805 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13806 CFLAGS-tst-wchar-h.c.
13807
30917259
MP
138082012-05-31 Marek Polacek <polacek@redhat.com>
13809
13810 [BZ #14132]
13811 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13812 __endmntent_internal): Remove declaration.
13813 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13814 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13815 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13816
1c58d5dc
DM
138172012-05-30 David S. Miller <davem@davemloft.net>
13818
13819 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13820 (___Q_simulate_exceptions): Use real FP ops rather than writing
13821 into the %fsr.
13822 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13823 Likewise.
13824
7dc00e0d
L
138252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13826
13827 [BZ #14117]
0bd53985
L
13828 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13829 * sysdeps/x86/bits/xtitypes.h: This.
13830
3a257e66
L
13831 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13832 * sysdeps/x86/bits/wordsize.h: This.
13833
62f62904
L
13834 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13835 * sysdeps/x86/bits/huge_vall.h: This.
13836
404fe9d9
L
13837 * sysdeps/i386/bits/select.h: Removed.
13838 * sysdeps/x86_64/bits/select.h: Renamed to ...
13839 * sysdeps/x86/bits/select.h: This.
13840
d48d0446
L
13841 * sysdeps/i386/bits/setjmp.h: Removed.
13842 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13843 * sysdeps/x86/bits/setjmp.h: This.
13844
7dc00e0d
L
13845 * sysdeps/i386/bits/mathdef.h: Removed.
13846 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13847 * sysdeps/x86/bits/mathdef.h: This.
13848
03277f8f
AS
138492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13850
13851 [BZ #14132]
13852 * include/sys/socket.h (__connect_internal)
13853 (__libc_sa_len_internal): Remove declaration.
13854 (__connect, __libc_sa_len): Declare hidden_proto.
13855 (SA_LEN): Remove use of INTUSE.
13856 * socket/connect.c: Add libc_hidden_def.
13857 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13858 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13859 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13860 alias.
13861 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13862 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13863 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13864 of adding _internal alias.
13865
13764867
L
138662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13867
13868 [BZ #14117]
6bd97696
L
13869 * sysdeps/i386/bits/link.h: Removed.
13870 * sysdeps/i386/bits/linkmap.h: Likewise.
13871 * sysdeps/x86_64/bits/link.h: Renamed to ...
13872 * sysdeps/x86/bits/link.h: This.
13873 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13874 * sysdeps/x86/bits/linkmap.h: This.
13875
f726f0bb
L
13876 * sysdeps/i386/bits/endian.h: Removed.
13877 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13878 * sysdeps/x86/bits/endian.h: This.
13879
13764867
L
13880 * sysdeps/i386/bits/byteswap.h: Removed.
13881 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13882 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13883 * sysdeps/x86/bits/byteswap.h: This.
13884 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13885 * sysdeps/x86/bits/byteswap-16.h: This.
13886 * sysdeps/i386/Implies: Add x86.
13887 * sysdeps/x86_64/Implies: Likewise.
13888
ae251b0b
DM
138892012-05-30 David S. Miller <davem@davemloft.net>
13890
13891 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13892 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13893 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13894 (FP_TRAPPING_EXCEPTIONS): Define.
13895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13896 (FP_TRAPPING_EXCEPTIONS): Define.
13897 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13898 subnormals only when inexact has been signalled or underflow
13899 exceptions are enabled.
13900 (_FP_PACK_CANONICAL): Likewise.
13901
d5c90867
L
139022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13903
13904 [BZ #14183]
13905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13906 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13907
63f1549e
RH
139082012-05-30 Richard Henderson <rth@twiddle.net>
13909
8d8f2279
RH
13910 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13911 with #ifndef NOT_IN_libc.
13912
63f1549e
RH
13913 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13914 marked to avoid plt entry.
13915
0ab0291b
L
139162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13917
13918 [BZ #14112]
13919 * Makeconfig (default-abi): New macro.
13920 (abi-includes): Likewise.
13921 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13922 $(abi-$(default-abi)-lib-soname) for soname if defined.
13923 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13924 abi-variants.
13925 * Makefile (installed-stubs): Likewise.
13926 * include/stubs-biarch.h: Removed.
13927 * scripts/lib-names.awk: Only handle one library at a time.
13928 * scripts/soversions.awk: Remove WORDSIZE support.
13929 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13930 entries.
13931 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13932 Removed.
13933 (syscall-list-default-condition): Likewise.
13934 (syscall-list-default-condition): Likewise.
13935 (syscall-list-includes): Likewise.
13936 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13937 syscall-list-* with abi-*. Handle undefined abi-variants.
13938 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13939 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13940 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13942 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13943 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13944 Removed.
13945 (syscall-list-32-options): Likewise.
13946 (syscall-list-32-condition): Likewise.
13947 (syscall-list-64-options): Likewise.
13948 (syscall-list-64-condition): Likewise.
13949 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13950 macro.
13951 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13952 Renamed to ...
13953 (abi-*): This.
13954 (abi-64-ld-soname): New macro.
13955 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13956 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13957 Renamed to ...
13958 (abi-*): This.
13959 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13960 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13961
4da0431d
JM
139622012-05-30 Joseph Myers <joseph@codesourcery.com>
13963
3a85279c
JM
13964 * sysdeps/unix/sysv/linux/kernel-features.h
13965 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13966 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13967 include <kernel-features.h>.
13968 [!__NR_ftruncate64]: Remove conditional code.
13969 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13970 [__NR_ftruncate64]: Make code unconditional.
13971 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13972 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13973 include <kernel-features.h>.
13974 [!__NR_ftruncate64]: Remove conditional code.
13975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13976 [__NR_ftruncate64]: Make code unconditional.
13977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13979 include <kernel-features.h>.
13980 [!__NR_ftruncate64]: Remove conditional code.
13981 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13982 [__NR_ftruncate64]: Make code unconditional.
13983 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13985 include <kernel-features.h>.
13986 [!__NR_ftruncate64]: Remove conditional code.
13987 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13988 [__NR_ftruncate64]: Make code unconditional.
13989 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13990
4da0431d
JM
13991 * configure.in (libc_cv_fpie): Weaken to a compile test using
13992 LIBC_TRY_CC_OPTION.
13993 * configure: Regenerated.
13994
11ef492c
AK
139952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13996
13997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14001 Refreshed.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14008 Refreshed.
14009
d66ef399
DM
140102012-05-27 David S. Miller <davem@davemloft.net>
14011
14012 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14013 (___Q_zero): New.
14014 (__Q_simulate_exceptions): Return void. Change to simulate
14015 exceptions by writing into the %fsr.
14016 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14017 (__Qp_handle_exceptions): Likewise.
14018 (numbers): Delete.
14019 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14020 __Qp_handle_exceptions.
14021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14022 __Qp_handle_exceptions.
14023 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14024 as unused and give dummy FP_RND_NEAREST initializer.
14025 (FP_INHIBIT_RESULTS): Define.
14026 (___Q_simulate_exceptions): Update declaration.
14027 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14028 formatting.
14029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14030 as unused and give dummy FP_RND_NEAREST initializer.
14031 (__Qp_handle_exceptions): Update declaration.
14032 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14033 formatting.
14034
04fb54b5
TS
140352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14036
14037 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14038 the temporary FPU control word.
14039 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14040 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14041 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14042 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14044 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14045 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14046 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14047 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14048 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14049 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14050
3f99608f
KK
140512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14052
14053 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14054 fields.
14055
65a4de4e
CLT
140562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14057
14058 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14059 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14060 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14061 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14062 Likewise.
14063 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14064 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14065 Likewise.
14066
15749d40
UD
140672012-05-27 Ulrich Drepper <drepper@gmail.com>
14068
14069 * po/h.po: Update from translation team.
14070
25dbcb27
AS
140712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14072
3d3f8e55
AS
14073 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14074
25dbcb27
AS
14075 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14076 handling of denormals.
14077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14078 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14079 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14080 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14084 Likewise.
14085
7ad47a80 140862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14087
14088 [BZ #14152]
14089 * math/libm-test.inc (fma_test): Don't always expect underflow
14090 exception.
14091
9c6ea9fa
SP
140922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14093
14094 [BZ #12416]
14095 * elf/tst-execstack.c: Include stackinfo.h.
14096 (do_test): Adjust test case to ensure that pthread_getattr_np
14097 behaviour remains the same after marking stack executable.
14098
a8239222
JM
140992012-05-25 Joseph Myers <joseph@codesourcery.com>
14100
14101 * sysdeps/unix/sysv/linux/kernel-features.h
14102 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14103 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14104 kernel-features.h.
14105 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14106 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14107 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14108 kernel-features.h.
14109 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14110 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14111
918b5606
L
141122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 * configure.in: Define the default includes to being none.
14115 * configure: Regenerated.
14116
3a097cc7
RM
141172012-05-25 Roland McGrath <roland@hack.frob.com>
14118
8422c9a5
RM
14119 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14120 * sysdeps/x86_64/setjmp.S: Likewise.
14121 * sysdeps/i386/bsd-setjmp.S: Likewise.
14122 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14123 * sysdeps/i386/setjmp.S: Likewise.
14124 * sysdeps/i386/__longjmp.S: Likewise.
14125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14126 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14127
3a097cc7
RM
14128 * include/stap-probe.h: New file.
14129 * configure.in: Handle --enable-systemtap.
14130 * configure: Regenerated.
14131 * config.h.in (USE_STAP_PROBE): New #undef.
14132 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14133 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14134 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14135
21708942
JM
141362012-05-25 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #13717]
14139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14140 to 2.4.0 where earlier.
14141 * sysdeps/unix/sysv/linux/configure: Regenerated.
14142 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14143 <kernel-features.h>.
14144 [__ASSUME_32BITUIDS]: Make code unconditional.
14145 [!__ASSUME_32BITUIDS]: Remove conditional code.
14146 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14147 <kernel-features.h>.
14148 [__ASSUME_32BITUIDS]: Make code unconditional.
14149 [!__ASSUME_32BITUIDS]: Remove conditional code.
14150 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14151 [__ASSUME_32BITUIDS]: Make code unconditional.
14152 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14153 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14154 <kernel-features.h>.
14155 [__ASSUME_32BITUIDS]: Make code unconditional.
14156 [!__ASSUME_32BITUIDS]: Remove conditional code.
14157 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14158 <kernel-features.h>.
14159 [__ASSUME_32BITUIDS]: Make code unconditional.
14160 [!__ASSUME_32BITUIDS]: Remove conditional code.
14161 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14162 <kernel-features.h>.
14163 [__ASSUME_32BITUIDS]: Make code unconditional.
14164 [!__ASSUME_32BITUIDS]: Remove conditional code.
14165 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14166 <kernel-features.h>.
14167 [__ASSUME_32BITUIDS]: Make code unconditional.
14168 [!__ASSUME_32BITUIDS]: Remove conditional code.
14169 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14170 <kernel-features.h>.
14171 [__ASSUME_32BITUIDS]: Make code unconditional.
14172 [!__ASSUME_32BITUIDS]: Remove conditional code.
14173 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14174 <kernel-features.h>.
14175 [__ASSUME_32BITUIDS]: Make code unconditional.
14176 [!__ASSUME_32BITUIDS]: Remove conditional code.
14177 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14178 <kernel-features.h>.
14179 [__ASSUME_32BITUIDS]: Make code unconditional.
14180 [!__ASSUME_32BITUIDS]: Remove conditional code.
14181 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14182 <kernel-features.h>.
14183 [__ASSUME_32BITUIDS]: Make code unconditional.
14184 [!__ASSUME_32BITUIDS]: Remove conditional code.
14185 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14186 <kernel-features.h>.
14187 [__ASSUME_32BITUIDS]: Make code unconditional.
14188 [!__ASSUME_32BITUIDS]: Remove conditional code.
14189 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14190 <kernel-features.h>.
14191 [__ASSUME_32BITUIDS]: Make code unconditional.
14192 [!__ASSUME_32BITUIDS]: Remove conditional code.
14193 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14194 <kernel-features.h>.
14195 [__NR_setresgid] (__setresgid): Do not declare.
14196 [__ASSUME_32BITUIDS]: Make code unconditional.
14197 [!__ASSUME_32BITUIDS]: Remove conditional code.
14198 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14199 <kernel-features.h>.
14200 [__NR_setresuid] (__setresuid): Do not declare.
14201 [__ASSUME_32BITUIDS]: Make code unconditional.
14202 [!__ASSUME_32BITUIDS]: Remove conditional code.
14203 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14204 <kernel-features.h>.
14205 [__ASSUME_32BITUIDS]: Make code unconditional.
14206 [!__ASSUME_32BITUIDS]: Remove conditional code.
14207 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14208 <kernel-features.h>.
14209 [__ASSUME_32BITUIDS]: Make code unconditional.
14210 [!__ASSUME_32BITUIDS]: Remove conditional code.
14211 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14212 <kernel-features.h>.
14213 [__ASSUME_32BITUIDS]: Make code unconditional.
14214 [!__ASSUME_32BITUIDS]: Remove conditional code.
14215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14216 <kernel-features.h>.
14217 [__ASSUME_32BITUIDS]: Make code unconditional.
14218 [!__ASSUME_32BITUIDS]: Remove conditional code.
14219 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14220 <kernel-features.h>.
14221 [__ASSUME_32BITUIDS]: Make code unconditional.
14222 [!__ASSUME_32BITUIDS]: Remove conditional code.
14223 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14224 <kernel-features.h>.
14225 [__ASSUME_32BITUIDS]: Make code unconditional.
14226 [!__ASSUME_32BITUIDS]: Remove conditional code.
14227 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14228 <kernel-features.h>.
14229 [__ASSUME_32BITUIDS]: Make code unconditional.
14230 [!__ASSUME_32BITUIDS]: Remove conditional code.
14231 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14232 <kernel-features.h>.
14233 [__ASSUME_32BITUIDS]: Make code unconditional.
14234 [!__ASSUME_32BITUIDS]: Remove conditional code.
14235 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14236 <kernel-features.h>.
14237 [__ASSUME_32BITUIDS]: Make code unconditional.
14238 [!__ASSUME_32BITUIDS]: Remove conditional code.
14239 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14240 <kernel-features.h>.
14241 [__ASSUME_32BITUIDS]: Make code unconditional.
14242 [!__ASSUME_32BITUIDS]: Remove conditional code.
14243 * sysdeps/unix/sysv/linux/kernel-features.h
14244 (__ASSUME_SETRESUID_SYSCALL): Remove.
14245 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14246 (__ASSUME_32BITUIDS): Likewise.
14247 (__ASSUME_LDT_WORKS): Likewise.
14248 (__ASSUME_O_DIRECTORY): Likewise.
14249 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14250 architecture but not kernel version.
14251 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14252 (__ASSUME_MMAP2_SYSCALL): Likewise.
14253 (__ASSUME_STAT64_SYSCALL): Likewise.
14254 (__ASSUME_IPC64): Likewise.
14255 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14256 <kernel-features.h>.
14257 [__ASSUME_32BITUIDS]: Make code unconditional.
14258 [!__ASSUME_32BITUIDS]: Remove conditional code.
14259 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14260 <kernel-features.h>.
14261 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14262 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14263 132096]: Remove conditional code.
14264 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14265 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14266 <kernel-features.h>.
14267 [__ASSUME_32BITUIDS]: Make code unconditional.
14268 [!__ASSUME_32BITUIDS]: Remove conditional code.
14269 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14270 <kernel-features.h>.
14271 [__ASSUME_32BITUIDS]: Make code unconditional.
14272 [!__ASSUME_32BITUIDS]: Remove conditional code.
14273 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14274 <kernel-features.h>.
14275 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14276 unconditional.
14277 (__setresgid): Do not declare.
14278 [__ASSUME_32BITUIDS]: Make code unconditional.
14279 [!__ASSUME_32BITUIDS]: Remove conditional code.
14280 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14281 <kernel-features.h>.
14282 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14283 unconditional.
14284 (__setresuid): Do not declare.
14285 [__ASSUME_32BITUIDS]: Make code unconditional.
14286 [!__ASSUME_32BITUIDS]: Remove conditional code.
14287 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14288 <kernel-features.h>.
14289 [__ASSUME_32BITUIDS]: Make code unconditional.
14290 [!__ASSUME_32BITUIDS]: Remove conditional code.
14291 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14292 <kernel-features.h>.
14293 [__ASSUME_32BITUIDS]: Make code unconditional.
14294 [!__ASSUME_32BITUIDS]: Remove conditional code.
14295
a386f1cc
RH
142962012-05-25 Richard Henderson <rth@twiddle.net>
14297
14298 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14299 dl_hwcap to ifunc resolver.
14300 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14301 elf_ifunc_invoke.
14302 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14303 dl_hwcap to ifunc resolver.
14304 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14305
b6550497
JM
143062012-05-24 Joseph Myers <joseph@codesourcery.com>
14307
14308 [BZ #14153]
14309 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14310 for |x| <= 2**-26, not 2**-57.
14311 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14312 exception.
14313
b0bc23a1
JL
143142012-05-24 Jeff Law <law@redhat.com>
14315
14316 * stdio-common/Makefile (tests): Add bug25.
14317 * stdio-common/bug25.c: New test.
14318
347c92e9
L
143192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 [BZ #13576]
14322 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14323 multiple of MALLOC_ALIGNMENT in size.
14324 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14325
6bcc8b3f
JM
143262012-05-24 Joseph Myers <joseph@codesourcery.com>
14327
14328 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14329 Require >= 256.
14330 (FILENAME_MAX): Use macro-int-constant.
14331 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14332 (_IOFBF): Use macro-int-constant.
14333 (_IOLBF): Likewise.
14334 (_IONBF): Likewise.
14335 (SEEK_CUR): Likewise.
14336 (SEEK_END): Likewise.
14337 (SEEK_SET): Likewise.
14338 (TMP_MAX): Likewise.
14339 (EOF): Use macro-int-constant. Require < 0.
14340 (NULL): Use macro-constant. Require == 0.
14341 (stdin): Require type to be FILE *.
14342 (stdout): Likewise.
14343 (stderr): Likewise.
14344 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14345 macro-int-constant.
14346 (EXIT_SUCCESS): Likewise.
14347 (NULL): Use macro-constant. Require == 0.
14348 (RAND_MAX): Use macro-int-constant.
14349 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14350 [C99-based standards] (strtof): Require function.
14351 [C99-based standards] (strtold): Likewise.
14352 [C99-based standards] (strtoll): Likewise.
14353 [C99-based standards] (strtoull): Likewise.
14354 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14355 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14356 [ISO || ISO99 || ISO11] (math.h): Likewise.
14357 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14358 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14360
d18ea0c5
AS
143612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14362
14363 [BZ #14132]
56d25bb8
AS
14364 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14365 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14366 * intl/dgettext.c (DCGETTEXT): Likewise.
14367 * intl/gettext.c (DCGETTEXT): Likewise.
14368 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14369 * posix/regex_internal.h (gettext): Likewise.
14370 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14371 Remove declaration.
14372 * include/argz.h (__argz_count_internal)
14373 (__argz_stringify_internal): Remove declaration.
14374 (__argz_count, __argz_stringify): Declare hidden proto.
14375 * intl/dcgettext.c: Remove use of INTDEF.
14376 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14377 * string/argz-stringify.c: Likewise.
14378 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14379 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14380 Declare hidden proto.
d18ea0c5
AS
14381 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14382 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14383 Declare hidden proto.
14384 * include/stdio.h (__asprintf_internal): Don't declare.
14385 (__asprintf): Don't define as macro. Declare hidden proto.
14386 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14387 (__fsetlocking): Declare hidden proto.
14388 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14389 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14390 hidden proto.
14391 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14392 (_IO_setlinebuf): Remove use of INTUSE.
14393 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14394 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14395 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14396 Remove declaration.
14397 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14398 (_IO_do_flush): Remove use of INTUSE.
14399 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14400 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14401 (_IO_adjust_column, _IO_least_wmarker)
14402 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14403 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14404 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14405 (_IO_default_doallocate, _IO_wdefault_doallocate)
14406 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14407 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14408 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14409 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14410 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14411 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14412 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14413 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14414 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14415 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14416 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14417 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14418 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14419 proto.
14420 (_IO_flush_all_internal, _IO_adjust_column_internal)
14421 (_IO_default_uflow_internal, _IO_default_finish_internal)
14422 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14423 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14424 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14425 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14426 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14427 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
14428 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
14429 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
14430 (_IO_file_close_internal, _IO_file_close_it_internal)
14431 (_IO_file_underflow_internal, _IO_file_overflow_internal)
14432 (_IO_file_init_internal, _IO_file_attach_internal)
14433 (_IO_file_fopen_internal, _IO_file_read_internal)
14434 (_IO_file_sync_internal, _IO_file_seek_internal)
14435 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
14436 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
14437 (_IO_str_underflow_internal, _IO_str_overflow_internal)
14438 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
14439 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
14440 (_IO_list_all_internal, _IO_link_in_internal)
14441 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
14442 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
14443 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
14444 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
14445 (_IO_do_write_internal, _IO_padn_internal)
14446 (_IO_getline_info_internal, _IO_getline_internal)
14447 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
14448 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
14449 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
14450 (_IO_vfscanf_internal, _IO_vfprintf_internal)
14451 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
14452 (_IO_init_internal, _IO_un_link_internal): Don't declare.
14453 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
14454 with libc_hidden_ver, remove use of INTUSE.
14455 * libio/genops.c: Likewise.
14456 * libio/freopen.c: Likewise.
14457 * libio/freopen64.c: Likewise.
14458 * libio/iofclose.c: Likewise.
14459 * libio/iofdopen.c: Likewise.
14460 * libio/iofflush.c: Likewise.
14461 * libio/iofflush_u.c: Likewise.
14462 * libio/iofgets.c: Likewise.
14463 * libio/iofgets_u.c: Likewise.
14464 * libio/iofopen.c: Likewise.
14465 * libio/iofopncook.c: Likewise.
14466 * libio/iofread.c: Likewise.
14467 * libio/iofread_u.c: Likewise.
14468 * libio/ioftell.c: Likewise.
14469 * libio/iofwrite.c: Likewise.
14470 * libio/iogetline.c: Likewise.
14471 * libio/iogets.c: Likewise.
14472 * libio/iogetwline.c: Likewise.
14473 * libio/iopadn.c: Likewise.
14474 * libio/iopopen.c: Likewise.
14475 * libio/ioseekoff.c: Likewise.
14476 * libio/ioseekpos.c: Likewise.
14477 * libio/iosetbuffer.c: Likewise.
14478 * libio/iosetvbuf.c: Likewise.
14479 * libio/ioungetc.c: Likewise.
14480 * libio/ioungetwc.c: Likewise.
14481 * libio/iovdprintf.c: Likewise.
14482 * libio/iovsprintf.c: Likewise.
14483 * libio/iovsscanf.c: Likewise.
14484 * libio/memstream.c: Likewise.
14485 * libio/obprintf.c: Likewise.
14486 * libio/oldfileops.c: Likewise.
14487 * libio/oldiofclose.c: Likewise.
14488 * libio/oldiofdopen.c: Likewise.
14489 * libio/oldiofopen.c: Likewise.
14490 * libio/oldiopopen.c: Likewise.
14491 * libio/oldstdfiles.c: Likewise.
14492 * libio/putc.c: Likewise.
14493 * libio/setbuf.c: Likewise.
14494 * libio/setlinebuf.c: Likewise.
14495 * libio/stdfiles.c: Likewise.
14496 * libio/strops.c: Likewise.
14497 * libio/vasprintf.c: Likewise.
14498 * libio/vscanf.c: Likewise.
14499 * libio/vsnprintf.c: Likewise.
14500 * libio/vswprintf.c: Likewise.
14501 * libio/wfiledoalloc.c: Likewise.
14502 * libio/wfileops.c: Likewise.
14503 * libio/wgenops.c: Likewise.
14504 * libio/wmemstream.c: Likewise.
14505 * libio/wstrops.c: Likewise.
14506 * libio/__fpurge.c: Likewise.
14507 * libio/__fsetlocking.c: Likewise.
14508 * assert/assert.c: Likewise.
14509 * debug/fgets_chk.c: Likewise.
14510 * debug/fgets_u_chk.c: Likewise.
14511 * debug/fread_chk.c: Likewise.
14512 * debug/fread_u_chk.c: Likewise.
14513 * debug/gets_chk.c: Likewise.
14514 * debug/obprintf_chk.c: Likewise.
14515 * debug/vasprintf_chk.c: Likewise.
14516 * debug/vdprintf_chk.c: Likewise.
14517 * debug/vsnprintf_chk.c: Likewise.
14518 * debug/vsprintf_chk.c: Likewise.
14519 * malloc/mtrace.c: Likewise.
14520 * misc/error.c: Likewise.
14521 * misc/syslog.c: Likewise.
14522 * stdio-common/asprintf.c: Likewise.
14523 * stdio-common/fxprintf.c: Likewise.
14524 * stdio-common/getw.c: Likewise.
14525 * stdio-common/isoc99_fscanf.c: Likewise.
14526 * stdio-common/isoc99_scanf.c: Likewise.
14527 * stdio-common/isoc99_vfscanf.c: Likewise.
14528 * stdio-common/isoc99_vscanf.c: Likewise.
14529 * stdio-common/isoc99_vsscanf.c: Likewise.
14530 * stdio-common/printf-prs.c: Likewise.
14531 * stdio-common/printf_fp.c: Likewise.
14532 * stdio-common/printf_fphex.c: Likewise.
14533 * stdio-common/printf_size.c: Likewise.
14534 * stdio-common/putw.c: Likewise.
14535 * stdio-common/scanf.c: Likewise.
14536 * stdio-common/sprintf.c: Likewise.
14537 * stdio-common/tmpfile.c: Likewise.
14538 * stdio-common/vfprintf.c: Likewise.
14539 * stdio-common/vfscanf.c: Likewise.
14540 * stdlib/strfmon_l.c: Likewise.
14541 * sunrpc/openchild.c: Likewise.
14542 * sunrpc/xdr_stdio.c: Likewise.
14543 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14544 * sysdeps/mach/hurd/tmpfile.c: Likewise.
14545
d6c33fda
RM
145462012-05-24 Roland McGrath <roland@hack.frob.com>
14547
c1487492
RM
14548 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14549
14550 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
14551 in the third column, to generate for the shared library an IFUNC
14552 that uses _dl_vdso_vsym.
14553 * Makerules (COMPILE.c, compile-stdin.c): New variables.
14554 * Makeconfig (object-suffixes-noshared): New variable.
14555
14556 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
14557 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
14558 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14559 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
14560
d6c33fda
RM
14561 [BZ #14132]
14562 * include/sys/time.h (__gettimeofday): Remove macro.
14563 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
14564 * time/gettimeofday.c (__gettimeofday): Remove #undef.
14565 Remove INTDEF.
14566 (__gettimeofday): Add libc_hidden_def.
14567 (gettimeofday): Add libc_hidden_weak.
14568 * sysdeps/mach/gettimeofday.c: Likewise.
14569 * sysdeps/posix/gettimeofday.c: Likewise.
14570 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14571 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
14573 (__gettimeofday_internal): Remove strong_alias.
14574 (__gettimeofday): Add libc_hidden_def.
14575 (gettimeofday): Add libc_hidden_weak.
14576 * sysdeps/unix/syscalls.list (gettimeofday):
14577 Remove __gettimeofday_internal alias.
14578
b5a2bbe6
L
145792012-05-24 Daniel Jacobowitz <drow@false.org>
14580 H.J. Lu <hongjiu.lu@intel.com>
14581
14582 [BZ #12495]
14583 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
14584 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
14585 (largebin_index_32_big): New.
14586 (largebin_index): Use it for 16-byte alignment.
14587 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
14588 correction with front_misalign.
14589
cfba4fda
L
145902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14591
7f907421
L
14592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
14593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14594 Likewise.
14595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
14596 Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14598 Likewise.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
14600 Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
14602 Likewise.
14603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
14604 Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
14606 Likewise.
14607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14608 Likewise.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
14610 Likewise.
14611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
14612 Likewise.
14613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14614 Likewise.
14615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
14616 Likewise.
14617
cfba4fda
L
14618 * scripts/data/c++-types-x32-linux-gnu.data: New file.
14619 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
14620
80bad0cc
JM
146212012-05-24 Joseph Myers <joseph@codesourcery.com>
14622
7a25eb06
JM
14623 [BZ #10846]
14624 [BZ #14036]
14625 * math/libm-test.inc (exp_test): Add test from bug 14036.
14626 (pow_test): Add test from bug 10846.
14627
795405f9
JM
14628 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
14629 and other flags.
14630 (special_function): Do not include flags in test name.
14631 (parse_args): Likewise.
14632 * sysdeps/i386/fpu/libm-test-ulps: Update.
14633 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14634 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14635 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14637
80bad0cc
JM
14638 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14639 exceptions.
14640 * math/libm-test.inc ("Philosophy"): Update comment about
14641 exception testing.
14642 (UNDERFLOW_EXCEPTION): New macro.
14643 (UNDERFLOW_EXCEPTION_OK): Likewise.
14644 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14645 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14646 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14647 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14648 (INVALID_EXCEPTION_OK): Update value.
14649 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14650 (OVERFLOW_EXCEPTION_OK): Likewise.
14651 (IGNORE_ZERO_INF_SIGN): Likewise.
14652 (test_exceptions): Handle underflow exceptions.
14653 (acos_test): Update for underflow exception expectations.
14654 (cexp_test): Likewise.
14655 (clog_test): Likewise.
14656 (clog10_test): Likewise.
14657 (csqrt_test): Likewise.
14658 (ctan_test): Likewise.
14659 (ctanh_test): Likewise.
14660 (exp_test): Likewise.
14661 (exp10_test): Likewise.
14662 (exp2_test): Likewise.
14663 (expm1_test): Likewise.
14664 (fma_test): Likewise.
14665 (j0_test): Likewise.
14666 (jn_test): Likewise.
14667 (nexttoward_test): Likewise.
14668 (pow_test): Likewise.
14669 (scalbn_test): Likewise.
14670 (scalbln_test): Likewise.
14671 (tan_test): Likewise.
14672 (y1_test): Likewise.
14673 * sysdeps/i386/fpu/libm-test-ulps: Update.
14674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14675
9e0e3d0b
DM
146762012-05-23 David S. Miller <davem@davemloft.net>
14677
14678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14679 (__libc_sigaction): Remove unused local variables.
14680
ccd0a08f
L
146812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14682
14683 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14684
62bdf9a6
PE
146852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14686
f8591f80
PE
14687 mktime: avoid signed integer overflow
14688 * time/mktime.c (__mktime_internal): Do not mishandle the case
14689 where diff == INT_MIN.
14690
94c7d826
PE
14691 mktime: simplify computation of average
14692 * time/mktime.c (ranged_convert): Use new time_t_avg function
14693 instead of rolling our own (probably-slower) code.
14694
ce73d683
PE
14695 mktime: do not assume signed right shift propagates sign bit
14696 * time/mktime.c (isdst_differ): New static function.
14697 (__mktime_internal): No need to normalize tm_isdst now.
14698 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14699 tm_isdst values.
14700
72a22e59
PE
14701 mktime: merge another wrapv change from gnulib
14702 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14703 from some compilers.
14704
68605433
PE
14705 mktime: remove incorrect attempt at unusual arithmetics
14706 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14707 The code didn't really work on such machines anyway.
14708 (TYPE_MINIMUM): Assume two's complement.
14709 (twos_complement_arithmetic): Verify that long_int and time_t
14710 are two's complement (or unsigned, in the latter case).
14711
03cf7fe3
PE
14712 mktime: check signed shifts on long_int and time_t, too
14713 * time/mktime.c (SHR): Check that shifts work as desired
14714 on the types long_int and time_t too, as SHR is used on
14715 such types.
14716
f04dfbc2
PE
14717 mktime: do not assume 'long' is wide enough
14718 * time/mktime.c (verify): Move decl up.
14719 (long_int): New type.
14720 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14721 to remove assumption in the code that 'long' is wide enough to
14722 store year values. This assumption is not true on x32 and on
14723 some non-glibc platforms.
14724
62bdf9a6
PE
14725 mktime: merge wrapv change from gnulib
14726 * time/mktime.c (WRAPV): New macro.
14727 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14728 (guess_time_tm, __mktime_internal): Do not assume that signed
14729 integer overflow wraps around; modern compilers generate code
14730 where this assumption is no longer valid.
14731
5e292e4f
L
147322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14733
14734 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14735 Replace "jmp L(pseudo_end)" with "ret".
14736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14737 Likewise.
14738
8caf8c87
AJ
147392012-05-23 Andreas Jaeger <aj@suse.de>
14740
14741 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14742 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14743
1a09dc56
AJ
147442012-05-23 Andreas Jaeger <aj@suse.de>
14745 Maximilian Attems <max@stro.at>
14746
14747 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14748 New macros.
14749
1c87aba0
L
147502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14751
14752 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14753 code so that pseudo_end is just ret and the stack pointer is
14754 correct also for static library in error case.
14755
40e45bd5
JM
147562012-05-23 Joseph Myers <joseph@codesourcery.com>
14757
c2670533
JM
14758 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14759 move to syscalls.list.
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14764
40e45bd5
JM
14765 * manual/install.texi (Running make install): Do not mention Linux
14766 kernel version for which pt_chown is not needed.
14767 (Linux): Do not mention problems with nscd with 2.0 kernels.
14768 * INSTALL: Regenerated.
14769
be08eda5
AJ
147702012-05-23 Andreas Jaeger <aj@suse.de>
14771
14772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14773 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14774 macro.
14775 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14776 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14777 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14778 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14779 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14780 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14782 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14784 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14785 * sysdeps/unix/sysv/linux/bits/in.h
14786 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14787
a6a056bb
RM
147882012-05-22 Roland McGrath <roland@hack.frob.com>
14789
14790 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14791 (PREPARE_VERSION): Just use assert instead, it will be elided
14792 under [NDEBUG] anyway.
14793
c9009328
L
147942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/unix/sysv/linux/Makefile: Include
14797 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14798 (sysdep_routines): Remove sysctl.
c9009328
L
14799 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14800 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14801 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14802 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14803 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14804
73338355
AJ
148052012-05-22 Andreas Jaeger <aj@suse.de>
14806
14807 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14808 that pseudo_end is just ret and the stack pointer is correct also
14809 for static library in error case.
14810
d44638b0
PP
148112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14812
14813 [BZ #14122]
14814 * nss/nsswitch.c (defconfig_entries): New variable.
14815 (__nss_database_lookup): Don't leak defconfig entries.
14816 (nss_parse_service_list): Don't leak on error paths.
14817 (free_database_entries): New function.
14818 (free_defconfig): New function.
14819 (free_mem): Move common code to free_database_entries.
14820
31a39bd8
L
148212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14822
da0331a8
L
14823 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14824 Add arch_prctl.
14825 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14826
31a39bd8
L
14827 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14828 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14830 New macro.
14831 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14832 (INTERNAL_SYSCALL_TYPES): Likewise.
14833 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14834 (LOAD_REGS_TYPES_[1-6]): Likewise.
14835 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14836 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14837
45470df3
AZ
148382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14839
14840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14841 copysignl for GLIBC_2_0.
14842 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14843 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14845 logbl for GLIBC_2_0.
14846 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14848
98a61bcb
L
148492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14850
a4f6e481
L
14851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14853
f63d5db6
L
14854 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14855 Use "neg %eax".
14856
98a61bcb
L
14857 * time/mktime.c: Update copyright years.
14858
95770f14
PE
148592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14860
6226efbd
PE
14861 mktime: merge comment-quoting-style change from gnulib
14862 * time/mktime.c: Quote 'like this' in comments.
14863 The GNU coding standards suggest that we no longer quote `like this',
14864 as "`" and "'" are typically rendered asymmetrically nowadays.
14865 The typical gnulib style is to quote 'like this' when quoting
14866 code, and "like this" when quoting English.
14867
b99e4f78
PE
14868 * time/mktime.c (compile-command): Add "-I.".
14869
643e01e6
PE
14870 mktime: merge mktime-internal.h change from gnulib
14871 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14872
2554247d
PE
14873 mktime: merge time_r change from gnulib
14874 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14875
826dd0ab
PE
14876 mktime: merge DEBUG change from gnulib
14877 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14878 case system <time.h> has a #define.
14879
bd83aabe
PE
14880 mktime: merge <sys/types.h> change from gnulib
14881 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14882 since <time.t> is now guaranteed to define time_t.
14883
95770f14
PE
14884 mktime: merge HAVE_CONFIG_H change from gnulib
14885 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14886
5e1a27a9
L
148872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14888
0e44a77e
L
14889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14890 Use "neg %eax".
14891
5e1a27a9
L
14892 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14893 __rlim_t cast.
14894 (struct rusage): Use anonymous union to pad each field to
14895 __syscall_slong_t.
14896
46259bec
DM
148972012-05-21 David S. Miller <davem@davemloft.net>
14898
14899 * Makefules (o-iterator): Remove .s cases.
14900 (compile-command.s): Delete.
14901 (COMPILE.s): Delete.
14902 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14903
59f0c22e
JM
149042012-05-21 Joseph Myers <joseph@codesourcery.com>
14905
14906 * configure.in (libc_cv_predef_stack_protector): Only consider
14907 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14908 * configure: Regenerated.
14909
20c07380
L
149102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14911
bbb3154b
L
14912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14913 New macro. Use R*LP on int and pointer.
14914 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14915 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14916 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14917 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14918
20c07380
L
14919 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14920 [__WORDSIZE_TIME64_COMPAT32] instead of
14921 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14922 (struct utmp): Likewise.
14923 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14924 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14925 Renamed to ...
14926 (__WORDSIZE_TIME64_COMPAT32): This.
14927 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14928 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14929 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14930 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14931 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14932 (__WORDSIZE_TIME64_COMPAT32): New macro.
14933
d8d1017e
AJ
149342012-05-21 Andreas Jaeger <aj@suse.de>
14935
14936 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14937 only if [SHARED]. Add prototype for __wcschr_ia32.
14938
6c7fb145
RM
149392012-05-21 Roland McGrath <roland@hack.frob.com>
14940
14941 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14942 of %rbp unmolested in the jmp_buf while mangling the low bits.
14943 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14944 unmolested high bits of %rbp while demangling the low bits.
14945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14946
66274218
AJ
149472012-05-21 Andreas Jaeger <aj@suse.de>
14948
07c58f8f
AJ
14949 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14950 * sunrpc/svc_simple.c: Use it for registerrpc.
14951 * sunrpc/xcrypt.c: Use it for passwd2des.
14952
66274218
AJ
14953 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14954
61f65140
L
149552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14956
14957 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14958 Don't define if [__SYSCALL_WORDSIZE != 32].
14959 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14960 New macro.
14961
5fefb436
AJ
149622012-05-21 Bruno Haible <bruno@clisp.org>
14963 Andreas Jaeger <aj@suse.de>
14964
14965 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14966 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14967 inptr and inend for must_buffer_ch.
14968 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14969 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14970 * stdio-common/Makefile (tests): Remove bug15.
14971 (bug15-ENV): Remove macro.
14972 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14973 anymore.
14974
d8e272ab
AJ
149752012-05-19 Andreas Jaeger <aj@suse.de>
14976 Roland McGrath <roland@hack.frob.com>
14977
14978 * manual/contrib.texi: Completely rewritten. It contains now an
14979 alphabetical list of contributors and their contributions.
14980
4a56a162
RH
149812012-05-21 Richard Henderson <rth@twiddle.net>
14982
14983 * misc/getauxval.c (__getauxval): Use unsigned long int.
14984 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14985 (getauxval): Use unsigned long int.
14986
d024d23c
L
149872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14988
14989 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14990
cbc00a03
RM
149912012-05-21 Roland McGrath <roland@hack.frob.com>
14992
14993 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14994 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14995 __alignof__ (long double).
14996
478143fa
AZ
149972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14998
14999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15000
c7683a6d
RH
150012012-05-20 Richard Henderson <rth@twiddle.net>
15002
15003 * misc/getauxval.c: New file.
15004 * misc/sys/auxv.h: New file.
15005 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15006 (routines): Add getauxval.
15007 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15008 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15009 * elf/dl-sysdep.c (_dl_auxv): Remove.
15010 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15011 * elf/dl-support.c (_dl_auxv): New variable.
15012 (_dl_aux_init): Initialize it.
15013 * manual/startup.texi (Auxiliary Vector): New node.
15014 * sysdeps/generic/bits/hwcap.h: New file.
15015 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15016 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15017 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15018 * sysdeps/sparc/sysdep.h: ... here. Include it.
15019 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15022 Update.
c7683a6d
RH
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15031
a6f1845d
AZ
150322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15033
15034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15035
cbcbe830
DM
150362012-05-19 David S. Miller <davem@davemloft.net>
15037
15038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15039
e0b16cc2
JM
150402012-05-19 Joseph Myers <joseph@codesourcery.com>
15041
15042 [BZ #14123]
15043 * math/s_ccosh.c: Include <float.h>
15044 (__ccosh): Avoid internal overflow calculating sinh and cosh
15045 values before multiplying by sin and cos values.
15046 * math/s_ccoshf.c: Likewise.
15047 * math/s_ccoshl.c: Likewise.
15048 * math/s_csin.c: Likewise.
15049 * math/s_csinf.c: Likewise.
15050 * math/s_csinl.c: Likewise.
15051 * math/s_csinh.c: Likewise.
15052 * math/s_csinhf.c: Likewise.
15053 * math/s_csinhl.c: Likewise.
15054 * math/libm-test.inc (ccos_test): Add more tests.
15055 (ccosh_test): Likewise.
15056 (csin_test): Likewise.
15057 (csinh_test): Likewise.
15058 * sysdeps/i386/fpu/libm-test-ulps: Update.
15059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15060
6ad13e08
L
150612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15062
f66f0ce8
L
15063 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15064 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15065
6ad13e08
L
15066 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15067
b1d072a7
JM
150682012-05-19 Joseph Myers <joseph@codesourcery.com>
15069
15070 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15071 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15072 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15073 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15074 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15075 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15076 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15077 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15078 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15079 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15080 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15081 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15082 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15083 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15084 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15085 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15086 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15087 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15088 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15089 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15090 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15091 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15092 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15093 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15094 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15095 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15096 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15097 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15098 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15099 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15100 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15101
9eae47cb
AJ
151022012-05-18 Andreas Jaeger <aj@suse.de>
15103
15104 * csu/.gitignore: Delete.
15105
bb07f69f
L
151062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15107
15108 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15109 (timex): Use __syscall_slong_t.
15110
e6bdb741
AJ
151112012-05-18 Andreas Jaeger <aj@suse.de>
15112 Carlos O'Donell <carlos_odonell@mentor.com>
15113
15114 * manual/install.texi (Configuring and compiling): Update
15115 description about files modified in the source directory.
d6c33fda 15116 * INSTALL: Regenerated.
e6bdb741 15117
1b74487e
L
151182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15119
15120 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15121 value. Use "or" to set return value to -1.
15122 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15123 negate return value.
15124
a88b64b9
TMQMF
151252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15126
15127 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15128 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15129 failure if the compiler has Graphite support disabled.
15130 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15131 Likewise.
15132 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15133 CFLAGS-memmove.c): Likewise.
15134 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15135 Likewise.
15136
3707636e
L
151372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15138
610b8622
L
15139 * sysdeps/x86_64/x32/_itoa.h: New file.
15140
7cd195df
L
15141 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15142 getdents system call only if kernel and user dirents have the
15143 same d_ino and d_off.
15144
94b07d20
L
15145 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15146 LLONG_MAX != LONG_MAX.
15147 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15148 (_fitoa_word): Likewise.
15149
18298070
L
15150 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15151 years.
15152 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15153 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15154 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15155
553c7ea4
L
15156 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15157 include <bits/wordsize.h>. Check __x86_64__ instead of
15158 __WORDSIZE.
15159 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15160 if __x86_64__ is defined. Use anonymous union on fpstate.
15161
3707636e
L
15162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15163 anonymous union.
15164
b53ef01a
AS
151652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15166
37fb1dc0
AS
15167 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15168 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15169 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15170 Refer to _rtld_local_ro instead of _rtld_global_ro.
15171 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15172 Likewise.
15173 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15174 Likewise.
15175 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15176 Likewise.
15177 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15178 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15179 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15180
b53ef01a
AS
15181 * sysdeps/powerpc/powerpc32/dl-machine.c
15182 (__elf_machine_runtime_setup) [PROF]: Don't reference
15183 _dl_prof_resolve.
15184
7a185db2
AJ
151852012-05-18 Andreas Jaeger <aj@suse.de>
15186
15187 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15188 function only available for GCCs before 3.4 since GCC 3.4
15189 introduced a builtin.
15190 (lrint): Likewise.
15191 (llrintf): Likewise.
15192 (llrint): Likewise.
15193 (fmaxf): Likewise.
15194 (fmax): Likewise.
15195 (fminf): Likewise.
15196 (fmin): Likewise.
15197 (rint): Likewise.
15198 (rintf): Likewise.
15199 (nearbyint): Likewise.
15200 (nearbyintf): Likewise.
15201 (ceil): Likewise.
15202 (ceilf): Likewise.
15203 (floor): Likewise.
15204 (floorf): Likewise.
15205
3e5aef87
L
152062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15207
428bd707
L
15208 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15209 on both fields and cast pointer to __syscall_ulong_t.
15210
3e5aef87
L
15211 * bits/types.h (__fsword_t): New type.
15212 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15213 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15214 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15215 (__FSWORD_T_TYPE): Likewise.
15216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15217 (__FSWORD_T_TYPE): Likewise.
15218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15219 (__FSWORD_T_TYPE): Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15221 (__FSWORD_T_TYPE): Likewise.
15222 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15223 __SWORD_TYPE with __fsword_t.
15224 (statfs64): Likewise.
15225
1ba7c3dc
DM
152262012-05-17 David S. Miller <davem@davemloft.net>
15227
15228 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15229
59910343
AJ
152302012-05-17 Andreas Jaeger <aj@suse.de>
15231
15232 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15233 warning.
15234
2e4c1e9e
L
152352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15236
15237 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15238
de7f5ce7
AJ
152392012-05-17 Andreas Jaeger <aj@suse.de>
15240
15241 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15242 when it is used.
15243
286abc3d
CM
152442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15245
15246 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15247
477cc68e
L
152482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15251 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15252
1a0994f5
CD
152532012-05-17 Andreas Jaeger <aj@suse.de>
15254 Carlos O'Donell <carlos_odonell@mentor.com>
15255
15256 [BZ #14059]
15257 * sysdeps/x86_64/multiarch/init-arch.h
15258 (bit_YMM_Usable): Rename to...
15259 (bit_AVX_Usable): ... this.
15260 (bit_FMA4_Usable): New macro.
15261 (bit_XMM_state): New macro.
15262 (bit_YMM_state): New macro.
15263 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15264 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15265 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15266 (CPUID_OSXSAVE): New macro.
15267 (CPUID_AVX): New macro.
15268 (CPUID_FMA4): New macro.
15269 (index_YMM_Usable): Rename to...
15270 (index_AVX_Usable): ... this.
15271 (HAS_AVX): Use HAS_ARCH_FEATURE.
15272 (HAS_FMA4): Likewise.
15273 (HAS_YMM_USABLE): Remove.
15274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15275 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15276 are present.
15277 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15278 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15279 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15280 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15281 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15282
0af797de
CM
152832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15284
15285 * math/libm-test.c: Support platforms without multiple rounding modes.
15286 * math/bug-nextafter.c: Support platforms without FP exceptions.
15287 * math/bug-nexttoward.c: Likewise.
15288 * math/test-fenv.c: Likewise.
15289 * math/test-misc.c: Likewise.
15290 * stdlib/bug-getcontext.c: Likewise.
15291
e39745ff
AJ
152922012-05-17 Andreas Jaeger <aj@suse.de>
15293
15294 * manual/examples/search.c (critter_cmp): Change signature to
15295 avoid warnings.
15296 * manual/string.texi (Collation Functions): Likewise.
15297
48970aba
L
152982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15299
15300 * bits/types.h: Fold copyright years.
15301 * bits/typesizes.h: Likewise.
15302 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15306 * time/time.h: Likewise.
15307
bedee953
PP
153082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15309
15310 [BZ #208]
15311 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15312 in instead of returning them. Return void.
15313 (__libc_mallinfo): Accumulate over all arenas.
15314 (__malloc_stats): Adjust for change in int_mallinfo interface.
15315
61653dfb
RM
153162012-05-16 Roland McGrath <roland@hack.frob.com>
15317
30b99d79
RM
15318 [BZ #10375]
15319 * configure.in (NM): Add AC_CHECK_TOOL for it.
15320 (libc_extra_cflags): New substituted variable.
15321 Check for -fstack-protector being used implicitly.
15322 * configure: Regenerated.
15323 * config.make.in (config-extra-cflags): New variable,
15324 gets @libc_extra_cflags@.
15325 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15326
61653dfb
RM
15327 [BZ #10375]
15328 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15329 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15330 * configure: Regenerated.
15331 * config.make.in (CPPUNDEFS): New substituted variable.
15332 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15333 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15334 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15335
661768bb
L
153362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15337
15338 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15339 (mq_attr): Use __syscall_slong_t.
15340
d4261567
L
153412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15342
15343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15344 Check __x86_64__ instead of __WORDSIZE.
15345 (_STAT_VER_LINUX): Likewise.
15346 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15347 __syscall_ulong_t and __syscall_slong_t.
15348 (stat64): Likewise.
15349
cf3ff365
L
153502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15351
15352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15353
76cf3e4d
L
153542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15355
15356 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15357
a637753a
L
153582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15359
15360 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15361 __syscall_ulong_t.
15362
d5e05119
L
15363 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15364 include <bits/wordsize.h>. Check __x86_64__ instead of
15365 __WORDSIZE.
15366 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15367 defined.
15368 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15369
f62ee380
L
15370 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15371 include <bits/wordsize.h>. Check __x86_64__ instead of
15372 __WORDSIZE.
15373 (user_regs_struct): Use "__extension__ unsigned long long"
15374 instead of "unsigned long" if __x86_64__ is defined.
15375 (user): Likewise. Pad after pointer field if __ILP32__ is
15376 defined.
15377
4e124ced
JM
153782012-05-16 Joseph Myers <joseph@codesourcery.com>
15379
6a3951a0
JM
15380 * configure.in (makeinfo): Require version 4.5 or later. Allow
15381 versions 5 to 9.
15382 * configure: Regenerated.
15383 * manual/install.texi (texinfo): Increase version requirement to
15384 4.5 or later.
15385 * INSTALL: Regenerated.
15386
4e124ced
JM
15387 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15388
953ca31a
L
153892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15390
15391 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15392
617aca05
L
15393 * sysdeps/x86_64/x32/ffs.c: New file.
15394
5762f7ae
L
15395 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15396 __syscall_ulong_t.
15397 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15398 defined. Use __syscall_ulong_t.
15399 (shminfo): Use __syscall_ulong_t.
15400 (shm_info): Likewise.
15401
a26b6856
L
15402 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15403 __syscall_ulong_t.
15404
cb2b9ef7
L
15405 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15406 <bits/wordsize.h>.
15407 (msgqnum_t): Use __syscall_ulong_t.
15408 (msglen_t): Likewise.
15409 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15410 __syscall_ulong_t.
15411
34683bb0
L
15412 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15413 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15414
84a68786
L
15415 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15416
48baa5f1
L
15417 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15418 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15419
180be88b
L
15420 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15421 __syscall_slong_t.
15422
5e90c8ad
L
15423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15424 include <bits/wordsize.h>. Check __x86_64__ instead of
15425 __WORDSIZE.
15426
23dfb58b
L
15427 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
15428 "unsigned long long int" if __x86_64__ is defined.
15429 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
15430
ce5d54b0
L
15431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
15432 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15433 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
15434
13dc9eac
L
15435 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
15436 <stdint.h>.
15437 (GET_PC): Cast to uintptr_t first.
15438 (GET_FRAME): Likewise.
15439 (GET_STACK): Likewise.
15440
a7895d15
L
15441 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
15442 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
15443 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
15444 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
15445 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
15446 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
15447 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
15448 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
15449 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
15451 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
15452 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
15463 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
15464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
15465 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
15466 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
15467 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
15469 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
15470
656416c9
AS
154712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
15472
5bd66283
AS
15473 * Makerules (+depfiles): Also collect depfiles from .oS in
15474 $(extra-objs).
15475 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
15476 .oS, $(libnldbl-routines)).
15477
656416c9
AS
15478 * Makerules (native-compile-mkdep-flags): Define.
15479 * sunrpc/Makefile (extra-objs): Add $(addprefix
15480 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
15481 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
15482 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
15483 calling $(make-target-directory).
15484
a46f2169
L
154852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15486
15487 * bits/types.h (__snseconds_t): Removed.
15488 * time/time.h (struct timespec): Replace __snseconds_t with
15489 __syscall_slong_t.
15490 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
15491 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
15492 Likewise.
15493 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15494 (__SNSECONDS_T_TYPE): Likewise.
15495 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15496 (__SNSECONDS_T_TYPE): Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15498 (__SNSECONDS_T_TYPE): Likewise.
15499
6af6528b
L
155002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15501
15502 * sysdeps/mach/hurd/bits/typesizes.h
15503 (__SYSCALL_SLONG_TYPE): New macro.
15504 (__SYSCALL_ULONG_TYPE): Likewise.
15505
de986b56
L
155062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15507
15508 * bits/types.h (__syscall_slong_t): New type.
15509 (__syscall_ulong_t): Likewise.
15510
15511 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
15512 (__SYSCALL_ULONG_TYPE): Likewise.
15513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15514 (__SYSCALL_SLONG_TYPE): Likewise.
15515 (__SYSCALL_ULONG_TYPE): Likewise.
15516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15517 (__SYSCALL_SLONG_TYPE): Likewise.
15518 (__SYSCALL_ULONG_TYPE): Likewise.
15519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15520 (__SYSCALL_SLONG_TYPE): Likewise.
15521 (__SYSCALL_ULONG_TYPE): Likewise.
15522
85736dc7
L
155232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15524
15525 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
15526 Add sigaltstack-offsets.sym.
15527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15528 <sigaltstack-offsets.h>.
15529 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
15530 longjmp_msg pointer.
15531 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
15532 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
15533 signal stack.
15534 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
15535
cc03b296
JM
155362012-05-15 Joseph Myers <joseph@codesourcery.com>
15537
a9538892
JM
15538 * elf/stackguard-macros.h: Remove file.
15539 * sysdeps/generic/stackguard-macros.h: New file.
15540 * sysdeps/i386/stackguard-macros.h: Likewise.
15541 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15542 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15543 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15544 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15545 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15546 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15547 * sysdeps/x86_64/stackguard-macros.h: Likewise.
15548 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
15549 <elf/stackguard-macros.h>.
15550
cc03b296
JM
15551 [BZ #14109]
15552 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
15553 __aligned__ in attribute.
15554 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
15555 (gregset_t): Likewise.
15556
93171016
L
155572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15558
15559 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
15560 * sysdeps/x86_64/64/Implies-after: Here. New file.
15561 * sysdeps/x86_64/x32/Implies-after: New file.
15562
d86813a0
L
155632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15564
15565 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
15566 and access return value for _dl_profile_fixup. Use R10_LP to
15567 load frame size.
15568
2953ec75
L
155692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15570
15571 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
15572
3b550e9e
L
155732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15574
15575 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
15576 * sysdeps/x86_64/x32/sysdep.h: New file.
15577
eda41706
L
155782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15579
15580 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
15581 * sysdeps/x86_64/setjmp.S: Likewise.
15582
9ea01d93
AZ
155832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15584
15585 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
15586 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
15587 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
15588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
15589 remove unused global constant.
15590
02a91938
CM
155912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
15592
15593 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
15594 include of <not-cancel.h>.
15595
6540185f
RM
155962012-05-15 Roland McGrath <roland@hack.frob.com>
15597
15598 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
15599
509072a0
AJ
156002012-05-15 Jeff Law <law@redhat.com>
15601 Andreas Jaeger <aj@suse.de>
15602
15603 [BZ #13594]
15604 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15605 out from...
15606 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
15607 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
15608 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
15609 code changing __hst_map_handle.map.
15610
ba75122d
RM
156112012-05-15 Roland McGrath <roland@hack.frob.com>
15612
15613 * configure.in (sysnames): Look for Implies-before and Implies-after
15614 files.
15615 * configure: Regenerated.
15616
890d8bd8
L
156172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15618
15619 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
15620 8-byte data alignment with LP_SIZE alignment.
15621
f6ee6623
L
156222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15623
15624 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15625 into R10_LP.
15626
ea2626f6
L
156272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15628
15629 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
15630
085f715e
L
156312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15632
15633 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15634 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15635 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15636 Likewise.
15637 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15638
be8498fc
L
156392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15642 (stackinfo_sub_sp): Likewise.
15643
70bc83b9
L
156442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15645
15646 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15647 RAX_LP.
15648
9bc0b730
L
156492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15650
15651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15652 into R*_LP.
15653
6d2850e7
L
156542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15655
15656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15657 sizes into R*_LP.
15658
3cb84561
L
156592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15660
15661 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15662
54e2ed81
L
156632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15664
15665 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15666 into R11_LP and load __x86_64_shared_cache_size_half into
15667 R8_LP.
15668
8a17f349
L
156692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15670
15671 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15672 R8_LP.
15673
777b1eea
AZ
156742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15675
15676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15677 logb for POWER7.
15678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15679 logbf for POWER7.
15680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15681 logbl for POWER7.
15682 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15683 powerpc32/power7/fpu/s_logb.c via #include.
15684 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15685 powerpc32/power7/fpu/s_logbf.c via #include.
15686 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15687 powerpc32/power7/fpu/s_logbl.c via #include.
15688
d20d4ac2
JM
156892012-05-15 Joseph Myers <joseph@codesourcery.com>
15690
15691 * README.libm: Remove file.
15692
6cdef1ab
L
156932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15694
15695 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15696 count for x32. Use R*_LP and omit operand-size suffix.
15697
0b254d8f
L
156982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15701 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15702 * sysdeps/x86_64/x32/shlib-versions: New file.
15703
ceb809dc
RM
157042012-05-14 Roland McGrath <roland@hack.frob.com>
15705
15706 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15707 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15708 Use _dl_fatal_printf instead.
15709
37f1abd4
JM
157102012-05-14 Joseph Myers <joseph@codesourcery.com>
15711
15712 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15713 set if not set by the user. Do not allow for being unset.
15714 * sysdeps/unix/sysv/linux/configure: Regenerated.
15715
11de3a33
L
157162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15717
15718 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15719 the `q' suffix from lea and replace .quad with ASM_ADDR.
15720
e02f153a
L
157212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15722
15723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15724 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15725 instead of $17.
15726 (PTR_DEMANGLE): Likewise.
15727
520ae0fd
L
157282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15729
15730 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15731 (LP_OP): Likewise.
15732 (ASM_ADDR): Likewise.
15733 (RAX_LP): Likewise.
15734 (RBP_LP): Likewise.
15735 (RBX_LP): Likewise.
15736 (RCX_LP): Likewise.
15737 (RDI_LP): Likewise.
15738 (RSI_LP): Likewise.
15739 (RSP_LP): Likewise.
15740 (R8_LP): Likewise.
15741 (R9_LP): Likewise.
15742 (R10_LP): Likewise.
15743 (R10_LP): Likewise.
15744 (R11_LP): Likewise.
15745 (R12_LP): Likewise.
15746 (R13_LP): Likewise.
15747 (R14_LP): Likewise.
15748 (R15_LP): Likewise.
15749
b985be81
L
157502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 * sysdeps/x86_64/x32/dl-machine.h: New file.
15753
6a4888ff
AJ
157542012-05-14 Andreas Jaeger <aj@suse.de>
15755
15756 * manual/Makefile (subdir): Remove export of subdir.
15757 (all): Remove target.
15758 (.PHONY): Remove all from list.
15759 (mkinstalldirs): Remove.
15760 (.PHONY): Remove installdirs from list.
15761 ($(inst_infodir)/libc.info): Use make-target-directory.
15762 (installdirs): Remove.
15763 (subdir_%): Remove.
15764 (glibc-targets): Remove.
15765 (lib): Remove.
15766 (stubs): Remove.
15767 ($(objpfx)stubs ../po/manual.pot): Remove.
15768 ($(objpfx)stamp%): Remove.
15769 (make-target-directory): Remove.
15770 (subdir_install): Remove.
15771 (routines): Remove.
15772 (aux): Remove.
15773 (sources): Remove.
15774 (objects): Remove.
15775 (headers): Remove.
15776
15777 [BZ #13750]
15778 * manual/.gitignore: Remove, it's not needed anymore.
15779 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15780 all files in it.
15781 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15782 directory.
15783 (texis): Renamed to $(objpfx)texis.
15784 (texis-path): New, contains path to generated files.
15785 (chapters.%): Use texis-path for complete path, add extra argument
15786 libc-texinfo.sh.
15787 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15788 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15789 (summary,texi, stamp-summary): Use complete path of
15790 files. Generate files in build dir.
15791 (dir-add.texi): Build in build dir.
15792 (libm-err.texi,stamp-libm-err): Likewise.
15793 (version.texi, stamp-version): Likewise.
15794 (.%c.texi): Likewise.
15795 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15796 (mostlyclean): Remove target.
15797 (realclean): Remove target.
15798 (generated): Add new variable with contents from mostlyclean and
15799 realclean, remove entries duplicated in common-mostlyclean, add
15800 stamp-libm-err and stamp-version.
15801 (generated-dirs): Add libc directory.
15802 ($(inst_infodir)/libc.info): Install files from build dir.
15803
15804 * manual/install.texi (Configuring and compiling): Adjust since
15805 the info files are not part of the tar ball anymore.
15806
7ac77294
AJ
158072012-05-14 Andreas Jaeger <aj@suse.de>
15808
15809 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15810 variable.
15811
ffb7875d
JM
158122012-05-14 Joseph Myers <joseph@codesourcery.com>
15813
15814 [BZ #13717]
15815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15816 to 2.2.0 where earlier.
15817 * sysdeps/unix/sysv/linux/configure: Regenerated.
15818 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15819 Remove conditional code.
15820 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15821 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15822 Remove conditional code.
15823 [!__NR_lchown]: Likewise.
15824 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15825 [__NR_lchown]: Likewise.
15826 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15827 comment referencing __ASSUME_LCHOWN_SYSCALL.
15828 * sysdeps/unix/sysv/linux/i386/sigaction.c
15829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15831 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15832 Remove conditional code.
15833 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15834 (__protocol_available): Remove #if 0 code.
15835 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15836 conditional code.
15837 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15838 * sysdeps/unix/sysv/linux/kernel-features.h
15839 (__ASSUME_GETCWD_SYSCALL): Don't define.
15840 (__ASSUME_REALTIME_SIGNALS): Likewise.
15841 (__ASSUME_PREAD_SYSCALL): Likewise.
15842 (__ASSUME_PWRITE_SYSCALL): Likewise.
15843 (__ASSUME_POLL_SYSCALL): Likewise.
15844 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15845 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15846 non-SPARC.
15847 (__ASSUME_SIOCGIFNAME): Don't define.
15848 (__ASSUME_MSG_NOSIGNAL): Likewise.
15849 (__ASSUME_SENDFILE): Define unconditionally.
15850 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15851 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15852 conditional code.
15853 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15854 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15855 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15856 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15857 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15858 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15859 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15861 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15864 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15867 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15870 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15873 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15876 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15882 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15883 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15884 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15885 Remove conditional code.
15886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15887 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15888 Remove conditional code.
15889 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15890 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15891 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15892 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15893 Remove conditional code.
15894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15895 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15896 Remove conditional code.
15897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15898 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15899 Remove conditional code.
15900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15901 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15902 Remove conditional code.
15903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15904 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15905 Remove conditional code.
15906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15907 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15908 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15909 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15910 * sysdeps/unix/sysv/linux/sigaction.c
15911 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15912 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15913 * sysdeps/unix/sysv/linux/sigpending.c
15914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15916 * sysdeps/unix/sysv/linux/sigprocmask.c
15917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15919 * sysdeps/unix/sysv/linux/sigsuspend.c
15920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15923 (__libc_missing_rt_sigs): Remove.
15924 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15925 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15926 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15927 Remove conditional code.
15928 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15929 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15930 return 1.
15931 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15932 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15934 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15935
1bfb7291
AJ
159362012-05-14 Andreas Jaeger <aj@suse.de>
15937
caae5a81
AJ
15938 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15939 it's not used in glibc.
15940 (__coshm1): Likewise.
15941 (__acosh1p): Likewise.
15942 (__sgn): Likewise.
15943
1bfb7291
AJ
15944 * manual/string.texi (Copying and Concatenation): Add missing
15945 variable in concat example.
15946 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15947
c044d724
L
159482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15949
144c5467 15950 [BZ #14103]
c044d724
L
15951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15952 __builtin_clzl with __builtin_clzll.
15953
2523c62b
L
159542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15955
15956 [BZ #14104]
15957 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15958 libc_freeres_ptr.
15959
d7bb4c42
LD
159602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15961
15962 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15963 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15964 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15965 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15966
9dc4e1fb
MF
159672012-05-14 Mike Frysinger <vapier@gentoo.org>
15968
15969 * NEWS: Update ia64 info.
15970
c7df0112
AS
159712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15972
15973 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15974 used as bcopy.
15975
dc70356c
TS
159762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15977
15978 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15979 * sysdeps/unix/syscalls.list (dup3): Likewise.
15980 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15981 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15982
9fb1a21f
L
159832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15984
15985 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15986 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15987
4822a2a5
L
159882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15989
15990 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15991 thread pointer.
15992 (TLS_IE): Use mov/add instead of movq/addq to load thread
15993 pointer.
15994 (TLS_GD_PREFIX): New.
15995 (TLS_GD): Use it.
15996
842b81d6
DM
159972012-05-11 David S. Miller <davem@davemloft.net>
15998
15999 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16000 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16001 (_FPU_SETCW): Likewise.
16002
1cf463cd
L
160032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16004
16005 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16006 is 32-byte aligned.
16007
60cc4a18
AS
160082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16009
16010 [BZ #11837]
16011 * iconvdata/gb18030.c: Update tables.
16012 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16013 characters specially.
16014 (BODY for TO_LOOP): Add encoding of missing ranges.
16015
febb44a4
TS
160162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16017
16018 [BZ #13673]
16019 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16020 * sysdeps/mach/hurd/dup3.c: Likewise.
16021 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16022 * sysdeps/powerpc/memmove.c:: Likewise.
16023
0a10fb9e
L
160242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16025
16026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16027 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16028
df8a552f
L
160292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16030
16031 * elf/elf.h (R_X86_64_RELATIVE64): New.
16032 (R_X86_64_NUM): Updated.
16033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16034 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16035 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16036 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16037 tst-quad1pie tst-quad2pie
16038 (modules-names): Add tst-quadmod1 tst-quadmod2.
16039 ($(objpfx)tst-quad1): New dependency.
16040 ($(objpfx)tst-quad2): Likewise.
16041 ($(objpfx)tst-quad1pie): Likewise.
16042 ($(objpfx)tst-quad2pie): Likewise.
16043 * sysdeps/x86_64/tst-quad1.c: New file.
16044 * sysdeps/x86_64/tst-quad1pie.c: New file.
16045 * sysdeps/x86_64/tst-quad2.c: Likewise.
16046 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16047 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16048 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16049 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16050 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16051
f34d6f84
ST
160522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16053
f42d41d1
ST
16054 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16055 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16056 * streams/stropts.h (t_scalar_t): Define type.
16057
3c3571fc
ST
16058 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16059 (_PATH_PRESERVE): Set to "/var/lib".
16060 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16061
61f06bd3
ST
16062 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16063 instead of int.
16064
918d4d71
ST
16065 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16066 if __dir_mkfile succeeded.
16067
f34d6f84
ST
16068 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16069 checking for _hurd_dtablesize. Unlock it right after having
16070 finished _hurd_dtable allocation.
16071
10589b4a
TS
160722012-05-10 Thomas Schwinge <thomas@schwinge.name>
16073
674cdbc7
TS
16074 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16075 * sysdeps/mach/hurd/configure: Regenerated.
16076 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16077 special-casing to...
16078 * sysdeps/gnu/configure.in: ... this new file.
16079 * sysdeps/unix/sysv/linux/configure: Regenerated.
16080 * sysdeps/gnu/configure: New generated file.
16081
8e41b99f
TS
16082 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16083 for Linux: use nsec instead of usec, as well as:
16084 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16085 members of type struct timespec.
16086 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16087 New macros.
16088 (struct stat64): Likewise.
16089 (_STATBUF_ST_NSEC): New macro.
16090 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16091
10589b4a
TS
16092 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16093 __strtoul_internal rather than strtoul.
16094
63643c85
PT
160952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16096
16097 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16098 and reject them.
16099
3faebe6a
ST
161002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16101
16102 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16103 which preserves existing values.
16104 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16105
c6474b07
PT
161062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16107
16108 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16109 TIMEOUT values. Return EINVAL for NFDS values either negative or
16110 greater than FD_SETSIZE.
16111
1043890b
ST
161122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16113
16114 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16115 allocated, call __vm_protect to finish enabling the existing space, and
16116 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16117 allocate the remainder.
16118
37ed8b9b
PT
161192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16120
16121 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16122 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16123
db653660
ST
161242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16125
37ed8b9b
PT
16126 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16127 sysdeps/mach/hurd/readlink.c.
b29d4053 16128
db653660
ST
16129 * posix/tst-sysconf.c (posix_options): Only use
16130 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16131 _POSIX_SYNCHRONIZED_IO when they are defined
16132 * sysdeps/mach/hurd/bits/posix_opt.h:
16133 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16134 (_XOPEN_REALTIME): Undefine macro.
16135 (_XOPEN_REALTIME_THREADS): Undefine macro.
16136 (_XOPEN_SHM): Undefine macro.
16137 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16138 macro to -1.
16139 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16140 macro to -1.
16141 (_POSIX_ASYNC_IO): Undefine macro.
16142 (_POSIX_PRIORITIZED_IO): Undefine macro.
16143 (_POSIX_SPIN_LOCKS): Define macro to -1.
16144
ee16e894
ST
16145 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16146 SA_NODEFER, SA_RESETHAND.
16147 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16148 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16149 F_DUPFD_CLOEXEC.
16150
6103ae3b
TS
161512012-05-10 Thomas Schwinge <thomas@schwinge.name>
16152
16153 * elf/Makefile (pldd-modules): Define unconditionally.
16154
80b4e5f3
TS
161552012-05-10 Thomas Schwinge <thomas@schwinge.name>
16156
16157 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16158
edadcbd6
ST
161592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16160
16161 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16162 Return ENOENT when name is empty.
16163 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16164
80694780
TS
161652012-05-10 Thomas Schwinge <thomas@schwinge.name>
16166
1792c087
TS
16167 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16168
80694780
TS
16169 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16170
6b645f0d
ST
161712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16172
80694780
TS
16173 Fix mlock in all cases except non-readable pages.
16174 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16175 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16176
6b645f0d
ST
16177 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16178 (__mkdir): When path is `/', just fail with EEXIST.
16179 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16180
e468f8a3
TS
161812012-05-10 Thomas Schwinge <thomas@schwinge.name>
16182
16183 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16184 <sys/uio.h> (for writev).
16185 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16186 and <sys/param.h> (for MIN).
16187
a4186cff
PT
161882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16189
16190 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16191 REQUESTED_TIME. Properly set the remaining time and return EINTR
16192 if interrupted.
16193
510bbf14
TS
161942012-05-10 Thomas Schwinge <thomas@schwinge.name>
16195
16196 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16197 Depend on against $(link-rpcuserlibs).
16198
5d5722e8
ST
161992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16200
a4186cff
PT
16201 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16202 (__libc_stack_end): Do not use attribute_relro.
16203 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16204 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16205 to libthread-provided value.
a4186cff
PT
16206 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16207 attribute_relro.
5d5722e8 16208
37233df9
TS
162092012-05-10 Thomas Schwinge <thomas@schwinge.name>
16210
be971a2b
TS
16211 [BZ #3748]
16212 * bits/libc-lock.h (__libc_once_get): New macro.
16213 * sysdeps/mach/bits/libc-lock.h: Likewise.
16214 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16216 instead of using implementation details.
16217
37233df9
TS
16218 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16219 * libio/freopen.c: Likewise.
16220 * libio/freopen64.c: Likewise.
16221 * misc/syslog.c: Likewise.
16222 * nscd/connections.c: Likewise.
16223 * nscd/netgroupcache.c: Likewise.
16224 * sysdeps/posix/getcwd.c: Likewise.
16225
38de94a5
RM
162262012-05-10 Roland McGrath <roland@hack.frob.com>
16227
16228 * math/w_ilogbf.c: Add #include <limits.h>.
16229
67530489
ST
162302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16231
a4186cff 16232 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16233 path instead of returning without unlocking.
16234
67530489
ST
16235 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16236 immediate-write ioctls.
16237 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16238
5aa3a74a
TS
162392012-05-10 Thomas Schwinge <thomas@schwinge.name>
16240
18bad2ae
TS
16241 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16242 __builtin_frame_address instead of making assumptions about the
16243 location of the return address relative to DATA. Force early load of
16244 the return address.
16245 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16246 __builtin_frame_address.
16247
5aa3a74a
TS
16248 dup3 for GNU Hurd.
16249 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16250 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16251 implement dup3 and do some further code clean-ups.
16252 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16253 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16254
ecd0de9a
ST
162552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16256
cd9fa985
ST
16257 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16258
a4186cff
PT
16259 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16260 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16261 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16262 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16263 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16264 d->port.lock.
802ca5a5 16265
a4186cff
PT
16266 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16267 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16268 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16269
bcf55240
TS
162702012-05-10 Thomas Schwinge <thomas@schwinge.name>
16271
6960eb42
TS
16272 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16273 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16274 definitions.
16275
eb43375f
TS
16276 accept4 for GNU Hurd.
16277 * include/sys/socket.h (__libc_accept4): New prototype.
16278 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16279 to implement __libc_accept4.
16280 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16281 __libc_accept4.
16282 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16283
bcf55240
TS
16284 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16285 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16286 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16287 signal-defines.sym.
16288
6178c55b
ST
162892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16290
a4186cff 16291 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16292
6f080c2f
TS
162932012-05-10 Thomas Schwinge <thomas@schwinge.name>
16294
16295 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16296 assertion on O_CLOEXEC flag.
16297 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16298 * hurd/intern-fd.c: Likewise.
16299 * hurd/port2fd.c: Likewise.
16300
bcfe3a54
ST
163012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16302
16303 [BZ #3906]
16304 * bits/in.h (IPV6_PKTINFO): Define new macro.
16305 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16306
89c9aa49
AZ
163072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16308
16309 [BZ #13954]
16310 [BZ #13955]
16311 [BZ #13956]
16312 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16313 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16314 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16315 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16317 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16318 * math/libm-test.inc (logb_test) : Additional logb tests.
16319
021db4be
AJ
163202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16321 Andreas Jaeger <aj@suse.de>
16322
16323 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16324 * configure: Regenerated.
16325 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16326 * config.make.in (link-obsolete-rpc): New substituted variable.
16327 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16328 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16329 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16330 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16331 so that libc.a contains the symbols.
16332 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16333 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16334 * sunrpc/auth_none.c: Likewise.
16335 * sunrpc/auth_unix.c: Likewise.
16336 * sunrpc/authdes_prot.c: Likewise.
16337 * sunrpc/authuxprot.c: Likewise.
16338 * sunrpc/clnt_gen.c: Likewise.
16339 * sunrpc/clnt_perr.c: Likewise.
16340 * sunrpc/clnt_raw.c: Likewise.
16341 * sunrpc/clnt_simp.c: Likewise.
16342 * sunrpc/clnt_tcp.c: Likewise.
16343 * sunrpc/clnt_udp.c: Likewise.
16344 * sunrpc/clnt_unix.c: Likewise.
16345 * sunrpc/des_crypt.c: Likewise.
16346 * sunrpc/des_soft.c: Likewise.
16347 * sunrpc/get_myaddr.c: Likewise.
16348 * sunrpc/key_call.c: Likewise.
16349 * sunrpc/key_prot.c: Likewise.
16350 * sunrpc/netname.c: Likewise.
16351 * sunrpc/pm_getmaps.c: Likewise.
16352 * sunrpc/pm_getport.c: Likewise.
16353 * sunrpc/pmap_clnt.c: Likewise.
16354 * sunrpc/pmap_prot.c: Likewise.
16355 * sunrpc/pmap_prot2.c: Likewise.
16356 * sunrpc/pmap_rmt.c: Likewise.
16357 * sunrpc/publickey.c: Likewise.
16358 * sunrpc/rpc_cmsg.c: Likewise.
16359 * sunrpc/rpc_common.c: Likewise.
16360 * sunrpc/rpc_dtable.c: Likewise.
16361 * sunrpc/rpc_prot.c: Likewise.
16362 * sunrpc/rpc_thread.c: Likewise.
16363 * sunrpc/rtime.c: Likewise.
16364 * sunrpc/svc.c: Likewise.
16365 * sunrpc/svc_auth.c: Likewise.
16366 * sunrpc/svc_raw.c: Likewise.
16367 * sunrpc/svc_run.c: Likewise.
16368 * sunrpc/svc_tcp.c: Likewise.
16369 * sunrpc/svc_udp.c: Likewise.
16370 * sunrpc/svc_unix.c: Likewise.
16371 * sunrpc/svcauth_des.c: Likewise.
16372 * sunrpc/xcrypt.c: Likewise.
16373 * sunrpc/xdr.c: Likewise.
16374 * sunrpc/xdr_array.c: Likewise.
16375 * sunrpc/xdr_float.c: Likewise.
16376 * sunrpc/xdr_intXX_t.c: Likewise.
16377 * sunrpc/xdr_mem.c: Likewise.
16378 * sunrpc/xdr_rec.c: Likewise.
16379 * sunrpc/xdr_ref.c: Likewise.
16380 * sunrpc/xdr_sizeof.c: Likewise.
16381 * sunrpc/xdr_stdio.c: Likewise.
16382
b5c086a2
RM
163832012-05-10 Roland McGrath <roland@hack.frob.com>
16384
16385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16386 change. Update copyright years.
16387
6d74dd09
JM
163882012-05-10 Joseph Myers <joseph@codesourcery.com>
16389
16390 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16391
28e72501
MK
163922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16393 Joseph Myers <joseph@codesourcery.com>
16394 Paul Pluzhnikov <ppluzhnikov@google.com>
16395
16396 [BZ #14012]
16397 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16398 requiring rpcgen.
16399 [cross-compiling] (extra-libs): Likewise.
16400 [cross-compiling] (extra-libs-others): Likewise.
16401 [cross-compiling] (librpcsvc-routines): Likewise.
16402 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16403 [cross-compiling] (omit-deps): Likewise.
16404 (sunrpc-CPPFLAGS): New variable.
16405 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16406 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16407 (cross-rpcgen-objs): New variable.
16408 (extra-objs): Append $(cross-rpcgen-objs).
16409 ($(cross-rpcgen-objs)): New rule.
16410 ($(objpfx)cross-rpcgen): Likewise.
16411 (rpcgen-cmd): Define to use $(built-program-file). Expand
16412 comment.
16413 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16414 ($(objpfx)x%.stmp): Likewise.
16415 * sunrpc/proto.h [IS_IN_build] (_): Define.
16416 [IS_IN_build] (_libc_intl_domainname): Likewise.
16417
c8c59454
L
164182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16419
16420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16421 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16422 and R_X86_64_TPOFF64.
16423
6f27cd16
JM
164242012-05-10 Joseph Myers <joseph@codesourcery.com>
16425
16426 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16427 sysdeps/unix/sysv/syscalls.list.
16428 (stime): Likewise.
16429 (utime): Likewise.
16430 * sysdeps/unix/sysv/syscalls.list: Remove file.
16431
02467e1c
PE
164322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
16433
16434 [BZ #3440]
16435 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
16436 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
16437 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
16438 (__LC_IDENTIFICATION): Make these macros useful in #if
16439 expressions, as required by C99.
16440
da392631
AS
164412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
16442
16443 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
16444 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
16445 after this.
16446
8115f29b
L
164472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
16448
16449 * stdlib/longlong.h: Updated from GCC.
16450
bdd74070
AJ
164512012-05-09 Andreas Jaeger <aj@suse.de>
16452
edfe0dbe
AJ
16453 * nscd/nscd.c (run_modes): Make named enum, reorder so that
16454 default is first entry.
16455 (run_mode): Set type.
16456 (main): Remove informal message about syslog.
16457 (options): Fix typo.
16458
bcfe3a54
ST
16459 [BZ #14053]
16460 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 16461 to asm.
bcfe3a54
ST
16462 (lrint): Likewise.
16463 (llrintf): Likewise.
16464 (llrint): Likewise.
16465 (rint): Likewise.
16466 (rintf): Likewise.
16467 (nearbyint): Likewise.
16468 (nearbyintf): Likewise.
bdd74070 16469
91d8d69e
AJ
164702012-05-09 Andreas Jaeger <aj@suse.de>
16471 Pedro Alves <palves@redhat.com>
16472
16473 * nscd/nscd.c (run_mode): Use enum.
16474 (main): Cleanup coding style issue.
16475
bb90b80b
AJ
164762012-05-09 Alexandre Oliva <aoliva@redhat.com>
16477 Andreas Jaeger <aj@suse.de>
16478
bcfe3a54
ST
16479 * nscd/nscd.c (go_background): Replaced with...
16480 (run_mode): ... this.
bb90b80b 16481 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
16482 (options): Add -F --foreground.
16483 (main): Implement it.
16484 (parse_opt): Parse it.
bb90b80b 16485
1a4b75a1
AJ
164862012-05-09 Andreas Jaeger <aj@suse.de>
16487
16488 [BZ #14083]
16489 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
16490 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16491 -Wconversion warning.
16492 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
16493 Likewise.
16494
b1cc2472
JM
164952012-05-09 Joseph Myers <joseph@codesourcery.com>
16496
16497 * conform/data/locale.h-data (NULL): Use macro-constant. Require
16498 == 0.
16499 (LC_ALL): Use macro-int-constant.
16500 (LC_COLLATE): Likewise.
16501 (LC_CTYPE): Likewise.
16502 (LC_MESSAGES): Likewise.
16503 (LC_MONETARY): Likewise.
16504 (LC_NUMERIC): Likewise.
16505 (LC_TIME): Likewise.
16506 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
16507 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16509 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16510 Specify type.
16511 [C99-based standards] (float_t): Expect type.
16512 [C99-based standards] (double_t): Expect type.
16513 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
16514 type.
16515 [C99-based standards] (HUGE_VALL): Likewise.
16516 [C99-based standards] (INFINITY): Likewise.
16517 [C99-based standards] (NAN): Likewise.
16518 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
16519 [C99-based standards] (FP_NAN): Likewise.
16520 [C99-based standards] (FP_NORMAL): Likewise.
16521 [C99-based standards] (FP_SUBNORMAL): Likewise.
16522 [C99-based standards] (FP_ZERO): Likewise.
16523 [C99-based standards] (FP_FAST_FMA): Use
16524 optional-macro-int-constant. Specify type. Require == 1.
16525 [C99-based standards] (FP_FAST_FMAF): Likewise.
16526 [C99-based standards] (FP_FAST_FMAL): Likewise.
16527 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
16528 [C99-based standards] (FP_ILOGBNAN): Likewise.
16529 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
16530 Specify type.
16531 [C99-based standards] (MATH_ERREXCEPT): Likewise.
16532 [C99-based standards] (math_errhandling): Specify type.
16533 [ISO99 || ISO11] (signgam): Do not allow.
16534 [non-C99-based standards] (copysignf): Do not allow.
16535 [non-C99-based standards] (exp2f): Likewise.
16536 [non-C99-based standards] (log2f): Likewise.
16537 [non-C99-based standards] (modff): Allow.
16538 [non-C99-based standards] (erff): Do not allow.
16539 [non-C99-based standards] (erfcf): Likewise.
16540 [non-C99-based standards] (gammaf): Likewise.
16541 [non-C99-based standards] (hypotf): Likewise.
16542 [non-C99-based standards] (j0f): Likewise.
16543 [non-C99-based standards] (j1f): Likewise.
16544 [non-C99-based standards] (jnf): Likewise.
16545 [non-C99-based standards] (lgammaf): Likewise.
16546 [non-C99-based standards] (tgammaf): Likewise.
16547 [non-C99-based standards] (y0f): Likewise.
16548 [non-C99-based standards] (y1f): Likewise.
16549 [non-C99-based standards] (ynf): Likewise.
16550 [non-C99-based standards] (isnanf): Likewise.
16551 [non-C99-based standards] (acoshf): Likewise.
16552 [non-C99-based standards] (asinhf): Likewise.
16553 [non-C99-based standards] (atanhf): Likewise.
16554 [non-C99-based standards] (cbrtf): Likewise.
16555 [non-C99-based standards] (expm1f): Likewise.
16556 [non-C99-based standards] (ilogbf): Likewise.
16557 [non-C99-based standards] (log1pf): Likewise.
16558 [non-C99-based standards] (logbf): Likewise.
16559 [non-C99-based standards] (nextafterf): Likewise.
16560 [non-C99-based standards] (remainderf): Likewise.
16561 [non-C99-based standards] (rintf): Likewise.
16562 [non-C99-based standards] (scalbf): Likewise.
16563 [non-C99-based standards] (copysignl): Likewise.
16564 [non-C99-based standards] (exp2l): Likewise.
16565 [non-C99-based standards] (log2l): Likewise.
16566 [non-C99-based standards] (modfl): Allow.
16567 [non-C99-based standards] (erfl): Do not allow.
16568 [non-C99-based standards] (erfcl): Likewise.
16569 [non-C99-based standards] (gammal): Likewise.
16570 [non-C99-based standards] (hypotl): Likewise.
16571 [non-C99-based standards] (j0l): Likewise.
16572 [non-C99-based standards] (j1l): Likewise.
16573 [non-C99-based standards] (jnl): Likewise.
16574 [non-C99-based standards] (lgammal): Likewise.
16575 [non-C99-based standards] (tgammal): Likewise.
16576 [non-C99-based standards] (y0l): Likewise.
16577 [non-C99-based standards] (y1l): Likewise.
16578 [non-C99-based standards] (ynl): Likewise.
16579 [non-C99-based standards] (isnanl): Likewise.
16580 [non-C99-based standards] (acoshl): Likewise.
16581 [non-C99-based standards] (asinhl): Likewise.
16582 [non-C99-based standards] (atanhl): Likewise.
16583 [non-C99-based standards] (cbrtl): Likewise.
16584 [non-C99-based standards] (expm1l): Likewise.
16585 [non-C99-based standards] (ilogbl): Likewise.
16586 [non-C99-based standards] (log1pl): Likewise.
16587 [non-C99-based standards] (logbl): Likewise.
16588 [non-C99-based standards] (nextafterl): Likewise.
16589 [non-C99-based standards] (remainderl): Likewise.
16590 [non-C99-based standards] (rintl): Likewise.
16591 [non-C99-based standards] (scalbl): Likewise.
16592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16593 [non-C99-based standards] (FP_*): Do not allow.
16594 [C99-based standards] (FP_*): Change to
16595 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
16596 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16597 allow.
16598 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
16599 (SIG_ERR): Likewise.
16600 [X/Open-based standards] (SIG_HOLD): Likewise.
16601 (SIG_IGN): Likewise.
16602 (SIGABRT): Use macro-int-constant. Specify type. Require
16603 positive value.
16604 (SIGFPE): Likewise.
16605 (SIGILL): Likewise.
16606 (SIGINT): Likewise.
16607 (SIGSEGV): Likewise.
16608 (SIGTER): Likewise.
16609 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
16610 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
16611 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
16612 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
16613 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
16614 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
16615 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
16616 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
16617 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
16618 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
16619 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
16620 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
16621 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
16622 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
16623 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
16624 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
16625 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
16626 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
16627 [X/Open-based standards] (SIGTRAP): Likewise.
16628 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
16629 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
16630 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
16631 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16632 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16633 allow.
16634
b9f1922d
IW
166352012-05-08 Ian Wienand <ianw@vmware.com>
16636
16637 [BZ #14080]
16638 * time/tzset.c (__tzset_parse_tz): Update default rules for
16639 daylight time changes in the Energy Policy Act of 2005.
16640
1db86e88
AJ
166412012-05-09 Andreas Jaeger <aj@suse.de>
16642
16643 [BZ #13983]
16644 * elf/ldconfig.c (parse_conf): Change string to make clear that
16645 ldconfig only issued a warning if ld.so.conf does not exist.
16646
dee4a4e3
DM
166472012-05-08 David S. Miller <davem@davemloft.net>
16648
ee0db190
DM
16649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16650 movxtod instead of popping the value on the stack.
16651
dee4a4e3
DM
16652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16653
6a43ec98
CD
166542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16655
16656 * config.h.in: Add HAVE_ARM_PCS_VFP.
16657
05c2c961
RMG
166582012-05-08 Roland Mc Grath <roland@hack.frob.com>
16659
bcfe3a54
ST
16660 [BZ #13979]
16661 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16662 checking but the checks are disabled for any reason.
05c2c961 16663
4b30f61a
L
166642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16665
16666 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16667 and ELF64_R_TYPE with ELFW(R_TYPE).
16668
eee2bc67
JM
166692012-05-08 Joseph Myers <joseph@codesourcery.com>
16670
7ea5391a
JM
16671 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16672 (ulimit): Likewise.
16673
eee2bc67
JM
16674 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16675 (settimeofday): Likewise.
16676
abb66a67
MF
166772012-05-08 Mike Frysinger <vapier@gentoo.org>
16678
16679 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16680 a struct th_u2 inside the union, and move tu_block/tu_code into
16681 a new th_u3 union of tu_block/tu_code inside of that. Move
16682 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16683 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16684 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16685 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16686 (th_stuff): Change to th_u1.tu_stuff.
16687 (th_data): Define.
16688 (th_msg): Change to th_u1.th_u2.tu_data.
16689
7f18b530
DM
166902012-05-07 David S. Miller <davem@davemloft.net>
16691
05760585
DM
16692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16693
7f18b530
DM
16694 [BZ #14074]
16695 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16696 (SETUP_PIC_REG): Use it.
16697 (SETUP_PIC_REG_LEAF): Use it.
16698
495fd99f
JM
166992012-05-07 Joseph Myers <joseph@codesourcery.com>
16700
16701 [BZ #13885]
16702 [BZ #13923]
16703 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16704 USE_AS_EXPM1L.
16705 (EXPL_FINITE): Likewise.
16706 (FLDLOG): Likewise.
16707 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16708 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16709 e_expl.S.
16710 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16711 USE_AS_EXPM1L.
16712 (EXPL_FINITE): Likewise.
16713 (FLDLOG): Likewise.
16714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16715 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16716 e_expl.S.
16717 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16718 test of -max_value argument for long double.
16719 * sysdeps/i386/fpu/libm-test-ulps: Update.
16720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16721
6693d694
DM
167222012-05-06 David S. Miller <davem@davemloft.net>
16723
16724 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16725 quad soft-float symbols whose references which are compiler
16726 generated.
16727 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16728
6c23e11c
JM
167292012-05-06 Joseph Myers <joseph@codesourcery.com>
16730
d8b82cad
JM
16731 [BZ #13884]
16732 [BZ #13914]
16733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16734 USE_AS_EXP10L.
16735 (EXPL_FINITE): Likewise.
16736 (FLDLOG): Likewise.
16737 (c0): Likewise.
16738 (c1): Likewise.
16739 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16740 Adjust comments for base varying.
16741 (__expl_finite): Change alias to EXPL_FINITE.
16742 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16743 e_expl.S.
16744 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16745 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16747 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16748 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16749 USE_AS_EXP10L.
16750 (EXPL_FINITE): Likewise.
16751 (FLDLOG): Likewise.
16752 (c0): Likewise.
16753 (c1): Likewise.
16754 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16755 Adjust comments for base varying.
16756 (__expl_finite): Change alias to EXPL_FINITE.
16757 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16758 tests for bugs.
16759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16760
6c23e11c
JM
16761 [BZ #14064]
16762 * math/libm-test.inc (check_float_internal): Correct ulp
16763 calculation for subnormal expected results.
16764
29ba805c
AJ
167652012-05-06 Andreas Jaeger <aj@suse.de>
16766
16767 * Makeconfig (+math-flags): New, set to -frounding-math.
16768 (+cflags): Add +math-flags so that all of glibc gets compiled with
16769 it.
16770
16771 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16772
7b17aeda
JM
167732012-05-05 Joseph Myers <joseph@codesourcery.com>
16774
5779f134
JM
16775 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16776 Disable one test.
16777
41498f4d
JM
16778 [BZ #13787]
16779 [BZ #13922]
16780 [BZ #14036]
16781 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16782 (__ieee754_expl): Allow for and saturate large arguments.
16783 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16784 (u_threshold): Likewise.
16785 (__exp): Call __ieee754_exp before checking for overflow and
16786 underflow.
16787 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16788 (u_threshold): Likewise.
16789 (__expf): Call __ieee754_expf before checking for overflow and
16790 underflow.
16791 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16792 (u_threshold): Likewise.
16793 (__expl): Call __ieee754_expl before checking for overflow and
16794 underflow.
16795 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16796 (__ieee754_expl): Allow for and saturate large arguments.
16797 * math/libm-test.inc (exp_test): Add another test. Do not allow
16798 missing overflow exception on overflow.
16799 (expm1_test): Do not allow missing overflow exception on overflow.
16800
6698b8bf
JM
16801 * sysdeps/i386/fpu/e_expl.c: Move to ...
16802 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16803 rather than using inline asm.
16804 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16805 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16806 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16807
7b17aeda
JM
16808 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16809 (nice): Likewise.
16810 (poll): Likewise.
16811 (signal): Likewise.
16812 (time): Likewise.
16813 (times): Likewise.
16814
f7c85819
JM
168152012-05-04 Joseph Myers <joseph@codesourcery.com>
16816
16817 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16818 sysdeps/unix/common/syscalls.list.
16819 (fchmod): Likewise.
16820 (fchown): Likewise.
16821 (ftruncate): Likewise.
16822 (getrusage): Likewise.
16823 (gettimeofday): Likewise.
16824 (setpgid): Likewise.
16825 (setregid): Likewise.
16826 (setreuid): Likewise.
16827 (sigaction): Likewise.
16828 (truncate): Likewise.
16829 (vhangup): Likewise.
16830 * sysdeps/unix/common/syscalls.list: Remove file.
16831 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16832 * sysdeps/unix/sysv/linux/Implies: Likewise.
16833
336270d0
L
168342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16835
16836 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16838 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16839 Moved to ...
16840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16841 Here.
16842 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16843 to ...
16844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16845 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16846 to ...
16847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16848 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16849 to ...
16850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16851 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16852 to ...
16853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16854 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16855 to ...
16856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16857 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16858 to ...
16859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16860 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16861 to ...
16862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16863 Here.
16864 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16865 to ...
16866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16867 Here.
16868 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16869 to ...
16870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16871 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16872 Moved to ...
16873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16874 Here.
16875 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16876 to ...
16877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16878
d128e450
JM
168792012-05-04 Joseph Myers <joseph@codesourcery.com>
16880
fa8ee516
JM
16881 * sysdeps/unix/common/bits/dirent.h: Remove file.
16882 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16883
d128e450
JM
16884 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16885 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16886 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16887 * sysdeps/unix/bsd/isatty.c: Likewise.
16888 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16889 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16890 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16891
ff8faaf0 168922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16893
62881be4 16894 [BZ #13563]
31dc8730
AZ
16895 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16896 long double comparison inaccuracies.
16897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16899
6fef930c
AS
169002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16901
16902 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16904
8f203e6c
JM
169052012-05-04 Joseph Myers <joseph@codesourcery.com>
16906
16907 [BZ #14049]
16908 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16909 nonzero digits before rounding a hex value.
16910 * stdlib/tst-strtod.c (tests): Add another test.
16911
5197d9c2
AK
169122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16913
16914 * sysdeps/s390/fpu/libm-test-ulps: Update.
16915
f0c1dedf
AJ
169162012-05-03 Andreas Jaeger <aj@suse.de>
16917
16918 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16919 does not get optimized out.
16920 (malloc_opt_barrier): New.
16921
a65ef2ae 169222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16923 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16924
2b942cb7 16925 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16926 intermediate file deletion.
2b942cb7 16927 (generated): Add .symlist files.
a65ef2ae 16928
54b71e02
JM
169292012-05-03 Joseph Myers <joseph@codesourcery.com>
16930
16931 [BZ #13775]
16932 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16933 Redirect under this condition.
16934 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16935 [__USE_GNU] (__dprintf_chk): Not under this condition.
16936 [__USE_GNU] (__vdprintf_chk): Likewise.
16937 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16938 under this condition.
16939 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16940 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16941 [__USE_XOPEN2K8] (vdprintf): Likewise.
16942 [__USE_GNU] (__dprintf_chk): Not under this condition.
16943 [__USE_GNU] (__vdprintf_chk): Likewise.
16944 [__USE_GNU] (dprintf): Likewise.
16945 [__USE_GNU] (vdprintf): Likewise.
16946
d3dfcc41
RM
169472012-05-03 Roland McGrath <roland@hack.frob.com>
16948
16949 * elf/Makefile (common-generated): Set this instead of generated for
16950 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16951 $(all-built-dso)-derived lists.
16952
7ac30cc5
AJ
169532012-05-03 Andreas Jaeger <aj@suse.de>
16954
0c51e550
AJ
16955 * sysdeps/i386/fpu/libm-test-ulps: Update.
16956
7ac30cc5
AJ
16957 * FAQ: Removed.
16958 * FAQ.in: Likewise.
16959 * scripts/gen-FAQ.pl: Likewise.
16960 * manual/install.texi (Installation): Point to online location of
16961 FAQ.
16962 * Makefile (files-for-dist): Remove FAQ.
16963 (FAQ): Remove.
16964
d4c2917f
AM
169652012-05-02 Allan McRae <allan@archlinux.org>
16966
16967 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16968 (LDFLAGS-reldepmod5.so): Likewise.
16969 (LDFLAGS-reldep6mod1.so): Likewise.
16970 (LDFLAGS-reldep6mod4.so): Likewise.
16971 (LDFLAGS-reldep8mod3.so): Likewise.
16972 (LDFLAGS-unload4mod1.so): Likewise.
16973 (LDFLAGS-unload4mod2.so): Likewise.
16974 (LDFLAGS-tst-initorder): Likewise.
16975 (LDFLAGS-tst-initordera2.so): Likewise.
16976 (LDFLAGS-tst-initordera3.so): Likewise.
16977 (LDFLAGS-tst-initordera4.so): Likewise.
16978 (LDFLAGS-tst-initorderb2.so): Likewise.
16979 (LDFLAGS-noload): Likewise.
16980 (LDFLAGS-next): Likewise.
16981 (LDFLAGS-order2mod1.so): Likewise.
16982 (LDFLAGS-order2mod2.so): Likewise.
16983 (LDFLAGS-tst-initorder2): Likewise.
16984 (LDFLAGS-tst-initorder2a.so): Likewise.
16985 (LDFLAGS-tst-initorder2b.so): Likewise.
16986 (LDFLAGS-tst-initorder2c.so): Likewise.
16987 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16988
d77f993f
DM
169892012-05-02 David S. Miller <davem@davemloft.net>
16990
16991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16992
171a70b4
PP
169932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16994
16995 [BZ #14055]
16996 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16997
0be196ad
AJ
169982012-05-02 Andreas Jaeger <aj@suse.de>
16999
17000 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17001 since we manipulate rounding mode.
17002 (CPPFLAGS-test-idouble.c): Likewise.
17003 (CPPFLAGS-test-ifloat.c): Likewise.
17004 (CFLAGS-test-ldouble.c): Likewise.
17005 (CFLAGS-test-double.c): Likewise.
17006 (CFLAGS-test-float.c): Likewise.
17007 (CFLAGS-test-misc.c): Likewise.
17008 (CFLAGS-test-test-fenv.c): Likewise.
17009
4f9d04aa
AZ
170102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17011
2b942cb7
RM
17012 [BZ #2550]
17013 [BZ #2570]
17014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17015 comparisons to determine direction to adjust input.
4f9d04aa 17016
82a79e7d
RM
170172012-05-01 Roland McGrath <roland@hack.frob.com>
17018
f5a01ca9
RM
17019 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17020 output to the target.
17021
90fe4186
RM
17022 * scripts/localplt.awk: New file.
17023 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17024 (check-localplt-CFLAGS): Variable removed.
17025 ($(all-built-dso:=.jmprel)): New static pattern rule.
17026 (generated): Add those targets.
17027 (localplt-built-dso): New variable.
17028 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17029
17030 * elf/check-localplt.c: File removed.
17031
82397ed6
RM
17032 * scripts/check-execstack.awk: New file.
17033 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17034 (check-execstack-CFLAGS): Variable removed.
17035 ($(objpfx)check-execstack.h): Target removed.
17036 ($(objpfx)execstack-default): New target.
17037 (generated): Add that instead of check-execstack.h.
17038 ($(all-built-dso:=.phdr)): New static pattern rule.
17039 (generated): Add those targets.
17040 * elf/check-execstack.c: File removed.
17041
82a79e7d
RM
17042 * scripts/check-textrel.awk: New file.
17043 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17044 (check-textrel-CFLAGS): Variable removed.
17045 (all-built-dso): Use := to define.o
17046 ($(all-built-dso:=.dyn)): New static pattern rule.
17047 (generated): Add those targets.
17048 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17049 * config.make.in (READELF): New substituted variable.
17050 * elf/check-textrel.c: File removed.
17051
62fde54f 170522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17053
615605c9
JM
17054 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17055 allow.
17056 * conform/data/ctype.h-data [C99-based standards] (isblank):
17057 Expect function.
17058 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17059 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17060 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17061 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17062 Specify type. Require positive value.
17063 (EILSEQ): Likewise.
17064 (ERANGE): Likewise.
17065 [ISO || POSIX] (EILSEQ): Do not expect.
17066 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17067 Specify type. Require positive value.
17068 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17069 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17070 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17071 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17072 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17073 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17074 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17075 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17076 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17077 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17078 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17079 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17080 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17081 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17082 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17083 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17084 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17085 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17086 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17087 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17088 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17089 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17090 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17091 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17092 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17093 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17094 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17095 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17096 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17097 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17098 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17099 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17100 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17101 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17102 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17103 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17104 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17105 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17106 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17107 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17108 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17109 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17110 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17111 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17112 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17113 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17114 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17115 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17116 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17117 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17118 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17119 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17120 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17121 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17122 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17123 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17124 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17125 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17126 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17127 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17128 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17129 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17134 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17135 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17136 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17137 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17138 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17139 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17142 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17143 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17144 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17145 Require >= 2.
17146 (FLT_ROUNDS): Expect as macro, not constant.
17147 (FLT_MANT_DIG): Use macro-int-constant.
17148 (DBL_MANT_DIG): Likewise.
17149 (LDBL_MANT_DIG): Likewise.
17150 (FLT_DIG): Likewise.
17151 (DBL_DIG): Likewise.
17152 (LDBL_DIG): Likewise.
17153 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17154 (DBL_MIN_EXP): Likewise.
17155 (LDBL_MIN_EXP): Likewise.
17156 (FLT_MAX_EXP): Use macro-int-constant.
17157 (DBL_MAX_EXP): Likewise.
17158 (LDBL_MAX_EXP): Likewise.
17159 (FLT_MAX_10_EXP): Likewise.
17160 (DBL_MAX_10_EXP): Likewise.
17161 (LDBL_MAX_10_EXP): Likewise.
17162 (FLT_MAX): Use macro-constant.
17163 (DBL_MAX): Likewise.
17164 (LDBL_MAX): Likewise.
17165 (FLT_EPSILON): Use macro-constant. Give upper bound.
17166 (DBL_EPSILON): Likewise.
17167 (LDBL_EPSILON): Likewise.
17168 (FLT_MIN): Likewise.
17169 (DBL_MIN): Likewise.
17170 (LDBL_MIN): Likewise.
17171 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17172 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17173 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17174 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17175 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17176 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17177 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17178 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17179 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17180 [ISO11] (FLT_TRUE_MIN): Likewise.
17181 [ISO11] (LDBL_TRUE_MIN): Likewise.
17182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17183 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17184 (SCHAR_MIN): Use macro-int-constant. Specify type.
17185 (SCHAR_MAX): Likewise.
17186 (UCHAR_MAX): Likewise.
17187 (CHAR_MIN): Likewise.
17188 (CHAR_MAX): Likewise.
17189 (MB_LEN_MAX): Use macro-int-constant.
17190 (SHRT_MIN): Use macro-int-constant. Specify type.
17191 (SHRT_MAX): Likewise.
17192 (USHRT_MAX): Likewise.
17193 (INT_MAX): Likewise.
17194 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17195 bound negative.
17196 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17197 bound with "U".
17198 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17199 bound with "L".
17200 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17201 bound negative. Suffix upper bound with "L".
17202 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17203 bound with "UL".
17204 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17205 Specify type.
17206 [C99-based standards] (LLONG_MAX): Likewise.
17207 [C99-based standards] (ULLONG_MAX): Likewise.
17208 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17209 == 0.
17210 [ISO11] (max_align_t): Require type.
17211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17212
c9140a62
JM
17213 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17214 from $CFLAGS, without defining away __attribute__ calls.
17215 (checknamespace): Use $CFLAGS_namespace.
17216
9af0bf29
JM
17217 * conform/conformtest.pl (@keywords): Only include C99 keywords
17218 for standards based on C99 or C11.
17219
343222a2
JM
17220 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17221 Disable tests.
17222 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17223 UNIX98]: Likewise.
17224
661f8cf0
JM
17225 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17226 usability of symbols in #if.
17227
ee74b9cb
JM
17228 * conform/conformtest.pl: If macro or constant types start
17229 "promoted:", expect the symbol to be of the following type
17230 promoted by the integer promotions.
62fde54f 17231
aafc49b3
JM
17232 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17233 in one place. Also handle "macro-constant".
17234
fefdf574
JM
17235 * conform/conformtest.pl: Only accept expected macro values with
17236 "==". Parse all "macro" lines in one place.
17237 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17238
f2d922fe
JM
17239 * conform/conformtest.pl: Handle braced types on "constant" lines
17240 instead of handling "typed-constant".
17241 * conform/data/signal.h-data: Use "constant" instead of
17242 "typed-constant".
17243
d22956c9
JM
17244 * conform/conformtest.pl: Handle "optional-" at start of lines in
17245 one place rather than duplicating several cases. Handle each
17246 format of "macro" line with initial "optional-".
17247
028e2e38
JM
17248 * conform/conformtest.pl: Only accept expected constant or
17249 optional-constant values with "==". Parse all "constant" lines in
17250 one place. Parse all "optional-constant" lines in one place.
17251 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17252 * conform/data/fmtmsg.h-data: Likewise.
17253 * conform/data/netinet/in.h-data: Likewise.
17254 * conform/data/tar.h-data: Likewise.
17255 * conform/data/limits.h-data: Use "==" form on "constant" and
17256 "optional-constant" lines.
17257
1b8f2850
JM
17258 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17259 Use -std=c99 for XOPEN2K.
17260 (@knownproblems): Remove.
17261 (newtoken): Don't check %isknown.
17262
a05a144b
JM
17263 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17264 Do not expect macro.
17265 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17266 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17267 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17268 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17269 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17270 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17271 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17272 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17273 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17274 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17275 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17276 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17277 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17278 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17279 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17280 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17281 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17282 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17283 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17284 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17285 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17286 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17287 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17288 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17289 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17290 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17291 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17292 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17293 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17294 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17295 [XPG3] (acosh): Likewise.
17296 [XPG3] (asinh): Likewise.
17297 [XPG3] (atanh): Likewise.
17298 [XPG3] (cbrt): Likewise.
17299 [XPG3] (expm1): Likewise.
17300 [XPG3] (ilogb): Likewise.
17301 [XPG3] (log1p): Likewise.
17302 [XPG3] (logb): Likewise.
17303 [XPG3] (nextafter): Likewise.
17304 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17305 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17306 [XPG3] (remainder): Likewise.
17307 [XPG3] (rint): Likewise.
17308 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17309 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17310 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17311 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17312 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17313 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17314 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17315 [UNIX98 || XOPEN2K] (scalb): Expect.
17316 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17317 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17318 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17319 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17320 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17321 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17322 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17323 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17324 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17325 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17326 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17327 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17328 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17329 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17330 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17331 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17332 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17333 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17334 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17335 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17336 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17337 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17338 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17339 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17340 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17341 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17342 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17343 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17344 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17345 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17346 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17347 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17348 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17349 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17350 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17351 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17352 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17353 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17354 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17355 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17356 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17357 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17358 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17359 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17360 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17361 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17362 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17363 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17364 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17365 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17366 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17367 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17368 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17369 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17370 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17371 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17372 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17373 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17374 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17375 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17376 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17377 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17378 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17379 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17380 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17381 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17382 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17383 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17384 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17385 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17386 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17387 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17388 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17389 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17390 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17391 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17392 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17393 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17394 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17395 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17396 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17397 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17398 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17399 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17400 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17402 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17403 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17404 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17405 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17406 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17407 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17408 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17409 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17412 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17413 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17414 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17415 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17416 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17417 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17418 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17419 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17421 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17422 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17424 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17425 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17426 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17427 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
17428 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
17429 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
17430 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
17431 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
17433 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
17434 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
17435 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
17436 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
17437 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
17438 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
17439 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
17440 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
17441 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
17443 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
17444 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
17445 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
17446 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
17447 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
17448 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
17449 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
17450 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
17451 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
17452 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
17453
73c5ebe3
JM
17454 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
17455 _XOPEN_SOURCE_EXTENDED for XPG4.
17456
39c33b6c
JM
17457 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
17458
62fde54f
JM
17459 * Makeconfig (localtime): Remove variable.
17460 (inst_localtime-file): Likewise.
17461
0741d64c
AS
174622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17463
17464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17465 Update.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17467 Update.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17469 Update.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17471 Update.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17473 Update.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
17475 Update.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17477 Update.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
17479 Update.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17481 Update.
17482
7cb029ee
JM
174832012-05-01 Joseph Myers <joseph@codesourcery.com>
17484
17485 [BZ #2550]
17486 [BZ #2570]
17487 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
17488 comparisons to determine direction to adjust input.
17489 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17490 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
17491 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17492 Likewise.
17493 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17494 Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17496 Likewise.
17497 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17498 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17499 Likewise.
17500 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17501 Likewise.
17502 * math/libm-test.inc (nexttoward_test): Add more tests.
17503
412bd966
AS
175042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
17505
17506 [BZ #14040]
17507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
17508 in version GLIBC_2.1, not GLIBC_2.0.
17509 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
17510 Likewise.
17511
9568c0c2
JM
175122012-04-30 Joseph Myers <joseph@codesourcery.com>
17513
adfbc8ac
JM
17514 [BZ #13942]
17515 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
17516 (1 - x) * (1 + x).
17517 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17518 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
17519 * math/libm-test.inc (acos_test): Add more tests.
17520 (asin_test): Likewise.
17521 * sysdeps/i386/fpu/libm-test-ulps: Update.
17522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17523
5ba3cc69
JM
17524 [BZ #14034]
17525 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
17526 of square root.
17527 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
17528 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
17529 * math/libm-test.inc (acos_test_tonearest): New function.
17530 (acos_test_towardzero): Likewise.
17531 (acos_test_downward): Likewise.
17532 (acos_test_upward): Likewise.
17533 (asin_test_tonearest): Likewise.
17534 (asin_test_towardzero): Likewise.
17535 (asin_test_downward): Likewise.
17536 (asin_test_upward): Likewise.
17537 (main): Call the new functions.
17538 * sysdeps/i386/fpu/libm-test-ulps: Update.
17539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17540
9568c0c2
JM
17541 [BZ #13884]
17542 [BZ #13924]
17543 * math/e_exp10.c: Include <float.h>.
17544 (__ieee754_exp10): Handle underflow here rather than multiplying
17545 large negative argument by M_LN10.
17546 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
17547 of __ieee754_expf.
17548 * math/e_exp10l.c: Include <float.h>.
17549 (__ieee754_exp10l): Handle underflow here rather than multiplying
17550 large negative argument by M_LN10l.
17551 * math/libm-test.inc (exp10_test): Add another test. Do not allow
17552 spurious overflow exception on underflow.
17553
5ac3ea17
MP
175542012-04-29 Marek Polacek <polacek@redhat.com>
17555
17556 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
17557 (__fortify_function): New macro.
17558 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
17559 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
17560 __extern_always_inline.
17561 * libio/bits/stdio2.h: Likewise.
17562 * libio/bits/stdio.h: Likewise.
17563 * string/string.h: Likewise.
17564 * string/bits/string3.h: Likewise.
17565 * include/stdio.h: Likewise.
17566 * stdlib/bits/stdlib.h: Likewise.
17567 * stdlib/stdlib.h: Likewise.
17568 * rt/bits/mqueue2.h: Likewise.
17569 * rt/mqueue.h: Likewise.
17570 * posix/bits/unistd.h: Likewise.
17571 * posix/unistd.h: Likewise.
17572 * io/bits/poll2.h: Likewise.
17573 * io/bits/fcntl2.h: Likewise.
17574 * io/fcntl.h: Likewise.
17575 * io/sys/poll.h: Likewise.
17576 * misc/bits/syslog.h: Likewise.
17577 * misc/bits/syslog-ldbl.h: Likewise.
17578 * misc/sys/syslog.h: Likewise.
17579 * socket/bits/socket2.h: Likewise.
17580 * socket/sys/socket.h: Likewise.
17581 * debug/tst-chk1.c: Likewise.
17582 * wcsmbs/bits/wchar2.h: Likewise.
17583 * wcsmbs/bits/wchar-ldbl.h: Likewise.
17584 * wcsmbs/wchar.h: Likewise.
17585
ecf0ebfb
AJ
175862012-04-29 Andreas Jaeger <aj@suse.de>
17587
17588 * Makerules (tests): Remove enable-check-abi protection.
17589 (check-abi-warn): Remove.
17590 (check-abi-%): Remove check-abi-warn usage.
17591
17592 * configure.in: Remove check-abi configure option.
17593 * configure: Regenerated.
17594 * config.make.in (enable-check-abi): Remove.
17595
6d5c57fa
AS
175962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
17597
24c5d07e 17598 [BZ #14033]
ded5180a
AS
17599 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
17600 double functions to double *_finite functions.
17601
7e0d315d
AS
17602 [BZ #13941]
17603 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
17604 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
17605 LDBL_MIN_EXP.
17606 * stdio-common/Makefile (tests): Add tst-sprintf3.
17607 * stdio-common/tst-sprintf3.c: New file.
17608
6d5c57fa
AS
17609 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
17610 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
17611
0749ff8b
JM
176122012-04-28 Joseph Myers <joseph@codesourcery.com>
17613
17614 * conform/conformtest.pl: Remove duplicate typed-constant
17615 handling.
17616
8dbd5d7b
DM
176172012-04-28 David S. Miller <davem@davemloft.net>
17618
17619 * Makerules (%.abilist): Add vpath on sysdep_dirs.
17620 (check-abi-%): Remove AWK script prerequisite and explicit
17621 abilist directory.
17622 (check-abi): Rewrite to just diff the symlist with the abilist.
17623 (config-tls, config-abi-config): Delete, no longer used.
17624 (update-abi-%): Remove AWK script and explicit abilist directory.
17625 (update-abi): Rewrite to simply compare and conditionally copy the
17626 symlist and the sysdep abilist file. Remove update-abi-config
17627 checks.
17628 * abilist/ld.abilist: Remove.
17629 * abilist/libBrokenLocale.abilist: Remove.
17630 * abilist/libanl.abilist: Remove.
17631 * abilist/libcrypt.abilist: Remove.
17632 * abilist/libdl.abilist: Remove.
17633 * abilist/librt.abilist: Remove.
17634 * abilist/libthread_db.abilist: Remove.
17635 * abilist/libutil.abilist: Remove.
17636 * scripts/extract-abilist.awk: Remove.
17637 * scripts/merge-abilist.awk: Remove.
17638 * sysdeps/generic/libcidn.abilist: New file.
17639 * sysdeps/generic/libnss_compat.abilist: New file.
17640 * sysdeps/generic/libnss_db.abilist: New file.
17641 * sysdeps/generic/libnss_dns.abilist: New file.
17642 * sysdeps/generic/libnss_files.abilist: New file.
17643 * sysdeps/generic/libnss_hesiod.abilist: New file.
17644 * sysdeps/generic/libnss_nis.abilist: New file.
17645 * sysdeps/generic/libnss_nisplus.abilist: New file.
17646 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17647 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17648 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17649 file.
17650 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17651 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17652 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17653 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17654 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17655 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17656 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17657 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17658 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17659 file.
17660 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17661 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17662 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17663 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17664 file.
17665 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17666 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17667 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17668 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17670 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17671 file.
17672 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17673 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17674 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17675 file.
17676 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17678 New file.
17679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17680 New file.
17681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17682 New file.
17683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17684 New file.
17685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17686 New file.
17687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17688 New file.
17689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17690 New file.
17691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17692 New file.
17693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17694 New file.
17695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17696 New file.
17697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17698 New file.
17699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17700 New file.
17701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17702 New file.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17704 file.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17706 New file.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17708 New file.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17710 file.
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17712 New file.
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17714 New file.
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17716 file.
17717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17718 New file.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17720 New file.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17722 New file.
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17724 New file.
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17726 New file.
17727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17728 New file.
17729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17731 file.
17732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17733 New file.
17734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17735 file.
17736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17737 file.
17738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17739 file.
17740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17741 file.
17742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17743 file.
17744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17745 New file.
17746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17747 file.
17748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17749 file.
17750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17751 New file.
17752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17753 file.
17754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17756 file.
17757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17758 New file.
17759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17760 file.
17761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17762 file.
17763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17764 file.
17765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17766 file.
17767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17768 file.
17769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17770 New file.
17771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17772 file.
17773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17774 file.
17775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17776 New file.
17777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17778 file.
17779 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17780 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17781 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17782 file.
17783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17784 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17785 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17786 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17787 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17788 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17789 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17790 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17791 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17792 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17795 file.
17796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17797 New file.
17798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17799 file.
17800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17801 file.
17802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17803 file.
17804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17805 file.
17806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17807 file.
17808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17809 New file.
17810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17811 New file.
17812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17813 file.
17814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17815 New file.
17816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17817 file.
17818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17820 file.
17821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17822 New file.
17823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17824 file.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17826 file.
17827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17828 file.
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17830 file.
17831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17832 file.
17833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17834 New file.
17835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17836 New file.
17837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17838 file.
17839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17840 New file.
17841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17842 file.
17843
41d73a1b
JM
178442012-04-28 Joseph Myers <joseph@codesourcery.com>
17845
17846 * conform/conformtest.pl: Fix typo in handling typed-constant from
17847 allow-header.
17848
28aeeda4
JM
178492012-04-27 Joseph Myers <joseph@codesourcery.com>
17850
adae8f5e
JM
17851 * README: Cut down references to pre-2.6 Linux kernels and
17852 Linuxthreads. Update lists of configurations in libc and ports
17853 and sort alphabetically. Say "or newer" with Linux kernel version
17854 requirements.
17855
28aeeda4
JM
17856 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17857
a462cb63
RA
178582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17859
17860 [BZ #887]
17861 * math/libm-test.inc (logb_test_downward): New test to expose
17862 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17863 rounding mode.
17864
6ad3493e
JM
178652012-04-27 Joseph Myers <joseph@codesourcery.com>
17866
17867 [BZ #14027]
17868 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17869 to be done.
17870 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17871 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17872
2ce4f015
JM
178732012-04-26 Joseph Myers <joseph@codesourcery.com>
17874
5aeb141a
JM
17875 * sysdeps/unix/i386/brk.S: Remove file.
17876 * sysdeps/unix/i386/dl-brk.S: Likewise.
17877 * sysdeps/unix/i386/pipe.S: Likewise.
17878 * sysdeps/unix/i386/sigreturn.S: Likewise.
17879 * sysdeps/unix/i386/syscall.S: Likewise.
17880 * sysdeps/unix/i386/vfork.S: Likewise.
17881 * sysdeps/unix/i386/wait.S: Likewise.
17882
7143acae
JM
17883 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17884 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17885
2ce4f015
JM
17886 * configure.in (arm*-none*): Do not allow without
17887 --enable-hacker-mode.
17888 (netbsd*): Remove case setting base_os.
17889 (386bsd*): Likewise.
17890 (freebsd*): Likewise.
17891 (bsdi*): Likewise.
17892 (osf*): Likewise.
17893 (sunos*): Likewise.
17894 (ultrix*): Likewise.
17895 (newsos*): Likewise.
17896 (dynix*): Likewise.
17897 (*bsd*): Likewise.
17898 (sysv*): Likewise.
17899 (isc*): Likewise.
17900 (esix*): Likewise.
17901 (sco*): Likewise.
17902 (minix*): Likewise.
17903 (irix4*): Likewise.
17904 (irix6*): Likewise.
17905 (solaris[2-9]*): Likewise.
17906 (none): Likewise.
17907 * configure: Regenerated.
17908
0ac229c8
AZ
179092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17910
17911 [BZ #11521]
17912 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17913 overflow or cancellation in calculating denominator.
17914 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17915 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17916 down expression to avoid unexpected rounding in newer GCCs.
17917 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17918
33f244f4
DM
179192012-04-26 David S. Miller <davem@davemloft.net>
17920
17921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17922 long-double compat symbols.
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17936
cfa1f3e8
DM
179372012-04-25 David S. Miller <davem@davemloft.net>
17938
17939 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17940 HWCAP_* values only after the memory barriers have been defined.
17941 (atomic_full_barrier): Define.
17942 (atomic_read_barrier): Define.
17943 (atomic_write_barrier): Define.
17944
6e236b92
SP
179452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17946
17947 * shlib-versions: Add libgcc_s version information.
17948 * sysdeps/generic/libgcc_s.h: Remove.
17949 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17950 libgcc_s.h.
17951 * sysdeps/gnu/unwind-resume.c: Likewise.
17952 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17953
aab39a09
DM
179542012-04-25 David S. Miller <davem@davemloft.net>
17955
17956 * sysdeps/unix/sparc/brk.S: Delete.
17957 * sysdeps/unix/sparc/dl-brk.S: Delete.
17958 * sysdeps/unix/sparc/pipe.S: Delete.
17959 * sysdeps/unix/sparc/sysdep.S: Delete.
17960 * sysdeps/unix/sparc/sysdep.h: Delete.
17961 * sysdeps/unix/sparc/vfork.S: Delete.
17962 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17963 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17964 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17965 ret_ERRVAL, r0, r1, MOVE): Define.
17966 (JUMPTARGET): Remove.
17967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17968 sysdeps/unix/sparc/sysdep.h
17969 (ENTRY, END): Remove.
17970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17971
a3cc4f48
JM
179722012-04-25 Joseph Myers <joseph@codesourcery.com>
17973
2ed8cda2
JM
17974 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17975 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17976 -DIS_IN_build.
17977
35d76d59
JM
17978 * timezone/README: Update upstream location and email address for
17979 tzcode and tzdata.
17980 * timezone/zdump.c: Update from tzcode 2012b.
17981 * timezone/zic.c: Likewise.
17982
a3cc4f48
JM
17983 * configure.in (libc_cv_as_needed): Remove test.
17984 * configure: Regenerated.
17985 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17986 conditional definition.
17987 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17988 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17989 * config.make.in (have-as-needed): Remove variable.
17990
ceab42c3
SP
179912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17992 Paul Pluzhnikov <ppluzhnikov@google.com>
17993
17994 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17995 strings correctly.
17996
3ce2865f
CLT
179972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17998
17999 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18000 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18001 * sysdeps/sh/strlen.S: Likewise.
18002
f37e0d68
JM
180032012-04-24 Joseph Myers <joseph@codesourcery.com>
18004
ae186e9a
JM
18005 * sysdeps/unix/fork.S: Remove file.
18006 * sysdeps/unix/i386/fork.S: Likewise.
18007 * sysdeps/unix/sparc/fork.S: Likewise.
18008
b96914af
JM
18009 * sysdeps/unix/system.c: Remove file.
18010 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18011
f37e0d68
JM
18012 * sysdeps/unix/getegid.S: Remove file.
18013 * sysdeps/unix/geteuid.S: Likewise.
18014
87ef29ca
RM
180152012-04-24 Roland McGrath <roland@hack.frob.com>
18016
83bcd236
RM
18017 * scripts/check-localplt.awk: New file.
18018 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18019 of diff.
18020 * scripts/data/localplt-generic.data: Add a comment.
18021
87ef29ca
RM
18022 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18023 NODE when __dir_mkfile failed.
18024 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18025 Reported by Ludovic Courtès <ludo@gnu.org>.
18026
e5a6e567
AJ
180272012-04-24 Andreas Jaeger <aj@suse.de>
18028
18029 * Makerules (common-clean): Also remove gen-as-const-headers
18030 files.
18031
c1820385
JM
180322012-04-24 Joseph Myers <joseph@codesourcery.com>
18033
18034 * Makerules (native-compile): Do not change working directory for
18035 build. Use $(OUTPUT_OPTION) in command.
18036 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18037
94e02fc4
AZ
180382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18039
18040 [BZ #13886]
18041 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18042 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18043 * math/libm-test.inc (floor_test): Add more tests.
18044 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18045
3a533ca3
JM
180462012-04-24 Joseph Myers <joseph@codesourcery.com>
18047
940ab4b3
JM
18048 * sysdeps/unix/getdents.c: Remove file.
18049 * sysdeps/unix/sysv/getdents.c: Likewise.
18050 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18051
90e037bd
JM
18052 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18053 sysdeps/unix/mman/syscalls.list.
18054 (mmap): Likewise.
18055 (mprotect): Likewise.
18056 (msync): Likewise.
18057 (munmap): Likewise.
18058 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18059 * sysdeps/unix/mman/syscalls.list: Remove.
18060 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18061
3a533ca3
JM
18062 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18063 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18064 * configure: Regenerated.
18065 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18066 $(libgcc_s_suffix).
18067 * config.make.in (libgcc_s_suffix): Remove variable.
18068
1ad743de
JM
180692012-04-23 Joseph Myers <joseph@codesourcery.com>
18070
4ad451e2
JM
18071 * sysdeps/unix/sysv/gethostname.c: Move to ...
18072 * sysdeps/posix/gethostname.c: ... here.
18073
5e37ce39
JM
18074 * sysdeps/unix/execve.S: Remove file.
18075
1ad743de
JM
18076 * sysdeps/unix/_exit.S: Remove file.
18077
4e681b5b
AJ
180782012-04-23 Andreas Jaeger <aj@suse.de>
18079
18080 [BZ #13739]
18081 * manual/Makefile: Remove make dist support, there's no
18082 need for a stand-alone documentation tar ball.
18083 (TEXI2DVI): Define always, it's not in Makeconfig.
18084 (dist): Removed.
18085 (tar-it): Removed.
18086 (edition): Removed.
18087 (glibc-doc-$(edition).tar): Removed
18088 (%.Z): Removed.
18089 (%.gz): Removed.
18090 (%.uu): Removed.
18091 (ETAGS): Remove, it's in Makeconfig.
18092 (move-if-change): Remove, it's in Makeconfig.
18093
38686a03 180942012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18095
18096 [BZ #13970]
18097 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18098 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18099 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18100 (strtod_l, strtof_l, strtold_l): Remove __wur.
18101 It is not necessarily an error to ignore strtol's return value.
18102 One can reliably look at the stored endptr to decide whether
18103 the number had valid syntax.
18104
7c0616fa
AJ
181052012-04-21 Andreas Jaeger <aj@suse.de>
18106
803cb6b7 18107 [BZ #13739]
7c0616fa
AJ
18108 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18109
b0fe253f
JM
181102012-04-21 Joseph Myers <joseph@codesourcery.com>
18111
18112 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18113 * sysdeps/unix/sysv/Versions: Remove file.
18114
8280f22d
MT
181152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18116
18117 [BZ #13927]
18118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18119
75ce411f 181202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18121
18122 [BZ #7064]
18123 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18124 version from __vm86.
18125
097d59fa
JM
181262012-04-20 Joseph Myers <joseph@codesourcery.com>
18127
a90f3bcb
JM
18128 * sysdeps/unix/common/lxstat.c: Remove file.
18129 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18130
edc7ea78
JM
18131 * sysdeps/unix/sysv/Makefile: Remove file.
18132
cb78c221
JM
18133 * sysdeps/unix/sysv/direct.h: Remove file.
18134
efa6a45f
JM
18135 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18136 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18137 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18138 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18139 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18140 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18141 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18142
9c9f2d0c
JM
18143 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18144
4541c83b
JM
18145 * sysdeps/unix/xmknod.c: Remove file.
18146 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18147
f5d153a0
JM
18148 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18149
aa746595
JM
18150 * sysdeps/unix/sysv/i386/time.S: Remove file.
18151
cce5905e
JM
18152 * sysdeps/unix/fxstat.c: Remove file.
18153 * sysdeps/unix/xstat.c: Likewise.
18154 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18155
37fa3841
JM
18156 * sysdeps/unix/sysv/sigaction.c: Remove file.
18157
ff1962a3
JM
18158 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18159 (sysdep_headers): Remove variable.
18160 [termio.h not in sysdep_headers] (generated): Likewise.
18161 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18162 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18163 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18164 * sysdeps/unix/sysv/tcflow.c: Likewise.
18165 * sysdeps/unix/sysv/tcflush.c: Likewise.
18166 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18167 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18168 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18169 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18170 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18171
e7740d31
JM
18172 * sysdeps/unix/siglist.c: Remove file.
18173
ee06f18b
JM
18174 * sysdeps/unix/getppid.S: Remove file.
18175
097d59fa
JM
18176 * sysdeps/unix/mkdir.c: Remove file.
18177 * sysdeps/unix/rmdir.c: Likewise.
18178
ff3d51ec
AS
181792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18180
18181 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18182 ERR_MAX value.
18183 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18184 errlist-compat value.
18185
50f81fd7
DM
181862012-04-18 David S. Miller <davem@davemloft.net>
18187
18188 * sysdeps/generic/memcopy.h (reg_char): Delete.
18189 * debug/strcat_chk.c: Use char, not reg_char.
18190 * debug/strcpy_chk.c: Likewise.
18191 * debug/strncat_chk.c: Likewise.
18192 * debug/strncpy_chk.c: Likewise.
18193 * string/memchr.c: Likewise.
18194 * string/memrchr.c: Likewise.
18195 * string/rawmemchr.c: Likewise.
18196 * string/strcat.c: Likewise.
18197 * string/strchr.c: Likewise.
18198 * string/strchrnul.c: Likewise.
18199 * string/strcmp.c: Likewise.
18200 * string/strcpy.c: Likewise.
18201 * string/strncat.c: Likewise.
18202 * string/strncmp.c: Likewise.
18203 * string/strncpy.c: Likewise.
18204
8ff41c46
WS
182052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18206
18207 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18208 __builtin_memcopy is called when src and dest ranges are known to not
18209 overlap.
18210
6b652f46
WS
182112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18212
18213 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18214 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18215 fwd_align_merge macro call.
18216 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18217 bwd_align_merge macro call.
18218 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18219
b282631e
WS
182202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18221
18222 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18223 bwd_align_merge macros.
18224 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18225 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18226 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18227
95aa737c
DM
182282012-04-18 David S. Miller <davem@davemloft.net>
18229
18230 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18231
7a99a614
AJ
182322012-04-18 Andreas Jaeger <aj@suse.de>
18233
18234 [BZ# 6794]
18235 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18236 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18237 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18238
18239 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18240 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18241 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18242
18243 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18244 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18245 Adjust for changed ldbl-128 files.
18246
18247 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18248 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18249 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18250
e5270c23
DM
182512012-04-17 David S. Miller <davem@davemloft.net>
18252
18253 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18254
fb5e92c9
AS
182552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18256
18257 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18258 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18259 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18260 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18261 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18262 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18263
76da7265
AZ
182642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18265
18266 [BZ #6794]
18267 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18268 * math/libm-test.inc: Add ilogb errno and exception tests.
18269 * math/w_ilogb.c: New file: ilogb wrapper.
18270 * math/w_ilogbf.c: New file: ilogbf wrapper.
18271 * math/w_ilogbl.c: New file: ilogbl wrapper.
18272 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18273 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18274 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18275 exception being thrown with 0.0 as argument.
18276 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18277 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18278 exception being thrown with 0.0 as argument.
18279 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18280 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18281 exception being thrown with 0.0 as argument.
18282 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18283 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18284 exception being thrown with 0.0 as argument.
18285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18286 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18287 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18288 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18289 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18290 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18291 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18292 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18293 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18294
0396e69d
PB
182952012-04-17 Petr Baudis <pasky@ucw.cz>
18296
18297 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18298 with altivec.
18299
750b5926
MP
183002012-04-16 Marek Polacek <polacek@redhat.com>
18301
18302 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18303
751728a1
MP
183042012-04-16 Marek Polacek <polacek@redhat.com>
18305
18306 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18307 operands of fdivp instruction.
18308
34a27407
L
183092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18310
18311 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18312 * elf/tst-auditmod3b.c: Likewise.
18313 * elf/tst-auditmod4b.c: Likewise.
18314 * elf/tst-auditmod5b.c: Likewise.
18315 * elf/tst-auditmod6b.c: Likewise.
18316 * elf/tst-auditmod6c.c: Likewise.
18317 * elf/tst-auditmod7b.c: Likewise.
18318 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18319 * sysdeps/x86_64/preconfigure.in: Likewise.
18320 * sysdeps/x86_64/preconfigure: Regenerated.
18321
7e73e17d
L
183222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18323
18324 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18325 __ILP32__.
18326
c7a6ab72
AB
183272012-04-13 Antoine Balestrat <merkil33@gmail.com>
18328
18329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18330 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18331
a9e8e0e0
CL
183322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18333
18334 [BZ #13973]
18335 * locale/iso-639.def: Fix gl language name. Spotted by
18336 Yaron Shahrabani.
18337
ec98af7d
RM
183382012-04-12 Roland McGrath <roland@hack.frob.com>
18339
18340 [BZ #2074]
18341 * libio/libio.h (__io_write_fn): Update comment.
18342
247c3ede
PB
183432012-04-12 Petr Baudis <pasky@ucw.cz>
18344
18345 [BZ #2074]
18346 * stdio.texi (Hook Functions): The user provided writer function
18347 is not allowed to return -1.
18348
55939d6d
DM
183492012-04-11 David S. Miller <davem@davemloft.net>
18350
18351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18352
90020f5a
MF
183532012-04-11 Mike Frysinger <vapier@gentoo.org>
18354
18355 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18356 Add a leading slash to rtkaio.
18357
288f9098
JM
183582012-04-11 Jim Meyering <meyering@redhat.com>
18359
90020f5a
MF
18360 [BZ #11959]
18361 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18362 It is not necessarily an error to ignore fwrite's return
18363 value. One can reliably use ferror to test for errors after
18364 the fact.
288f9098 18365
4be2b570
L
183662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18367
18368 * bits/types.h (__snseconds_t): New type.
18369 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18370
18371 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18373 (__SNSECONDS_T_TYPE): Likewise.
18374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18375 (__SNSECONDS_T_TYPE): Likewise.
18376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18377 (__SNSECONDS_T_TYPE): Likewise.
18378
288f9098 183792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18380
18381 [BZ #2636]
18382 * manual/time.texi (Processor Time): Return type of times is
18383 elapsed real time since an arbitrary point in the past.
18384 (CPU Time): Move CLK_TCK from here...
18385 (Processor Time): ...to here. Correct description.
18386 * manual/conf.texi (Constants for Sysconf): Correct description of
18387 _SC_CLK_TCK.
18388
d7dd4413
DM
183892012-04-10 David S. Miller <davem@davemloft.net>
18390
18391 [BZ #13967]
18392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18393 where the is a gap between DT_REL(A) and DT_JMPREL.
18394
b46068fc
L
183952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18396
18397 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18398 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18399 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18400
73d65cc3
SP
184012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18402
18403 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18404 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18405 (dl_main): Handle --inhibit-cache.
18406 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18407 _dl_inhibit_cache.
18408 * elf/dl-load.c (_dl_map_object): Use it.
18409 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18410
bcc8d661
JM
184112012-04-09 Joseph Myers <joseph@codesourcery.com>
18412
8f9a2fae
JM
18413 [BZ #13872]
18414 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18415 (__ieee754_powl): Saturate large exponents rather than testing for
18416 overflow of y*log2(x).
18417 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18418 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18419 exceptions.
18420
bcc8d661
JM
18421 [BZ #11521]
18422 * math/s_ctan.c: Include <float.h>.
18423 (__ctan): Avoid internal overflow or cancellation in calculating
18424 denominator.
18425 * math/s_ctanf.c: Likewise.
18426 * math/s_ctanl.c: Likewise.
18427 * math/s_ctanh.c: Likewise.
18428 * math/s_ctanhf.c: Likewise.
18429 * math/s_ctanhl.c: Likewise.
18430 * math/libm-test.inc (ctan_test): Add more tests.
18431 (ctanh_test): Likewise.
18432 * sysdeps/i386/fpu/libm-test-ulps: Update.
18433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18434
823fbbb4
AJ
184352012-04-09 Andreas Jaeger <aj@suse.de>
18436
03879793
AJ
18437 [BZ #6894]
18438 * manual/filesys.texi (Directory Entries): Mention that d_namlen
18439 is an optional BSD extension.
18440
823fbbb4
AJ
18441 [BZ #10254]
18442 * manual/stdio.texi (Opening Streams): Document additional fopen
18443 parameters.
18444
8de131cb
RM
184452012-04-09 Roland McGrath <roland@hack.frob.com>
18446
18447 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
18448 %eax without telling the compiler.
18449
c0ed9d7d
CD
184502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
18451
18452 [BZ # 13963]
18453 * manual/install.texi: Use sourceware.org.
18454
c483f6b4
JM
184552012-04-09 Joseph Myers <joseph@codesourcery.com>
18456
d7dd9453
JM
18457 [BZ #13873]
18458 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
18459 (__ieee754_pow): Generate overflow and underflow using huge*huge
18460 and tiny*tiny rather than just returning constant infinity or zero
18461 for large exponents.
18462 * math/libm-test.inc (pow_test): Require overflow exceptions for
18463 applicable cases of large exponents.
18464
c483f6b4
JM
18465 [BZ #706]
18466 * sysdeps/i386/fpu/e_pow.S (p10): New object.
18467 (__ieee754_pow): Use iterative multiplication algorithm only for
18468 integer exponents with absolute value below 1024. Check for odd
18469 integer exponents when using algorithm for real exponents.
18470 * math/libm-test.inc (pow_test): Add more tests.
18471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18472
d2de7579
JM
184732012-04-08 Joseph Myers <joseph@codesourcery.com>
18474
18475 [BZ #13705]
18476 * math/libm-test.inc (exp_test): Do not allow overflow exception
18477 on underflow test.
18478
f77f1232
AJ
184792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
18480
18481 [BZ #13705]
18482 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
18483 instead of __kernel_standard_f.
18484
3884932b
MF
184852012-04-08 Mike Frysinger <vapier@gentoo.org>
18486
18487 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
18488 * sysdeps/x86_64/memset_chk.S: Likewise.
18489
54472e9c
AJ
184902012-04-08 Andreas Jaeger <aj@suse.de>
18491
6ab0fbfc
AJ
18492 [BZ #10153]
18493 * manual/startup.texi (Environment Access): Describe return value
18494 for putenv and setenv.
18495
61efba8c
AJ
18496 [BZ #6895]
18497 * manual/filesys.texi (Directory Entries): Add description for
18498 DT_LNK.
18499
95c3f29a
AJ
18500 [BZ #6890]
18501 * manual/filesys.texi (Directory Entries): Clarify that it's file
18502 system not operating system in the description of DT_UNKNOWN.
18503
54472e9c
AJ
18504 [BZ #6578]
18505 * manual/syslog.texi (closelog): Fix reference, it's openlog.
18506
624254b1
SC
185072012-04-08 Stephen Compall <s11@member.fsf.org>
18508
18509 [BZ #6649]
18510 * manual/llio.texi (Opening and Closing Files): Add cross
18511 reference to explain mode argument.
18512
1e4920e0
MF
185132012-04-07 Mike Frysinger <vapier@gentoo.org>
18514
18515 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
18516 * sysdeps/x86_64/memset_chk.S: Likewise.
18517
5ed848f3
DM
185182012-04-07 David S. Miller <davem@davemloft.net>
18519
18520 * elf/elf.h (R_SPARC_WDISP10): Define.
18521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
18522 R_SPARC_SIZE32.
18523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18524 R_SPARC_SIZE64 and R_SPARC_H34.
18525
96154cd8
CD
185262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
18527
18528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
18529 conditions and remove no longer applicable assertion.
18530
9904dc47
L
185312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18532
18533 * bits/byteswap.h: Include <features.h>.
18534 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18535 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18536
f8887d0a
L
185372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
18538
18539 * bits/byteswap.h (__bswap_16): Removed.
18540 Include <bits/byteswap-16.h> to get __bswap_16.
18541 * sysdeps/i386/bits/byteswap.h: Likewise.
18542 * sysdeps/s390/bits/byteswap.h: Likewise.
18543 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18544 * bits/byteswap-16.h: New file.
18545 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18546 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18547 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
18548 * string/Makefile (headers): Add bits/byteswap-16.h.
18549
62470f60
PP
185502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18551
18552 [BZ #13895]
18553 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18554 extra indirection.
18555 * nss/Makefile (tests-static, tests): Add tst-nss-static.
18556 * nss/tst-nss-static.c: New.
18557
4dad7bab
RM
185582012-04-06 Robert Millan <rmh@gnu.org>
18559
18560 [BZ #6486]
18561 * manual/llio.texi (File Position Primitive): lseek
18562 refers to WHENCE when it really means OFFSET.
18563
e9142a17
AJ
185642012-04-06 Andreas Jaeger <aj@suse.de>
18565
2c040eff
AJ
18566 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
18567 strncmp declarations.
18568
e9142a17
AJ
18569 * abilist/libc.abilist: Add __poll and __ppoll.
18570
ff9f1c5f
DM
185712012-04-05 David S. Miller <davem@davemloft.net>
18572
dcd2ae90
DM
18573 * scripts/check-local-headers.sh: Accept a host triplet in the
18574 path matched by the exclude regexp.
18575
993eb054
DM
18576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
18577 definition.
18578 * sysdeps/powerpc/powerpc32/dl-machine.h
18579 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
18580 * sysdeps/s390/s390-32/dl-machine.h
18581 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18582 * sysdeps/sparc/sparc32/dl-machine.h
18583 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18584 * sysdeps/sparc/sparc64/dl-machine.h
18585 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
18586
ff9f1c5f
DM
18587 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
18588 lazy binding.
48e2e132 18589 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
18590 undefined symbol errors.
18591
48e2e132 18592 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
18593 DT_NEEDED entries.
18594
e80d6f94
MM
185952012-04-05 Michael Matz <matz@suse.de>
18596
18597 [BZ #13592]
18598 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
18599
349fa79f
AJ
186002012-04-05 Andreas Jaeger <aj@suse.de>
18601
18602 [BZ #13908]
18603 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
18604 comment.
18605
f402708f
KK
186062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18607
18608 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
18609 which ROUND is no valid rounding mode.
18610
2ecccfc9
KK
186112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18612
18613 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
18614 read again.
18615 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
18616
8a53f50f
KK
186172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18618
18619 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
18620 an exception using FPU order intentionally.
18621
186222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18623
18624 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
18625 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
18626 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
18627 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
18628
d653abb7
SJ
186292012-04-05 Simon Josefsson <simon@josefsson.org>
18630
18631 [BZ #12340]
18632 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18633 EINVAL when BUFLEN is too smal.
18634
c3b1bf7d
TS
186352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18636
18637 [BZ #13553]
18638 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18639 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18640
b1aa60f3
AJ
186412012-04-03 Andreas Jaeger <aj@suse.de>
18642
c3b1bf7d 18643 [BZ #13938]
67f60a26
AJ
18644 * manual/setjmp.texi (System V contexts): Fix sentence.
18645
b1aa60f3
AJ
18646 [BZ #13926]
18647 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18648 New macro for this case.
18649 [!__GNUC__] (__bswap_64): New inline function for this case.
18650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18651 * bits/byteswap.h: Likewise.
18652 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18653 ull, guard with __GLIBC_HAVE_LONG_LONG.
18654
18655 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18656 __GLIBC_HAVE_LONG_LONG.
18657
18658 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18659 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18660
39c59c35
TMQMF
186612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18662
18663 [BZ #13691]
18664 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18665 inptr and inend, rather than using last_ch.
18666
135ffda8
DM
186672012-04-02 David S. Miller <davem@davemloft.net>
18668
18669 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18670 * stdio-common/printf-parse.h (read_int): Change return type to
18671 'int', return -1 on INT_MAX overflow.
18672 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18673 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18674 overflows INT_MAX. Check for overflow of in-format-string precision
18675 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18676 SIZE_MAX not INT_MAX for integer overflow test.
18677 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18678 skip the construct in the format string but do not record anything.
18679 * stdio-common/bug22.c: Adjust to test both width/prevision
18680 INT_MAX overflow as well as total length INT_MAX overflow. Check
18681 explicitly for proper errno values.
18682
228c019e
TS
186832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18684
302cadd3
TS
18685 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18686 CHAR_MAX.
18687 * string/test-strcmp.c [! WIDE]: Likewise.
18688 * time/tst-mktime2.c: Likewise for INT_MAX.
18689 * string/test-string.h: #include <sys/param.h> for MIN.
18690
228c019e
TS
18691 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18692 * sysdeps/i386/init-first.c (init): Likewise.
18693 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18694 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18695 * sysdeps/sh/init-first.c (init): Likewise.
18696
cfa633f5
UD
186972012-04-01 Ulrich Drepper <drepper@gmail.com>
18698
18699 * po/ru.po: Update from translation team.
d1635ef8 18700 * po/vi.po: Likewise.
cfa633f5 18701
6cd0a5ea
SP
187022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18703
18704 * resolv/nss_dns/dns-host.c: Merge copyright years.
18705
4b43400f
LD
187062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18707
18708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18709 Optimize memcpy with prefetch if
18710 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18711 src, dst pointers have unequal 16 byte alignments.
18712
48c41d04
SP
187132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18714
18715 [BZ #13928]
18716 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18717 from a CNAME entry and return the minimum ttl for the query.
18718 (gaih_getanswer_slice): Likewise.
18719
b8dc394d
JL
187202012-03-30 Jeff Law <law@redhat.com>
18721
18722 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18723 due to long keys.
18724 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18725 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18726
2f5a5ed0
JL
18727 * resolv/nss_dns/dns-host.c: Update copyright year.
18728
1d39e359
UD
187292012-03-30 Ulrich Drepper <drepper@gmail.com>
18730
c030f70c 18731 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 18732 requests to save a system call. Fix check that all bytes are sent.
c030f70c 18733
1d39e359
UD
18734 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18735 comments for sendmmsg.
18736
187372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
18738
18739 [BZ #13691]
18740 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18741 with only 1 character between 0x0041 and 0x01b0.
18742 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18743 * wcsmbs/tst-mbsnrtowcs.c: New file.
18744
20fde227
DM
187452012-03-29 David S. Miller <davem@davemloft.net>
18746
18747 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18748 small copies by hand.
18749
984a4237
JL
187502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18751
18752 [BZ #13761]
18753 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18754 _nss_compat_initgroups_dyn): Fall back to malloc/free
18755 for large group memberships.
18756
18c9d62b
DM
187572012-03-28 David S. Miller <davem@davemloft.net>
18758
88d85d4f
DM
18759 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18760 that branches into memcpy.
18761 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18763 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18764 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18766 bits.
18767 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18768 implementation too.
18769 * sysdeps/sparc/mempcpy.S: New file.
18770
e5aa83e1
DM
18771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18772 the IFUNC routine in the libc case.
18773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18774
88570753
DM
18775 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18776 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18777 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18778 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18779 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18780 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18781 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18782 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18783
249d7567
DM
18784 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18785 loop to 256 bytes instead of 64 bytes and fix test signedness.
18786
18c9d62b
DM
18787 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18788 * sysdeps/sparc/sparc32/Makefile: rather than here...
18789 * sysdeps/sparc/sparc64/Makefile: and here.
18790
05f3d1f6
UD
187912012-03-28 Ulrich Drepper <drepper@gmail.com>
18792
18793 * malloc/mallocbug.c: Avoid warnings about unused variables.
18794
86ae07a8
JL
187952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18796
18797 [BZ #13760]
18798 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18799 in the right place. Discard and retry query if response is
18800 larger than input buffer size.
18801
41bf21a1
JM
188022012-03-28 Joseph Myers <joseph@codesourcery.com>
18803
d6270972
JM
18804 [BZ #369]
18805 [BZ #2678]
18806 [BZ #3866]
18807 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18808 x for large integer exponent.
18809 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18810 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18811 sign of result as needed afterwards.
18812 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18813 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18814 result for underflowing pow the same as for overflow.
18815 (__kernel_standard_l): Handle powl overflow and underflow here
18816 rather than calling __kernel_standard.
18817 * math/libm-test.inc (pow_test): Add more tests.
18818
414fca03 18819 [BZ #3868]
41bf21a1
JM
18820 [BZ #13879]
18821 [BZ #13910]
18822 [BZ #13911]
18823 [BZ #13912]
18824 [BZ #13913]
18825 [BZ #13915]
18826 [BZ #13916]
18827 [BZ #13917]
18828 [BZ #13918]
18829 [BZ #13919]
18830 [BZ #13920]
18831 [BZ #13921]
18832 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18833 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18834 (__kernel_standard_l): New function.
18835 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18836 __kernel_standard.
18837 * math/w_acosl.c (__acosl): Likewise.
18838 * math/w_asinl.c (__asinl): Likewise.
18839 * math/w_atan2l.c (__atan2l): Likewise.
18840 * math/w_atanhl.c (__atanhl): Likewise.
18841 * math/w_coshl.c (__coshl): Likewise.
18842 * math/w_exp10l.c (__exp10l): Likewise.
18843 * math/w_exp2l.c (__exp2l): Likewise.
18844 * math/w_fmodl.c (__fmodl): Likewise.
18845 * math/w_hypotl.c (__hypotl): Likewise.
18846 * math/w_j0l.c (__j0l, __y0l): Likewise.
18847 * math/w_j1l.c (__j1l, __y1l): Likewise.
18848 * math/w_jnl.c (__jnl, __ynl): Likewise.
18849 * math/w_lgammal.c (__lgammal): Likewise.
18850 * math/w_log10l.c (__log10l): Likewise.
18851 * math/w_log2l.c (__log2l): Likewise.
18852 * math/w_logl.c (__logl): Likewise.
18853 * math/w_powl.c (__powl): Likewise.
18854 * math/w_remainderl.c (__remainderl): Likewise.
18855 * math/w_scalbl.c (sysv_scalbl): Likewise.
18856 * math/w_sinhl.c (__sinhl): Likewise.
18857 * math/w_sqrtl.c (__sqrtl): Likewise.
18858 * math/w_tgammal.c (__tgammal): Likewise.
18859 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18860 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18861 * math/libm-test.inc (acos_test): Add more tests.
18862 (acosh_test): Likewise.
18863 (asin_test): Likewise.
18864 (atanh_test): Likewise.
18865 (exp_test): Likewise.
18866 (exp10_test): Likewise.
18867 (exp2_test): Likewise.
18868 (expm1_test): Likewise.
18869 (lgamma_test): Likewise.
18870 (log_test): Likewise.
18871 (log10_test): Likewise.
18872 (log1p_test): Likewise.
18873 (log2_test): Likewise.
18874 (pow_test): Do not allow some spurious overflow exceptions.
18875 (sqrt_test): Add more tests.
18876 (tgamma_test): Likewise.
18877 (y0_test): Likewise.
18878 (y1_test): Likewise.
18879 (yn_test): Likewise.
18880
dd62fda6
AB
188812012-03-27 Anton Blanchard <anton@samba.org>
18882
18883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18884 MAP_HUGETLB.
18885 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18886 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18888
1e3cdfda
AJ
188892012-03-27 David S. Miller <davem@davemloft.net>
18890
b855ab85
DM
18891 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18892
1e3cdfda
AJ
18893 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18894 have-as-vis3 check.
18895
188962012-03-27 Andreas Jaeger <aj@suse.de>
18897
18898 * sysdeps/x86_64/elf/configure.in: Moved to ...
18899 * sysdeps/x86_64/configure.in: ... here.
18900 * sysdeps/x86_64/elf/start.S: Moved to ...
18901 * sysdeps/x86_64/start.S: ... here.
18902 * sysdeps/x86_64/elf/configure: Delete.
18903
18904 * sysdeps/x86_64/configure.in: Merge contents from
18905 sysdeps/i386/configure.in (without i686 check).
18906
18907 * sysdeps/i386/elf/Versions: Merge into ...
18908 * sysdeps/i386/Versions: ... this.
18909 * sysdeps/i386/elf/Versions: Delete file.
18910 * sysdeps/i386/elf/start.S: Moved to ...
18911 * sysdeps/i386/start.S: ...here.
18912 * sysdeps/i386/elf/configure.in: Merge into...
18913 * sysdeps/i386/configure.in: ...here.
18914 * sysdeps/i386/elf/configure.in: Delete file.
18915 * sysdeps/i386/elf/configure: Delete file.
18916
18917 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18918 * debug/backtracesyms.c: ... here.
18919 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18920 * debug/backtracesymsfd.c: ... here.
18921 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18922 * sysdeps/generic/ifunc-sel.h: ... here.
18923
18924 * sysdeps/unix/i386/start.c: Delete file.
18925 * sysdeps/unix/sparc/start.c: Delete file.
18926 * sysdeps/unix/start.c: Delete file.
18927
18928 * sysdeps/sh/elf/configure.in: Moved to ...
18929 * sysdeps/sh/configure.in: ... here.
18930 * sysdeps/sh/elf/start.S: Moved to ...
18931 * sysdeps/sh/start.S: ... here.
18932 * sysdeps/sh/elf/configure: Delete file.
18933
18934 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18935 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18936 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18937 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18938 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18939 * sysdeps/powerpc/powerpc64/start.S: here.
18940 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18941 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18942 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18943 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18944 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18945
18946 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18947 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18948 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18949 * sysdeps/powerpc/powerpc32/start.S: ... here.
18950 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18951 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18952 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18953
18954 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18955 * sysdeps/powerpc/ifunc-sel.h: ... here.
18956 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18957 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18958
18959 * sysdeps/sparc/elf/configure.in: Moved to ...
18960 * sysdeps/sparc/configure.in: ... here.
18961 * sysdeps/sparc/elf/configure: Delete file.
18962 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18963 * sysdeps/sparc/sparc32/start.S: ... here.
18964 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18965 * sysdeps/sparc/sparc64/start.S: ... here.
18966 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18967 * sysdeps/sparc/sparc32/Makefile: ... this.
18968 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18969 * sysdeps/sparc/sparc64/Makefile: ... this.
18970
18971 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18972 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18973 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18974 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18975 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18976 * sysdeps/s390/s390-32/setjmp.S: ... here.
18977 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18978 * sysdeps/s390/s390-32/configure.in: ... here.
18979 * sysdeps/s390/s390-32/elf/configure: Delete file.
18980 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18981 * sysdeps/s390/s390-32/start.S: ... here.
18982
18983 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18984 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18985 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18986 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18987 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18988 * sysdeps/s390/s390-64/setjmp.S: ... here.
18989 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18990 * sysdeps/s390/s390-64/configure.in: ... here
18991 * sysdeps/s390/s390-64/elf/configure: Delete file.
18992 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18993 * sysdeps/s390/s390-64/start.S: ... here.
18994 * sysdeps/s390/s390-64/elf/configure: Delete.
18995
18996 * configure.in: Remove support for elf directories in sysdeps.
18997
18998 * configure: Regenerated.
18999 * sysdeps/i386/configure: Regenerated.
19000 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19001 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19002 * sysdeps/s390/s390-32/configure: Regenerated.
19003 * sysdeps/s390/s390-64/configure: Regenerated.
19004 * sysdeps/sh/configure: Regenerated.
19005 * sysdeps/sparc/configure: Regenerated.
19006 * sysdeps/x86_64/configure: Regenerated.
19007
a3f61311
AS
190082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19009
c876e002
AS
19010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19011
a3f61311
AS
19012 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19013 denormal result into account.
19014
ac4c54f0
RM
190152012-03-25 Roland McGrath <roland@hack.frob.com>
19016
19017 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19018 Reported by Allan McRae <allan@archlinux.org>.
19019
6a9b9c02
JL
190202012-03-23 Jeff Law <law@redhat.com>
19021
19022 * nss/getnssent.c (__nss_getent): Fix typo.
19023
4c42a0c1
DM
190242012-03-23 David S. Miller <davem@davemloft.net>
19025
19026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19027
1532c7ac
L
190282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19029
19030 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19031 to pad to uint64_t for each field.
19032 (dl_tls_index): Replace unsigned long with uint64_t.
19033
3ff42526
PP
190342012-03-23 Daniel Jacobowitz <dmj@google.com>
19035 Paul Pluzhnikov <ppluzhnikov@google.com>
19036
19037 [BZ #6528]
19038 * grp/Makefile (otherlibs): Don't set it.
19039 * inet/Makefile (otherlibs): Likewise.
19040 * login/Makefile (otherlibs): Likewise.
19041 * nscd/Makefile (otherlibs): Likewise.
19042 * posix/Makefile (otherlibs): Likewise.
19043 * pwd/Makefile (otherlibs): Likewise.
19044 * rt/Makefile (otherlibs): Likewise.
19045 * sunrpc/Makefile (otherlibs): Likewise.
19046 * nss/Makefile (otherlibs): Likewise.
19047 Add libnss_files to routines and static-only-routines.
19048 ($(objpfx)getent): Remove rule.
19049 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19050 static-only-routines.
19051
7c69cd14
JM
190522012-03-22 Joseph Myers <joseph@codesourcery.com>
19053
19054 [BZ #13892]
19055 * math/s_cexp.c: Include <float.h>.
19056 (__cexp): Handle exp result overflowing not necessarily
19057 overflowing both real and imaginary parts of result.
19058 * math/s_cexpf.c: Likewise.
19059 * math/s_cexpl.c: Likewise.
19060 * math/libm-test.inc (cexp_test): Add more tests.
19061 * sysdeps/i386/fpu/libm-test-ulps: Update.
19062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19063
81b035fe
L
190642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19065
19066 * include/link.h (ELFW): New macro.
19067 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19068 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19069
1da7940c
L
190702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19071
19072 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19073 with uint64_t.
19074
b749dbb9
L
190752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19076
19077 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19078 declaration.
19079 (struct La_x32_retval): Likewise.
19080
2ff87f3f
L
190812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 * sysdeps/x86_64/preconfigure.in: New file.
19084 * sysdeps/x86_64/preconfigure: New generated file.
19085
c0df8e69
JM
190862012-03-22 Joseph Myers <joseph@codesourcery.com>
19087
48e44791
JM
19088 [BZ #13824]
19089 * math/e_exp2l.c: Include <float.h>.
19090 (__ieee754_exp2l): Handle overflow and underflow cases
19091 separately. Only pass fractional part of argument to
19092 __ieee754_expl.
19093 * math/libm-test.inc (exp2_test): Add more tests.
19094
c0df8e69
JM
19095 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19096 negating x to take absolute value.
19097 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19098 Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19101 Likewise.
19102 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19103 computing low part if x was negated.
19104 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19105
c8e43ba7
L
191062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19107
19108 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19109 la_x32_gnu_pltexit.
19110 (pltexit): Cast int_retval to ptrdiff_t.
19111 * elf/tst-auditmod3b.c: Likewise.
19112 * elf/tst-auditmod4b.c: Likewise.
19113 * elf/tst-auditmod5b.c: Likewise.
19114 * elf/tst-auditmod6b.c: Likewise.
19115 * elf/tst-auditmod6c.c: Likewise.
19116 * elf/tst-auditmod7b.c: Likewise.
19117
19118 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19119 and x32_gnu_pltexit.
19120
19121 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19122 __ELF_NATIVE_CLASS.
19123 (La_x32_regs): New macro.
19124 (La_x32_retval): Likewise.
19125 (la_x32_gnu_pltenter): New function prototype.
19126 (la_x32_gnu_pltexit): Likewise.
19127
7998fa78
AS
191282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19129
dcb33988
AS
19130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19131 exponent.
19132
233fc563
AS
19133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19134
7998fa78
AS
19135 * configure.in (libc_cv_cc_nofma): Check for option to disable
19136 generation of FMA instructions.
19137 * configure: Regenerate.
19138 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19139 * sysdeps/ieee754/dbl-64/Makefile: New file.
19140 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19141 Remove brandred-fma4.
19142 (CFLAGS-brandred-fma4.c): Remove.
19143 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19144 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19145 define.
19146 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19147 define.
19148
8e95c99a
L
191492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19150
19151 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19152 LLONG_MAX != LONG_MAX.
19153 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19154 (_fitoa_word): Likewise.
19155 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19156 LLONG_MAX != LONG_MAX.
19157 * stdio-common/_itowa.h: Include <_itoa.h>.
19158 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19159 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19160 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19161 only if not defined.
19162 (_ITOA_WORD_TYPE): Likewise.
19163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19164 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19165
6f4db457
DM
191662012-03-21 David S. Miller <davem@davemloft.net>
19167
19168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19169
7785fe5a
L
191702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19171
19172 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19173 of x86_64 when setting libc_cv_slibdir, libdir and
19174 libc_cv_localedir.
19175 * sysdeps/unix/sysv/linux/configure: Regenerated.
19176
4535cd55
JM
191772012-03-21 Joseph Myers <joseph@codesourcery.com>
19178
19179 * manual/lang.texi (Old Varargs): Remove section.
19180 (How Variadic): Update menu.
19181 (va_start): Do not mention varargs.h.
19182
17228132
TS
191832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19184 Joseph Myers <joseph@codesourcery.com>
19185
19186 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19187 link test.
19188 * configure: Regenerated.
19189
8149f976
TS
191902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19191
05f3d1f6
UD
19192 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19193 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19194 conformtest.pl
8149f976 19195
1a4ac776
JM
191962012-03-21 Joseph Myers <joseph@codesourcery.com>
19197
be22ce65
JM
19198 * NOTES: Remove.
19199 * Makefile (files-for-dist): Remove NOTES.
19200 (NOTES): Remove rule.
19201 * README: Don't refer to NOTES.
19202 * manual/creature.texi: Don't include macros.texi.
19203 * manual/intro.texi (creature.texi): Remove comment referring to
19204 NOTES.
19205
40b601fb
JM
19206 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19207 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19208 * configure: Regenerated.
19209 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19210 LIBC_TRY_CC_OPTION.
19211 (libc_cv_as_i686): Likewise.
19212 (libc_cv_cc_avx): Likewise.
19213 (libc_cv_cc_sse2avx): Likewise.
19214 (libc_cv_cc_fma4): Likewise.
19215 (libc_cv_cc_novzeroupper): Likewise.
19216 * sysdeps/i386/configure: Regenerated.
19217
1a4ac776
JM
19218 [BZ #13883]
19219 * sysdeps/i386/fpu/s_cexp.S: Remove.
19220 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19221 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19222 * math/libm-test.inc (cexp_test): Add more tests.
19223 * sysdeps/i386/fpu/libm-test-ulps: Update.
19224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19225
a458e7fe
AM
192262012-03-21 Allan McRae <allan@archlinux.org>
19227
19228 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19229
0cb7efc5
JM
192302012-03-21 Joseph Myers <joseph@codesourcery.com>
19231
19232 [BZ #13871]
19233 * math/w_exp2.c: Do not include <float.h>.
19234 (o_threshold, u_threshold): Remove.
19235 (__exp2): Calculate result before checking finiteness and calling
19236 __kernel_standard.
19237 * math/w_exp2f.c: Likewise.
19238 * math/w_exp2l.c: Likewise.
19239 * math/libm-test.inc (exp2_test): Require overflow exception for
19240 1e6 input.
2460d3aa
JM
19241
19242 [BZ #3866]
19243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19244 range of signed 64-bit integers before using fistpll. Remove
19245 checks for whether integers fit in mantissa bits.
19246 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19247 the range of signed 32-bit integers before using fistpl. Remove
19248 checks for whether integers fit in mantissa bits.
19249 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19250 (__ieee754_powl): Test for y outside the range of signed 64-bit
19251 integers before using fistpll. Reduce 64-bit values to 63-bit
19252 ones as needed.
19253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19254 divide-by-zero is raised for zero to large negative powers.
19255 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19256 (__ieee754_powl): Test for y outside the range of signed 64-bit
19257 integers before using fistpll. Reduce 64-bit values to 63-bit
19258 ones as needed.
19259 * math/libm-test.inc (pow_test): Add more tests.
19260
eb96ffb0
L
192612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19262
19263 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19264 <stdio-common/_itoa.h>.
19265 * debug/segfault.c: Likewise.
19266 * elf/dl-cache.c: Likewise.
19267 * elf/dl-minimal.c: Likewise.
19268 * elf/dl-misc.c: Likewise.
19269 * elf/dl-sysdep.c: Likewise.
19270 * elf/dl-version.c: Likewise.
19271 * elf/rtld.c: Likewise.
19272 * hurd/hurdsock.c: Likewise.
19273 * hurd/lookup-retry.c: Likewise.
19274 * malloc/malloc.c: Likewise.
19275 * malloc/mtrace.c: Likewise.
19276 * nscd/nscd_getgr_r.c: Likewise.
19277 * nscd/nscd_getpw_r.c: Likewise.
19278 * nscd/nscd_getserv_r.c: Likewise.
19279 * posix/getopt_init.c: Likewise.
19280 * posix/wordexp.c: Likewise.
19281 * stdio-common/_itoa.c: Likewise.
19282 * stdio-common/printf_fphex.c: Likewise.
19283 * stdio-common/vfprintf.c: Likewise.
19284 * string/_strerror.c: Likewise.
19285 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19286 * sysdeps/i386/i686/hp-timing.h: Likewise.
19287 * sysdeps/mach/_strerror.c: Likewise.
19288 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19289 * sysdeps/mach/hurd/sethostid.c: Likewise.
19290 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19291 * sysdeps/mach/xpg-strerror.c: Likewise.
19292 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19293 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19294 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19295 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19296 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19297 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19298 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19299 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19300 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19301 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19302 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19303 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19304 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19305 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19306 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19307 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19308 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19309 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19310 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19311 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19312 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19313
19314 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19315
19316 * stdio-common/_itoa.h: Moved to ...
19317 * sysdeps/generic/_itoa.h: Here.
19318
19319 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19320
19321 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19322 instead of "_itoa.h" and "_itowa.h".
19323 * stdio-common/vfprintf.: Likewise.
19324
d1af992d
L
193252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19326
19327 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19328 <bits/wordsize.h>.
19329 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19330 (__signbit): Likwise.
19331 (llrintf): Likwise.
19332 (llrint): Likwise.
19333
114883e0
L
193342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19337 __WORDSIZE != 64.
19338
c135cc1b
JM
193392012-03-20 Joseph Myers <joseph@codesourcery.com>
19340
19341 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19342 OVERFLOW_EXCEPTION_OK.
19343 * math/libm-test.inc ("Philosophy"): Update comment about
19344 exception testing.
19345 (OVERFLOW_EXCEPTION): Define.
19346 (OVERFLOW_EXCEPTION_OK): Likewise.
19347 (INVALID_EXCEPTION_OK): Renumber.
19348 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19349 (IGNORE_ZERO_INF_SIGN): Likewise.
19350 (test_exceptions): Handle FE_OVERFLOW.
19351 (exp10_test): Expect overflow exceptions.
19352 (exp2_test): Likewise.
19353 (expm1_test): Likewise.
19354 (nextafter_test): Likewise.
19355 (pow_test): Likewise.
19356 (scalbn_test): Likewise.
19357 (scalbln_test): Likewise.
19358
95443d88
L
193592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19360
19361 * sysdeps/x86_64/bits/atomic.h
19362 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19363 64bit integer.
19364 (atomic_exchange_acq): Likewise.
19365 (__arch_exchange_and_add_body): Likewise.
19366 (__arch_add_body): Likewise.
19367 (atomic_add_negative): Likewise.
19368 (atomic_add_zero): Likewise.
19369
490df6c4
L
193702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19371
c2722551 19372 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19373 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19374
5e52b189
L
193752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19376
19377 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19378 Check __x86_64__ instead of __WORDSIZE.
19379
a9879d4c
L
193802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19381
19382 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19383
5df98260
DM
193842012-03-19 David S. Miller <davem@davemloft.net>
19385
e1497744
DM
19386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19387
5df98260
DM
19388 * sysdeps/sparc/fpu/fenv_private.h: New file.
19389 * sysdeps/sparc/fpu/math_private.h: Use it.
19390 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19391 Remove.
19392 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19393 (libc_feholdexcept_setroundl): Remove.
19394 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19395 Remove.
19396 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19397 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19398
b4c35121
L
193992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19400
19401 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19402 int64_t instead of long int.
19403 (INSERT_WORDS64): Likwise.
19404
56965fd7
L
194052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19406
19407 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19408 _Unwind_GetCFA return to _Unwind_Ptr first.
19409
83d1aec8
JM
194102012-03-19 Joseph Myers <joseph@codesourcery.com>
19411
1897ad44
JM
19412 [BZ #13629]
19413 * math/s_clog.c: Include <float.h>.
19414 (__clog): Scale large or subnormal inputs.
19415 * math/s_clogf.c: Likewise.
19416 * math/s_clogl.c: Likewise.
19417 * math/s_clog10.c: Include <float.h>.
19418 (M_LOG10_2): Define.
19419 (__clog10): Scale large or subnormal inputs.
19420 * math/s_clog10f.c: Likewise.
19421 * math/s_clog10l.c: Likewise.
19422 * math/libm-test.inc (clog_test): Add more tests.
19423 (clog10_test): Likewise.
19424 * sysdeps/i386/fpu/libm-test-ulps: Update.
19425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19426
7726d6a9
JM
19427 [BZ #11451]
19428 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
19429 x and y.
19430 * math/libm-test.inc (atan2_test): Add another test.
19431
83d1aec8
JM
19432 * Makerules (common-objdir-compile): Remove.
19433 * sysdeps/unix/Makefile (config-generated): Do not add
19434 $(unix-generated) to variable.
19435 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
19436 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
19437 Remove rule.
19438 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
19439 Likewise.
19440 [generic bits/local_lim.h] (before-compile): Do not append to
19441 variable.
19442 [generic bits/local_lim.h] (common-generated): Likewise.
19443 [generic sys/param.h] (before-compile): Do not append to variable.
19444 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
19445 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
19446 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
19447 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
19448 include.
19449 [generic sys/param.h] (sys/param.h-includes): Remove variable.
19450 [generic sys/param.h] (sys/param.h-includes): Remove rule.
19451 [generic sys/param.h] ($(addprefix
19452 $(common-objpfx),$(sys/param.h-includes))): Likewise.
19453 [generic sys/param.h] (common-generated): Do not append to
19454 variable.
19455 [generic sys/param.h] (sysdep_headers): Likewise.
19456 [generic bits/errno.h] (before-compile): Do not append to
19457 variable.
19458 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
19459 rule.
19460 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
19461 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
19462 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
19463 [generic bits/errno.h] (common-generated): Do not append to
19464 variable.
19465 [generic bits/ioctls.h] (before-compile): Do not append to
19466 variable.
19467 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
19468 rule.
19469 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
19470 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
19471 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
19472 rule.
19473 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
19474 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
19475 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
19476 [generic bits/ioctls.h] (common-generated): Do not append to
19477 variable.
19478 [generic sys/syscall.h] (syscall.h): Remove variable.
19479 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
19480 rule.
19481 [generic sys/syscall.h] (before-compile): Do not append to
19482 variable.
19483 [generic sys/syscall.h] (common-generated): Likewise.
19484 * sysdeps/unix/errnos-tmpl.c: Remove file.
19485 * sysdeps/unix/errnos.awk: Likewise.
19486 * sysdeps/unix/ioctls-tmpl.c: Likewise.
19487 * sysdeps/unix/ioctls.awk: Likewise.
19488 * sysdeps/unix/mk-local_lim.c: Likewise.
19489 * sysdeps/unix/snarf-ioctls: Likewise.
19490
4851a949
RH
194912012-03-19 Richard Henderson <rth@twiddle.net>
19492
bd37f2ee
RH
19493 * sysdeps/i386/fpu/fenv_private.h: New file.
19494 * sysdeps/i386/fpu/math_private.h: Use it.
19495 (math_opt_barrier, math_force_eval): Remove.
19496 (libc_feholdexcept_setround_53bit): Remove.
19497 (libc_feupdateenv_53bit): Remove.
19498 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19499 (math_opt_barrier, math_force_eval): Remove.
19500 (libc_feholdexcept): Remove.
19501 (libc_feholdexcept_setround): Remove.
19502 (libc_fetestexcept, libc_fesetenv): Remove.
19503 (libc_feupdateenv_test): Remove.
19504 (libc_feupdateenv, libc_feholdsetround): Remove.
19505 (libc_feresetround): Remove.
19506
d0adc922
RH
19507 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
19508 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19509
0fe0f1f8
RH
19510 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
19511 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
19512 (libc_feupdateenv_testl): New.
19513 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
19514 (libc_feupdateenv_testf): New.
19515 (libc_feupdateenv): Use libc_feupdateenv_test.
19516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
19517 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
19518
eb92c487
RH
19519 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
19520 (libc_feholdsetroundf, libc_feholdsetroundl): New.
19521 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
19522 (libc_feresetround_noex): New.
19523 (libc_feresetround_noexf): New.
19524 (libc_feresetround_noexl): New.
19525 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19526 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
19527 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
19528 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
19529 SET_RESTORE_ROUND.
19530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19531 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
19532 (__cos): Likewise.
19533 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
19534 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19535 SET_RESTORE_ROUND_NOEX.
19536 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
19537 SET_RESTORE_ROUND_NOEXF.
19538 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
19539 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
19540 (libc_feholdsetroundf): New.
19541 (libc_feresetround, libc_feresetroundf): New.
19542
7d2e8012
RH
19543 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
19544 (libc_feholdexcept_setround_53bit): Convert from macro to function.
19545 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
19546
b4dabbb4
RH
19547 * sysdeps/generic/math_private.h: Include <fenv.h>.
19548 (default_libc_feholdexcept): New.
19549 (default_libc_feholdexcept_setround): New.
19550 (default_libc_fesetenv, default_libc_feupdateenv): New.
19551 (libc_feholdexcept): Only define if undefined.
19552 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
19553 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
19554 (libc_feholdexcept_setroundl): Likewise.
19555 (libc_feholdexcept_setround_53bit): Likewise.
19556 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
19557 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
19558 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19559 (libc_feupdateenv_53bit): Likewise.
19560 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
19561 (libc_feholdexcept): Convert from macro to inline function.
19562 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
19563 (libc_fesetenv, libc_feupdateenv): Likewise.
19564
4851a949
RH
19565 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
19566 not previously defined.
19567 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
19568 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
19569 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
19570 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
19571 * sysdeps/ieee754/flt-32/math_private.h: New file.
19572 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
19573 math_private.h below SET_FLOAT_WORD.
19574 (__isnan, __isinf_ns, __finite): Remove.
19575 (__isnanf, __isinf_nsf, __finitef): Remove.
19576
e79d442e
AS
195772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
19578
19579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19580
90b80344
DM
195812012-03-17 David S. Miller <davem@davemloft.net>
19582
19583 [BZ #6471]
19584 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
19585 for 2.16.
19586
edc21804
DM
195872012-03-16 David S. Miller <davem@davemloft.net>
19588
77e927af
DM
19589 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
19590 warnings.
19591
374976dd
DM
19592 [BZ #6471]
19593 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
19594 properly.
19595 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
19596 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
19597 sysdep_routines when subdir is sysvipc.
19598 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
19599 __getshmlba helper.
19600
edc21804
DM
19601 * sysdeps/sparc/fpu/libm-test/ulps: Update.
19602
473c3ef3
L
196032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19604
19605 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
19606 [__LP64__].
19607
eb0f39b6
L
196082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19609
19610 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
19611 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
19612 (__lround): Renamed to ...
19613 (__llround): This. Replace long int with long long int.
19614 Define lround functions as aliases of llround functions.
19615 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
19616
6b6cd74b
L
196172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19618
19619 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
19620 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
19621 adresses to uintptr_t. Replace "long int" and "unsigned long
19622 int" with "greg_t" on va_arg.
19623
f1a77b01
L
196242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19625
19626 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
19627 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
19628
19629 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
19630 Move e_machine check before EI_CLASS check. Handle x32
19631 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19632 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19633 SKIP_EM_IA_64 and include
19634 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19635
19636 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19637 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19638 (add_system_dir): New macro.
19639
19640 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19641 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19642
11b90b9f
JM
196432012-03-16 Joseph Myers <joseph@codesourcery.com>
19644
c36e1d23
JM
19645 [BZ #2551]
19646 [BZ #2552]
19647 [BZ #2553]
19648 [BZ #2554]
19649 [BZ #2562]
19650 [BZ #2563]
19651 [BZ #2565]
19652 [BZ #2566]
19653 [BZ #2576]
19654 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19655 (y0): Likewise.
19656 * math/w_j0f.c (j0f): Likewise.
19657 (y0f): Likewise.
19658 * math/w_j0l.c (__j0l): Likewise.
19659 (__y0l): Likewise.
19660 * math/w_j1.c (j1): Likewise.
19661 (y1): Likewise.
19662 * math/w_j1f.c (j1f): Likewise.
19663 (y1f): Likewise.
19664 * math/w_j1l.c (__j1l): Likewise.
19665 (__y1l): Likewise.
19666 * math/w_jn.c (jn): Likewise.
19667 (yn): Likewise.
19668 * math/w_jnf.c (jnf): Likewise.
19669 (ynf): Likewise.
19670 * math/w_jnl.c (__jnl): Likewise.
19671 (__ynl): Likewise.
19672 * math/libm-test.inc (j0_test): Add more tests.
19673 (j1_test): Likewise.
19674 (jn_test): Likewise. Add trailing semicolon to existing test.
19675 (y0_test): Likewise.
19676 (y1_test): Likewise.
19677 * sysdeps/i386/fpu/libm-test-ulps: Update.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19679
11b90b9f
JM
19680 [BZ #13851]
19681 [BZ #13854]
19682 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19683 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19684 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19685 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19686 (__tanl): Set errno for infinite argument.
19687 * sysdeps/i386/fpu/mptan.c: Remove.
19688 * sysdeps/i386/fpu/s_tan.S: Likewise.
19689 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19690 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19691 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19692 * math/libm-test.inc (tan_test): Add more tests and enable more
19693 tests for double and long double.
19694 * sysdeps/i386/fpu/libm-test-ulps: Update.
19695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696
6a1bd2a1
JK
196972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19698
19699 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19700 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19701
10a803e0
RM
197022012-03-16 Roland McGrath <roland@hack.frob.com>
19703
19704 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19705 * configure.in: Use it for both main tree and add-ons.
19706 * configure: Regenerated.
19707
f196c7f7
L
197082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19709
19710 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19711
8848d99d
JM
197122012-03-16 Joseph Myers <joseph@codesourcery.com>
19713
96cbe7f4
JM
19714 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19715 in comment.
19716
8848d99d
JM
19717 [BZ #13851]
19718 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19719 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19723 infinite argument.
19724 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19726 != 0 for prec == 2.
19727 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19728 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19729 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19730 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19731 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19732 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19733 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19734 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19735 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19736 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19737 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19738 * math/libm-test.inc (cos_test): Add more tests and enable more
19739 tests for long double.
19740 (sin_test): Likewise.
19741 (sincos_test): Likewise.
19742 * sysdeps/i386/fpu/libm-test-ulps: Update.
19743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744
dd7f4703
DM
197452012-03-16 David S. Miller <davem@davemloft.net>
19746
19747 * sysdeps/sparc/fpu/math_private.h: New file.
19748
006f1daa
DM
197492012-03-15 David S. Miller <davem@davemloft.net>
19750
c0c83bc8
DM
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19752 file.
e6a62e18 19753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19755 file.
e6a62e18
DM
19756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19762 sysdep routines.
19763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19764
88cb87d9
DM
19765 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19766 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19767
006f1daa 19768 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19770 sparc-ifunc.h
006f1daa 19771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19773 Likewise.
19774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19775 Likewise.
006f1daa
DM
19776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19780 Likewise.
006f1daa
DM
19781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19786 Likewise.
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19788 Likewise.
006f1daa
DM
19789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19813
11e0098e
AS
198142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19815
19816 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19817 scaling.
19818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19819
e85b09d0
AJ
198202012-03-15 Andreas Jaeger <aj@suse.de>
19821
19822 [BZ #13852]
19823 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19824 ieee754/flt-32 implementation for sin, cos and sincos.
19825 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19826 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19827 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19828 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19829 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19830 ieee754/flt-32 implementation for tan.
19831
19832 * math/libm-test.inc (cos_test): Enable some large input tests for
19833 float as well
19834 (sin_test): Likewise.
19835 (sincos_test): Likewise.
19836 (tan_test): Add tests for large input.
19837
19838 * sysdeps/i386/fpu/libm-test-ulps: Update.
19839
81c64153
AJ
198402012-03-15 Andreas Jaeger <aj@suse.de>
19841
19842 [BZ #13658]
19843 * math/libm-test.inc (cos_test): Add more test cases.
19844 (sin_test): Likewise.
19845 (sincos_test): Likewise.
19846
7bbfa5c6
AJ
198472012-03-15 Andreas Jaeger <aj@suse.de>
19848
19849 [BZ #13837]
19850 * math/libm-test.inc (cos_test): Add a test case for large input
19851 value.
19852 (sin_test): Likewise.
19853 (sincos_test): Likewise.
19854
198552012-03-15 Andreas Jaeger <aj@suse.de>,
19856 Joseph Myers <joseph@codesourcery.com>
19857
19858 [BZ #13658]
0671f479 19859 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19860 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19861 * sysdeps/i386/fpu/branred.c: Likewise.
19862 * sysdeps/i386/fpu/dosincos.c: Likewise.
19863 * sysdeps/i386/fpu/mpa.c: Likewise.
19864 * sysdeps/i386/fpu/s_cos.S: Likewise.
19865 * sysdeps/i386/fpu/s_sin.S: Likewise.
19866 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19867 * sysdeps/i386/fpu/sincos32.c: Likewise.
19868
19869 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19870 Define.
19871 (libc_feupdateenv_53bit): Define.
19872 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19873 Define.
19874 (libc_feupdateenv_53bit): Define.
19875
19876 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19877 53 bit (without extend i386 double precision).
19878
19879 * math/libm-test.inc (sincos_test): Add tests for large input.
19880 (sin): Likewise.
19881 (cos): Likewise.
19882
19883 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19884
9cad04ea
AS
198852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19886
19887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19888
f7062b9a
DM
198892012-03-15 David S. Miller <davem@davemloft.net>
19890
19891 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19892 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19893 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19894 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19907 file.
f7062b9a 19908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19910 file.
f7062b9a 19911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19913 file.
f7062b9a 19914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19916 file.
f7062b9a
DM
19917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19919 fmin/fmax sysdep routines.
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19921
7bd951ff
DM
199222012-03-14 David S. Miller <davem@davemloft.net>
19923
559398ab
DM
19924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19953 routines.
19954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19955 file.
559398ab 19956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19958 file.
559398ab 19959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19961 file.
559398ab 19962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19964 file.
559398ab 19965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19967 file.
559398ab 19968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19970 file.
19971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19972 file.
19973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19974 file.
19975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19976 file.
19977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19978 New file.
19979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19980 file.
19981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19982 file.
559398ab 19983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19985 file.
559398ab 19986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19988 file.
559398ab 19989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19991 file.
559398ab 19992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19994 VIS3 routines.
559398ab
DM
19995
19996 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19997 New file.
19998
5a1c1e32
DM
19999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20000
eae47a36
DM
20001 * sysdeps/sparc/configure.in: New file.
20002 * sysdeps/sparc/configure: Generate.
20003 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20004 * configure: Regenerate.
20005 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20006 * config.make.in (have-as-vis3): New.
20007 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20008 available use -Av9d instead of -Av9a.
20009 * sysdeps/sparc/sparc64/Makefile: Likewise.
20010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20012 New file.
20013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20014 file.
20015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20016 New file.
20017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20018 file.
eae47a36
DM
20019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20024
c0c83bc8
DM
20025 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20026 fzeros/fnegs to load 0x80000000 into a float register instead of
20027 using the stack.
7bd951ff
DM
20028 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20029
bd951ccb
JM
200302012-03-14 Joseph Myers <joseph@codesourcery.com>
20031
20032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20033 bits/syscall.h.
20034 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20035 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20036 ($(inst_includedir)/bits/syscall.h): Remove rule.
20037 ($(objpfx)bits/syscall.d): Include instead of
20038 $(objpfx)syscall-list.d.
20039 (generated): Change syscall-list.h and syscall-list.d to
20040 bits/syscall.h and bits/syscall.d.
20041
bb4e6db2
RM
200422012-03-14 Roland McGrath <roland@hack.frob.com>
20043
20044 [BZ #13846]
20045 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20046
aa4a2ae1
JM
200472012-03-14 Joseph Myers <joseph@codesourcery.com>
20048
e456826d
JM
20049 [BZ #13841]
20050 * math/s_csqrt.c: Include <float.h>.
20051 (__csqrt): Scale large or subnormal inputs.
20052 * math/s_csqrtf.c: Likewise.
20053 * math/s_csqrtl.c: Likewise.
20054 * math/libm-test.inc (csqrt_test): Add more tests.
20055 * sysdeps/i386/fpu/libm-test-ulps: Update.
20056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20057
aa4a2ae1
JM
20058 [BZ #13840]
20059 * math/libm-test.inc (hypot_test): Add more tests.
20060
7c10fd35
DM
200612012-03-13 David S. Miller <davem@davemloft.net>
20062
20063 [BZ #13840]
20064 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20065 double-precision for the calculation instead of scaling.
20066
f453b98b
JM
200672012-03-13 Joseph Myers <joseph@codesourcery.com>
20068
20069 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20070 manipulate bits before adding and subtracting TWO52[sx].
20071 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20073 Likewise.
20074 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20075
09a3453f
DM
200762012-03-13 David S. Miller <davem@davemloft.net>
20077
8e59da90
DM
20078 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20079 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20081 rtld-global-offsets.h
20082 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20083
2a8ab7f2
DM
20084 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20085 large parameters.
20086
10f62770
DM
20087 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20088
5f0bdb18
DM
20089 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20090 'err' in the ifdef scope in which it is actually used.
20091
09a3453f
DM
20092 * nss/nss_db/db-init.c: Include string.h
20093
b4b2eb5e
DM
200942012-03-12 David S. Miller <davem@davemloft.net>
20095
98bb2f1c
DM
20096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20097 masking out of the most significant byte of random value used.
20098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20099 Fix coding style in previous change.
20100
b4b2eb5e
DM
20101 * sysdeps/unix/sysv/linux/kernel-features.h
20102 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20103 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20104 expression.
20105 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20106 later.
20107
6e226b09
DM
201082012-03-11 David S. Miller <davem@davemloft.net>
20109
a1bcbd40
DM
20110 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20111 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20112 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20113 for 'resultvar' otherwise things get truncated on 64-bit.
20114
cb9d6174
DM
20115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20116 Fix masking out of the most significant byte of random value used.
20117
6e226b09
DM
20118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20119
058c132d
AS
201202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20121
20122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20123
2d2cd515
DM
201242012-03-09 David S. Miller <davem@davemloft.net>
20125
20126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20127 variables with appropriate CPP guards.
20128 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20129 frame pointer, not the stack pointer. Correct layout comments. Fix test
20130 on resulting framesize and the management of the outregs buffer for pltexit.
20131 Preserve floating point return values across _dl_call_pltexit call.
20132 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20133 framesize and the management of the outregs buffer for pltexit.
20134 Preserve floating point return values across _dl_call_pltexit
20135 call.
20136 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20137 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20138 (print_exit): Fix format string for return register value.
20139
9a07f9d0
JM
201402012-03-10 Joseph Myers <joseph@codesourcery.com>
20141
20142 * sunrpc/Makefile (others): Add rpcgen.
20143 ($(objpfx)rpcgen): Remove special build rule and dependency on
20144 libc.
20145 * sunrpc/rpcgen.c: New file.
20146
547b5e30
PE
201472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20148
c524201a
PE
20149 [BZ #13673]
20150 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20151 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20152 * sysdeps/i386/crti.S: Likewise.
20153 * sysdeps/i386/crtn.S: Likewise.
20154 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20155 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20156 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20157 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20158 * sysdeps/sh/crti.S: Likewise.
20159 * sysdeps/sh/crtn.S: Likewise.
20160 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20161
7b6235f2
PE
20162 [BZ #13673]
20163 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20164 with URL.
20165 * locale/programs/locfile-kw.gperf: Likewise.
20166 * locale/programs/charmap-kw.h: Regenerated.
20167 * locale/programs/locfile-kw.h: Likewise.
20168
547b5e30
PE
20169 [BZ #13673]
20170 * intl/plural.y: Replace FSF snail mail address with URL.
20171 * intl/plural.c: Regenerated.
20172
5f0a5dae
RH
201732012-03-09 Richard Henderson <rth@twiddle.net>
20174
20175 * include/math_private.h: Remove file.
20176 * math/math_private.h: Move file ...
20177 * sysdeps/generic/math_private.h: ... here.
20178
b8c03620
RH
20179 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20180 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20181 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20182
4e234f5d 20183 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20184 and <math_private.h>.
20185 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20186 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20187 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20188 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20189 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20190 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20191 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20192 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20193 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20197 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20198 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20199 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20200 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20202 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20210 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20211 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20213 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20217 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20221 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20222 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20225 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20226 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20227 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20228 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20229 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20230 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20231 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20232 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20233 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20234 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20235 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20236 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20237 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20239 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20242 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20243 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20244 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20273 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20274 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20275 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20276 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20277 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20278 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20279 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20280 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20281 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20282 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20283 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20284 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20285 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20286 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20287 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20288 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20289 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20290 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20291 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20292 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20293 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20294 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20295 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20296 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20297 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20298 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20299 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20300 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20301 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20302 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20303 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20304 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20305 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20306 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20307 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20308 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20311 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20319 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20320 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20322 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20323 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20324 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20325 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20326 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20327 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20328 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20329 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20330 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20331 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20332 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20333 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20334 * sysdeps/ieee754/k_standard.c: Likewise.
20335 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20337 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20338 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20339 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20340 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20345 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20346 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20347 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20449 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20454 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20462 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20474 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
20475 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20483 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20484 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
20485 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20486 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20495 * sysdeps/ieee754/s_lib_version.c: Likewise.
20496 * sysdeps/ieee754/s_matherr.c: Likewise.
20497 * sysdeps/ieee754/s_signgam.c: Likewise.
20498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20500 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
20501 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
20502 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
20503 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20504 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
20505 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
20506 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
20507 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
20508 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20509 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
20510 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20511 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20512 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
20513 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20514 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20515 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20516 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20517 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20518 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 20519
1991fa03
JM
205202012-03-09 Joseph Myers <joseph@codesourcery.com>
20521
20522 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
20523 * sunrpc/rpc_main.c: Likewise.
20524 * sunrpc/rpc_svcout.c: Likewise.
20525
60d6f5a6
DM
205262012-03-09 David S. Miller <davem@davemloft.net>
20527
20528 * include/math_private.h: New file.
20529
4962050e
JM
205302012-03-09 Joseph Myers <joseph@codesourcery.com>
20531
02a6f887
JM
20532 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
20533 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
20534 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
20535 from <bits/socket_type.h>.
20536 (enum __socket_type): Don't define here.
20537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
20538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20539 bits/socket_type.h.
20540
c6e013c1
JM
20541 [BZ #13566]
20542 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
20543 checking __USE_GNU.
20544
4962050e
JM
20545 * Makerules ($(inst_includedir)/%.h): New rule.
20546 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
20547 (install-others): Remove variable setting.
20548 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
20549
38842f45
RH
205502012-03-08 Richard Henderson <rth@twiddle.net>
20551
67bb6da6
RH
20552 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
20553 from macro to inline function; merge with the
20554 !__LIBC_INTERNAL_MATH_INLINES version.
20555 (__ieee754_sqrtf): Likewise.
20556
15194b4b
RH
20557 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
20558 to inline function.
20559 (__rintf, __floor, __floorf): Likewise.
20560
64e21ede
RH
20561 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
20562 macro to inline function.
20563 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
20564
38842f45
RH
20565 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
20566 not <math/math_private.h>.
20567
c64bf5fe
DM
205682012-03-08 David S. Miller <davem@davemloft.net>
20569
20570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
20571 copyright year.
20572 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20573
82d86f28
TS
205742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
20575
20576 * resolv/gai_misc.c (handle_requests): Fix struct timespec
20577 normalization.
20578 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
20579 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20580
aea5d727
UD
205812012-03-08 Ulrich Drepper <drepper@gmail.com>
20582
20583 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
20584 be defined individually, they must be defined as a block. Define
20585 S for printing a string instead of hidint the different by using a
20586 macro for adding the 'l'.
20587 * stdio-common/tst-fphex-wide.c: Adjust.
20588
70bca0a3
MP
205892012-03-07 Marek Polacek <polacek@redhat.com>
20590
20591 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
20592
65b81130
MP
205932012-03-08 Marek Polacek <polacek@redhat.com>
20594
20595 [BZ #13806]
20596 * stdio-common/Makefile (tests): Add tst-fphex-wide.
20597 * stdio-common/tst-fphex.c: Define a few macros to make the
20598 test reusable. Use them.
20599 * stdio-common/tst-fphex-wide.c: New file.
20600
07037eeb
JM
206012012-03-08 Joseph Myers <joseph@codesourcery.com>
20602
a7a93d50
JM
20603 [BZ #6911]
20604 * manual/macros.texi (gnusystems): New macro.
20605 (nongnusystems): Likewise.
20606 (gnulinuxhurdsystems): Likewise.
20607 (gnuhurdsystems): Likewise..
20608 (gnulinuxsystems): Likewise.
20609 * manual/charset.texi: Use new macros or @theglibc{} to refer to
20610 variants of the GNU system, not "GNU system".
20611 * manual/conf.texi: Likewise.
20612 * manual/errno.texi: Likewise. Update example of errno macro
20613 expansion.
20614 * manual/filesys.texi: Likewise.
20615 (getumask): Document as specific to GNU/Hurd.
20616 * manual/install.texi: Likewise. Reword some references to
20617 GNU/Linux.
20618 * manual/intro.texi: Likewise.
20619 * manual/io.texi: Likewise.
20620 (File Name Portability): Detail which constraints are inapplicable
20621 to all GNU systems and which are only inapplicable to GNU/Hurd.
20622 * manual/job.texi: Likewise.
20623 * manual/llio.texi: Likewise.
20624 (O_NOCTTY): Document as present on GNU/Linux.
20625 * manual/maint.texi: Likewise.
20626 * manual/memory.texi: Likewise.
20627 * manual/pattern.texi: Likewise.
20628 * manual/pipe.texi: Likewise.
20629 * manual/process.texi: Likewise.
20630 * manual/resource.texi: Likewise.
20631 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20632 child on GNU/Hurd.
20633 * manual/setjmp.texi: Likewise.
20634 * manual/signal.texi: Likewise.
20635 * manual/startup.texi: Likewise.
20636 * manual/stdio.texi: Likewise.
20637 * manual/terminal.texi: Likewise.
20638 (ONLCR): Document as POSIX.
20639 (OXTABS): Document availability on GNU/Linux as XTABS.
20640 (ONOEOT): Document availability separately from other bits.
20641 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20642 * manual/time.texi: Likewise.
20643 * manual/users.texi: Likewise.
20644 * INSTALL: Regenerated.
20645 * sysdeps/gnu/errlist.c: Regenerated.
20646
07037eeb
JM
20647 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20648 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20649 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20650 puts.
20651 * configure: Regenerated.
20652
d1d3431a
JM
206532012-03-07 Joseph Myers <joseph@codesourcery.com>
20654
af6a1e37
JM
20655 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20656 default includes instead of AC_HEADER_CHECK.
20657 * sysdeps/i386/configure: Regenerated.
20658
d1d3431a
JM
20659 [BZ #10716]
20660 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20661 * math/s_cacoshf.c (__cacoshf): Likewise.
20662 * math/s_cacoshl.c (__cacoshl): Likewise.
20663 * math/s_casinh.c (__casinh): Set signs of result from argument.
20664 * math/s_casinhf.c (__casinhf): Likewise.
20665 * math/s_casinhl.c (__casinhl): Likewise.
20666 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20667 (casinh_test): Add more tests.
20668 * sysdeps/i386/fpu/libm-test-ulps: Update.
20669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20670
482ff4da
UD
206712012-03-07 Ulrich Drepper <drepper@gmail.com>
20672
872fda05
UD
20673 * po/zh_TW.po: Update from translation team.
20674
a4300c7a
UD
20675 * login/Makefile (distribute): Remove variable.
20676 * catgets/Makefile: Likewise.
20677 * mach/Makefile: Likewise.
20678 * malloc/Makefile: Likewise.
20679 * misc/Makefile: Likewise.
20680 * iconv/Makefile: Likewise.
20681 * nscd/Makefile: Likewise.
20682 * hurd/Makefile: Likewise.
20683 * manual/Makefile: Likewise.
20684 * locale/Makefile: Likewise.
20685 * intl/Makefile: Likewise.
20686 * conform/Makefile: Likewise.
20687 * nss/Makefile: Likewise.
20688 * time/Makefile: Likewise.
20689 * soft-fp/Makefile: Likewise.
20690 * dirent/Makefile: Likewise.
20691 * gmon/Makefile: Likewise.
20692 * po/Makefile: Likewise.
20693 * rt/Makefile: Likewise.
20694 * socket/Makefile: Likewise.
20695 * math/Makefile: Likewise.
20696 * signal/Makefile: Likewise.
20697 * debug/Makefile: Likewise.
20698 * elf/Makefile: Likewise.
20699 * timezone/Makefile: Likewise.
20700 * stdlib/Makefile: Likewise.
20701 * iconvdata/Makefile: Likewise.
20702 * sunrpc/Makefile: Likewise.
20703 * io/Makefile: Likewise.
20704 * argp/Makefile: Likewise.
20705 * inet/Makefile: Likewise.
20706 * hesiod/Makefile: Likewise.
20707 * grp/Makefile: Likewise.
20708 * csu/Makefile: Likewise.
20709 * wctype/Makefile: Likewise.
20710 * crypt/Makefile: Likewise.
20711 * libio/Makefile: Likewise.
20712 * string/Makefile: Likewise.
20713 * nis/Makefile: Likewise.
20714 * resolv/Makefile: Likewise.
20715 * stdio-common/Makefile: Likewise.
20716 * wcsmbs/Makefile: Likewise.
20717 * dlfcn/Makefile: Likewise.
20718 * posix/Makefile: Likewise.
20719
3b7c4e74 20720 [BZ #6959]
482ff4da
UD
20721 * timezone/Makefile: Don't install timezone files, just the programs
20722 and scripts.
20723
f72ed77d
UD
207242012-03-06 Ulrich Drepper <drepper@gmail.com>
20725
a000466f
UD
20726 * nss/databases.def: Add missing gshadow entry.
20727
f72ed77d
UD
20728 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20729
a53b7a4e
MP
207302012-03-06 Marek Polacek <polacek@redhat.com>
20731
20732 [BZ #13726]
20733 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20734 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20735 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20736 * stdio-common/tst-long-dbl-fphex.c: New file.
20737
e9258400
DM
207382012-03-06 David S. Miller <davem@davemloft.net>
20739
20740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20741 (set_obp_int): New function.
20742 (get_obp_int): New function.
20743 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
20744 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20745 Avoid unused variable warnings on 'val' and use builtin_expect.
20746 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20747 __builtin_expect.
e9258400
DM
20748 (INLINE_CLONE_SYSCALL): Likewise.
20749
3bd2c723
DM
207502012-03-05 David S. Miller <davem@davemloft.net>
20751
20752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20753
bbb78d03
AS
207542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20755
884c5db4
AS
20756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20757
bbb78d03
AS
20758 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20759 only for |x| >= 40.
20760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20761
1c9f702a 207622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20763
20764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20765 Replace gettimeofday with __vdso_gettimeofday.
20766
7be16f82
RM
20767 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20768 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20769 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20770
20771 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20772 time with __vdso_time.
20773
ed58a00f
JM
207742012-03-05 Joseph Myers <joseph@codesourcery.com>
20775
20776 * manual/lang.texi (size_t): Note types to which size_t may be
20777 equivalent with the GNU C Library, but do not describe when
20778 differences between them are significant.
20779
30ee4ced
AJ
207802012-03-05 Andreas Jaeger <aj@suse.de>
20781
20782 * sysdeps/i386/fpu/libm-test-ulps: Update.
20783
b7cd39e8
JM
207842012-03-05 Joseph Myers <joseph@codesourcery.com>
20785
20786 [BZ #3976]
20787 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20788 (__ieee754_pow): Save and restore rounding mode and use
20789 round-to-nearest for main computations.
20790 * math/libm-test.inc (pow_test_tonearest): New function.
20791 (pow_test_towardzero): Likewise.
20792 (pow_test_downward): Likewise.
20793 (pow_test_upward): Likewise.
20794 (main): Call the new functions.
20795 * sysdeps/i386/fpu/libm-test-ulps: Update.
20796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20797
20798 [BZ #3976]
20799 * math/libm-test.inc (cosh_test_tonearest): New function.
20800 (cosh_test_towardzero): Likewise.
20801 (cosh_test_downward): Likewise.
20802 (cosh_test_upward): Likewise.
20803 (sinh_test_tonearest): Likewise.
20804 (sinh_test_towardzero): Likewise.
20805 (sinh_test_downward): Likewise.
20806 (sinh_test_upward): Likewise.
20807 (main): Call the new functions.
20808 * sysdeps/i386/fpu/libm-test-ulps: Update.
20809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20810
6c6a98c9
TV
208112012-03-05 Tom de Vries <tom@codesourcery.com>
20812
20813 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20814 default stack guard is set in last bytes.
20815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20816
21bb2d2e 208172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20818
21bb2d2e 20819 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20820
21bb2d2e
AJ
20821 [BZ #13656]
20822 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20823 possibly allocate from heap instead of stack.
20824 * stdio-common/bug-vfprintf-nargs.c: New file.
20825 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20826
c6922934
AS
208272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20828
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20830
bc957d53
MP
208312012-03-03 Marek Polacek <polacek@redhat.com>
20832
20833 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20834 * math/math_private.h: Likewise.
20835 * stdlib/tst-strtod.c: Likewise.
20836 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20837 * sysdeps/x86_64/bits/atomic.h: Likewise.
20838
6358490d
DM
208392012-03-02 David S. Miller <davem@davemloft.net>
20840
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20845 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20846 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20847 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20848 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20849
01ae168d
RM
208502012-03-02 Roland McGrath <roland@hack.frob.com>
20851
d9a17c07
RM
20852 [BZ #13792]
20853 * manual/examples/README: New file, says the example source files
20854 can be used under GPL>=2.
20855 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20856 line containing just "*/".
20857 * manual/examples/add.c: Add copyright header (GPL>=2).
20858 * manual/examples/argp-ex1.c: Likewise.
20859 * manual/examples/argp-ex2.c: Likewise.
20860 * manual/examples/argp-ex3.c: Likewise.
20861 * manual/examples/argp-ex4.c: Likewise.
20862 * manual/examples/atexit.c: Likewise.
20863 * manual/examples/db.c: Likewise.
20864 * manual/examples/dir.c: Likewise.
20865 * manual/examples/dir2.c: Likewise.
20866 * manual/examples/execinfo.c: Likewise.
20867 * manual/examples/filecli.c: Likewise.
20868 * manual/examples/filesrv.c: Likewise.
20869 * manual/examples/fmtmsgexpl.c: Likewise.
20870 * manual/examples/genpass.c: Likewise.
20871 * manual/examples/inetcli.c: Likewise.
20872 * manual/examples/inetsrv.c: Likewise.
20873 * manual/examples/isockad.c: Likewise.
20874 * manual/examples/longopt.c: Likewise.
20875 * manual/examples/memopen.c: Likewise.
20876 * manual/examples/memstrm.c: Likewise.
20877 * manual/examples/mkfsock.c: Likewise.
20878 * manual/examples/mkisock.c: Likewise.
20879 * manual/examples/mygetpass.c: Likewise.
20880 * manual/examples/pipe.c: Likewise.
20881 * manual/examples/popen.c: Likewise.
20882 * manual/examples/rprintf.c: Likewise.
20883 * manual/examples/search.c: Likewise.
20884 * manual/examples/select.c: Likewise.
20885 * manual/examples/setjmp.c: Likewise.
20886 * manual/examples/sigh1.c: Likewise.
20887 * manual/examples/sigusr.c: Likewise.
20888 * manual/examples/stpcpy.c: Likewise.
20889 * manual/examples/strdupa.c: Likewise.
20890 * manual/examples/strftim.c: Likewise.
20891 * manual/examples/strncat.c: Likewise.
20892 * manual/examples/subopt.c: Likewise.
20893 * manual/examples/swapcontext.c: Likewise.
20894 * manual/examples/termios.c: Likewise.
20895 * manual/examples/testopt.c: Likewise.
20896 * manual/examples/testpass.c: Likewise.
20897 * manual/examples/timeval_subtract.c: Likewise.
20898
01ae168d
RM
20899 [BZ #13792]
20900 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20901 function to ...
20902 * manual/timeval_subtract.c.texi: ... here, new file.
20903
49efa33d
DM
209042012-03-02 David S. Miller <davem@davemloft.net>
20905
20906 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20907
28afd92d
JM
209082012-03-02 Joseph Myers <joseph@codesourcery.com>
20909
804360ed
JM
20910 [BZ #3976]
20911 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20912 (__sin): Save and restore rounding mode and use round-to-nearest
20913 for all computations.
20914 (__cos): Save and restore rounding mode and use round-to-nearest
20915 for all computations.
20916 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20917 <fenv.h>.
20918 (tan): Save and restore rounding mode and use round-to-nearest for
20919 all computations.
20920 * math/libm-test.inc (cos_test_tonearest): New function.
20921 (cos_test_towardzero): Likewise.
20922 (cos_test_downward): Likewise.
20923 (cos_test_upward): Likewise.
20924 (sin_test_tonearest): Likewise.
20925 (sin_test_towardzero): Likewise.
20926 (sin_test_downward): Likewise.
20927 (sin_test_upward): Likewise.
20928 (tan_test_tonearest): Likewise.
20929 (tan_test_towardzero): Likewise.
20930 (tan_test_downward): Likewise.
20931 (tan_test_upward): Likewise.
20932 (main): Call the new functions.
20933 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20935
a6d06d7b
JM
20936 [BZ #10135]
20937 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20938 small n, then large n, before computing and testing k+n.
20939 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20941 Likewise.
20942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20943 Likewise.
20944 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20945 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20946 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20947 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20948 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20949 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20950 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20951 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20952 * math/libm-test.inc (scalbn_test): Add more tests.
20953 (scalbln_test): Likewise.
20954
07e12bb3
JM
20955 * manual/filesys.texi (mode_t): Describe constraints on size and
20956 signedness, not exact equivalence to a particular type.
20957 (ino_t): Likewise.
20958 (ino64_t): Likewise.
20959 (dev_t): Likewise.
20960 (nlink_t): Likewise.
20961 (blkcnt_t): Likewise.
20962 (blkcnt64_t): Likewise.
20963 * manual/llio.texi (off_t): Likewise.
20964
28afd92d
JM
20965 [BZ #3976]
20966 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20967 (__ieee754_exp): Save and restore rounding mode and use
20968 round-to-nearest for all computations.
20969 * math/libm-test.inc (exp_test_tonearest): New function.
20970 (exp_test_towardzero): Likewise.
20971 (exp_test_downward): Likewise.
20972 (exp_test_upward): Likewise.
20973 (main): Call the new functions.
20974 * sysdeps/i386/fpu/libm-test-ulps: Update.
20975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20976
b1eeb65d
CD
209772012-03-01 Chris Demetriou <cgd@google.com>
20978
20979 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20980 have predictable order.
20981
53362a4b
DM
209822012-03-01 David S. Miller <davem@davemloft.net>
20983
3c969083
DM
20984 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20985
759707de
DM
20986 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20987 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20988 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20989 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20990
dfdb8ff2
DM
20991 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20992 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20993 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20995 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20996 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20997 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20998 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20999 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21000
ead89f96
DM
21001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21002
7f66bd07
DM
21003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21004 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21005 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21006
53362a4b
DM
21007 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21008 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21009 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21010 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21011 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21014 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21015 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21016 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21017 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21020 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21021 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21023 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21024 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21025 * sysdeps/sparc/elf/configure: Regenerated.
21026
7b1902cb
JM
210272012-03-01 Joseph Myers <joseph@codesourcery.com>
21028
bec039bc
JM
21029 * configure.in (AS, LD): Require binutils 2.20 or later.
21030 * configure: Regenerated.
21031 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21032 as required minimum version.
21033 * INSTALL: Regenerated.
21034
7b1902cb
JM
21035 [BZ #2541]
21036 [BZ #4108]
21037 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21038 before squaring exponent.
21039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21040 bottom long double and 27 bits of top long double before squaring
21041 exponent.
21042 * math/libm-test.inc (erfc_test): Add more tests.
21043 * sysdeps/i386/fpu/libm-test-ulps: Update.
21044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21046
f775c276
KT
210472012-03-01 Kai Tietz <ktietz@redhat.com>
21048
21049 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21050 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21051 containing bit-fields.
21052 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21053 * soft-fp/single.h (_FP_UNION_S): Likewise.
21054 * soft-fp/double.h (_FP_UNION_D): Likewise.
21055
5b8a4d4a
JM
210562012-02-29 Joseph Myers <joseph@codesourcery.com>
21057
0bab47b6
JM
21058 [BZ #13786]
21059 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21060 not include ../strcmp.S.
21061 [USE_AS_STRNCASECMP_L]: Likewise.
21062 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21063 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21064 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21065 (__strncasecmp_l_ia32): Define as alias to
21066 __strncasecmp_l_nonascii.
21067
0fcad3e2
JM
21068 [BZ #5794]
21069 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21070 * sysdeps/i386/fpu/libm-test-ulps: Update.
21071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21072
5b8a4d4a
JM
21073 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21075
8fdceb2e
JL
210762012-02-29 Jeff Law <law@redhat.com>
21077
21078 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21079 out of bounds read.
21080
1f393a11
MP
210812012-02-29 Marek Polacek <polacek@redhat.com>
21082
21083 [BZ #13706]
21084 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21085 * elf/Makefile: Add rules to run tst-unused-dep.out.
21086
8847f037
DM
210872012-02-28 David S. Miller <davem@davemloft.net>
21088
21089 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21090 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21093 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21094 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21095
169d7f11
JM
210962012-02-29 Joseph Myers <joseph@codesourcery.com>
21097
21098 * math/libm-test.inc (llround_test): Move one test from
21099 lround_test. Use TEST_f_L in moved test.
21100 (lround_test): Move misplaced test to llround_test. Add testcase
21101 from bug 2561.
21102
39adf059
UD
211032012-02-28 Ulrich Drepper <drepper@gmail.com>
21104
21105 * sysdeps/x86_64/fpu/e_expf.S: New file.
21106 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21107
71b5d1c5
SB
211082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21109
21110 [BZ #13637]
21111 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21112 of remain_len that may cause incomplete multi-byte character and
21113 false match.
21114 * posix/bug-regex33.c: New file.
21115 * posix/Makefile (tests): Add bug-regex33.
21116
1f77f049
JM
211172012-02-28 Joseph Myers <joseph@codesourcery.com>
21118
21119 * manual/macros.texi: New file.
21120 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21121 * manual/libc.texinfo: Include macros.texi.
21122 * manual/creatute.texi: Likewise.
21123 * manual/install.texi: Likewise.
21124 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21125 @glibcadj{} in references to the GNU C Library.
21126 * manual/charset.texi: Likewise.
21127 * manual/conf.texi: Likewise.
21128 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21129 when not using those macros.
21130 * manual/creature.texi: Likewise.
21131 * manual/crypt.texi: Likewise.
21132 * manual/errno.texi: Likewise.
21133 * manual/filesys.texi: Likewise.
21134 * manual/header.texi: Likewise.
21135 * manual/install.texi: Likewise.
21136 * manual/intro.texi: Likewise.
21137 * manual/io.texi: Likewise.
21138 * manual/job.texi: Likewise.
21139 * manual/lang.texi: Likewise.
21140 * manual/libc.texiinfo: Likewise.
21141 * manual/llio.texi: Likewise.
21142 * manual/locale.texi: Likewise.
21143 * manual/maint.texi: Likewise.
21144 * manual/math.texi: Likewise.
21145 * manual/memory.texi: Likewise.
21146 * manual/message.texi: Likewise.
21147 * manual/nss.texi: Likewise.
21148 * manual/pattern.texi: Likewise.
21149 * manual/process.texi: Likewise.
21150 * manual/resource.texi: Likewise.
21151 * manual/search.texi: Likewise.
21152 * manual/setjmp.texi: Likewise.
21153 * manual/signal.texi: Likewise.
21154 * manual/socket.texi: Likewise.
21155 * manual/startup.texi: Likewise.
21156 * manual/stdio.texi: Likewise.
21157 * manual/string.texi: Likewise.
21158 * manual/sysinfo.texi: Likewise.
21159 * manual/syslog.texi: Likewise.
21160 * manual/terminal.texi: Likewise.
21161 * manual/time.texi: Likewise.
21162 * manual/users.texi: Likewise.
21163 * INSTALL: Regenerated.
21164 * NOTES: Regenerated.
d40c5d54 21165 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21166
450bf206
AS
211672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21168
21169 * include/dirent.h: Include <dirstream.h> before
21170 <dirent/dirent.h>.
21171
741a235b
DM
211722012-02-28 David S. Miller <davem@davemloft.net>
21173
21174 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21175 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21176 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21177 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21178
d6b5aa58
DM
211792012-02-27 David S. Miller <davem@davemloft.net>
21180
1aff59a3
DM
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21183 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21184 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21185
d6b5aa58
DM
21186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21187 frame pointer instead of stack pointer relative arg slot.
21188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21189 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21190 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21191
433f48bf
CD
211922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21193
21194 [BZ #3992]
21195 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21196
d674b76d
DM
211972012-02-27 David S. Miller <davem@davemloft.net>
21198
21199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21203 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21204 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21205 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21206 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21207
0e7727f7
JM
212082012-02-27 Joseph Myers <joseph@codesourcery.com>
21209
21210 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21211 later. Allow versions 5-9.
43be4ca2 21212 * configure: Regenerated.
0e7727f7
JM
21213 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21214 required minimum version and 4.6 as recommended version. Do not
21215 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21216 * INSTALL: Regenerated.
0e7727f7 21217
a78bc654
DM
212182012-02-27 David S. Miller <davem@davemloft.net>
21219
428d5830
DM
21220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21224 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21225 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21226 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21227 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21228
a78bc654
DM
21229 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21230 manipulate bits before adding and subtracting TWO112[sx].
21231 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21232
4579f81c
RM
212332012-02-27 Roland McGrath <roland@hack.frob.com>
21234
36c8acb4
RM
21235 [BZ #13775]
21236 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21237 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21238 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21239 being in POSIX, because they are in 1003.1-2008.
21240
84ad622b
RM
21241 * rt/tst-aio.c: Include <fcntl.h>.
21242 * rt/tst-aio7.c: Likewise.
21243 * rt/tst-aio64.c: Likewise.
21244
4579f81c
RM
21245 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21246
abd923db
JM
212472012-02-27 Joseph Myers <joseph@codesourcery.com>
21248
21249 * manual/install.texi (--with-headers): Describe headers as
21250 interface headers, not private headers.
21251 (Specific advice for GNU/Linux systems): Describe use of headers
21252 from "make headers_install", not private headers from older
21253 kernels.
43be4ca2 21254 * INSTALL: Regenerated.
abd923db
JM
21255 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21256 Change to 2.6.19.
21257 * sysdeps/unix/sysv/linux/configure: Regenerated.
21258
6664049b
JM
21259 * manual/llio.texi (fclean): Remove documentation.
21260
bb8b6697
JM
21261 * manual/Makefile (libc-texi-generated): New variable. Include
21262 version.texi.
21263 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21264 $(libc-texi-generated), not duplicated list of files.
21265 (version.texi, stamp-version): New rules.
21266 (realclean): Remove $(libc-texi-generated), not individual files
21267 from that list. Do not remove dir-add.texinfo.
21268 * manual/libc.texinfo: Comment out uses of edition numbers and
21269 references to printed manual. Remove last-updated dates.
21270 (EDITION): Comment out.
21271 (ISBN): Likewise.
21272 (VERSION, UPDATED): Remove.
21273 (version.texi): Include.
21274
12e5c3b9
AS
212752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21276
21277 * sysdeps/posix/spawni.c: Include <signal.h>.
21278 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21279 * sysdeps/pthread/aio_fsync.c: Likewise.
21280
4efeffc1 212812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21282
ba63ba08
UD
21283 * conform/Makefile (tests): Run only when not cross-compiling and
21284 when fast-check is not defined.
21285
d94a4670
UD
21286 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21287 * conform/data/limits.h-data: Fixes for POSIX2008.
21288 * conform/run-conformtest.sh: Run all tests.
21289 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21290 headers.
21291 * include/bits/dlfcn.h: Likewise.
21292 * include/langinfo.h: Likewise.
21293 * include/monetary.h: Likewise.
21294 * include/sys/poll.h: Likewise.
21295
21296 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21297 for __USE_GNU.
21298 * posix/spawn.h: Define __need_sigset_t.
21299 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21300 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21301 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21302 to get sigevent_t only.
21303 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21304 only for __USE_GNU.
21305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21306 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21307 process_vm_writev only for __USE_GNU.
21308 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21309
21310 * conform/Makefile: For now ignore errors from run-conformtest.
21311 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21312 POSIX to avoid namespace pollution. Don't prepend headers.
21313 * conform/data/aio.h-data: Fixes for POSIX testing.
21314 * conform/data/fcntl.h-data: Likewise.
21315 * conform/data/glob.h-data: Likewise.
21316 * conform/data/grp.h-data: Likewise.
21317 * conform/data/pthread.h-data: Likewise.
21318 * conform/data/pwd.h-data: Likewise.
21319 * conform/data/signal.h-data: Likewise.
21320 * conform/data/spawn.h-data: Likewise.
21321 * conform/data/stdio.h-data: Likewise.
21322 * conform/data/stdlib.h-data: Likewise.
21323 * conform/data/stropts.h-data: Likewise.
21324 * conform/data/sys/mman.h-data: Likewise.
21325 * conform/data/sys/stat.h-data: Likewise.
21326 * conform/data/sys/types.h-data: Likewise.
21327 * conform/data/sys/wait.h-data: Likewise.
21328 * conform/data/time.h-data: Likewise.
21329 * conform/data/unistd.h-data: Likewise.
21330 * conform/data/utime.h-data: Likewise.
21331
21332 * io/sys/stat.h: fchmod was always in POSIX.
21333 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21334 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21335 * rt/aio.h: Define __need_timespec before including <time.h>.
21336 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21337 struct. Add forward declaration of pthread_attr_t and use it in
21338 sigevent.
21339 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21341 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21342 always remove CLK_TCK definition.
21343
c20105c3
AS
213442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21345
21346 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21347
7a270350
UD
213482012-02-25 Ulrich Drepper <drepper@gmail.com>
21349
31341567
UD
21350 * conform/run-conformtest.sh: New file.
21351 * conform/Makefile: Run run-conformtest for tests.
21352 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21353 support.
21354
21355 * conform/data/uchar.h-data: New file.
21356 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21357 * conform/data/arpa/inet.h-data: Likewise.
21358 * conform/data/assert.h-data: Likewise.
21359 * conform/data/complex.h-data: Likewise.
21360 * conform/data/cpio.h-data: Likewise.
21361 * conform/data/ctype.h-data: Likewise.
21362 * conform/data/dirent.h-data: Likewise.
21363 * conform/data/dlfcn.h-data: Likewise.
21364 * conform/data/errno.h-data: Likewise.
21365 * conform/data/fcntl.h-data: Likewise.
21366 * conform/data/float.h-data: Likewise.
21367 * conform/data/fmtmsg.h-data: Likewise.
21368 * conform/data/fnmatch.h-data: Likewise.
21369 * conform/data/ftw.h-data: Likewise.
21370 * conform/data/glob.h-data: Likewise.
21371 * conform/data/grp.h-data: Likewise.
21372 * conform/data/iconv.h-data: Likewise.
21373 * conform/data/inttypes.h-data: Likewise.
21374 * conform/data/langinfo.h-data: Likewise.
21375 * conform/data/libgen.h-data: Likewise.
21376 * conform/data/limits.h-data: Likewise.
21377 * conform/data/locale.h-data: Likewise.
21378 * conform/data/math.h-data: Likewise.
21379 * conform/data/monetary.h-data: Likewise.
21380 * conform/data/mqueue.h-data: Likewise.
21381 * conform/data/ndbm.h-data: Likewise.
21382 * conform/data/net/if.h-data: Likewise.
21383 * conform/data/netdb.h-data: Likewise.
21384 * conform/data/netinet/in.h-data: Likewise.
21385 * conform/data/nl_types.h-data: Likewise.
21386 * conform/data/poll.h-data: Likewise.
21387 * conform/data/pthread.h-data: Likewise.
21388 * conform/data/pwd.h-data: Likewise.
21389 * conform/data/regex.h-data: Likewise.
21390 * conform/data/sched.h-data: Likewise.
21391 * conform/data/search.h-data: Likewise.
21392 * conform/data/semaphore.h-data: Likewise.
21393 * conform/data/setjmp.h-data: Likewise.
21394 * conform/data/signal.h-data: Likewise.
21395 * conform/data/spawn.h-data: Likewise.
21396 * conform/data/stdarg.h-data: Likewise.
21397 * conform/data/stdio.h-data: Likewise.
21398 * conform/data/stdlib.h-data: Likewise.
21399 * conform/data/string.h-data: Likewise.
21400 * conform/data/strings.h-data: Likewise.
21401 * conform/data/stropts.h-data: Likewise.
21402 * conform/data/sys/ipc.h-data: Likewise.
21403 * conform/data/sys/mman.h-data: Likewise.
21404 * conform/data/sys/msg.h-data: Likewise.
21405 * conform/data/sys/resource.h-data: Likewise.
21406 * conform/data/sys/select.h-data: Likewise.
21407 * conform/data/sys/sem.h-data: Likewise.
21408 * conform/data/sys/shm.h-data: Likewise.
21409 * conform/data/sys/socket.h-data: Likewise.
21410 * conform/data/sys/stat.h-data: Likewise.
21411 * conform/data/sys/statvfs.h-data: Likewise.
21412 * conform/data/sys/time.h-data: Likewise.
21413 * conform/data/sys/timeb.h-data: Likewise.
21414 * conform/data/sys/times.h-data: Likewise.
21415 * conform/data/sys/types.h-data: Likewise.
21416 * conform/data/sys/uio.h-data: Likewise.
21417 * conform/data/sys/un.h-data: Likewise.
21418 * conform/data/sys/utsname.h-data: Likewise.
21419 * conform/data/sys/wait.h-data: Likewise.
21420 * conform/data/syslog.h-data: Likewise.
21421 * conform/data/tar.h-data: Likewise.
21422 * conform/data/termios.h-data: Likewise.
21423 * conform/data/utime.h-data: Likewise.
21424 * conform/data/utmpx.h-data: Likewise.
21425 * conform/data/varargs.h-data: Likewise.
21426 * conform/data/wchar.h-data: Likewise.
21427 * conform/data/wctype.h-data: Likewise.
21428 * conform/data/wordexp.h-data: Likewise.
21429
21430 * include/stropts.h: New file.
21431 * include/uchar.h: New file.
21432 * include/aio.h: Changes to allow conformtest.pl to use the headers.
21433 * include/assert.h: Likewise.
21434 * include/ctype.h: Likewise.
21435 * include/dirent.h: Likewise.
21436 * include/dlfcn.h: Likewise.
21437 * include/fcntl.h: Likewise.
21438 * include/fnmatch.h: Likewise.
21439 * include/glob.h: Likewise.
21440 * include/grp.h: Likewise.
21441 * include/libio.h: Likewise.
21442 * include/locale.h: Likewise.
21443 * include/math.h: Likewise.
21444 * include/net/if.h: Likewise.
21445 * include/netdb.h: Likewise.
21446 * include/netinet/in.h: Likewise.
21447 * include/pthread.h: Likewise.
21448 * include/pwd.h: Likewise.
21449 * include/regex.h: Likewise.
21450 * include/sched.h: Likewise.
21451 * include/search.h: Likewise.
21452 * include/setjmp.h: Likewise.
21453 * include/signal.h: Likewise.
21454 * include/stdio.h: Likewise.
21455 * include/stdlib.h: Likewise.
21456 * include/string.h: Likewise.
21457 * include/sys/cdefs.h: Likewise.
21458 * include/sys/mman.h: Likewise.
21459 * include/sys/msg.h: Likewise.
21460 * include/sys/resource.h: Likewise.
21461 * include/sys/select.h: Likewise.
21462 * include/sys/socket.h: Likewise.
21463 * include/sys/stat.h: Likewise.
21464 * include/sys/statvfs.h: Likewise.
21465 * include/sys/time.h: Likewise.
21466 * include/sys/times.h: Likewise.
21467 * include/sys/uio.h: Likewise.
21468 * include/sys/utsname.h: Likewise.
21469 * include/sys/wait.h: Likewise.
21470 * include/termios.h: Likewise.
21471 * include/time.h: Likewise.
21472 * include/ulimit.h: Likewise.
21473 * include/unistd.h: Likewise.
21474 * include/utime.h: Likewise.
21475 * include/wchar.h: Likewise.
21476 * include/wctype.h: Likewise.
21477 * include/wordexp.h: Likewise.
21478
21479 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
21480
7a270350
UD
21481 * time/time.h: TIME_UTC must be a macro.
21482 Make timespec_get available for ISO C11 only as well.
21483
7724defc
UD
214842012-02-24 Ulrich Drepper <drepper@gmail.com>
21485
21486 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
21487 Reported by Peng Haitao <penght@cn.fujitsu.com>.
21488
6b1d1d46
JM
214892012-02-24 Joseph Myers <joseph@codesourcery.com>
21490
21491 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 21492
0f8bbd69
JM
214932012-02-24 Joseph Myers <joseph@codesourcery.com>
21494
21495 * manual/texinfo.tex: Update to version 2012-01-19.16.
21496
66ab80bc
JM
214972012-02-24 Joseph Myers <joseph@codesourcery.com>
21498
21499 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
21500
74981cc5
RM
215012012-02-24 Roland McGrath <roland@hack.frob.com>
21502
ee968201
RM
21503 [BZ #13738]
21504 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
21505 * manual/fdl-1.3.texi: New file.
21506 * manual/fdl-1.1.texi: File removed.
21507
74981cc5
RM
21508 [BZ #13738]
21509 * manual/libc.texinfo (FDL_VERSION): New @set.
21510 Use it for mention of FDL in cover text.
21511 (Documentation License): Use it in @include file name.
21512
7bb764bc
JM
215132012-02-22 Joseph Myers <joseph@codesourcery.com>
21514 Roland McGrath <roland@hack.frob.com>
21515
21516 [BZ #5461]
21517 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
21518 not LONG_LONG_MAX and LONG_LONG_MIN.
21519 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
21520 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
21521 name.
21522 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
21523
6cbeae47
JM
215242012-02-22 Joseph Myers <joseph@codesourcery.com>
21525
21526 [BZ #2547]
21527 [BZ #11365]
21528 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
21529 manipulate bits before adding and subtracting TWO23[sx].
21530 * math/libm-test.inc (nearbyint_test): Add more tests.
21531
fe45ce09
JM
215322012-02-22 Joseph Myers <joseph@codesourcery.com>
21533
21534 [BZ #2548]
21535 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
21536 bits before adding and subtracting TWO23[sx].
21537 * math/libm-test.inc (rint_test): Add more tests.
21538 (rint_test_tonearest): Likewise.
21539 (rint_test_towardzero): Likewise.
21540 (rint_test_downward): Likewise.
21541 (rint_test_upward: Likewise.
21542
ff3b3d82
JM
215432012-02-22 Joseph Myers <joseph@codesourcery.com>
21544
21545 [BZ #10110]
21546 * include/stdc-predef.h: New file. Extracted from features.h.
21547 * include/features.h: Include stdc-predef.h.
21548 * Makefile (headers): Add stdc-predef.h.
21549 * CONFORMANCE (Compiler limitations): Update.
21550
ef0aab35
JM
215512012-02-22 Joseph Myers <joseph@codesourcery.com>
21552
21553 * manual/libc.texinfo (VERSION, UPDATED): Revert.
21554
58639409
DM
215552012-02-21 David S. Miller <davem@davemloft.net>
21556
21557 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
21558 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21559
c0e70b25
DM
215602012-02-20 David S. Miller <davem@davemloft.net>
21561
21562 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
21563 using a normal save/restore sequence, rather than allocating a
21564 dummy stack frame just to store a frame pointer and restore.
21565 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21566
fb06851d
JM
215672012-02-21 Joseph Myers <joseph@codesourcery.com>
21568
21569 * manual/install.texi: Fix stray word in line-wrapped comment.
21570
7a8b71c3
DM
215712012-02-20 David S. Miller <davem@davemloft.net>
21572
d510c123
DM
21573 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
21574 both binutils and gcc support GOTDATA.
21575
0722d7c2
DM
21576 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
21577 "rd %pc" in the PIC register setup sequences.
21578
3d2b3019
DM
21579 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
21580 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21581 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21582 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21583 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21585 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21586 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
21588 (SYSCALL_ERROR_HANDLER): Likewise.
21589 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21590 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
21592 (SYSCALL_ERROR_HANDLER): Likewise.
21593
c80098a9
DM
21594 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
21595 (HAVE_GCC_GOTDATA): New.
21596 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
21597 relocation support in both binutils and gcc.
21598 * sysdeps/sparc/elf/configure: Regenerate.
21599
3a2545a0
DM
21600 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
21601 * sysdeps/sparc/sparc32/elf/configure: Delete.
21602 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
21603 * sysdeps/sparc/sparc64/elf/configure: Delete.
21604 * sysdeps/sparc/elf/configure.in: New file.
21605 * sysdeps/sparc/elf/configure: Generate.
21606
7a8b71c3
DM
21607 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
21608 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
21609 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21610 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
21611 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
21612
f1e86fca
JM
216132012-02-21 Joseph Myers <joseph@codesourcery.com>
21614
21615 * manual/install.texi: Do not mention specific glibc version
21616 numbers.
21617 * manual/libc.texinfo (VERSION, UPDATED): Update.
21618 (@copying): Use @copyright{} and range of years.
21619
0e7dfaef
JM
216202012-02-21 Joseph Myers <joseph@codesourcery.com>
21621
21622 [BZ #13695]
21623 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
21624 [crti.S not in sysdirs] (generated): Do not append.
21625 [crti.S not in sysdirs] (omit-deps): Likewise.
21626 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
21627 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
21628 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
21629 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
21630 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
21631 Likewise.
21632 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21633 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21634 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21635 * csu/defs.awk: Remove file.
21636 * sysdeps/generic/initfini.c: Likewise.
21637 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21638 variable.
21639 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21640 Likewise.
21641
599af3ca
JM
216422012-02-20 Joseph Myers <joseph@codesourcery.com>
21643
21644 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21645 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21646 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21649 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21650 <bits/epoll.h>.
21651 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21652 (__EPOLL_PACKED): Define to empty if not defined by
21653 <bits/epoll.h>.
21654 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21656 bits/epoll.h.
21657
0e499750
JM
216582012-02-20 Joseph Myers <joseph@codesourcery.com>
21659
21660 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21661 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21662 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21663 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21664 <bits/timerfd.h>.
21665 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21667 bits/timerfd.h.
21668
5ad91f6e
JM
216692012-02-20 Joseph Myers <joseph@codesourcery.com>
21670
21671 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21672 in C locale.
21673 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21674 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21675 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677
06b99b02
AJ
216782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21679
21680 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21682
7638c0fd
AS
216832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21684
21685 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21686 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21687 defined.
21688 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21689 Likewise.
21690 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21691 entry for 2.16.
21692
92221550
AJ
216932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21694
21695 * math/w_acos.c: Use non-signaling floating-point comparisons.
21696 * math/w_acosf.c: Likewise.
21697 * math/w_acosh.c: Likewise.
21698 * math/w_acoshf.c: Likewise.
21699 * math/w_acoshl.c: Likewise.
21700 * math/w_acosl.c: Likewise.
21701 * math/w_asin.c: Likewise.
21702 * math/w_asinf.c: Likewise.
21703 * math/w_asinl.c: Likewise.
21704 * math/w_atanh.c: Likewise.
21705 * math/w_atanhf.c: Likewise.
21706 * math/w_atanhl.c: Likewise.
21707 * math/w_exp2.c: Likewise.
21708 * math/w_exp2f.c: Likewise.
21709 * math/w_exp2l.c: Likewise.
21710 * math/w_j0.c: Likewise.
21711 * math/w_j0f.c: Likewise.
21712 * math/w_j0l.c: Likewise.
21713 * math/w_j1.c: Likewise.
21714 * math/w_j1f.c: Likewise.
21715 * math/w_j1l.c: Likewise.
21716 * math/w_jn.c: Likewise.
21717 * math/w_jnf.c: Likewise.
21718 * math/w_log.c: Likewise.
21719 * math/w_log10.c: Likewise.
21720 * math/w_log10f.c: Likewise.
21721 * math/w_log10l.c: Likewise.
21722 * math/w_log2.c: Likewise.
21723 * math/w_log2f.c: Likewise.
21724 * math/w_log2l.c: Likewise.
21725 * math/w_logf.c: Likewise.
21726 * math/w_logl.c: Likewise.
21727 * math/w_sqrt.c: Likewise.
21728 * math/w_sqrtf.c: Likewise.
21729 * math/w_sqrtl.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21734 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21735
ebaf36eb
JM
217362012-02-19 Joseph Myers <joseph@codesourcery.com>
21737
21738 [BZ #9739]
21739 * manual/string.texi (strnlen): Use correct parameter name in
21740 equivalent expression.
21741
71c254a6
JM
217422012-02-19 Joseph Myers <joseph@codesourcery.com>
21743
21744 [BZ #11174]
21745 * manual/users.texi (seteuid): Consistently use neweuid for
21746 argument name.
21747
16d2c631
JM
217482012-02-19 Joseph Myers <joseph@codesourcery.com>
21749
21750 [BZ #13704]
21751 * manual/nss.texi (Services in the NSS configuration): Correct
21752 list of services in example configuration file.
21753
cd837b09
NB
217542012-02-19 Nick Bowler <nbowler@draconx.ca>
21755
21756 [BZ #11322]
21757 * manual/arith.texi: Remove statements about negative zero
21758 behaving identically to zero.
21759
02c4bbad
JM
217602012-02-18 Joseph Myers <joseph@codesourcery.com>
21761
21762 [BZ #5993]
21763 * manual/install.texi: Do not document upgrading from libc5.
21764
366842e7
JM
217652012-02-18 Joseph Myers <joseph@codesourcery.com>
21766
21767 [BZ #4596]
21768 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21769
dd54084d
DM
217702012-02-18 David S. Miller <davem@davemloft.net>
21771
21772 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21773 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21774 %o7 across the call.
21775 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21776 instead.
21777 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21778 SETUP_PIC_REG_LEAF.
21779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21780 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21781 * sysdeps/sparc/crtn.S: Likewise.
21782
2bcc53a3
UD
217832012-02-17 Ulrich Drepper <drepper@gmail.com>
21784
21785 * aout/Makefile: Remove.
21786
09c093b5
RK
217872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21788
21789 [BZ #13058]
21790 * manual/examples/argp-ex1.c (main): Format definition in GNU
21791 style.
21792 * manual/examples/argp-ex2.c (main): Likewise.
21793 * manual/examples/argp-ex3.c (main): Likewise.
21794 * manual/examples/argp-ex4.c (main): Likewise.
21795 * manual/examples/longopt.c (main): Use new-style prototype
21796 definition.
21797 * manual/examples/strncat.c (main): Specify return type and use
21798 (void) for arguments.
21799 * manual/examples/subopt.c (main): Use char **argv argument.
21800
2ee633a2
JM
218012012-02-17 Joseph Myers <joseph@codesourcery.com>
21802
21803 [BZ #5077]
21804 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21805 rounding modes.
21806
0520adde
FB
218072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21808
21809 [BZ #6907]
21810 * manual/string.texi (strchr): Change when strchrnul is
21811 recommended.
21812
3f4081cd
DGM
218132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21814
21815 [BZ #174]
21816 * manual/locale.texi (setlocale): Document LOCPATH.
21817
d1b10e78
JM
218182012-02-17 Joseph Myers <joseph@codesourcery.com>
21819
21820 [BZ #10210]
21821 * manual/process.texi (execle): Move @dots{} before last argument.
21822
79c6869c
PB
218232012-02-17 Paul Bolle <pebolle@tiscali.nl>
21824
21825 [BZ #12047]
21826 * manual/charset.texi (Generic Charset Conversion): Fix typo
21827 (LC_TYPE -> LC_CTYPE).
21828
cc6e48bc
NB
218292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21830
21831 [BZ #5805]
21832 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21833 (scalbnf): Likewise.
21834 (scalbnl): Likewise.
21835 (scalbln): Likewise.
21836 (scalblnf): Likewise.
21837 (scalblnl): Likewise.
21838 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21839 (vwarnx): Likewise.
21840 (verr): Likewise.
21841 (verrx): Likewise.
21842 * manual/filesys.texi (telldir): Use braces around return type.
21843 * manual/llio.texi (mmap): Add space after comma.
21844 (mmap64): Likewise.
21845 * manual/math.texi (jn): Use @var{} on parameter names.
21846 (jnf): Likewise.
21847 (jnl): Likewise.
21848 (yn): Likewise.
21849 (ynf): Likewise.
21850 (ynl): Likewise.
21851 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21852 line.
21853 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21854 "...".
21855 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21856 (sched_get_priority_max): Likewise.
21857 * manual/signal.texi (sigvec): Add space after comma.
21858 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21859 names.
21860 (if_indextoname): Likewise.
21861 (if_freenameindex): Likewise.
21862 (sendto): Use ',' instead of '.' in prototype.
21863 * manual/startup.texi (syscall): Use @dots{} instead of literal
21864 "...".
21865 * manual/stdio.texi (__fpending): Separate initial words of
21866 paragraph from @deftypefun line.
21867 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21868 "...".
21869 (vsyslog): Use @var{} on parameter names.
21870 * manual/terminal.texi (stty): Use @var{} on parameter names.
21871 * manual/users.texi (getutmp): Use @var{} on parameter names.
21872 (getutmpx): Likewise.
21873
5b23062f
JM
218742012-02-17 Joseph Myers <joseph@codesourcery.com>
21875
21876 [BZ #6884]
21877 * manual/stdio.texi (fopen): Fix typos in description of
21878 ",ccs=STRING".
21879
8dee4833
AJ
218802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21881
21882 [BZ #4026]
21883 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21884 get clock_id definition.
21885
9078ce93
TS
218862012-02-17 Thomas Schwinge <thomas@schwinge.name>
21887
21888 [BZ #4822]
21889 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21890 (madvise): Cast every argument to void on its own.
21891
3835c55f
JM
218922012-02-17 Joseph Myers <joseph@codesourcery.com>
21893
21894 [BZ #9902]
21895 * manual/startup.texi (Exit Status): Fix typo.
21896
35c47e37
JM
218972012-02-17 Joseph Myers <joseph@codesourcery.com>
21898
21899 [BZ #10140]
21900 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21901 * manual/examples/argp-ex2.c: Likewise.
21902 * manual/examples/argp-ex3.c: Likewise.
21903
e3b69ca7
RH
219042012-02-16 Richard Henderson <rth@redhat.com>
21905
21906 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21907 * sysdeps/s390/s390-32/initfini.c: Remove.
21908 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21909 * sysdeps/s390/s390-64/initfini.c: Remove.
21910
df83af67
KK
219112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21912
21913 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21914 compiler output for sysdeps/generic/initfini.c.
21915 * sysdeps/sh/elf/initfini.c: Remove file.
21916
f63f3380
DM
219172012-02-16 David S. Miller <davem@davemloft.net>
21918
fb59b3a4
DM
21919 [BZ #11494]
21920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21921
f63f3380
DM
21922 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21923 * sysdeps/sparc/crti.S: New file.
21924 * sysdeps/sparc/crtn.S: New file.
21925 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21926 * sysdeps/sparc/sparc64/Makefile: Likewise.
21927
df6a4a4a
MF
219282012-02-15 Mike Frysinger <vapier@gentoo.org>
21929
6dd8f3dc 21930 [BZ #3335]
df6a4a4a
MF
21931 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21932
1cac7236
RM
219332012-02-15 Roland McGrath <roland@hack.frob.com>
21934
d2c736f8
RM
21935 [BZ #4822]
21936 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21937
1cac7236
RM
21938 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21939 (write, read, close): Likewise.
21940 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21941
8e475601
JM
219422012-02-15 Joseph Myers <joseph@codesourcery.com>
21943
21944 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21945 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21946 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21947 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21948 <bits/signalfd.h>.
21949 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21951 bits/signalfd.h.
21952
ed656b40
MP
219532012-02-14 Marek Polacek <polacek@redhat.com>
21954
21955 * sysdeps/x86_64/crti.S: New file.
21956 * sysdeps/x86_64/crtn.S: New file.
21957 * sysdeps/x86_64/elf/initfini.c: Remove file.
21958
2a979d3a
JM
219592012-02-13 Joseph Myers <joseph@codesourcery.com>
21960
21961 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21962 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21963 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21964 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21965 <bits/inotify.h>.
21966 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21968 bits/inotify.h.
21969
2a418ac3
JM
219702012-02-13 Joseph Myers <joseph@codesourcery.com>
21971
21972 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21973 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21974 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21975 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21976 <bits/eventfd.h>.
21977 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21979 bits/eventfd.h.
21980
fb779be7
TS
219812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21982
e19e83c5
RM
21983 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21984 __feraiseexcept instead of feraiseexcept.
7c35ffed 21985
fb779be7
TS
21986 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21987 nanosleep invocations.
21988 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21989 strings, and add error checking for a nanosleep invocations.
21990
59ba27a6
PE
219912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21992
21993 Replace FSF snail mail address with URLs, as per GNU coding standards.
21994 Most of the snail mail addresses were wrong anyway, and omitting
21995 them makes the source code easier to maintain. Almost all of the
21996 changes are to license notices and to locale LC_IDENTIFICATION
21997 addresses, except for this one:
21998 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21999 not its snail mail address.
22000
57b957eb
RH
220012012-02-09 Richard Henderson <rth@twiddle.net>
22002
af850b1c
RH
22003 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22004 of kernel-features.h.
22005
57b957eb
RH
22006 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22007
6b73181a
MP
220082012-02-08 Marek Polacek <polacek@redhat.com>
22009
22010 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22011 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22012 * sysdeps/gnu/_G_config.h: Likewise.
22013 * sysdeps/generic/_G_config.h: Likewise.
22014
26ecc33a
AS
220152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22016
6c6dbc63
AS
22017 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22018 tests.
22019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22020
e216c012
AS
22021 * sysdeps/powerpc/powerpc32/crti.S: New file.
22022 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22023 * sysdeps/powerpc/powerpc64/crti.S: New file.
22024 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22025
26ecc33a
AS
22026 * Makeconfig (have-initfini): Don't set.
22027 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22028 * configure.in (nopic_initfini): Don't substitute.
22029 * config.h.in (HAVE_INITFINI): Don't #undef.
22030 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22031 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22032
3add8e13
JM
220332012-02-08 Joseph Myers <joseph@codesourcery.com>
22034
22035 Support crti.S and crtn.S provided directly by architectures.
22036 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22037 [crti.S in sysdirs] (omit-deps): Likewise.
22038 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22039 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22040 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22041 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22042 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22043 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22044 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22045 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22046 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22047 compiler output for sysdeps/generic/initfini.c.
22048 * sysdeps/i386/elf/Makefile: Remove file.
22049 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22050
a22f12b4
MP
220512012-02-07 Marek Polacek <polacek@redhat.com>
22052
22053 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22054 * sysdeps/gnu/_G_config.h: Likewise.
22055 * sysdeps/mach/hurd/_G_config.h: Likewise.
22056
148cf100
MP
220572012-02-07 Marek Polacek <polacek@redhat.com>
22058
22059 * math/Makefile (tests): Add tst-CMPLX2.
22060 * math/tst-CMPLX2.c: New file.
22061
cfdc0dd7
AS
220622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22063
84ba42c4
AS
22064 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22065
cfdc0dd7
AS
22066 * math/libm-test.inc (jn_test): Add missing L suffix.
22067
622c86f4
MP
220682012-02-06 Marek Polacek <polacek@redhat.com>
22069
22070 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22071 * sysdeps/i386/fpu/e_powf.S: Likewise.
22072 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22073 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22074 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22075 * sysdeps/i386/fpu/e_pow.S: Likewise.
22076 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22077 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22078 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22079 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22080 * sysdeps/i386/fpu/e_log2.S: Likewise.
22081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22082 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22083 * sysdeps/i386/fpu/e_powl.S: Likewise.
22084 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22086 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22087 * sysdeps/i386/fpu/e_logl.S: Likewise.
22088 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22089 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22090 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22091 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22092 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22093 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22094 * sysdeps/i386/fpu/e_log.S: Likewise.
22095 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22096 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22097 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22098 * sysdeps/i386/fpu/e_logf.S: Likewise.
22099 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22101 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22102 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22103 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22104 * sysdeps/i386/fpu/e_log10.S: Likewise.
22105 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22106 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22107 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22108 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22109 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22110 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22111 * sysdeps/i386/asm-syntax.h: Likewise.
22112 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22115 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22116 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22117 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22118 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22119 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22120 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22121 * sysdeps/powerpc/sysdep.h: Likewise.
22122 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22123 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22124
d4a54ac6
JM
221252012-02-06 Joseph Myers <joseph@codesourcery.com>
22126
22127 [BZ #411]
22128 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22129
314054ea
JM
221302012-02-06 Joseph Myers <joseph@codesourcery.com>
22131
22132 * sysdeps/i386/sysdep.h: Include <features.h>.
22133 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22134 version.
22135
d8e0ca50
JM
221362012-02-05 Joseph Myers <joseph@codesourcery.com>
22137
22138 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22139 Define.
22140 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22141 LOAD_PIC_REG_STR.
22142
b1da7dd9
JM
221432012-02-03 Joseph Myers <joseph@codesourcery.com>
22144
22145 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22146 (SETUP_PIC_REG): Use GET_PC_THUNK.
22147 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22148 macro.
22149
9a1d9254
JM
221502012-02-03 Joseph Myers <joseph@codesourcery.com>
22151
22152 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22153 for non-PIC compilation.
22154 (SETUP_PIC_REG): Add .p2align directive.
22155 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22156 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22157 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22158 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22160 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22161 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22163 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22164 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22165 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22166 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22167 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22168 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22169 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22170 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22171 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22172 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22173 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22174 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22176 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22177 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22178 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22179 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22180 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22181 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22183 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22184 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22185 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22187 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22188 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22189 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22190 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22191 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22192 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22193 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22194 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22195 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22196
65dc3b75
JM
221972012-02-03 Joseph Myers <joseph@codesourcery.com>
22198
22199 * math/tst-CMPLX.c: Include <stdio.h>.
22200
d55bf177
JM
222012012-01-31 Joseph Myers <joseph@codesourcery.com>
22202
22203 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22204 float.
22205 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22206 * sysdeps/sparc/bits/mathdef.h: Likewise.
22207
69db4f8f
MP
222082012-01-31 Marek Polacek <polacek@redhat.com>
22209
22210 * libio/libio.h: Don't define _PARAMS.
22211 * locale/programs/config.h: Don't define PARAMS.
22212 * stdlib/strtol_l.c: Likewise.
22213 (__strtol_l): Remove PARAMS from the prototype.
22214
41b81892
UD
222152012-01-31 Ulrich Drepper <drepper@gmail.com>
22216
3b49edc0
UD
22217 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22218 names. Just use the correct names. Remove unnecessary wrapper
22219 functions.
22220 * malloc/arena.c: Likewise.
22221 * malloc/hooks.c: Likewise.
22222
41b81892
UD
22223 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22224 ARENA_TEST says not to. Simplify test for creation of a new arena.
22225 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22226
27a25b6e
UD
222272012-01-30 Ulrich Drepper <drepper@gmail.com>
22228
22229 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22230 into tail calls.
22231 (update_get_addr): New function.
22232 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22233 GET_ADDR_MODULE parameter.
22234
c8a89e7d
JM
222352012-01-30 Joseph Myers <joseph@codesourcery.com>
22236
22237 * crypt/cert.c: Remove __STDC__ conditionals.
22238 * crypt/crypt-entry.c: Likewise.
22239 * crypt/crypt_util.c: Likewise.
22240 * libio/filedoalloc.c: Likewise.
22241 * libio/fileops.c: Likewise.
22242 * libio/genops.c: Likewise.
22243 * libio/iofclose.c: Likewise.
22244 * libio/iofdopen.c: Likewise.
22245 * libio/iofopen.c: Likewise.
22246 * libio/iofopen64.c: Likewise.
22247 * libio/iogetdelim.c: Likewise.
22248 * libio/iopopen.c: Likewise.
22249 * libio/obprintf.c: Likewise.
22250 * libio/oldfileops.c: Likewise.
22251 * libio/oldiofclose.c: Likewise.
22252 * libio/oldiofdopen.c: Likewise.
22253 * libio/oldiofopen.c: Likewise.
22254 * libio/oldiopopen.c: Likewise.
22255 * libio/wfiledoalloc.c: Likewise.
22256 * libio/wgenops.c: Likewise.
22257 * locale/programs/xmalloc.c: Likewise.
22258 * misc/syslog.c: Likewise.
22259 * stdio-common/xbug.c: Likewise.
22260 * string/memchr.c: Likewise.
22261 * string/memcmp.c: Likewise.
22262 * string/memrchr.c: Likewise.
22263 * string/rawmemchr.c: Likewise.
22264 * sysdeps/posix/getcwd.c: Likewise.
22265 * time/strftime_l.c: Likewise.
22266
3b100462
JM
222672012-01-30 Joseph Myers <joseph@codesourcery.com>
22268
22269 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22270 * config.make.in (config-cflags-sse2avx): Define.
22271 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22272 Fix typo.
22273
607998af
CM
222742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22275
22276 * scripts/config.guess: Update from upstream config git repository.
22277 * scripts/config.sub: Likewise.
22278
3601428f
CM
222792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22280
3ac8b282
CM
22281 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22282 (EM_NUM): Update.
22283 (R_TILEPRO_*, R_TILEGX_*): New macros.
22284
e034841e
CM
22285 * scripts/firstversions.awk: Fix bug in version range handling.
22286
540d7568
CM
22287 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22288
3601428f
CM
22289 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22290
463de862
CM
22291 * include/sys/epoll.h: New file.
22292 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22293 libc_hidden_def.
22294
73139a76
UD
222952012-01-28 Ulrich Drepper <drepper@gmail.com>
22296
96bc5b45
UD
22297 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22298 Avoid unnecessary __WORDSIZE == 64 test.
22299 (fmaxf): Use VEX format if possible.
22300 (fmax): Likewise.
22301 (fminf): Likewise.
22302 (fmin): Likewise.
22303
56f6f6a2
UD
22304 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22305 * math/math_private.h: Remove libc_fegetround* and
22306 libc_fesetround*.
22307 * sysdeps/i386/configure.in: Check for -msse2avx.
22308 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22309 also if SSE2AVX is defined.
22310 Remove libc_fegetround* and libc_fesetround*.
22311 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22312 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22314 of HAS_YMM_USABLE.
22315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22316 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22317 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22318 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22319 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22320
73139a76
UD
22321 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22322
d73f93a4
AZ
223232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22324
22325 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22326 size is not set.
22327 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22328
6ee65ed6
UD
223292012-01-27 Ulrich Drepper <drepper@gmail.com>
22330
22331 [BZ #13618]
22332 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22333 relocation.
22334 * Makeconfig (libm): Define.
22335 * elf/Makefile: Add rules to build and run tst-relsort1.
22336 * elf/tst-relsort1.c: New file.
22337 * elf/tst-relsort1mod1.c: New file.
22338 * elf/tst-relsort1mod2.c: New file.
22339
8db21882
JM
223402012-01-27 Joseph Myers <joseph@codesourcery.com>
22341
22342 * math/s_ldexp.c: Remove __STDC__ conditionals.
22343 * math/s_ldexpf.c: Likewise.
22344 * math/s_ldexpl.c: Likewise.
22345 * math/s_nextafter.c: Likewise.
22346 * math/s_nexttowardf.c: Likewise.
22347 * math/s_significand.c: Likewise.
22348 * math/s_significandf.c: Likewise.
22349 * math/s_significandl.c: Likewise.
22350 * math/w_jnl.c: Likewise.
22351 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22352 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22353 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22354 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22355 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22370 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22371 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22372 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22373 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22374 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22375 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22376 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22377 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22378 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22379 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22380 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22382 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22383 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22385 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22386 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22387 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22388 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22389 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22391 * sysdeps/ieee754/k_standard.c: Likewise.
22392 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22394 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22395 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22396 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22404 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22440 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22441 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22442 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
22443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22445 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22453 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22458 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22466 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22467 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22471 * sysdeps/ieee754/s_matherr.c: Likewise.
22472 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22473 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22476
965a54a4
JM
224772012-01-26 Joseph Myers <joseph@codesourcery.com>
22478
22479 * crypt/md5.h: Remove __STDC__ conditionals.
22480 * libio/libioP.h: Likewise.
22481 * locale/programs/config.h: Likewise.
22482 * sysdeps/generic/sysdep.h: Likewise.
22483 * sysdeps/i386/asm-syntax.h: Likewise.
22484 * sysdeps/s390/asm-syntax.h: Likewise.
22485 * sysdeps/unix/sysdep.h: Likewise.
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22488
7071ad79
JM
224892012-01-26 Joseph Myers <joseph@codesourcery.com>
22490
22491 * libio/libio.h: Remove __STDC__ conditionals.
22492 * malloc/obstack.h: Likewise.
22493 * math/complex.h: Likewise.
22494 * math/math.h: Likewise.
22495 * sysdeps/generic/_G_config.h: Likewise.
22496 * sysdeps/gnu/_G_config.h: Likewise.
22497 * sysdeps/mach/hurd/_G_config.h: Likewise.
22498 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22499 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22500 * sysdeps/sparc/bits/mathdef.h: Likewise.
22501
afc5ed09
UD
225022012-01-26 Ulrich Drepper <drepper@gmail.com>
22503
22504 [BZ #13583]
22505 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 22506 Clean up HAS_* macros.
afc5ed09 22507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
22508 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
22509 possible.
22510 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
22511 HAS_AVX.
22512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22513 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22514 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22515 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22516 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 22517
bdb6de1d
JM
225182012-01-25 Joseph Myers <joseph@codesourcery.com>
22519
22520 * elf/tst-unique3.cc (gets): Remove declaration.
22521 * elf/tst-unique3lib.cc (gets): Likewise.
22522 * elf/tst-unique3lib2.cc (gets): Likewise.
22523 * elf/tst-unique4.cc (gets): Likewise.
22524
b15549e6
UD
225252012-01-24 Ulrich Drepper <drepper@gmail.com>
22526
22527 * include/stdio.h: Add C++ protection. Add gets declarations and
22528 definitions.
22529 * debug/tst-chk1.c: Don't declare gets here.
22530 * stdio-common/tst-gets.c: Likewise.
22531
a037381f
JM
225322012-01-24 Joseph Myers <joseph@codesourcery.com>
22533
22534 * posix/glob: Remove directory.
22535
f1d4aa75
JM
225362012-01-24 Joseph Myers <joseph@codesourcery.com>
22537
22538 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
22539
81c0c964
PT
225402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
22541
22542 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
22543 of the non-standard EPFNOSUPPORT.
22544
0ea698ae
ST
225452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
22546
22547 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
22548 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
22549 ANYWHERE set to 1 only on KERN_NO_SPACE error.
22550
d220b117
UD
225512012-01-21 Ulrich Drepper <drepper@gmail.com>
22552
22553 * wcsmbs/uchar.h: Test __STDC_VERSION__.
22554
3e1aa84e
UD
225552012-01-20 Ulrich Drepper <drepper@gmail.com>
22556
22557 * nscd/aicache.c (addhstaiX): Do not cache negative results of
22558 transient errors.
22559 * nscd/grpcache.c (cache_addgr): Likewise.
22560 * nscd/hstcache.c (cache_addhst): Likewise.
22561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22562 * nscd/pwdcache.c (cache_addpw): Likewise.
22563 * nscd/servicescache.c (cache_addserv): Likewise.
22564
400aa020
UD
225652012-01-16 Ulrich Drepper <drepper@gmail.com>
22566
d77e7869
UD
22567 * malloc/malloc.c: Various cleanups.
22568 * malloc/hooks.c: Likewise.
22569
400aa020
UD
22570 * stdlib/Makefile (tests): Add bug-fmtmsg1.
22571 * stdlib/bug-fmtmsg1.c: New file.
22572
22573 * stdlib/fmtmsg.c (init): Add missing unlock.
22574 Patch by Peng Haitao <penght@cn.fujitsu.com>.
22575
e0a309cf
MP
225762012-01-12 Marek Polacek <polacek@redhat.com>
22577
22578 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
22579 and _GNU_SOURCE.
22580
929d11c7
WS
225812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22582
22583 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
22584 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
22585 macro to ensure uniqueness of label name.
22586 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22587 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22588
41d0e869
UD
225892012-01-11 Ulrich Drepper <drepper@gmail.com>
22590
0cc5ed3b
UD
22591 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
22592
41d0e869
UD
22593 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
22594 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22595 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
22597
a47a831a
UD
225982012-01-10 Ulrich Drepper <drepper@gmail.com>
22599
daa891c0
UD
22600 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
22601
22602 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
22603 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22604 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22605
e58ef0f2
UD
22606 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
22607
a47a831a 22608 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
22609 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22610 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 22611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
22612
22613 * math/bits/math-finite.h: Add ldexp support.
22614
a0bfc9c7
MP
226152012-01-10 Marek Polacek <polacek@redhat.com>
22616
22617 * locale/programs/localedef.h (show_archive_content): Add noreturn
22618 attribute.
22619
d6e97a1d
UD
226202012-01-09 Ulrich Drepper <drepper@gmail.com>
22621
22622 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
22623
d5835c26
UD
226242012-01-08 Ulrich Drepper <drepper@gmail.com>
22625
e5f484c6
UD
22626 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
22627
d5835c26
UD
22628 * io/Makefile (headers): Add bits/poll2.h.
22629
d1f741e9
WS
226302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
22631
22632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22633 typo #include statement.
22634
ec09c1c4
UD
226352012-01-08 Ulrich Drepper <drepper@gmail.com>
22636
22637 * include/sys/cdefs.h: Define __attribute_alloc_size.
22638 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22639 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22640 * elf/pldd.c: Likewise.
22641 * iconv/iconv_charmap.c: Likewise.
22642 * iconv/iconvconfig.c: Likewise.
22643 * iconv/strtab.c: Likewise.
22644 * locale/programs/locale.c: Likewise.
22645 * locale/programs/localedef.h: Likewise.
22646 * locale/programs/simple-hash.c: Likewise.
22647 * nscd/nscd.h: Likewise.
22648 * nss/makedb.c: Likewise.
22649 * sysdeps/generic/ldconfig.h: Likewise.
22650 * locale/programs/localedef.c: Remove xmalloc prototype.
22651 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22652
20b38e03
PP
226532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22654
22655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22656 appropriate.
22657
a0da5fe1
UD
226582012-01-08 Ulrich Drepper <drepper@gmail.com>
22659
1d5a644a 22660 * math/Makefile (tests): Add tst-CMPLX.
669704fd 22661 * math/tst-CMPLX.c: New file.
1d5a644a 22662
8784a6db
UD
22663 * math/complex.h (CMPLXL): Fix typo.
22664
d9a216c0
UD
22665 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22666 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22667 GLIBC_2.16.
22668 * debug/tst-chk1.c: Add poll and ppoll tests.
22669 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22670 * include/sys/poll.h: Add hidden proto for ppoll.
22671 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22672 * sysdeps/mach/hurd/ppoll.c: Likewise.
22673 * io/ppoll.c: Likewise.
22674 * debug/poll_chk.c: New file.
22675 * debug/ppoll_chk.c: New file.
22676 * include/bits/poll2.h: New file.
22677 * io/bits/poll2.h: New file.
22678
ac097f5c
UD
22679 [BZ #1350]
22680 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22681
2119dcfa
UD
22682 * configure.in: static is always set to yes. Remove.
22683 * config.make.in: Don't set build-static.
22684 * Makeconfig: Remove use of build-static.
22685 * dlfcn/Makefile: Likewise.
22686 * elf/Makefile: Likewise.
22687 * math/Makefile: Likewise.
22688 * misc/Makefile: Likewise.
22689 * nptl/Makefile: Likewise.
22690 * sysdeps/mach/hurd/Makefile: Likewise.
22691
121766a9
UD
22692 * configure.in: PWD_P is not used anymore.
22693 * config.make.in: Remove PWD_P entry.
22694
51a1d39c 22695 * configure.in: Remove last remnants of RANLIB.
8720d066 22696 No need to check for signed size_t anymore.
215f4bdc
UD
22697 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22698 and IA-64.
3857022a 22699 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
22700 * aclocal.m4: Likewise.
22701
d3ed7225
UD
22702 * wcsmbs/mbrtoc16.c: Implement using towc function.
22703 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22704 * wcsmbs/wcsmbsload.c: Likewise.
22705 * iconv/gconv_simple.c: Likewise.
22706 * iconv/gconv_int.h: Likewise.
22707 * iconv/gconv_builtin.h: Likewise.
22708 * iconv/iconv_prog.c: Remove CHAR16 handling.
22709
22710 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22711
22712 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22713
a0da5fe1
UD
22714 * configure.in: Remove --with-elf and --enable-bounded options.
22715 Dont set base_machine for ia64. More non-ELF conditions removed.
22716 Remove testing and setting of leading underscore information.
22717 * config.make.in (build-bounded): Set to no.
22718 * config.h.in: Remove NO_UNDERSCORES entry.
22719 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22720 them.
22721 * csu/start.c: Remove !NO_UNDERSCORE code.
22722 * locale/localeinfo.h: Likewise.
22723 * sysdeps/generic/machine-gmon.h: Likewise.
22724 * sysdeps/generic/sysdep.h: Likewise.
22725 * sysdeps/i386/sysdep.h: Likewise.
22726 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22727 * sysdeps/mach/sysdep.h: Likewise.
22728 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22730 * sysdeps/sh/sysdep.h: Likewise.
22731 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22732 * sysdeps/unix/i386/sysdep.S: Likewise.
22733 * sysdeps/unix/sparc/start.c: Likewise.
22734 * sysdeps/unix/sparc/sysdep.S: Likewise.
22735 * sysdeps/unix/sparc/sysdep.h: Likewise.
22736 * sysdeps/unix/start.c: Likewise.
22737 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22738 * sysdeps/x86_64/sysdep.h: Likewise.
22739
df78418a
UD
227402012-01-07 Ulrich Drepper <drepper@gmail.com>
22741
a784e502
UD
22742 [BZ #13553]
22743 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22744 for non-gcc.
22745 * argp/argp-fmtstream.h: Use const instead __const.
22746 * argp/argp.h: Likewise.
22747 * assert/assert.h: Likewise.
22748 * bits/fenv.h: Likewise.
22749 * bits/sched.h: Likewise.
22750 * bits/sigset.h: Likewise.
22751 * bits/sigthread.h: Likewise.
22752 * catgets/nl_types.h: Likewise.
22753 * conform/data/pthread.h-data: Likewise.
22754 * crypt/crypt-private.h: Likewise.
22755 * crypt/crypt.h: Likewise.
22756 * crypt/crypt_util.c: Likewise.
22757 * ctype/ctype.h: Likewise.
22758 * debug/execinfo.h: Likewise.
22759 * debug/mbsnrtowcs_chk.c: Likewise.
22760 * debug/mbsrtowcs_chk.c: Likewise.
22761 * debug/wcsnrtombs_chk.c: Likewise.
22762 * debug/wcsrtombs_chk.c: Likewise.
22763 * debug/wcstombs_chk.c: Likewise.
22764 * dirent/dirent.h: Likewise.
22765 * dlfcn/dlfcn.h: Likewise.
22766 * elf/neededtest4.c: Likewise.
22767 * grp/grp.h: Likewise.
22768 * gshadow/gshadow.h: Likewise.
22769 * iconv/gconv.h: Likewise.
22770 * iconv/gconv_int.h: Likewise.
22771 * iconv/gconv_simple.c: Likewise.
22772 * iconv/iconv.h: Likewise.
22773 * iconv/loop.c: Likewise.
22774 * iconv/skeleton.c: Likewise.
22775 * include/aio.h: Likewise.
22776 * include/aliases.h: Likewise.
22777 * include/argz.h: Likewise.
22778 * include/arpa/inet.h: Likewise.
22779 * include/assert.h: Likewise.
22780 * include/dirent.h: Likewise.
22781 * include/dlfcn.h: Likewise.
22782 * include/execinfo.h: Likewise.
22783 * include/fcntl.h: Likewise.
22784 * include/fenv.h: Likewise.
22785 * include/glob.h: Likewise.
22786 * include/grp.h: Likewise.
22787 * include/libintl.h: Likewise.
22788 * include/mntent.h: Likewise.
22789 * include/netdb.h: Likewise.
22790 * include/pwd.h: Likewise.
22791 * include/rpc/netdb.h: Likewise.
22792 * include/sched.h: Likewise.
22793 * include/search.h: Likewise.
22794 * include/shadow.h: Likewise.
22795 * include/signal.h: Likewise.
22796 * include/stdio.h: Likewise.
22797 * include/stdlib.h: Likewise.
22798 * include/string.h: Likewise.
22799 * include/sys/socket.h: Likewise.
22800 * include/sys/stat.h: Likewise.
22801 * include/sys/statfs.h: Likewise.
22802 * include/sys/statvfs.h: Likewise.
22803 * include/sys/syslog.h: Likewise.
22804 * include/sys/time.h: Likewise.
22805 * include/sys/uio.h: Likewise.
22806 * include/time.h: Likewise.
22807 * include/unistd.h: Likewise.
22808 * include/utmp.h: Likewise.
22809 * include/wchar.h: Likewise.
22810 * include/wctype.h: Likewise.
22811 * inet/aliases.h: Likewise.
22812 * inet/arpa/inet.h: Likewise.
22813 * inet/netinet/ether.h: Likewise.
22814 * inet/netinet/in.h: Likewise.
22815 * intl/libintl.h: Likewise.
22816 * io/bits/fcntl2.h: Likewise.
22817 * io/fcntl.h: Likewise.
22818 * io/ftw.h: Likewise.
22819 * io/sys/poll.h: Likewise.
22820 * io/sys/stat.h: Likewise.
22821 * io/sys/statfs.h: Likewise.
22822 * io/sys/statvfs.h: Likewise.
22823 * io/utime.h: Likewise.
22824 * libio/bits/stdio.h: Likewise.
22825 * libio/bits/stdio2.h: Likewise.
22826 * libio/libio.h: Likewise.
22827 * libio/libioP.h: Likewise.
22828 * libio/stdio.h: Likewise.
22829 * locale/lc-ctype.c: Likewise.
22830 * locale/locale.h: Likewise.
22831 * login/utmp.h: Likewise.
22832 * malloc/arena.c: Likewise.
22833 * malloc/malloc.c: Likewise.
22834 * malloc/malloc.h: Likewise.
22835 * malloc/mcheck.c: Likewise.
22836 * malloc/mtrace.c: Likewise.
22837 * math/bits/mathcalls.h: Likewise.
22838 * math/fenv.h: Likewise.
22839 * math/math_private.h: Likewise.
22840 * misc/bits/error.h: Likewise.
22841 * misc/bits/syslog.h: Likewise.
22842 * misc/err.h: Likewise.
22843 * misc/error.h: Likewise.
22844 * misc/fstab.h: Likewise.
22845 * misc/mntent.h: Likewise.
22846 * misc/regexp.h: Likewise.
22847 * misc/search.h: Likewise.
22848 * misc/sgtty.h: Likewise.
22849 * misc/sys/mman.h: Likewise.
22850 * misc/sys/syslog.h: Likewise.
22851 * misc/sys/uio.h: Likewise.
22852 * misc/sys/xattr.h: Likewise.
22853 * misc/ttyent.h: Likewise.
22854 * nis/rpcsvc/ypclnt.h: Likewise.
22855 * nss/nss.h: Likewise.
22856 * posix/bits/unistd.h: Likewise.
22857 * posix/fnmatch.h: Likewise.
22858 * posix/glob.h: Likewise.
22859 * posix/sched.h: Likewise.
22860 * posix/spawn.h: Likewise.
22861 * posix/sys/wait.h: Likewise.
22862 * posix/unistd.h: Likewise.
22863 * posix/wordexp.h: Likewise.
22864 * pwd/pwd.h: Likewise.
22865 * resolv/netdb.h: Likewise.
22866 * resource/sys/resource.h: Likewise.
22867 * rt/aio.h: Likewise.
22868 * rt/bits/mqueue2.h: Likewise.
22869 * rt/mqueue.h: Likewise.
22870 * shadow/shadow.h: Likewise.
22871 * signal/signal.h: Likewise.
22872 * socket/send.c: Likewise.
22873 * socket/sendto.c: Likewise.
22874 * socket/sys/socket.h: Likewise.
22875 * stdio-common/printf.h: Likewise.
22876 * stdlib/bits/stdlib.h: Likewise.
22877 * stdlib/fmtmsg.h: Likewise.
22878 * stdlib/monetary.h: Likewise.
22879 * stdlib/stdlib.h: Likewise.
22880 * stdlib/ucontext.h: Likewise.
22881 * streams/stropts.h: Likewise.
22882 * string/argz.h: Likewise.
22883 * string/bits/string2.h: Likewise.
22884 * string/string.h: Likewise.
22885 * string/strings.h: Likewise.
22886 * sunrpc/rpc/auth.h: Likewise.
22887 * sunrpc/rpc/auth_des.h: Likewise.
22888 * sunrpc/rpc/clnt.h: Likewise.
22889 * sunrpc/rpc/netdb.h: Likewise.
22890 * sunrpc/rpc/pmap_clnt.h: Likewise.
22891 * sunrpc/rpc/xdr.h: Likewise.
22892 * sysdeps/generic/inttypes.h: Likewise.
22893 * sysdeps/generic/net/if.h: Likewise.
22894 * sysdeps/generic/sys/swap.h: Likewise.
22895 * sysdeps/gnu/net/if.h: Likewise.
22896 * sysdeps/gnu/utmpx.h: Likewise.
22897 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22898 * sysdeps/i386/i486/bits/string.h: Likewise.
22899 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22900 * sysdeps/s390/bits/string.h: Likewise.
22901 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22902 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22903 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22904 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22905 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22906 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22907 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22908 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22909 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22910 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22911 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22912 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22913 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22914 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22915 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22916 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22917 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22919 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22920 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22921 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22923 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22924 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22925 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22926 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22927 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22929 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22930 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22931 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22932 * sysvipc/sys/ipc.h: Likewise.
22933 * sysvipc/sys/msg.h: Likewise.
22934 * sysvipc/sys/sem.h: Likewise.
22935 * sysvipc/sys/shm.h: Likewise.
22936 * termios/termios.h: Likewise.
22937 * time/sys/time.h: Likewise.
22938 * time/time.h: Likewise.
22939 * wcsmbs/bits/wchar2.h: Likewise.
22940 * wcsmbs/uchar.h: Likewise.
22941 * wcsmbs/wchar.h: Likewise.
22942 * wctype/wctype.h: Likewise.
22943
0269750c
UD
22944 [BZ #13551]
22945 * Makeconfig: Remove all but ELF support including AIX support.
22946 * Makerules: Likewise.
22947 * config.h.in: Likewise.
22948 * config.make.in: Likewise.
22949 * configure: Likewise.
22950 * configure.in: Likewise.
22951 * csu/Makefile: Likewise.
22952 * csu/version.c: Likewise.
22953 * debug/Makefile: Likewise.
22954 * dlfcn/Makefile: Likewise.
22955 * elf/Makefile: Likewise.
22956 * extra-lib.mk: Likewise.
22957 * iconv/Makefile: Likewise.
22958 * include/libc-symbols.h: Likewise.
22959 * include/shlib-compat.h: Likewise.
22960 * resolv/Makefile: Likewise.
22961 * resolv/res_libc.c: Likewise.
22962 * rt/Makefile: Likewise.
22963 * sysdeps/i386/asm-syntax.h: Likewise.
22964 * sysdeps/i386/sysdep.h: Likewise.
22965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22966 * sysdeps/mach/sysdep.h: Likewise.
22967 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22968 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22969 * sysdeps/s390/asm-syntax.h: Likewise.
22970 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22972 * sysdeps/sh/sysdep.h: Likewise.
22973 * sysdeps/unix/sparc/sysdep.h: Likewise.
22974 * sysdeps/wordsize-32/divdi3.c: Likewise.
22975 * sysdeps/x86_64/sysdep.h: Likewise.
22976
00bbd29b
UD
22977 * argp/Versions: Remove _argp_unlock_xxx.
22978
22979 [BZ #13559]
22980 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22981 * abilist/libBrokenLocale.abilist: Likewise.
22982 * abilist/libanl.abilist: Likewise.
22983 * abilist/libc.abilist: Likewise.
22984 * abilist/libcrypt.abilist: Likewise.
22985 * abilist/libdl.abilist: Likewise.
22986 * abilist/libm.abilist: Likewise.
22987 * abilist/libnsl.abilist: Likewise.
22988 * abilist/libpthread.abilist: Likewise.
22989 * abilist/libresolv.abilist: Likewise.
22990 * abilist/librt.abilist: Likewise.
22991 * abilist/libthread_db.abilist: Likewise.
22992 * abilist/libutil.abilist: Likewise.
22993 * abilist/libnss_db.abilist: New file.
22994
22995 * scripts/abilist.awk: Add support for indirect functions.
22996
a2693a0e
UD
22997 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22998
3f05895f
UD
22999 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23000
ecb6fb48
UD
23001 * shlib-versions: Remove entries for ports architectures.
23002
664f8cb9
UD
23003 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23004 files in ports.
23005 * elf/stackguard-macros.h: Remove support for IA-64.
23006 * elf/tst-auditmod1.c: Likewise.
23007 * sysdeps/generic/ldsodefs.h: Likewise.
23008
7ae81d88
UD
23009 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23010 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23011 configure files.
23012
bdeba135
UD
23013 [BZ #13552]
23014 * configure.in: Remove --enable-omitfp support.
23015 * FAQ.in: Adjust.
23016 * config.make.in: Likewise.
23017 * Makeconfig: Likewise.
23018 * manual/install.texi: Likewise.
23019
d75a0a62
UD
23020 In case anyone cares, the IA-64 architecture could move to ports.
23021 * sysdeps/ia64/*: Removed.
23022 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23023 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23024
dcc9756b
UD
23025 [BZ #13555]
23026 * configure.in: Remove entries for unsupported architectures.
23027
d3761ebc 23028 [BZ #13533]
9954432e
UD
23029 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23030 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23031 routines.
23032 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23033 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23034 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23035 fall back to using wcrtomb.
23036 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23037 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23038 renaming.
23039 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23040 * wcsmbs/tst-c16c32-1.c: New file.
23041
23042 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23043 local variable.
23044
c3a87236
UD
23045 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23046
28926a1b
UD
23047 * elf/tst-unique3.cc: Add explicit declaration of gets.
23048 * elf/tst-unique3lib.cc: Likewise.
23049 * elf/tst-unique3lib2.cc: Likewise.
23050 * elf/tst-unique4.cc: Likewise.
23051
df78418a
UD
23052 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23053
8ecd6b2a
JM
230542012-01-06 Joseph Myers <joseph@codesourcery.com>
23055
23056 [BZ #13566]
23057 * assert/assert.h (static_assert): Don't define for C++.
23058 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23059 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23060
9f115170
UD
230612012-01-03 Ulrich Drepper <drepper@gmail.com>
23062
5e0d0300
UD
23063 * iconv/loop.c (single loop): Fix assertion in storing of
23064 remaining bytes.
23065
9f115170
UD
23066 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23067
81fb02b0
UD
230682012-01-01 Ulrich Drepper <drepper@gmail.com>
23069
23070 * posix/getconf.c: Update copyright year.
23071 * nss/getent.c: Likewise.
a316c1f6 23072 * nss/makedb.c: Likewise.
81fb02b0
UD
23073 * iconv/iconvconfig.c: Likewise.
23074 * iconv/iconv_prog.c: Likewise.
23075 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23076 * elf/pldd.c: Likewise.
23077 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23078 * catgets/gencat.c: Likewise.
23079 * csu/version.c: Likewise.
23080 * elf/ldd.bash.in: Likewise.
23081 * elf/sprof.c (print_version): Likewise.
23082 * locale/programs/locale.c: Likewise.
23083 * locale/programs/localedef.c: Likewise.
a316c1f6 23084 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23085 * nscd/nscd.c (print_version): Likewise.
23086 * debug/xtrace.sh: Likewise.
23087 * malloc/memusage.sh: Likewise.
23088 * malloc/mtrace.pl: Likewise.
23089 * debug/catchsegv.sh: Likewise.
23090
2ba92745
JJ
230912011-12-30 Jakub Jelinek <jakub@redhat.com>
23092
23093 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23094 pure attribute.
23095
dadebdae
UD
230962011-12-24 Ulrich Drepper <drepper@gmail.com>
23097
d3761ebc 23098 [BZ #13533]
db6af3eb
UD
23099 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23100 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23101 transformations.
23102 * iconv/gconv_int.h: Likewise.
23103 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23104 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23105 from libc for GLIBC_2.16.
23106 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23107 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23108 * wcsmbs/uchar.h: Really define mbstate_t.
23109 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23110 * wcsmbs/c16rtomb.c: New file.
23111 * wcsmbs/mbrtoc16.c: New file.
23112 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23113 for C/POSIX locale.
23114 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23115 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23116
dadebdae
UD
23117 * wcsmbs/wchar.h: Add missing __restrict.
23118
67371b56
UD
231192011-12-23 Ulrich Drepper <drepper@gmail.com>
23120
74033a25
UD
23121 [BZ #13532]
23122 * time/Makefile (routines): Add timespec_get.
23123 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23124 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23125 timespec for ISO C11.
23126 * time/timespec_get.c: New file.
23127 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23128 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23129
380d7e87
UD
23130 [BZ #13531]
23131 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23132 * stdlib/stdlib.h: Declare aligned_alloc.
23133 * Versions.def: Add GLIBC_2.16 for libc.
23134 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23135
4e9e7a35
UD
23136 [BZ 13527]
23137 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23138 ISO C11.
23139
380d7e87 23140 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23141 code.
23142
03a71829
UD
23143 [BZ #13528]
23144 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23145
839e283e
UD
23146 [BZ #13529]
23147 * assert/assert.h (static_assert): Define.
23148
ce5294e2 23149 * version.h: Update for 2.16 development version.
90fa7312 23150
8d44e150 23151 [BZ #13526]
d7809905
UD
23152 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23153 _ISOC11_SOURCE.
23154
c0da14cd
UD
23155 * version.h (RELEASE): Bump for 2.15 release.
23156 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23157
530a3249
MP
23158 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23159 Patch by Marek Polacek <mpolacek@redhat.com>.
23160
67371b56
UD
23161 * bits/byteswap.h: Protect long long constants with __extension__.
23162 * sysdeps/i386/bits/byteswap.h: Likewise.
23163 * sysdeps/ia64/bits/byteswap.h: Likewise.
23164 * sysdeps/s390/bits/byteswap.h: Likewise.
23165 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23166
15db4de1
LD
231672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23168
23169 [BZ #13540]
bbe315ea
LD
23170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23171 destination buffer.
15db4de1
LD
23172 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23173
2b2596b1
MP
231742011-12-23 Marek Polacek <polacek@redhat.com>
23175
23176 * elf/dl-addr.c (determine_info): Add inline keyword.
23177 * elf/tst-auditmod4b.c (check_avx): Likewise.
23178 * elf/tst-auditmod6b.c (check_avx): Likewise.
23179 * elf/tst-auditmod6c.c (check_avx): Likewise.
23180 * elf/tst-auditmod7b.c (check_avx): Likewise.
23181
70c6c246
UD
231822011-12-23 Ulrich Drepper <drepper@gmail.com>
23183
23184 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23185 !__SSE_MATH__.
23186
c044cf14
LD
231872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23188
15db4de1 23189 [BZ #13540]
c044cf14
LD
23190 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23191 processing for last bytes.
23192
6b13d9d9
BH
231932011-08-06 Bruno Haible <bruno@clisp.org>
23194
d455f537
BH
23195 [BZ #13061]
23196 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23197 U+0385, not to U+1FEE.
23198
6b13d9d9
BH
23199 [BZ #13062]
23200 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23201 entry for U+00A5 U+0301.
23202
db910efd
UD
232032011-12-22 Ulrich Drepper <drepper@gmail.com>
23204
27deeafc
UD
23205 [BZ #13166]
23206 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23207 buffer for the output is too small.
23208
aed9d171
UD
23209 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23210 optimization.
23211
db910efd
UD
23212 [BZ #13185]
23213 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23214 SSE flags if possible.
23215
2bd779ae
LD
232162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23217
e7f9dac3 23218 [BZ #13540]
2bd779ae
LD
23219 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23220 processing for last bytes.
23221
154bfc16
JM
232222011-12-22 Joseph Myers <joseph@codesourcery.com>
23223
23224 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23225 (syscall-list-default-options, syscall-list-default-condition)
23226 (syscall-list-includes): Define.
23227 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23228 list of ABIs and options and #if conditions for each ABI. Do not
23229 handle common syscalls between ABIs specially.
23230 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23231 Remove.
23232 (syscall-list-variants, syscall-list-32bit-options)
23233 (syscall-list-32bit-condition, syscall-list-64bit-options)
23234 (syscall-list-64bit-condition): Define.
23235 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23240 Remove.
23241 (syscall-list-variants, syscall-list-32bit-options)
23242 (syscall-list-32bit-condition, syscall-list-64bit-options)
23243 (syscall-list-64bit-condition): Define.
23244 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23245 Remove.
23246 (syscall-list-variants, syscall-list-32bit-options)
23247 (syscall-list-32bit-condition, syscall-list-64bit-options)
23248 (syscall-list-64bit-condition): Define.
23249
21eaf3a5
UD
232502011-12-22 Ulrich Drepper <drepper@gmail.com>
23251
16c6f992
UD
23252 * locale/iso-639.def: Add brx entry.
23253
41043168
UD
23254 [BZ #13328]
23255 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23256 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23257
21eaf3a5
UD
23258 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23259 __feraiseexcept_renamed.
23260
e3a851a2
UD
232612011-12-21 Ulrich Drepper <drepper@gmail.com>
23262
4920765e
UD
23263 [BZ #13538]
23264 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23265 EPOLLET with unsigned values.
23266 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23267 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23268
e3a851a2
UD
23269 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23270 to large cancellation.
23271 * math/s_cacoshf.c: Likewise.
23272 * math/s_cacoshl.c: Likewise.
23273
b27e24b8
RK
232742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23275
23276 [BZ #13305]
aebefeee 23277 [BZ #12786]
b27e24b8
RK
23278 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23279 * math/s_cacoshf.c: Likewise.
23280 * math/s_cacoshl.c: Likewise.
23281
ee190f67
UD
232822011-12-21 Ulrich Drepper <drepper@gmail.com>
23283
23284 [BZ #13439]
23285 * iconv/gconv.h: Define __GCONV_SWAP.
23286 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23287 * iconvdata/utf-16.c: Likewise.
23288 * iconvdata/utf-32.c: Likewise.
23289
707f25df
AS
232902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23291
23292 [BZ #13524]
23293 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23294 numerator after shifting it by one limb.
23295
d2daaa1e
RÁE
232962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23297
23298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23299 under [__USE_EXTERN_INLINES].
23300
a4647e72
UD
233012011-12-17 Ulrich Drepper <drepper@gmail.com>
23302
23303 [BZ #13446]
23304 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23305
f0b264f1
AZ
233062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23307
23308 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23309 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23310 optimized code.
23311 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23312 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23313 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23314 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23315 for strncasecmp/strncasecmp_l compilation.
23316 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23317 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23318
8ef4f244
MP
233192011-12-08 Marek Polacek <mpolacek@redhat.com>
23320
23321 [BZ #13484]
23322 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23323 of __asm__.
23324
97ac2654
UD
233252011-12-17 Ulrich Drepper <drepper@gmail.com>
23326
23327 [BZ #13506]
23328 * time/tzfile.c (__tzfile_read): Check values from file header.
23329
91d2a845
WS
233302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23331
23332 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23333 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23334 * powerpc/powerpc32/dl-start.S: Likewise.
23335 * powerpc/powerpc32/elf/start.S: Likewise.
23336 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23337 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23338 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23339 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23340 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23341 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23342 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23343 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23344 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23345 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23346 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23347 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23348 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23349 * powerpc/powerpc32/memset.S: Likewise.
23350 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23351 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23352 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23353 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23354 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23355 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23356 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23357 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23358 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23359 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23360 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23361 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23362 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23363
a1267ba1
AZ
233642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23365
23366 * math/libm-test.inc: Added more nearbyint tests.
23367 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23371
ad8ac1bd
RL
233722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23373
23374 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23375 FD_CLOEXEC.
23376
1d3e4b61
UD
233772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23378
23379 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23380 Add wcscpy-ssse3 wcscpy-c.
23381 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23382 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23383 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23384 * sysdeps/x86_64/wcschr.S: New file.
23385 * sysdeps/x86_64/wcsrchr.S: New file.
23386 * string/test-strcmp.c: Remove checking of wcscmp function for
23387 wrong alignments.
23388 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23389 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23390 wcsrchr-sse2 wcsrchr-c.
23391 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23392 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23393 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23394 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23395 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23396 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23397 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23398 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23399 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23400 * wcsmbc/wcschr.c (WCSCHR): New macro.
23401
5b330a2d
UD
234022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23403
23404 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23405 * wcsmbs/test-wcsrchr.c: New file.
23406 * string/test-strrchr.c: Add wcsrchr support.
23407 (WIDE): New macro.
23408 * wcsmbs/test-wcscpy.c: New file.
23409 * string/test-strcpy.c: Add wcscpy support.
23410 (WIDE): New macro.
26428b7c 23411
f039c043
UD
234122011-12-10 Ulrich Drepper <drepper@gmail.com>
23413
23414 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23415 the inner loop.
23416
850fb039
AS
234172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23418
23419 [BZ #13472]
23420 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23421
4efbd5cb
UD
234222011-12-04 Ulrich Drepper <drepper@gmail.com>
23423
52ff5dd0 23424 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 23425 Minor optimizations.
52ff5dd0 23426
4efbd5cb
UD
23427 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
23428 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
23429 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23430
8a426e12
UD
234312011-12-03 Ulrich Drepper <drepper@gmail.com>
23432
aff2453d
UD
23433 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
23434 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
23435 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
23436 for gcc to avoid warnings.
23437 * inet/Makefile (tests): Add tst-checks.
23438 * inet/tst-checks.c: New file.
23439
23440 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
23441 warning.
23442
23443 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
23444 __wmemcmp_sse2.
23445
23446 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
23447 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
23448
8a426e12
UD
23449 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
23450
9bea3473
UD
234512011-12-02 Ulrich Drepper <drepper@gmail.com>
23452
3a965496
UD
23453 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
23454 problem.
23455
9bea3473
UD
23456 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
23457
f101631b
UD
234582011-11-29 Joseph Myers <joseph@codesourcery.com>
23459
23460 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
23461 conditional on GCC version.
23462 (__arch_compare_and_exchange_val_8_acq)
23463 (__arch_compare_and_exchange_val_16_acq)
23464 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
23465 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
23466 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
23467
a98275aa
UD
234682011-12-02 Joseph Myers <joseph@codesourcery.com>
23469
23470 * sysdeps/sh/backtrace.c: New file.
23471
d4cc29a2
AS
234722011-12-02 Andreas Schwab <schwab@redhat.com>
23473
23474 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
23475 parenthesis.
23476
6257af2d
AS
234772011-12-01 Andreas Schwab <schwab@redhat.com>
23478
23479 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
23480 falling back to utime.
23481
b5f44c1a
AS
234822011-11-30 Andreas Schwab <schwab@redhat.com>
23483
23484 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
23485 expectations for float.
23486
f3a6cc0a
AS
234872011-11-29 Andreas Schwab <schwab@redhat.com>
23488
23489 * locale/weight.h (findidx): Add parameter len.
23490 * locale/weightwc.h (findidx): Likewise.
23491 * posix/fnmatch_loop.c (FCT): Adjust caller.
23492 * posix/regcomp.c (build_equiv_class): Likewise.
23493 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
23494 * posix/regexec.c (check_node_accept_bytes): Likewise.
23495 * string/strcoll_l.c (STRCOLL): Likewise.
23496 * string/strxfrm_l.c (STRXFRM): Likewise.
23497
9d65ea3a
UD
234982011-11-17 Ulrich Drepper <drepper@gmail.com>
23499
23500 * Makefile.in: Remove CVSOPT handling.
23501 * configure.in: Remove use of AC_REVISION.
23502 * iconvdata/Makefile (distribute): No need to filter out CVS.
23503 * scripts/list-sources.sh: Remove CVS, subversion and monotone
23504 handling.
23505
5583a086
AS
235062011-11-16 Andreas Schwab <schwab@redhat.com>
23507
23508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
23509 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
23510 [USE_AS_STRNCASECMP_L]: Likewise.
23511 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
23512 NO_TLS_DIRECT_SEG_REFS.
23513 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
23514 Fix argument offsets for non-PIC.
23515 [USE_AS_STRNCASECMP_L]: Likewise.
23516 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
23517 NO_TLS_DIRECT_SEG_REFS.
23518
d62a8200
UD
235192011-11-15 Ulrich Drepper <drepper@gmail.com>
23520
9d65ea3a 23521 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
23522 O_CLOEXEC.
23523 * locale/loadlocale.c (_nl_load_locale): Likewise.
23524
09f93bd3
AS
235252011-11-15 Andreas Schwab <schwab@redhat.com>
23526
446514f9
AS
23527 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
23528 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
23529 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
23530 (SYSCALL_GETTIME): Set errno on error.
23531
09f93bd3
AS
23532 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
23533 count references to noai6ai_cached.
23534
312be3f9
UD
235352011-11-15 Ulrich Drepper <drepper@gmail.com>
23536
23537 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
23538
23539 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
23540 FD_CLOEXEC for /proc/self/maps.
23541
23542 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
23543 FD_CLOEXEC for /proc/meminfo.
23544
23545 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
23546 gai.conf.
23547
23548 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
23549 FD_CLOEXEC for given file.
23550
23551 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
23552
23553 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
23554 FD_CLOEXEC for /etc/hosts.
23555 (_gethtent): Likewise.
23556
23557 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
23558
23559 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
23560 cancellation and set FD_CLOEXEC for /etc/netgroup.
23561
23562 * nss/nss_files/files-key.c (search): Don't allow cancellation when
23563 reading /etc/publickey.
23564
23565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
23566 allow cancellation when reading /etc/group.
23567
23568 * nss/nss_files/files-alias.c (internal_setent): Don't allow
23569 cancellation.
23570 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
23571
23572 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
23573 when using data file.
23574
23575 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
23576
23577 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
23578 (write_nis_obj): Use "c" and "e" in fopen.
23579
23580 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
23581
23582 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
23583
23584 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
23585
23586 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
23587
23588 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
23589 locale.alias.
23590
23591 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
23592
23593 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
23594
23595 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
23596
23597 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
23598 file parsing and set FD_CLOEXEC.
23599
82af0fa8
UD
236002011-11-14 Ulrich Drepper <drepper@gmail.com>
23601
23602 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
23603
a5fb313c
AS
236042011-11-14 Andreas Schwab <schwab@redhat.com>
23605
23606 * malloc/arena.c (arena_get2): Don't call reused_arena when
23607 _int_new_arena failed.
23608
6abf3465
UD
236092011-11-14 Ulrich Drepper <drepper@gmail.com>
23610
23611 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
23612 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
23613 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
23614 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23615 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23616 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
23617 to compile strcasecmp and strncasecmp.
23618 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
23619 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
23620
23621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
23622
76e3966e
UD
236232011-11-13 Ulrich Drepper <drepper@gmail.com>
23624
23625 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
23626 locale-defines.sym to gen-as-const-headers.
23627 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
23628 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
23629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
23630 to compile strcasecmp and strncasecmp.
23631 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23632 strcasecmp_l and strncasecmp_l.
23633 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23634 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23635 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23636 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23637 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23638 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23639 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23640 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23641 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23642 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23643 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23644
ab26144e
UD
236452011-11-12 Ulrich Drepper <drepper@gmail.com>
23646
7edb22ef
UD
23647 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23648 result of SYSDEP_GETTIME_CPU to retval.
23649 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23650 parameter list to macro. Remove trailing semicolon. Adjust users.
23651
9694fc44
UD
23652 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23653 variable.
23654
8ad89ef8
UD
23655 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23656 mantissa words.
23657 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23658
0c822ef9
UD
23659 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23660 from unused variable.
23661
874e0564
UD
23662 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23663 DWARF definitions.
23664 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23665 for assembling.
23666
3a2edc79
UD
23667 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23668 over namespaces.
23669
f3c2577f
UD
23670 * sunrpc/rpc_prot.c (rejected): Fix case value.
23671
294ce126
UD
23672 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23673 unsigned long long int to avoid warnings in shift.
23674
5e2b63c6
UD
23675 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23676 of use of trans.
23677 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23678 variable tmp.
23679
e7f4b08e
UD
23680 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23681 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23682 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23683
ab26144e
UD
23684 * nis/nis_table.c (nis_list): Use variable of correct type for
23685 result of __follow_path call.
23686
8a6d5255
AZ
236872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23688
23689 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23690 of math functions ceil, trunc, floor, round, and sqrt, when
23691 avaliable on the platform.
23692 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23693 name clash.
23694 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23695 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23696 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23697
aaddc98c
MP
236982011-10-30 Marek Polacek <mpolacek@redhat.com>
23699
23700 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23701 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23702
95b7042b
RM
237032011-11-11 Roland McGrath <roland@hack.frob.com>
23704
23705 * include/unistd.h: Fix __readlink return type.
23706 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23707
57769839
UD
237082011-11-11 Ulrich Drepper <drepper@gmail.com>
23709
23710 * stdlib/ucontext.h: Undo last change for makecontext.
23711
edc5984d
AS
237122011-11-11 Andreas Schwab <schwab@redhat.com>
23713
98591e58
AS
23714 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23715
edc5984d
AS
23716 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23717 * setjmp/setjmp.h: Mark functions as non-leaf.
23718 * setjmp/bits/setjmp2.h: Likewise.
23719 * stdlib/ucontext.h: Likewise.
23720
77cdc054
AS
237212011-11-10 Andreas Schwab <schwab@redhat.com>
23722
23723 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23724 (reused_arena): Don't check arena limit.
23725 (arena_get2): Atomically check arena limit.
23726
fe72eebd
UD
237272011-11-08 Ulrich Drepper <drepper@gmail.com>
23728
5f078c32
UD
23729 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23730 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23731
fe72eebd
UD
23732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23733 instructions.
23734
ae1bc2fa
AS
237352011-11-07 Andreas Schwab <schwab@redhat.com>
23736
7583a88d
AS
23737 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23738 handler when locking.
23739
ae1bc2fa
AS
23740 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23741 Fix size of allocated buffer.
23742
10fb0bfa
AS
237432011-11-04 Andreas Schwab <schwab@redhat.com>
23744
998832a4
AS
23745 [BZ #10103]
23746 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23747 declarations for long double functions.
23748 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23749
10fb0bfa
AS
23750 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23751
3d7ba52b
AS
237522011-11-03 Andreas Schwab <schwab@redhat.com>
23753
a9ae54a1
AS
23754 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23755 installed.
23756
3d7ba52b
AS
23757 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23758 is disabled.
23759
bc8db248
ST
237602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23761
23762 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23763
45b96dd6
AS
237642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23765
647776f6
AS
23766 * include/alloca.h (stackinfo_alloca_round): Define.
23767 (extend_alloca): Use it.
23768 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23769 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23770 here.
23771
d91a8b93
AS
23772 * scripts/check-local-headers.sh: Ignore libaudit.h.
23773
45b96dd6
AS
23774 * nscd/Makefile (extra-objs): Make recursively expanded.
23775
432d41ce
UD
237762011-11-01 Ulrich Drepper <drepper@gmail.com>
23777
34372fc6
UD
23778 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23779 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23780
fadb59f8
UD
23781 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23782 * posix/tst-rfc3484-2.c: Likewise.
23783 * posix/tst-rfc3484-3.c: Likewise.
23784
78239589
UD
23785 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23786 process_vm_writev.
23787 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23788 process_vm_writev.
23789 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23790 process_vm_writev from libc using GLIBC_2.15 version.
23791
432d41ce
UD
23792 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23793
02f9c6cf
PP
237942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23795
23796 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23797 stack usage.
23798
3a2c0242
UD
237992011-10-31 Ulrich Drepper <drepper@gmail.com>
23800
f4ec4833
UD
23801 [BZ #13367]
23802 * nss/getent.c (initgroups_keys): Show error message in case no group
23803 names are given.
23804
3a2c0242
UD
23805 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23806 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23807 __bump_nl_timestamp.
23808 * nscd/connections (nscd_init): When host database is served open
23809 netlink socket and request notification about configuration changes.
23810 (main_loop_poll): Track netlink file descriptor and bump timestamp
23811 in case data becomes available.
23812 (main_loop_epoll): Likewise.
23813 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23814 (database_pers_head): Add extra_data fileds.
23815 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23816 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23817 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23818 Adjust caller.
23819 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23820 in6ai data, call __free_in6ai.
23821 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23822 Add -DHAVE_NETLINK.
23823 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23824 interface information. Reuse previous data if netlink timestamp
23825 is not changed.
23826 (__bump_nl_timestamp): New function.
23827 (__free_in6ai): New function.
23828
636064eb
UD
238292011-10-30 Ulrich Drepper <drepper@gmail.com>
23830
23831 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23832 close_not_cancel_no_status here.
23833 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23834
9beb2334
UD
238352011-10-29 Ulrich Drepper <drepper@gmail.com>
23836
6ef76f3b
UD
23837 [BZ #13276]
23838 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23839 return value.
23840
0ffc4f3e 23841 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23842 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23843 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23844
cb95113e
UD
238452011-07-03 Andreas Jaeger <aj@suse.de>
23846
23847 [BZ #10709]
23848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23849 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23850 * math/libm-test.inc (sin_test): Add test case.
23851
a1b560ff
UD
238522011-10-29 Ulrich Drepper <drepper@gmail.com>
23853
c9aaface
UD
23854 [BZ #13337]
23855 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23856 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23857
d272e7f1
UD
23858 * elf/chroot_canon.c (chroot_canon): Cleanups.
23859
1bc33071
UD
23860 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23861
1760874d
TJ
23862 [BZ #13335]
23863 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23864 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23865
51d91b18
UD
23866 * string/test-strchr.c: Make usable for strchrnul testing.
23867 * string/test-strchrnul.c: New file.
23868 * string/Makefile (strop-tests): Add strchrnul.
23869
a1b560ff 23870 * po/it.po: Update from translation team.
b611fb81 23871 * po/es.po: Likewise.
a1b560ff 23872
a5b81e1f
UD
238732011-10-28 Ulrich Drepper <drepper@gmail.com>
23874
fd52bc6d
UD
23875 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23876 the three constants needed as parameters. Drop the others.
23877 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23878 __m128i_strloadu_tolower.
52e4b9eb
UD
23879 Create and initialize variable zero and use it in all the places
23880 where _mm_setzero_si128 was used.
fd52bc6d 23881
a5b81e1f
UD
23882 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23883 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23884 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23885 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23886 anymore.
23887 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23888 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23889 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23890 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23891 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23892 __mpranred, __mptan.
23893 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23894 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23895 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23896 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23897 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23898 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23900 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23901 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23902
b4343346
AS
239032011-10-28 Andreas Schwab <schwab@redhat.com>
23904
0c92d8a8
AS
23905 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23906 redefine if SHARED.
23907 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23908
b4343346
AS
23909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23910 wide char related routines to wcsmbs subdir.
23911
3871f58f
AS
239122011-10-27 Andreas Schwab <schwab@redhat.com>
23913
23914 [BZ #13344]
23915 * misc/sys/cdefs.h (__THROWNL): Define.
23916 * posix/unistd.h: Use __THREADNL instead of __THREAD
23917 for memory synchronization functions.
23918
94d44d9f
RM
239192011-10-26 Roland McGrath <roland@hack.frob.com>
23920
21b64b15 23921 [BZ #13349]
94d44d9f
RM
23922 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23923 doesn't exist.
23924 * manual/stdio.texi (Obstack Streams): Node removed.
23925
f6ce9294
AS
239262011-10-26 Andreas Schwab <schwab@redhat.com>
23927
80479147
AS
23928 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23929 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23930 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23931
f6ce9294
AS
23932 * math/math_private.h (math_force_eval): Allow non-addressable
23933 arguments.
23934 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23935
618280a1
UD
239362011-10-25 Ulrich Drepper <drepper@gmail.com>
23937
e0016b11
UD
23938 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23939 file is not needed.
23940
23941 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23942 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23943 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23944 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23948 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23949 Add AVX variants.
23950 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23951 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23952 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23953 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23954 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23955 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23956 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23957 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23958 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23959 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23960 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23961 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23962 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23963 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23964 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23965 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23966 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23967 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23968 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23969
23970 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23971 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23972
618280a1
UD
23973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23974 place. Use VEX encoding when compiling for AVX.
23975
37822576
AS
239762011-10-25 Andreas Schwab <schwab@redhat.com>
23977
1f1e1947
AS
23978 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23979 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23980
37822576
AS
23981 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23982
31ea014d
UD
239832011-10-25 Ulrich Drepper <drepper@gmail.com>
23984
d7826aa1 23985 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23986 useless if() expression.
d7826aa1
UD
23987 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23996 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23997 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23998 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23999 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24000 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24001 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24002 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24005 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24006
31ea014d
UD
24007 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24008
16437fec
AS
240092011-10-25 Andreas Schwab <schwab@redhat.com>
24010
24011 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24012 condition.
24013 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24014
31d3cc00
UD
240152011-10-25 Ulrich Drepper <drepper@gmail.com>
24016
24017 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24018 .text section. Avoid duplicate constants.
24019 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24029 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24031 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24032 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24034 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24035 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24042 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24043 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24044 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24045 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24046 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24047 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24048 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24049 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24050 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24051 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24052 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24053 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24054 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24055 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24056 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24057 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24058 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24059 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24060 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24061 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24062 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24063 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24064
58985aa9
UD
240652011-10-24 Ulrich Drepper <drepper@gmail.com>
24066
202c9deb
UD
24067 * sysdeps/x86_64/dla.h: Move to ...
24068 * sysdeps/x86_64/fpu/dla.h: ...here.
24069 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24070 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24071
af968f62
UD
24072 * config.make.in: Add have-mfma4 entry.
24073 * configure.in: Substitute libc_cv_cc_fma4.
24074 * math/Makefile (dbl-only-routines): Add sincostab.
24075 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24076 Use __sincostab not sincos.
24077 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24078 name is a macro.
24079 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24083 using __copysign.
24084 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24085 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24086 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24087 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24088 and __inv.
24089 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24090 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24091 __copysign.
24092 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24093 define aliases when function name is a macro.
24094 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24095 sysdeps/ieee754/dbl-64/sincos.tbl.
24096 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24097 fma4-enabled routines.
24098 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24099 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24100 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24101 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24102 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24103 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24104 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24107 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24108 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24109 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24110 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24111 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24112 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24113 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24114 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24115 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24116 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24117 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24118 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24119 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24120 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24121 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24122 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24123 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24125 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24126 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24127 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24128
58985aa9
UD
24129 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24130 rename.
24131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24139
a201fbcf
AS
241402011-10-24 Andreas Schwab <schwab@redhat.com>
24141
24142 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24143
fc2ee42a
LD
241442011-10-23 Ulrich Drepper <drepper@gmail.com>
24145
bb3129bd
UD
24146 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24147
0275fff8
UD
24148 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24149 prediction.
24150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24151
2fa2ae85
UD
24152 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24153 Remove unused variable magic_bits.
24154 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24155
fc2ee42a
LD
24156 * string/strnlen.c: Define and use STRNLEN macro.
24157 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24158 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24159 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24160 * wcsmbs/wcslen.c: Define and use WCSLEN.
24161 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24162 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24163 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24164 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24165 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24166 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24167 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24168
ce7dd29f
LD
241692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24170
24171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24172 strnlen-sse2-no-bsf.
24173 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24175 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24176 Add strnlen support.
24177 (USE_AS_STRNLEN): New macro.
24178 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24179 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24180 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24181 * sysdeps/x86_64/wcslen.S: New file.
24182
979c70a3
MZ
241832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24184
24185 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24186 XMM-moves are used for copying on small sizes.
24187
2d09f82f
LD
241882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24189
24190 * wcsmbs/Makefile (strop-tests): Add wcschr.
24191 * wcsmbs/test-wcschr.c: New file.
24192 * string/test-strchr.c: Update.
24193 Add wcschr support.
24194 (WIDE): New macro.
24195
619fccca
LD
241962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24197
2d09f82f 24198 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24199 * wcsmbs/test-wcslen.c: New file.
24200 * string/test-strlen.c: Update.
24201 Add wcslen support.
24202 (WIDE): New macro.
24203
09f699ea
UD
242042011-10-23 Ulrich Drepper <drepper@gmail.com>
24205
24206 * po/it.po: Update from translation team.
24207
95584d3b
LD
242082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24209
24210 * sysdeps/x86_64/wcscmp.S: Update.
24211 Fix wrong comparison semantics.
24212 wcscmp shall use signed comparison not unsigned.
24213 Don't use substraction to avoid overflow bug.
24214 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24215 * wcsmbc/wcscmp.c: Likewise.
24216 * string/test-strcmp.c: Likewise.
24217 Add new tests to check cases with negative values.
24218
c8b3296b
UD
242192011-10-23 Ulrich Drepper <drepper@gmail.com>
24220
24221 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24222 * sysdeps/x86_64/dla.h: ...here. New file.
24223 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24232
246ad57a
AS
242332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24234
24235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24236 __ynl_finite aliases.
24237
a1a87169
UD
242382011-10-22 Ulrich Drepper <drepper@gmail.com>
24239
0d355eb7
UD
24240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24241
a1a87169
UD
24242 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24243 define DLA_FMA.
24244 [DLA_FMA] (EMULV): Use DLA_FMA.
24245 [DLA_FMA] (MUL12): Use EMULV.
24246 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24247 that are not needed.
24248 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24255
ee2aafe0
AS
242562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24257
24258 * math/s_nan.c: Undef __nan.
24259 * math/s_nanf.c: Undef __nanf.
24260 * math/s_nanl.c: Undef __nanl.
24261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24262 "math_private.h".
24263
bc62c2fb
UD
242642011-10-22 Ulrich Drepper <drepper@gmail.com>
24265
77425c63
UD
24266 * math/s_catan.c: Add branch predictions.
24267 * math/s_catanf.c: Likewise.
24268 * math/s_catanh.c: Likewise.
24269 * math/s_catanhf.c: Likewise.
24270 * math/s_catanhl.c: Likewise.
24271 * math/s_catanl.c: Likewise.
24272 * math/s_cexp.c: Likewise.
24273 * math/s_cexpf.c: Likewise.
24274 * math/s_cexpl.c: Likewise.
24275 * math/s_clog.c: Likewise.
24276 * math/s_clog10.c: Likewise.
24277 * math/s_clog10f.c: Likewise.
24278 * math/s_clog10l.c: Likewise.
24279 * math/s_clogf.c: Likewise.
24280 * math/s_clogl.c: Likewise.
24281 * math/s_csqrt.c: Likewise.
24282 * math/s_csqrtf.c: Likewise.
24283 * math/s_csqrtl.c: Likewise.
24284 * math/s_ctanf.c: Likewise.
24285 * math/s_ctanh.c: Likewise.
24286 * math/s_ctanhf.c: Likewise.
24287 * math/s_ctanhl.c: Likewise.
24288 * math/s_ctanl.c: Likewise.
24289
bc62c2fb
UD
24290 * math/math_private.h: Define __nan, __nanf, __nanl.
24291 * math/s_cacosh.c: Include <math_private.h>.
24292 * math/s_cacoshl.c: Likewise.
24293 * math/s_casinh.c: Likewise.
24294 * math/s_casinhf.c: Likewise.
24295 * math/s_casinhl.c: Likewise.
24296 * math/s_ccos.c: Rely entire on ccosh.
24297 * math/s_ccosf.c: Rely entire on ccoshf.
24298 * math/s_ccosl.c: Rely entirely on ccoshl.
24299 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24300 Remove tests for FE_INVALID.
24301 * math/s_ccoshf.c: Likewise.
24302 * math/s_ccoshl.c: Likewise.
24303 * math/s_csin.c: Likewise.
24304 * math/s_csinf.c: Likewise.
24305 * math/s_csinh.c Likewise.
24306 * math/s_csinhf.c: Likewise.
24307 * math/s_csinhl.c: Likewise.
24308 * math/s_csinl.c: Likewise.
24309 * math/s_ctan.c: Likewise.
24310 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24311 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24312 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24313
8ec250a4
UD
243142011-10-21 Ulrich Drepper <drepper@gmail.com>
24315
c196fed8
UD
24316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24317 compilation problems.
24318
8ec250a4
UD
24319 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24320 __builtin_expect.
24321
8d4f46c6
UD
243222011-10-20 Ulrich Drepper <drepper@gmail.com>
24323
ed72b654
UD
24324 * sysdeps/i386/configure.in: Test for -mfma4 option.
24325 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24326 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24327 COMMON_CPUID_INDEX_80000001.
24328 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24329 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24330 use it if FMA3 is not supported.
24331 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24332
8d4f46c6
UD
24333 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24334 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24335
d45c60c2
AS
243362011-10-20 Andreas Schwab <schwab@redhat.com>
24337
24338 [BZ #12892]
24339 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24340 it would create a cycle with a link time dependency.
24341
d9a4d2ab
UD
243422011-10-19 Ulrich Drepper <drepper@gmail.com>
24343
855d1560
UD
24344 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24345 instruction.
24346 * string/Makefile (strop-tests): Add rawmemchr.
24347 * string/test-rawmemchr.c: New file.
24348
d9a4d2ab
UD
24349 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24351 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24352 when compiling str{,n}casecmp and when AVX is available. Hook up
24353 new optimized code in initializers.
24354
8f3b1ffe
AS
243552011-10-19 Andreas Schwab <schwab@redhat.com>
24356
24357 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24358 __feraiseexcept instead of feraiseexcept.
24359
d38f1dba
UD
243602011-10-18 Ulrich Drepper <drepper@gmail.com>
24361
d9a8d0ab
UD
24362 * math/math_private.h: Define defaults for libc_fetestexcept and
24363 libc_feupdateenv.
24364 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24365 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24366 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24367 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24368 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24369 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24370 libc_fetestexcept and libc_feupdateenv.
24371
4855e3dd
UD
24372 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24373 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24374 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24375 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24376 libc_feholdexcept_setround.
24377
581d30e3
UD
24378 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24379 Add s_nearbyint-c and s_nearbyintf-c.
24380 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24381 nearbyintf inlines.
24382 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24383 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24384 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24385 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24386
d38f1dba
UD
24387 * math/math_private.h: Define defaults for libc_fegetround,
24388 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24389 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24390 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24392 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24393 standard functions.
24394 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24395 Remove comments and hacks for old compiler versions.
24396 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24397 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24398 libc_feholdexceptl.
24399
caa6c9d8
AS
244002011-10-18 Andreas Schwab <schwab@redhat.com>
24401
24402 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
24403 (__feraiseexcept_renamed): Add __NTH.
24404 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
24405 namespace violations.
24406
97c066e6
UD
244072011-10-17 Ulrich Drepper <drepper@gmail.com>
24408
99ce7b04
UD
24409 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24410
1004d182
UD
24411 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24412
228a984d
UD
24413 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24414 recently added interfaces.
24415 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24416
c8553a6a
UD
24417 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24418 about macro parameter expansion.
24419
ed22dcf6
UD
24420 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24421 __NO_MATH_INLINES is defined. Cleanups.
24422
24423 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24424 and __floorf is target has SSE4.1.
24425 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24426 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24427 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
24428 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
24429
b171c137
UD
24430 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
24431 name.
24432 (floorf): Likewise.
24433
97c066e6
UD
24434 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
24435
629f62ef
AS
244362011-10-17 Andreas Schwab <schwab@redhat.com>
24437
49a43d80
AS
24438 * misc/sys/cdefs.h: Fix last change.
24439
629f62ef
AS
24440 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
24441 database lookup.
24442
e453f6cd
UD
244432011-10-16 Ulrich Drepper <drepper@gmail.com>
24444
aa78043a
UD
24445 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
24446
ad0f5cad
UD
24447 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
24448 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24449 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24450 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24452 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24453 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24454 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24456 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
24457 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
24458 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
24459 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
24460 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
24461 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
24462 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
24463 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
24464 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
24465 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
24466 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
24467 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
24468 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
24469
24470 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
24471 ceil, ceilf, floor, floorf.
24472
24473 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
24474 Perform IRELATIVE relocations last.
24475
e453f6cd
UD
24476 * elf/do-rel.h: Add another parameter nrelative, replacing the
24477 local variable with the same name. Change name of the function
24478 to end in Rel or Rela (uppercase).
24479 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
24480 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
24481 elf_dynamic_do_##reloc function.
24482
fd5bdc09
UD
244832011-10-15 Ulrich Drepper <drepper@gmail.com>
24484
79b195b5
UD
24485 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
24486 is sufficient, at least on modern CPUs.
24487
d4a28569
UD
24488 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
24489
b61099b5
UD
24490 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
24491 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
24492
bcf01e6d
UD
24493 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
24494 __expl_finite.
24495 * math/bits/math-finite.h: Add entries for exp.
24496 * math/e_expl.c: Add __*_finite alias.
24497 * sysdeps/i386/fpu/e_exp.S: Likewise.
24498 * sysdeps/i386/fpu/e_expf.S: Likewise.
24499 * sysdeps/i386/fpu/e_expl.c: Likewise.
24500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24501 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24502 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24504 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
24505 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24506 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24507
ba1a0d59
UD
24508 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
24509 is sufficient, at least on modern CPUs.
24510
fd5bdc09
UD
24511 * ctype/ctype-info.c (__ctype_init): Define.
24512 * include/ctype.h (__ctype_init): Declare.
24513 (__ctype_b_loc): The variable is always initialized.
24514 (__ctype_toupper_loc): Likewise.
24515 (__ctype_tolower_loc): Likewise.
24516 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
24517 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
24518
7872cfb0
AS
245192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
24520
b468825a
AS
24521 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
24522
7872cfb0
AS
24523 * configure.in: Also look in $cxxmachine/include for C++ system
24524 headers.
24525
be13f7bf
LD
245262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24527
24528 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
24529 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
24530 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
24531 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
24532 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
24533 (USE_AS_WMEMCMP): New macro.
24534 Fixing indents.
24535 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
24536 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
24537 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
24538 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
24539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24540 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
24541 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
24542 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
24543 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
24544 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
24545 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
24546 (USE_AS_WMEMCMP): New macro.
24547 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
24548 * sysdeps/string/test-memcmp.c: Update.
24549 Fix simple_wmemcmp.
24550 Add new tests.
24551 * wcsmbs/wmemcmp.c: Update.
24552 (WMEMCMP): New macro.
24553 Fix overflow bug.
24554
556a2007
AJ
245552011-10-12 Andreas Jaeger <aj@suse.de>
24556
24557 [BZ #13268]
24558 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
24559
538faaa7
UD
245602011-10-15 Ulrich Drepper <drepper@gmail.com>
24561
ab6737ff
UD
24562 * libio/iofwide.c (do_length): Avoid warning.
24563
538faaa7
UD
24564 * ctype/ctype.h (__isctype_f): Add missing __THROW.
24565
396a21b1
UD
245662011-10-14 Ulrich Drepper <drepper@gmail.com>
24567
cdf2901f
UD
24568 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
24569
38ad40ce
UD
24570 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
24571 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
24572 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
24573 * sysdeps/i386/i686/fpu/e_log.S: New file.
24574 * sysdeps/i386/i686/fpu/e_logf.S: New file.
24575 * sysdeps/i386/i686/fpu/e_logl.S: New file.
24576
396a21b1
UD
24577 * ctype/ctype.h: Add support for inlined isXXX functions when
24578 compiling C++ code.
24579
6b1f68c9
AS
245802011-10-14 Andreas Schwab <schwab@redhat.com>
24581
349290c0
AS
24582 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24583
6b1f68c9
AS
24584 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
24585
f2282d42
RM
245862011-10-13 Roland McGrath <roland@hack.frob.com>
24587
24588 [BZ #13291]
24589 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
24590
5298ffa8
AS
245912011-10-13 Andreas Schwab <schwab@redhat.com>
24592
714fad23
AS
24593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
24594 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
24595 feraiseexcept.
24596
81dcc7fb
AS
24597 * sysdeps/x86_64/memrchr.S: Check for zero size.
24598
5298ffa8
AS
24599 * string/stratcliff.c: Add memrchr tests.
24600
951fbcec
LD
246012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24602
24603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24604 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
24605 rawmemchr-sse2 rawmemchr-sse2-bsf.
24606 * sysdeps/i386/i686/multiarch/memchr.S: New file.
24607 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
24608 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
24609 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
24610 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
24611 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
24612 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
24613 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
24614 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
24615 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
24616 * string/memrchr.c (MEMRCHR): New macro.
24617
0ac5ae23
UD
246182011-10-12 Ulrich Drepper <drepper@gmail.com>
24619
24620 Add integration with gcc's -ffinite-math-only and optimize wrapper
24621 functions in libm.
24622 * Versions.def: Define GLIBC_2.15 version for libm.
24623 * math/Makefile (headers): Add bits/math-finite.h.
24624 * math/bits/math-finite.h: New file.
24625 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
24626 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
24627 * math/e_acoshl.c: Add __*_finite alias.
24628 * math/e_acosl.c: Likewise.
24629 * math/e_asinl.c: Likewise.
24630 * math/e_atan2l.c: Likewise.
24631 * math/e_atanhl.c: Likewise.
24632 * math/e_coshl.c: Likewise.
24633 * math/e_exp10.c: Likewise.
24634 * math/e_exp10f.c: Likewise.
24635 * math/e_exp10l.c: Likewise.
24636 * math/e_exp2l.c: Likewise.
24637 * math/e_fmodl.c: Likewise.
24638 * math/e_gammal_r.c: Likewise.
24639 * math/e_hypotl.c: Likewise.
24640 * math/e_j0l.c: Likewise.
24641 * math/e_j1l.c: Likewise.
24642 * math/e_jnl.c: Likewise.
24643 * math/e_lgammal_r.c: Likewise.
24644 * math/e_log10l.c: Likewise.
24645 * math/e_log2l.c: Likewise.
24646 * math/e_logl.c: Likewise.
24647 * math/e_powl.c: Likewise.
24648 * math/e_sinhl.c: Likewise.
24649 * math/e_sqrtl.c: Likewise.
24650 * math/e_scalb.c: Completely rewritten and optimized.
24651 * math/e_scalbf.c: Likewise.
24652 * math/e_scalbl.c: Likewise.
24653 * math/w_acos.c: Likewise.
24654 * math/w_acosf.c: Likewise.
24655 * math/w_acosl.c: Likewise.
24656 * math/w_acosh.c: Likewise.
24657 * math/w_acoshf.c: Likewise.
24658 * math/w_acoshl.c: Likewise.
24659 * math/w_asin.c: Likewise.
24660 * math/w_asinf.c: Likewise.
24661 * math/w_asinl.c: Likewise.
24662 * math/w_atan2.c: Likewise.
24663 * math/w_atan2f.c: Likewise.
24664 * math/w_atan2l.c: Likewise.
24665 * math/w_atanh.c: Likewise.
24666 * math/w_atanhf.c: Likewise.
24667 * math/w_atanhl.c: Likewise.
24668 * math/w_exp10.c: Likewise.
24669 * math/w_exp10f.c: Likewise.
24670 * math/w_exp10l.c: Likewise.
24671 * math/w_fmod.c: Likewise.
24672 * math/w_fmodf.c: Likewise.
24673 * math/w_fmodl.c: Likewise.
24674 * math/w_j0.c: Likewise.
24675 * math/w_j0f.c: Likewise.
24676 * math/w_j0l.c: Likewise.
24677 * math/w_j1.c: Likewise.
24678 * math/w_j1f.c: Likewise.
24679 * math/w_j1l.c: Likewise.
24680 * math/w_jn.c: Likewise.
24681 * math/w_jnf.c: Likewise.
24682 * math/w_log.c: Likewise.
24683 * math/w_logf.c: Likewise.
24684 * math/w_logl.c: Likewise.
24685 * math/w_log10.c: Likewise.
24686 * math/w_log10f.c: Likewise.
24687 * math/w_log10l.c: Likewise.
24688 * math/w_log2.c: Likewise.
24689 * math/w_log2f.c: Likewise.
24690 * math/w_log2l.c: Likewise.
24691 * math/w_pow.c: Likewise.
24692 * math/w_powf.c: Likewise.
24693 * math/w_powl.c: Likewise.
24694 * math/w_remainder.c: Likewise.
24695 * math/w_remainderf.c: Likewise.
24696 * math/w_remainderl.c: Likewise.
24697 * math/w_scalb.c: Likewise.
24698 * math/w_scalbf.c: Likewise.
24699 * math/w_scalbl.c: Likewise.
24700 * math/w_sqrt.c: Likewise.
24701 * math/w_sqrtf.c: Likewise.
24702 * math/w_sqrtl.c: Likewise.
24703 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24704 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24705 used.
24706 * math/math_private.h: Declare __kernel_standard_f.
24707 * math/w_cosh.c: Remove cruft and optimize a bit.
24708 * math/w_coshf.c: Likewise.
24709 * math/w_coshl.c: Likewise.
24710 * math/w_exp2.c: Likewise.
24711 * math/w_exp2f.c: Likewise.
24712 * math/w_exp2l.c: Likewise.
24713 * math/w_hypot.c: Likewise.
24714 * math/w_hypotf.c: Likewise.
24715 * math/w_hypotl.c: Likewise.
24716 * math/w_lgamma.c: Likewise.
24717 * math/w_lgamma_r.c: Likewise.
24718 * math/w_lgammaf.c: Likewise.
24719 * math/w_lgammaf_r.c: Likewise.
24720 * math/w_lgammal.c: Likewise.
24721 * math/w_lgammal_r.c: Likewise.
24722 * math/w_sinh.c: Likewise.
24723 * math/w_sinhf.c: Likewise.
24724 * math/w_sinhl.c: Likewise.
24725 * math/w_tgamma.c: Likewise.
24726 * math/w_tgammaf.c: Likewise.
24727 * math/w_tgammal.c: Likewise.
24728 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24729 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24730 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24731 Minor optimizations. Pretty printing. Remove cruft.
24732 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24733 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24734 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24735 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24736 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24737 * sysdeps/i386/fpu/e_asin.S: Likewise.
24738 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24739 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24740 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24741 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24743 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24744 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24745 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24746 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24747 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24748 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24749 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24750 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24751 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24752 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24753 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24754 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24755 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24756 * sysdeps/i386/fpu/e_log.S: Likewise.
24757 * sysdeps/i386/fpu/e_log10.S: Likewise.
24758 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24759 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24760 * sysdeps/i386/fpu/e_log2.S: Likewise.
24761 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24762 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24763 * sysdeps/i386/fpu/e_logf.S: Likewise.
24764 * sysdeps/i386/fpu/e_logl.S: Likewise.
24765 * sysdeps/i386/fpu/e_pow.S: Likewise.
24766 * sysdeps/i386/fpu/e_powf.S: Likewise.
24767 * sysdeps/i386/fpu/e_powl.S: Likewise.
24768 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24769 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24770 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24771 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24772 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24773 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24774 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24775 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24776 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24777 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24780 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24781 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24782 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24783 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24784 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24786 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24788 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24795 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24798 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24801 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24802 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24803 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24804 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24805 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24806 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24807 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24808 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24809 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24810 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24811 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24812 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24813 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24814 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24815 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24817 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24818 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24868 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24869 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24870 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24871 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24872 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24873 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24874 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24875 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24876 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24877 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24878 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24879 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24880 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24881 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24882 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24883 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24885 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24886 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24887 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24888 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24889 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24890 (__isnanf): Likewise.
24891 (__isinf_ns): Likewise.
24892 (__isinf_nsf): Likewise.
24893 (__finite): Likewise.
24894 (__finitef): Likewise.
24895 (__ieee754_sqrt): Define as macro.
24896 (__ieee754_sqrtf): Define as macro.
24897 (__ieee754_sqrtl): Define as macro.
24898 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24899 inlined copy.
24900 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24901 __FINITE_MATH_ONLY__ consistent.
24902 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24903
12cc2fcd
AS
249042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24905
a843a204
AS
24906 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24907 of rawmemchr.
24908
12cc2fcd
AS
24909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24910
c853acd5
UD
249112011-10-09 Ulrich Drepper <drepper@gmail.com>
24912
24913 * po/ja.po: Update from translation team.
24914
c658d255
RM
249152011-10-08 Roland McGrath <roland@hack.frob.com>
24916
110946e4
RM
24917 * locale/programs/locarchive.c (prepare_address_space): New function.
24918 (create_archive, enlarge_archive, open_archive): Use it.
24919
50604220
RM
24920 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24921 inside [SHARED], where it is used.
24922
c658d255
RM
24923 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24924
24925 * nss/getent.c (netgroup_keys): Remove unused variable.
24926 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24927
6a621eb7
UD
249282011-10-08 Ulrich Drepper <drepper@gmail.com>
24929
7edb55ce
UD
24930 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24931 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24933 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24934 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24935 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24936 * math/Makefile (libm-calls): Add s_isinf_ns.
24937 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24938 * math/multc3.c: Likewise.
24939 * math/s_casin.c: Likewise.
24940 * math/s_casinf.c: Likewise.
24941 * math/s_casinl.c: Likewise.
24942 * math/s_ccos.c: Likewise.
24943 * math/s_ccosf.c: Likewise.
24944 * math/s_ccosl.c: Likewise.
24945 * math/s_ctan.c: Likewise.
24946 * math/s_ctanf.c: Likewise.
24947 * math/s_ctanh.c: Likewise.
24948 * math/s_ctanhf.c: Likewise.
24949 * math/s_ctanhl.c: Likewise.
24950 * math/s_ctanl.c: Likewise.
24951 * math/w_fmod.c: Likewise.
24952 * math/w_fmodf.c: Likewise.
24953 * math/w_fmodl.c: Likewise.
24954 * math/w_remainder.c: Likewise.
24955 * math/w_remainderf.c: Likewise.
24956 * math/w_remainderl.c: Likewise.
24957 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24958 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24959 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24961 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24962 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24963 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24964 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24965
187da0ae
UD
24966 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24967 of the number.
24968 * stdio-common/printf_fphex.c: Likewise.
24969 * stdio-common/printf_size.c: Likewise.
24970
9277c064
UD
24971 * math/e_exp10.c: Include math_private.h using <...> not "...".
24972 * math/e_exp10f.c: Likewise.
24973 * math/e_exp10l.c: Likewise.
24974 * math/e_exp2l.c: Likewise.
24975 * math/e_j0l.c: Likewise.
24976 * math/e_j1l.c: Likewise.
24977 * math/e_jnl.c: Likewise.
24978 * math/e_lgammal_r.c: Likewise.
24979 * math/e_rem_pio2l.c: Likewise.
24980 * math/e_scalb.c: Likewise.
24981 * math/e_scalbf.c: Likewise.
24982 * math/e_scalbl.c: Likewise.
24983 * math/k_cosl.c: Likewise.
24984 * math/k_sinl.c: Likewise.
24985 * math/k_tanl.c: Likewise.
24986 * math/s_cacoshf.c: Likewise.
24987 * math/s_catan.c: Likewise.
24988 * math/s_catanf.c: Likewise.
24989 * math/s_catanh.c: Likewise.
24990 * math/s_catanhf.c: Likewise.
24991 * math/s_catanhl.c: Likewise.
24992 * math/s_catanl.c: Likewise.
24993 * math/s_ccosh.c: Likewise.
24994 * math/s_ccoshf.c: Likewise.
24995 * math/s_ccoshl.c: Likewise.
24996 * math/s_cexp.c: Likewise.
24997 * math/s_cexpf.c: Likewise.
24998 * math/s_cexpl.c: Likewise.
24999 * math/s_clog.c: Likewise.
25000 * math/s_clog10.c: Likewise.
25001 * math/s_clog10f.c: Likewise.
25002 * math/s_clog10l.c: Likewise.
25003 * math/s_clogf.c: Likewise.
25004 * math/s_clogl.c: Likewise.
25005 * math/s_csin.c: Likewise.
25006 * math/s_csinf.c: Likewise.
25007 * math/s_csinh.c: Likewise.
25008 * math/s_csinhf.c: Likewise.
25009 * math/s_csinhl.c: Likewise.
25010 * math/s_csinl.c: Likewise.
25011 * math/s_csqrt.c: Likewise.
25012 * math/s_csqrtf.c: Likewise.
25013 * math/s_csqrtl.c: Likewise.
25014 * math/s_ctan.c: Likewise.
25015 * math/s_ctanf.c: Likewise.
25016 * math/s_ctanh.c: Likewise.
25017 * math/s_ctanhf.c: Likewise.
25018 * math/s_ctanhl.c: Likewise.
25019 * math/s_ctanl.c: Likewise.
25020 * math/s_ldexp.c: Likewise.
25021 * math/s_ldexpf.c: Likewise.
25022 * math/s_ldexpl.c: Likewise.
25023 * math/s_significand.c: Likewise.
25024 * math/s_significandf.c: Likewise.
25025 * math/s_significandl.c: Likewise.
25026 * math/w_acos.c: Likewise.
25027 * math/w_acosf.c: Likewise.
25028 * math/w_acosh.c: Likewise.
25029 * math/w_acoshf.c: Likewise.
25030 * math/w_acoshl.c: Likewise.
25031 * math/w_acosl.c: Likewise.
25032 * math/w_asin.c: Likewise.
25033 * math/w_asinf.c: Likewise.
25034 * math/w_asinl.c: Likewise.
25035 * math/w_atan2.c: Likewise.
25036 * math/w_atan2f.c: Likewise.
25037 * math/w_atan2l.c: Likewise.
25038 * math/w_atanh.c: Likewise.
25039 * math/w_atanhf.c: Likewise.
25040 * math/w_atanhl.c: Likewise.
25041 * math/w_cosh.c: Likewise.
25042 * math/w_coshf.c: Likewise.
25043 * math/w_coshl.c: Likewise.
25044 * math/w_dremf.c: Likewise.
25045 * math/w_exp10.c: Likewise.
25046 * math/w_exp10f.c: Likewise.
25047 * math/w_exp10l.c: Likewise.
25048 * math/w_exp2.c: Likewise.
25049 * math/w_exp2f.c: Likewise.
25050 * math/w_fmod.c: Likewise.
25051 * math/w_fmodf.c: Likewise.
25052 * math/w_fmodl.c: Likewise.
25053 * math/w_hypot.c: Likewise.
25054 * math/w_hypotf.c: Likewise.
25055 * math/w_hypotl.c: Likewise.
25056 * math/w_j0.c: Likewise.
25057 * math/w_j0f.c: Likewise.
25058 * math/w_j0l.c: Likewise.
25059 * math/w_j1.c: Likewise.
25060 * math/w_j1f.c: Likewise.
25061 * math/w_j1l.c: Likewise.
25062 * math/w_jn.c: Likewise.
25063 * math/w_jnf.c: Likewise.
25064 * math/w_jnl.c: Likewise.
25065 * math/w_lgamma.c: Likewise.
25066 * math/w_lgamma_r.c: Likewise.
25067 * math/w_lgammaf.c: Likewise.
25068 * math/w_lgammaf_r.c: Likewise.
25069 * math/w_lgammal.c: Likewise.
25070 * math/w_lgammal_r.c: Likewise.
25071 * math/w_log.c: Likewise.
25072 * math/w_log10.c: Likewise.
25073 * math/w_log10f.c: Likewise.
25074 * math/w_log10l.c: Likewise.
25075 * math/w_log2.c: Likewise.
25076 * math/w_log2f.c: Likewise.
25077 * math/w_log2l.c: Likewise.
25078 * math/w_logf.c: Likewise.
25079 * math/w_logl.c: Likewise.
25080 * math/w_pow.c: Likewise.
25081 * math/w_powf.c: Likewise.
25082 * math/w_powl.c: Likewise.
25083 * math/w_remainder.c: Likewise.
25084 * math/w_remainderf.c: Likewise.
25085 * math/w_remainderl.c: Likewise.
25086 * math/w_scalb.c: Likewise.
25087 * math/w_scalbf.c: Likewise.
25088 * math/w_scalbl.c: Likewise.
25089 * math/w_sinh.c: Likewise.
25090 * math/w_sinhf.c: Likewise.
25091 * math/w_sinhl.c: Likewise.
25092 * math/w_sqrt.c: Likewise.
25093 * math/w_sqrtf.c: Likewise.
25094 * math/w_sqrtl.c: Likewise.
25095 * math/w_tgamma.c: Likewise.
25096 * math/w_tgammaf.c: Likewise.
25097 * math/w_tgammal.c: Likewise.
25098
6a621eb7
UD
25099 * po/ja.po: Update from translation team.
25100
bf582445
AJ
251012011-09-29 Andreas Jaeger <aj@suse.de>
25102
f9efbf3a
AJ
25103 [BZ #13179]
25104 * sunrpc/netname.c (netname2host): Fix logic.
25105
bf582445
AJ
25106 [BZ #6779]
25107 [BZ #6783]
25108 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25109 correctly.
25110 * math/w_remainder.c (__remainder): Likewise.
25111 * math/w_remainderf.c (__remainderf): Likewise.
25112 * math/libm-test.inc (remainder_test): Add test cases.
25113
48693bea
AK
251142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25115
25116 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25117 sdiv_qrnnd.
25118
42622229
LD
251192011-10-07 Ulrich Drepper <drepper@gmail.com>
25120
25121 * string/test-memcmp.c: Avoid unncessary #defines.
25122 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25123
093ecf92
LD
251242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25125
25126 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25127 Use new sse2 version for core i3 - i7 as it's faster
25128 than sse42 version.
25129 (bit_Prefer_PMINUB_for_stringop): New.
25130 * sysdeps/x86_64/rawmemchr.S: Update.
25131 Replace with faster SSE2 version.
25132 * sysdeps/x86_64/memrchr.S: New file.
25133 * sysdeps/x86_64/memchr.S: Update.
25134 Replace with faster SSE2 version.
25135
fde56e5c
MP
251362011-09-12 Marek Polacek <mpolacek@redhat.com>
25137
25138 * elf/dl-load.c (lose): Add cast to avoid warning.
25139
21fd49a9
UD
251402011-10-07 Ulrich Drepper <drepper@gmail.com>
25141
5a06e643
UD
25142 * po/ca.po: Update from translation team.
25143
684ae515
UD
25144 * inet/getnetgrent_r.c: Hook up nscd.
25145 * nscd/Makefile (routines): Add nscd_netgroup.
25146 (nscd-modules): Add netgroupcache.
25147 (CFLAGS-netgroupcache.c): Define.
25148 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25149 (cache_search): Add const to second parameter.
25150 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25151 INNETGR.
25152 (dbs): Add netgrdb entry.
25153 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25154 (verify_persistent_db): Handle netgrdb.
25155 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25156 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25157 GETFDNETGR.
25158 (netgroup_response_header): Define.
25159 (innetgroup_response_header): Define.
25160 (datahead): Add netgroup_response_header and innetgroup_response_header
25161 elements.
25162 * nscd/nscd.conf: Add entries for netgroup cache.
25163 * nscd/nscd.h (dbtype): Add netgrdb.
25164 (_PATH_NSCD_NETGROUP_DB): Define.
25165 (netgroup_iov_disabled): Declare.
25166 (xmalloc, xcalloc, xrealloc): Move declarations here.
25167 (cache_search): Adjust prototype.
25168 Add netgroup-related prototypes.
25169 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25170 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25171 (__nscd_innetgr): Declare.
25172 * nscd/selinux.c (perms): Use access_vector_t as element type and
25173 add netgroup-related initializers.
25174 * nscd/netgroupcache.c: New file.
25175 * nscd/nscd_netgroup.c: New file.
25176 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25177 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25178 For four parameters use innetgr.
25179 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25180 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25181 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25182 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25183
21fd49a9
UD
25184 * nscd/connections.c (register_traced_file): Don't register file
25185 for disabled databases.
25186
054c0457
UD
251872011-10-06 Ulrich Drepper <drepper@gmail.com>
25188
32b63198
UD
25189 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25190
054c0457
UD
25191 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25192 from tree and freeing node.
25193
64031225
JO
251942011-09-25 Jiri Olsa <jolsa@redhat.com>
25195
25196 * nss/nsswitch.c (__nss_database_lookup): Handle
25197 nss_parse_service_list out of memory case.
25198
0490345c
JO
251992011-09-15 Jiri Olsa <jolsa@redhat.com>
25200
25201 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25202 out of memory case.
25203
3a62d00d
AS
252042011-10-04 Andreas Schwab <schwab@redhat.com>
25205
25206 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25207 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25208 pass it down.
25209 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25210 elf_machine_rela, elf_machine_lazy_rel.
25211 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25212 (ELF_DYNAMIC_DO_REL): Likewise.
25213 (ELF_DYNAMIC_DO_RELA): Likewise.
25214 (ELF_DYNAMIC_RELOCATE): Likewise.
25215 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25216 to ELF_DYNAMIC_DO_REL.
25217 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25218 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25219 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25220 elf_machine_rela.
25221 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25222 skip_ifunc, don't call ifunc function if non-zero.
25223 (elf_machine_rela): Likewise.
25224 (elf_machine_lazy_rel): Likewise.
25225 (elf_machine_lazy_rela): Likewise.
25226 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25227 (elf_machine_lazy_rel): Likewise.
25228 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25229 Likewise.
25230 (elf_machine_lazy_rel): Likewise.
25231 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25232 Likewise.
25233 (elf_machine_lazy_rel): Likewise.
25234 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25235 (elf_machine_lazy_rel): Likewise.
25236 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25237 (elf_machine_lazy_rel): Likewise.
25238 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25239 (elf_machine_lazy_rel): Likewise.
25240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25241 (elf_machine_lazy_rel): Likewise.
25242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25243 (elf_machine_lazy_rel): Likewise.
25244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25245 (elf_machine_lazy_rel): Likewise.
25246
68577918
UD
252472011-09-28 Ulrich Drepper <drepper@gmail.com>
25248
25249 * nss/nss_files/files-init.c (_nss_files_init): Use static
25250 initialization for all the *_traced_file variables.
25251
68822d74
AS
252522011-09-28 Andreas Schwab <schwab@redhat.com>
25253
25254 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25255
2056100b
RM
252562011-09-27 Roland McGrath <roland@hack.frob.com>
25257
25258 [BZ #13226]
25259 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25260
32c76b63
AS
252612011-09-27 Andreas Schwab <schwab@redhat.com>
25262
25263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25264 Reread the line before reparsing it.
25265
bf972c9d
AS
252662011-09-26 Andreas Schwab <schwab@redhat.com>
25267
25268 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25269
e057a1b5
JM
252702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25271 Maxim Kuvyrkov <maxim@codesourcery.com>
25272 Joseph Myers <joseph@codesourcery.com>
25273
25274 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25275 if needed for __stack_chk_guard.
25276
bc7e1c36
RM
252772011-09-19 Roland McGrath <roland@hack.frob.com>
25278
ecb1482f
RM
25279 * sysdeps/posix/spawni.c (script_execute): Always define it.
25280 It will be optimized away if unused.
25281 (maybe_script_execute): New function.
25282 (__spawni): Call it.
25283
bc7e1c36
RM
25284 * Makerules: Don't include tls.make.
25285 (config-tls): Always set to thread.
25286 * tls.make.c: File removed.
25287
1c3b002b
MF
252882011-09-19 Mike Frysinger <vapier@gentoo.org>
25289
25290 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25291 * config.make.in (CPPFLAGS-config): New substituted variable.
25292
2840865d
UD
252932011-09-15 Ulrich Drepper <drepper@gmail.com>
25294
88738eb6
UD
25295 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25296
cbf645a6 25297 [BZ #13192]
2840865d
UD
25298 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25299 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25300
b402e91a
RM
253012011-09-15 Roland McGrath <roland@hack.frob.com>
25302
25303 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25304 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25306 (CALL_FAIL): Likewise.
25307 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25308 (CALL_FAIL): Macro removed.
25309 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25310
4c1a1f71
UD
253112011-09-15 Ulrich Drepper <drepper@gmail.com>
25312
25313 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25314 for __FINITE_MATH_ONLY__ == 1.
25315
edc121be
AS
253162011-09-15 Andreas Schwab <schwab@redhat.com>
25317
25318 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25319 __ieee754_sqrt instead of sqrt.
25320 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25321 __ieee754_sqrtf instead of sqrtf.
25322 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25323 __floorf instead of floorf.
25324 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25325 __floorf, __truncf instead of floorf, truncf.
25326
cd205654
UD
253272011-09-14 Ulrich Drepper <drepper@gmail.com>
25328
ee4d0315
UD
25329 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25330
cd205654
UD
25331 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25332 __extern_always_inline.
25333 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25334 32-bit.
25335
48b67d71
AS
253362011-09-14 Andreas Schwab <schwab@redhat.com>
25337
25338 * elf/rtld.c (dl_main): Also relocate in dependency order when
25339 doing symbol dependency testing.
25340
1ae12c75
AS
253412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25342
25343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25344 Always define `refsym'.
25345
995a80df
AS
253462011-09-13 Andreas Schwab <schwab@redhat.com>
25347
e529793b
AS
25348 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25349 (__FD_ELT): Renamed from __FDELT.
25350 * misc/bits/select2.h (__FD_ELT): Likewise.
25351 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25352 __FD_MASK instead of __FDELT, __FDMASK.
25353 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25354 Likewise.
25355 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25356 Likewise.
25357
52d4fef8
AS
25358 * elf/Makefile (gen-ldd): Fix pattern.
25359
995a80df
AS
25360 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25361 (init_tls): Likewise.
25362
8682f8b0
UD
253632011-09-12 Ulrich Drepper <drepper@gmail.com>
25364
25365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25366
de82006d
AS
253672011-09-12 Andreas Schwab <schwab@redhat.com>
25368
a7c8e6a1
AS
25369 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25370 `struct cmsghdr *' instead of `void *'.
25371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25372 Likewise.
25373
0f31fe77
AS
253742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25375
25376 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25377 if non-absolute.
25378 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25379 ldd_rewrite_script.
0f31fe77 25380
32b4c839
UD
253812011-09-11 Ulrich Drepper <drepper@gmail.com>
25382
83cd1420
UD
25383 * configure.in: Remove --with-tls option.
25384 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25385 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25386 out in case it is missing.
25387 * sysdeps/ia64/elf/configure.in: Likewise.
25388 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25389 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25390 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25391 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25392 * sysdeps/sh/elf/configure.in: Likewise.
25393 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25394 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25395 * sysdeps/x86_64/elf/configure.in: Likewise.
25396 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25397 * sysdeps/mach/hurd/tls.h: Likewise.
25398
633f745d
UD
25399 [BZ #13067]
25400 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25401
f318beb8
UD
25402 [BZ #13090]
25403 * configure.in: Fix use of AC_INIT.
25404
32b4c839
UD
25405 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25406
3ce1f295
UD
254072011-09-10 Ulrich Drepper <drepper@gmail.com>
25408
bb016596
UD
25409 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25410 __set_errno.
8e58439c
UD
25411 * malloc/hooks.c: Likewise.
25412
aebae053 25413 [BZ #11929]
02d46fc4
UD
25414 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25415 variables statically.
25416 (narenas): Initialize.
25417 (list_lock): Initialize.
bb016596
UD
25418 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25419 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
25420 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25421 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25422 Add initializers to main_arena and mp_.
25423 (malloc_state): Remove pagesize member. Change all users to use
25424 GLRO(dl_pagesize).
25425
25426 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25427 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
25428 is always initialized.
25429
22a89187
UD
25430 * malloc/malloc.c: Removed unused configurations and dead code.
25431 * malloc/arena.c: Likewise.
25432 * malloc/hooks.c: Likewise.
02d46fc4 25433 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 25434
d063d164
UD
25435 * include/tls.h: Removed. USE___THREAD must always be defined.
25436 * bits/libc-tsd.h: Don't handle !USE___THREAD.
25437 * elf/dl-libc.c: Likewise.
25438 * elf/dl-tsd.c: Likewise.
25439 * include/errno.h: Likewise.
25440 * include/netdb.h: Likewise.
25441 * include/resolv.h: Likewise.
25442 * inet/herrno-loc.c: Likewise.
25443 * inet/herrno.c: Likewise.
25444 * malloc/arena.c: Likewise.
25445 * malloc/hooks.c: Likewise.
25446 * malloc/malloc.c: Likewise.
25447 * resolv/res-state.c: Likewise.
25448 * resolv/res_libc.c: Likewise.
25449 * sysdeps/i386/dl-machine.h: Likewise.
25450 * sysdeps/ia64/dl-machine.h: Likewise.
25451 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25452 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25453 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25454 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25455 * sysdeps/sh/dl-machine.h: Likewise.
25456 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25457 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25458 * sysdeps/unix/i386/sysdep.S: Likewise.
25459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25460 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25465 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25469 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25470 * sysdeps/x86_64/dl-machine.h: Likewise.
25471 * tls.make.c: Likewise.
25472
3ce1f295
UD
25473 * configure.in: Remove --with-__thread option. Make tests for
25474 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
25475 tls_model attribute fail if no support is available. Remove
25476 USE_IN_LIBIO.
25477 * Makeconfig: Adjust for dropped configure option. All features are
25478 now mandatory.
25479 * Makerules: Likewise.
25480 * Versions.def: Likewise.
25481 * argp/argp-fmtstream.c: Likewise.
25482 * argp/argp-fmtstream.h: Likewise.
25483 * argp/argp-help.c: Likewise.
25484 * assert/assert.c: Likewise.
25485 * config.h.in: Likewise.
25486 * config.make.in: Likewise.
25487 * configure: Likewise.
25488 * configure.in: Likewise.
25489 * csu/Versions: Likewise.
25490 * csu/init.c: Likewise.
25491 * elf/tst-audit2.c: Likewise.
25492 * elf/tst-tls10.c: Likewise.
25493 * elf/tst-tls10.h: Likewise.
25494 * elf/tst-tls11.c: Likewise.
25495 * elf/tst-tls12.c: Likewise.
25496 * elf/tst-tls14.c: Likewise.
25497 * elf/tst-tlsmod11.c: Likewise.
25498 * elf/tst-tlsmod12.c: Likewise.
25499 * elf/tst-tlsmod13.c: Likewise.
25500 * elf/tst-tlsmod13a.c: Likewise.
25501 * elf/tst-tlsmod14a.c: Likewise.
25502 * elf/tst-tlsmod15b.c: Likewise.
25503 * elf/tst-tlsmod16a.c: Likewise.
25504 * elf/tst-tlsmod16b.c: Likewise.
25505 * elf/tst-tlsmod7.c: Likewise.
25506 * elf/tst-tlsmod8.c: Likewise.
25507 * elf/tst-tlsmod9.c: Likewise.
25508 * gmon/gmon.c: Likewise.
25509 * grp/fgetgrent_r.c: Likewise.
25510 * grp/putgrent.c: Likewise.
25511 * hurd/fopenport.c: Likewise.
25512 * include/libc-symbols.h: Likewise.
25513 * include/tls.h: Likewise.
25514 * intl/gettextP.h: Likewise.
25515 * intl/loadinfo.h: Likewise.
25516 * locale/global-locale.c: Likewise.
25517 * locale/localeinfo.h: Likewise.
25518 * mach/devstream.c: Likewise.
25519 * malloc/arena.c: Likewise.
25520 * malloc/set-freeres.c: Likewise.
25521 * misc/err.c: Likewise.
25522 * misc/getttyent.c: Likewise.
25523 * misc/mntent_r.c: Likewise.
25524 * posix/getopt.c: Likewise.
25525 * posix/wordexp.c: Likewise.
25526 * pwd/fgetpwent_r.c: Likewise.
25527 * resolv/Versions: Likewise.
25528 * resolv/res_hconf.c: Likewise.
25529 * shadow/fgetspent_r.c: Likewise.
25530 * shadow/putspent.c: Likewise.
25531 * stdio-common/printf_fphex.c: Likewise.
25532 * stdio-common/tmpfile.c: Likewise.
25533 * stdlib/abort.c: Likewise.
25534 * stdlib/fmtmsg.c: Likewise.
25535 * sunrpc/auth_unix.c: Likewise.
25536 * sunrpc/clnt_perr.c: Likewise.
25537 * sunrpc/clnt_tcp.c: Likewise.
25538 * sunrpc/clnt_udp.c: Likewise.
25539 * sunrpc/clnt_unix.c: Likewise.
25540 * sunrpc/openchild.c: Likewise.
25541 * sunrpc/svc_simple.c: Likewise.
25542 * sunrpc/svc_tcp.c: Likewise.
25543 * sunrpc/svc_udp.c: Likewise.
25544 * sunrpc/svc_unix.c: Likewise.
25545 * sunrpc/xdr.c: Likewise.
25546 * sunrpc/xdr_array.c: Likewise.
25547 * sunrpc/xdr_rec.c: Likewise.
25548 * sunrpc/xdr_ref.c: Likewise.
25549 * sunrpc/xdr_stdio.c: Likewise.
25550
1248c1c4
PB
255512011-09-09 Ulrich Drepper <drepper@gmail.com>
25552
25553 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25554
255552011-07-03 Andreas Jaeger <aj@suse.de>
25556
25557 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
25558 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
25559 regenerate with gen-libm-tests.pl.
25560
255612010-05-12 Petr Baudis <pasky@suse.cz>
25562
25563 [BZ #11589]
25564 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
25565 around j0() zero points by switching to j1().
25566 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25570
f22e1074
UD
255712011-09-09 Ulrich Drepper <drepper@gmail.com>
25572
f19009c1
UD
25573 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
25574 instead of 0.
25575 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 25576 instead of 0.
f19009c1
UD
25577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25578 Patch in part by Pavel Roskin <proski@gnu.org>.
25579
3f8cc204
UD
25580 [BZ #13138]
25581 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
25582 realloc.
25583 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
25584 Free memory block if necessary.
25585
f22e1074
UD
25586 [BZ #12847]
25587 * libio/genops.c (INTDEF): For string streams the _lock pointer can
25588 be NULL. Don't lock in this case.
25589
0a2349f9
RM
255902011-09-09 Roland McGrath <roland@hack.frob.com>
25591
25592 * elf/elf.h (ELFOSABI_GNU): New macro.
25593 (ELFOSABI_LINUX): Define to that.
25594
f3cdd467
DZ
255952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
25596
25597 * string/strncat.c (strncat): Undef the symbol in case it has been
25598 defined in bits/string.h.
25599
74718d13
UD
256002011-09-09 Ulrich Drepper <drepper@gmail.com>
25601
633e9e0f
UD
25602 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
25603
0a2349f9 25604 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
25605 link map.
25606
f9924780
AJ
256072011-08-17 Andreas Jaeger <aj@suse.de>
25608
25609 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
25610
7f5517aa
PP
256112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25612 Ian Lance Taylor <iant@google.com>
25613
25614 * math/libm-test.inc (lround_test): New testcase.
25615 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
25616
762011fe
UD
256172011-09-08 Ulrich Drepper <drepper@gmail.com>
25618
92963737
UD
25619 * Makefile: Remove support for automatic cvs check-ins.
25620 * Makerules: Likewise.
25621 * config.make.in: Likewise.
25622 * configure.in: Likewise.
25623 * intl/Makefile: Likewise.
25624 * locale/Makefile: Likewise.
25625 * po/Makefile: Likewise.
25626 * posix/Makefile: Likewise.
25627 * sysdeps/gnu/Makefile: Likewise.
25628 * sysdeps/mach/hurd/Makefile: Likewise.
25629 * sysdeps/sparc/sparc32/Makefile: Likewise.
25630
b0727fd8
JS
25631 [BZ #13118]
25632 * posix/Makefile (bug-regex32-ENV): Define.
25633 Patch by John Stanley <jpsinthemix@verizon.net>.
25634
a0f33f99
UD
25635 * misc/Makefile (headers): Add bits/select2.h.
25636 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25637 * misc/bits/select2.h: New file.
25638 * include/bits/select2.h: New file.
25639 * debug/Makefile (routines): Add fdelt_chk.
25640 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25641 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25642 FD_ISSET.
25643 * debug/fdelt_chk.c: New file.
25644
762011fe
UD
25645 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25646 * wcsmbs/test-wmemcmp.c: Likewise.
25647 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 25648 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
25649
256502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25651
25652 * string/Makefile (strop-tests): Add memcmp.
25653 * string/test-wmemcmp.c: New file.
25654 * string/test-memcmp.c: Add wmemcmp support.
25655
7f513ec8
RM
256562011-09-08 Roland McGrath <roland@hack.frob.com>
25657
0442afb4
RM
25658 [BZ #13153]
25659 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25660 2011-07-19 change.
25661
7f513ec8
RM
25662 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25663 garbage value in a __mach_port_mod_refs call in the cases of the
25664 task-self and thread-self ports.
25665
a12b2239
ST
256662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25667
25668 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25669
610f9ab4
AS
256702011-09-08 Andreas Schwab <schwab@redhat.com>
25671
7f513ec8 25672 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 25673
48882a1a
LD
256742011-09-07 Ulrich Drepper <drepper@gmail.com>
25675
b49865be
UD
25676 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25677
fdc86bc9
UD
25678 * elf/dl-libc.c (dlerror_run): Pass back error code from
25679 dl_catch_error.
25680
c966526a
UD
25681 [BZ #13123]
25682 * elf/dl-load.c (lose): Free l_origin if it is valid.
25683
48882a1a
LD
25684 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25685 names.
25686 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25687 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25688 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25690 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25691 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25692
77a2a8b4
AZ
256932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25694
25695 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25696 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25697 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25698 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25699 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25700 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25701 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25702 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25703 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25704 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25705
24f579d8
AM
257062011-08-15 Alan Modra <amodra@gmail.com>
25707
25708 [BZ #13092]
25709 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25710 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25711 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25712 ppc_mcount to static-only-routines.
25713 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25714 __mcount_internal.
25715 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25716 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25717
3d4837df
UD
257182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25719
25720 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25721 for finite and infinity parameters.
25722
22700377
WS
257232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25724
25725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25726 and add nop instructions for throughput optimization.
25727 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25728
5025581e
WS
257292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25730
25731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25732 aligned copy for power7 with vector-scalar instructions.
25733 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25734
08a300c9
L
257352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25736
25737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25738 AVX check.
25739
59178ef9
AS
257402011-09-07 Andreas Schwab <schwab@redhat.com>
25741
25742 [BZ #13144]
25743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25744 last change.
25745
e38ba7ab
UD
257462011-09-07 Ulrich Drepper <drepper@gmail.com>
25747
25748 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25749 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25750 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25751 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25752 clock_gettime.
25753
d53a73ac
UD
257542011-09-06 Ulrich Drepper <drepper@gmail.com>
25755
fc8bffcc
UD
25756 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25757 Forgot to demangle the pointer.
25758
ceaa0c5d
UD
25759 * sysdeps/i386/sysdep.h: Define atom_text_section.
25760 * sysdeps/x86_64/sysdep.h: Likewise.
25761 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25762 section with atom_text_section.
25763 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25764 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25765 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25766 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25767 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25768
a77d3c17
UD
25769 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25770 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25771 already be defined. Change to take two parameters and don't assign
25772 result to variable. Adjust all users.
25773 Define INTERNAL_GETTIME if not already defined.
25774 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25775 call.
25776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25777 HAVE_CLOCK_GETTIME_VSYSCALL.
25778 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25779
d53a73ac
UD
25780 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25781 gettimeofday vsyscall, just use time.
25782
a8f84144
AS
257832011-09-06 Andreas Schwab <schwab@redhat.com>
25784
25785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25786 <errno.h>.
25787
ef606249
UD
257882011-09-06 Ulrich Drepper <drepper@gmail.com>
25789
25790 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25791 syscall on x86-64.
25792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25793 syscall.
25794 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25795 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25796 syscall if possible.
25797
6585cb60
UD
257982011-09-05 Ulrich Drepper <drepper@gmail.com>
25799
25800 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25801 e_ident. Don't pass to find_mapsXX.
25802 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25803
a5f524e4
LD
258042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25805
25806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25807 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25808 * sysdeps/x86_64/multiarch/strchr.S: Update.
25809 Check bit_slow_BSF bit.
25810 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25811 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25812 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25813
554881ef
UD
258142011-09-05 Ulrich Drepper <drepper@gmail.com>
25815
d96de963
UD
25816 [BZ #13134]
25817 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25818 before glibc 2.15.
25819 (tryshell): Define.
25820 (__spawni): Change last parameter to be flag. Test
25821 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25822 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25823 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25824 * posix/spawni.c: Likewise.
25825 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25826 * posix/spawnp.c: Likewise. Change normal version to use
25827 SPAWN_XFLAGS_USE_PATH.
25828 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25829 SPAWN_XFLAGS_TRY_SHELL.
25830
d48e5868
UD
25831 [BZ #13150]
25832 * posix/glob.h: Remove gcc 1.x support.
25833
554881ef
UD
25834 [BZ #13068]
25835 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25836
693fb948
LD
258372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25838
25839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25840 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25841 strrchr-sse2-bsf
25842 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25843 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25844 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25845 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25846 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25847 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25848
1b48c537
UD
258492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25850
49d42c37
UD
25851 * sysdeps/x86_64/wcscmp.S: New file.
25852
1b48c537
UD
25853 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25854 wcscmp-c wcscmp-sse2
25855 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25856 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25857 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25858 * wcsmbs/wcscmp.c: Allow renaming.
25859
15c95c5d
DM
258602011-09-05 David S. Miller <davem@davemloft.net>
25861
25862 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25863 stack slot, rather than the struct return pointer slot.
25864 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25865 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25867 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25868
2f0ad8f3
UD
258692011-09-05 Ulrich Drepper <drepper@gmail.com>
25870
d88ae418
UD
25871 * po/ja.po: Update from translation team.
25872
2f0ad8f3
UD
25873 [BZ #13144]
25874 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25875 kernel in 64-bit binaries.
25876
5f4318d1
DM
258772011-09-01 David S. Miller <davem@davemloft.net>
25878
25879 * elf/elf.h (HWCAP_SPARC_*): Move to..
25880 * sysdeps/sparc/sysdep.h: this new file and add new values.
25881 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25882 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25883 _DL_HWCAP_COUNT to 24.
25884 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25885 entries.
25886 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25887 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25888 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25890 instead of magic constants.
25891 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25892
3ba57516
DM
258932011-08-31 David S. Miller <davem@davemloft.net>
25894
25895 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25897 Reimplement to do errno handling inline.
25898 (SYSCALL_ERROR_HANDLER): New macro.
25899 (__SYSCALL_STRING): Do not do errno handling in asm.
25900 (__CLONE_SYSCALL_STRING): Delete.
25901 (__INTERNAL_SYSCALL_STRING): Delete.
25902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25903 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25904 (PSEUDO): Reimplement to do errno handling inline.
25905 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25906 (SYSCALL_ERROR_HANDLER): New macro.
25907 (__SYSCALL_STRING): Do not do errno handling in asm.
25908 (__CLONE_SYSCALL_STRING): Delete.
25909 (__INTERNAL_SYSCALL_STRING): Delete.
25910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25911 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25912 i386.
25913 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25914 (inline_syscall*): Add 'err' argument.
25915 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25916 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25917 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25918 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25919
25920 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25921 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25922
2bc17433
AS
259232011-08-30 Andreas Schwab <schwab@redhat.com>
25924
25925 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25926
fbeb5f4d
JO
259272011-08-29 Jiri Olsa <jolsa@redhat.com>
25928
25929 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25930 directive.
25931
ad69cc26
DM
259322011-08-24 David S. Miller <davem@davemloft.net>
25933
25934 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25935
39dd69df
AS
259362011-08-24 Andreas Schwab <schwab@redhat.com>
25937
25938 * elf/Makefile: Add rules to build and run unload8 test.
25939 * elf/unload8.c: New file.
25940 * elf/unload8mod1.c: New file.
25941 * elf/unload8mod1x.c: New file.
25942 * elf/unload8mod2.c: New file.
25943 * elf/unload8mod3.c: New file.
25944
25945 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25946 it wasn't used.
25947
2c0b250a
DM
259482011-08-23 David S. Miller <davem@davemloft.net>
25949
25950 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25951 subtract stack bias.
25952 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25953 %sp not %fp in calculations.
25954 (_JMPBUF_UNWINDS_ADJ): Likewise.
25955
22044b48
DM
25956 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25957 (aio_suspend): Call it to force an exception region around the
25958 AIO_MISC_WAIT() invocation.
25959
2cae4995
AS
259602011-08-23 Andreas Schwab <schwab@redhat.com>
25961
25962 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25963 backslash.
25964
873a772e
AJ
259652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25966
25967 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25968 protection macro.
25969 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25970 and <dl-machine.h>.
25971 (Elf64_FuncDesc): Remove.
25972
25ad0df1
DM
259732011-08-22 David S. Miller <davem@davemloft.net>
25974
25975 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25976 sigaltstack check, add missing cfi directives.
25977 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25978 missing cfi directives, and sigaltstack handling.
25979
e888bcbe
AS
259802011-08-16 Andreas Schwab <schwab@redhat.com>
25981
25982 [BZ #11724]
25983 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25984 object is seen twice.
25985 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25986
25987 * elf/Makefile (distribute): Add tst-initorder2.c.
25988 (tests): Add tst-initorder2.
25989 (modules-names): Add tst-initorder2a tst-initorder2b
25990 tst-initorder2c tst-initorder2d. Add rules to build them.
25991 ($(objpfx)tst-initorder2.out): New rule.
25992 * elf/tst-initorder2.c: New file.
25993 * elf/tst-initorder2.exp: New file.
25994
87162f46
AS
259952011-08-22 Andreas Schwab <schwab@redhat.com>
25996
70538b7f
AS
25997 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25998
f55ffe58
AS
25999 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26000 dependencies back to end of function.
26001
87162f46
AS
26002 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26003 $(elfobjdir)/ld.so.
26004
91b392a4
UD
260052011-08-21 Ulrich Drepper <drepper@gmail.com>
26006
26007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26008 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26010 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26011 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26012 of __vdso_gettimeofday.
26013 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26014 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26015 attribute_hidden.
26016 (_libc_vdso_platform_setup): Remove initialization of
26017 __vdso_gettimeofday and __vdso_time.
26018
5c43483f
UD
260192011-08-20 Ulrich Drepper <drepper@gmail.com>
26020
775a77e7
UD
26021 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26022 and fgetc_unlocked.
26023 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26024 getc_unlocked.
89f447ed 26025
49c74ba9
UD
26026 * elf/dl-open.c (add_to_global): Report additions to the global scope
26027 for LD_DEBUG=scopes.
26028 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26029 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26030
5c43483f
UD
26031 [BZ #13114]
26032 * stdio-common/Makefile (tests): Add bug24.
26033 * stdio-common/bug24.c: New file.
26034
a101b025
AJ
260352011-08-19 Andreas Jaeger <aj@suse.de>
26036
26037 [BZ #13114]
26038 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26039 non-existant file when using close-on-exec mode.
26040
c88f1766
UD
260412011-08-20 Ulrich Drepper <drepper@gmail.com>
26042
0276a718
UD
26043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26044 the very first instruction.
26045
c88f1766
UD
26046 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26047 the CFI state in the end.
26048 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26049 inclusion of dl-trampoline.h.
26050 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26051
51ccffa0
AS
260522011-08-19 Andreas Schwab <schwab@redhat.com>
26053
94d7165f
AS
26054 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26055 expectations for long double.
26056
51ccffa0
AS
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26058 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26059
fd708658 260602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26061
26062 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26063 artificual limit depends upon the system page size.
26064
44f0a71e
UD
260652011-08-17 Ulrich Drepper <drepper@gmail.com>
26066
26067 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26068 * resolv/Makefile: Define CFLAGS-libresolv.
26069
8de79a24
AS
260702011-08-17 Andreas Schwab <schwab@redhat.com>
26071
26072 * nss/makedb.c (compute_tables): Make variables used in nested
26073 function static.
26074
27724598
UD
260752011-08-17 Ulrich Drepper <drepper@gmail.com>
26076
c5305d88
UD
26077 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26078 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26079 if buffer was too small.
26080
27724598
UD
26081 * elf/pldd.c (main): Attach to all threads in the process.
26082 Rewrite /proc handling to use *at functions.
26083
076fe015
UD
260842011-08-16 Ulrich Drepper <drepper@gmail.com>
26085
174baab3
UD
26086 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26087 specifies first scope to show.
26088 (dl_open_worker): Update callers. Move printing scope of new
26089 object to before the relocation.
44f0a71e 26090 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26091 * sysdeps/generic/ldsodefs.h: Update declaration.
26092
076fe015
UD
26093 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26094 string for the scope number.
26095
a60df2c3
UD
260962011-08-14 Ulrich Drepper <drepper@gmail.com>
26097
26098 * nscd/servicescache.c (cache_addserv): Make sure written is always
26099 initialized.
26100
5e4287d1
RM
261012011-08-14 Roland McGrath <roland@hack.frob.com>
26102
85ae0589
RM
26103 * sysdeps/i386/i486/bits/atomic.h
26104 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26105 statement expression, so as to suppress "set but not used" warning.
26106 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26107
69f63097
RM
26108 * string/strncat.c (STRNCAT): Use prototype definition.
26109
675456ef
RM
26110 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26111 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26112 -Iprograms here.
26113 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26114 (localedef-modules): Add localedef.
26115 (locale-modules): Add locale.
26116
5e4287d1
RM
26117 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26118 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26119 to avoid a warning.
26120
9c96ff23
DM
261212011-08-14 David S. Miller <davem@davemloft.net>
26122
26123 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26124 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26125
f9ddf089
UD
261262011-08-13 Ulrich Drepper <drepper@gmail.com>
26127
44f0a71e 26128 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26129 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26130 * elf/rtld.c (dl_main): Set l_name of vDSO.
26131 Call _dl_show_scope when DL_DEBUG_SCOPES.
26132 (process_dl_debug): Recognize scopes flag and also set it for all.
26133 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26134 Declare _dl_show_scope.
26135
1dc27704
UD
26136 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26137 (do_dlopen): Pass caller_dlopen to dl_open.
26138 (__libc_dlopen_mode): Initialize caller_dlopen.
26139
f9ddf089
UD
26140 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26141 of libc. Make tolower call locale-independent. Optimize a bit by
26142 using isdigit instead of isalnum.
26143 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26144
9ac533d3
UD
261452011-08-12 Ulrich Drepper <drepper@gmail.com>
26146
26147 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26148 was a dependency or dynamically loaded.
26149
89edf2e9
UD
261502011-08-11 Ulrich Drepper <drepper@gmail.com>
26151
8e999d29
UD
26152 * intl/l10nflist.c: Allow architecture-specific pop function.
26153 * sysdeps/x86_64/l10nflist.c: New file.
26154
89edf2e9
UD
26155 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26156 classification.
26157
14d96785
AS
261582011-08-10 Andreas Schwab <schwab@redhat.com>
26159
26160 * include/dirent.h: Add libc_hidden_proto for scandirat and
26161 scandirat64. Don't declare __scandirat64.
26162 * dirent/scandirat.c: Add libc_hidden_def.
26163 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26164 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26165
6761ac04
DM
261662011-08-10 David S. Miller <davem@davemloft.net>
26167
26168 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26169 enum.
26170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26173
c55fbd1e
UD
261742011-08-09 Ulrich Drepper <drepper@gmail.com>
26175
26176 * Versions.def [libc]: Add GLIBC_2.15.
26177 * dirent/Makefile (routines): Add scandirat and scandirat64.
26178 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26179 GLIBC_2.15.
26180 * dirent/dirent.h: Declare scandirat and scandirat64.
26181 * dirent/scandirat.c: New file.
26182 * dirent/scandirat64.c: New file.
26183 * sysdeps/wordsize-64/scandirat.c: New file.
26184 * sysdeps/wordsize-64/scandirat64.c: New file.
26185 * dirent/opendir.c: Define opendirat.
26186 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26187 using scandirat.
26188 * dirent/scandir64.c: Adjust for scandir.c change.
26189 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26190 __scandirat64, and __scandir_cancel_handler.
26191 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26192 additional parameter and use openat instead of open (outside of ld.so).
26193 Add new __opendir as wrapper around __opendirat.
26194 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26195 here without requiring old scandirat implementation.
26196
879165f2
UD
261972011-08-08 Ulrich Drepper <drepper@gmail.com>
26198
26199 * dirent/scandir.c (cancel_handler): Renamed to
26200 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26201 defined. Adjust users.
26202 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26203 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26204
cb7e923b
UD
262052011-08-04 Ulrich Drepper <drepper@gmail.com>
26206
16292edd
UD
26207 * string/test-string.h (IMPL): Use __STRING to expand name and then
26208 stringify it.
26209
cb7e923b
UD
26210 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26211 of cleanups.
26212
cff82933
LD
262132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26214
26215 * string/Makefile: Update.
26216 (strop-tests): Append strncat.
26217 * string/test-wcscmp.c: New file.
26218 New comprehensive test for wcscmp.
26219 * string/test-strcmp.c: Update.
26220 (WIDE): New define.
26221
9be9bfcc
AS
262222011-07-22 Andreas Schwab <schwab@redhat.com>
26223
26224 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26225 line.
26226
2e96f1c7
AS
262272011-07-26 Andreas Schwab <schwab@redhat.com>
26228
26229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26230 encoding to ACE if AI_IDN.
26231
85188888
JJ
262322011-08-01 Jakub Jelinek <jakub@redhat.com>
26233
26234 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26235 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26236
5fa16e9b
LD
262372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26238
26239 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26240 Fix overflow bug in strncat.
26241 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26242
26243 * string/test-strncat.c: Update.
26244 Add new tests for checking overflow bugs.
26245
262462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26247
26248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26249 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26250 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26251 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26253 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26254 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26255 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26256 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26257
26258 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26259 (USE_AS_STRCAT): Define.
26260 Add strcat and strncat support.
26261 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26262
8c1a459f
AS
262632011-07-25 Andreas Schwab <schwab@redhat.com>
26264
26265 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26266 __n bigger than INT_MAX+1.
26267 (__strncmp_g): Likewise.
26268
bba33c28
UD
262692011-07-23 Ulrich Drepper <drepper@gmail.com>
26270
798be72d
UD
26271 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26272 * libio/stido.h: Likewise.
26273
8accd4dc
UD
26274 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26275 (AF_NFC): Define.
26276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26277 (AF_NFC): Define.
26278
cbff0d96
UD
26279 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26282 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26284
9191c04a
UD
26285 [BZ #13021]
26286 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26287 installed.
26288
bba33c28
UD
26289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26290 typo.
26291 (_dl_x86_64_save_sse): Likewise.
26292
90f139dd
UD
262932011-07-22 Ulrich Drepper <drepper@gmail.com>
26294
1aae088a
UD
26295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26296 OSXSAVE.
26297 (_dl_x86_64_save_sse): Likewise.
26298
8e2045f5
UD
26299 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26300
90f139dd
UD
26301 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26302
1d002f25
AS
263032011-07-21 Andreas Schwab <schwab@redhat.com>
26304
26305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26306 change.
26307 (_dl_x86_64_save_sse): Use correct AVX check.
26308
21137f89
UD
263092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26310
26311 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26312 bug in strncpy/strncat.
26313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26314
a65c0b7a
UD
263152011-07-21 Ulrich Drepper <drepper@gmail.com>
26316
26317 * string/tester.c (test_strcat): Add tests for different alignments
26318 of source and destination.
26319 (test_strncat): Likewise.
26320
6986b98a
UD
263212011-07-20 Ulrich Drepper <drepper@gmail.com>
26322
90bb2039
UD
26323 [BZ #12852]
26324 * posix/glob.c (glob): Check passed in values before using them in
26325 expressions to avoid some overflows.
26326 (glob_in_dir): Likewise.
26327
5644ef54
UD
26328 [BZ #13007]
26329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26330 check for AVX enablement so that we don't crash with old kernels and
26331 new hardware.
26332 * elf/tst-audit4.c: Add same checks here.
26333 * elf/tst-audit6.c: Likewise.
26334
26335 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26336
bfc9dc9b
AS
263372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26338
26339 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26340
702e64bb
UD
263412011-07-20 Ulrich Drepper <drepper@gmail.com>
26342
26343 * po/cs.po: Update from translation team.
26344 * po/bg.po: Likewise.
26345
295e904f
MP
263462011-07-12 Marek Polacek <mpolacek@redhat.com>
26347
26348 * misc/sys/cdefs.h: Add support for const attribute.
26349 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26350 to gnu_dev_{major,minor,makedev} functions.
26351
3ff94596
MP
263522011-07-20 Marek Polacek <mpolacek@redhat.com>
26353
26354 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26355
28b59fca
AS
263562011-07-20 Andreas Schwab <schwab@redhat.com>
26357
26358 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26359 strlen results.
26360
19df733e
AK
263612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26362
26363 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26364 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26365 register in order to avoid conflicts with the soft frame pointer
26366 being held in r11 when necessary.
26367 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26368 (INTERNAL_VSYSCALL_NCS): Likewise.
26369
c8835729
MP
263702011-07-14 Marek Polacek <mpolacek@redhat.com>
26371
26372 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26373 * elf/dl-fini.c (_dl_fini): Adjust caller.
26374 * elf/dl-close.c (_dl_close_worker): Likewise.
26375 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26376
b902330c
MP
263772011-07-15 Marek Polacek <mpolacek@redhat.com>
26378
8991e135
MP
26379 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26380 "aux_cache->nlibs < 0".
26381
b902330c
MP
26382 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26383 in the reload-count case.
26384
99710781
LD
263852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26386
26387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26388 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26389 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26390 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26391 * sysdeps/x86_64/multiarch/strcat.S: New file.
26392 * sysdeps/x86_64/multiarch/strncat.S: New file.
26393 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26394 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26395 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26396 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26398 (USE_AS_STRCAT): Define.
26399 Add strcat and strncat support.
26400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26402 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26403 * string/strncat.c: Update.
26404 (USE_AS_STRNCAT): Define.
26405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26406 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26407 and i7.
26408 * sysdeps/x86_64/multiarch/init-arch.h
26409 (bit_Prefer_PMINUB_for_stringop): New.
26410 (index_Prefer_PMINUB_for_stringop): Likewise.
26411 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26412 bit_Prefer_PMINUB_for_stringop.
26413
7dc6bd90
UD
264142011-07-19 Ulrich Drepper <drepper@gmail.com>
26415
26416 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26417 buffer64.
26418 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26419 of casting of buffer.
26420 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26421 buffer32 and buffer64.
26422 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26423 writes instead of casting of buffer.
26424 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26425 buffer32.
26426 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26427 casting of buffer.
26428
e0e72284
AS
264292011-07-19 Andreas Schwab <schwab@redhat.com>
26430
26431 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
26432
feb1eb0b
UD
264332011-07-19 Ulrich Drepper <drepper@gmail.com>
26434
26435 * nscd/nscd.c (termination_handler): Don't do anything for a database
26436 if it has not yet been initialized.
26437
298711ff
UD
264382011-07-18 Ulrich Drepper <drepper@gmail.com>
26439
26440 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26441
264422011-07-15 Marek Polacek <mpolacek@redhat.com>
26443
26444 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
26445
f9d68389
UD
264462011-07-18 Ulrich Drepper <drepper@gmail.com>
26447
26448 * po/nl.po: Update from translation team.
26449 * po/sv.po: Likewise.
26450
db290cf5
RM
264512011-07-16 Roland McGrath <roland@hack.frob.com>
26452
26453 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
26454 now disallowed by GCC.
5c550700 26455
fd5e21c7
RM
26456 * configure.in (use-default-link): Default to yes if a test -shared
26457 link meets our qualifications.
26458 * configure: Regenerated.
26459
5c550700
RM
26460 * config.make.in (output-format): New variable.
26461 * configure.in: Check for ld --print-output-format support.
26462 * configure: Regenerated.
26463 * Makerules ($(common-objpfx)format.lds)
26464 [$(output-format) != unknown]: Just use $(output-format),
26465 instead of the linker-script munging.
26466
9fa2c032
RM
264672011-07-14 Roland McGrath <roland@hack.frob.com>
26468
a6928d51
RM
26469 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
26470 of $(common-objpfx)shlib.lds.
26471 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
26472
661607b3
RM
26473 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
26474 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
26475
9fa2c032
RM
26476 * configure.in (-z relro check): Adjust test code to add a large
26477 writable data section after it.
26478 * configure: Regenerated.
26479
defe9061
RM
264802011-07-11 Roland McGrath <roland@hack.frob.com>
26481
26482 * configure.in (-z relro check): Fix test code to make the variable
26483 truly const.
26484 * configure: Regenerated.
26485
319b9ad4
UD
264862011-07-11 Ulrich Drepper <drepper@gmail.com>
26487
26488 * nscd/nscd.h (struct traced_file): Define.
26489 (struct database_dyn): Remove inotify_descr, reset_res, and filename
26490 elements. Add traced_files.
26491 (inotify_fd): Declare.
26492 (register_traced_file): Declare.
26493 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
26494 (inotify_fd): Export.
26495 (resolv_conf_descr): Remove.
26496 (nscd_init): Move inotify descriptor creation to main.
26497 Don't register files for notification here.
26498 (register_traced_file): New function.
26499 (invalidate_cache): Don't use reset_res to determine whether to call
26500 res_init, go through the list of registered files.
26501 (main_loop_poll): The inotify descriptors are now stored in the
26502 structures for the traced files.
26503 (main_loop_epoll): Likewise
26504 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
26505 to __nss_disable_nscd.
26506 * nscd/cache.c (prune_cache): There is no single inotify descriptor
26507 for a database anymore. Check the records for all the registered
26508 files instead.
26509 * nss/Makefile (libnss_files-routines): Add files-init.
26510 (libnss_db-routines): Add db-init.
26511 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
26512 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
26513 * nss/nss_db/db-init.c: New file.
26514 * nss/nss_files/files-init.c: New file.
26515 * nss/nsswitch.c (nss_load_library): New function. Broken out of
26516 __nss_lookup_function.
26517 (__nss_lookup_function): Call nss_load_library.
26518 (nss_load_all_libraries): New function.
26519 (__nss_disable_nscd): Take parameter with callback function for files
26520 to register. Set is_nscd. Load all the DSOs for the NSS modules
26521 used for the cached services.
26522 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
26523 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
26524 options for features to all the files in nscd.
26525
26526 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
26527
23bee3e8
RM
265282011-07-10 Roland McGrath <roland@hack.frob.com>
26529
26530 * csu/elf-init.c (__libc_csu_init): Comment typo.
26531
46a5b7f0
UD
265322011-07-09 Ulrich Drepper <drepper@gmail.com>
26533
26534 * po/pl.po: Update from translation team.
26535 * po/ja.po: Likewise.
26536 * po/ru.po: Likewise.
26537 * po/ko.po: Likewise.
26538 * po/fr.po: Likewise.
26539
d30cf5bb
RM
265402011-07-09 Roland McGrath <roland@hack.frob.com>
26541
113ddea4
RM
26542 * configure.in (.ctors/.dtors header and trailer check):
26543 Use an empirical test on a built program.
26544 * configure: Regenerated.
26545
574920b4
RM
26546 * configure.in (-z relro check): Use an empirical test on a built DSO.
26547 Detect, but do not require, on ia64.
26548 * configure: Regenerated.
26549
d30cf5bb
RM
26550 * configure.in (READELF): Find it with AC_CHECK_TOOL.
26551 Update tests that use readelf to use $READELF instead.
26552 * configure: Regenerated.
26553
8538fdb3
UD
265542011-07-08 Ulrich Drepper <drepper@gmail.com>
26555
26556 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
26557 if the result is not used.
26558
04d08991
AJ
265592011-07-05 Andreas Jaeger <aj@suse.de>
26560
26561 [BZ#9696]
26562 * stdlib/tst-strtod.c: Add testcase.
26563
de283087
AD
265642011-07-07 Ulrich Drepper <drepper@gmail.com>
26565
4e5f31c8 26566 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 26567 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
26568 The latter has a higher limit. Take additional parameter to pass to
26569 the new function.
26570 (__pathconf): Pass file to __statfs_link_max.
26571 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
26572 __statfs_link_max.
26573 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
26574 __statfs_link_max.
26575
de283087
AD
26576 [BZ #12868]
26577 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
26578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26579 Handle Lustre.
26580 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
26581 (__statfs_filesize_max): Likewise.
26582 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
26583
c75fa153
AJ
265842011-07-05 Andreas Jaeger <aj@suse.de>
26585
26586 * resolv/res_comp.c (dn_skipname): Remove unused variable.
26587
1a544854
UD
265882011-07-06 Marek Polacek <mpolacek@redhat.com>
26589
26590 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
26591 `status' variable.
26592 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
26593 Likewise.
26594
6f0eec67
UD
265952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
26596
26597 * Makefile (strop-tests): Add strncat.
26598 * string/test-strncat.c: New file.
26599
aae30307
UD
266002011-06-30 Marek Polacek <mpolacek@redhat.com>
26601
26602 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
26603
c0cfb5eb
UD
266042011-06-21 Andreas Jaeger <aj@suse.de>
26605
26606 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
26607 Copy rule from iconvdata/Makefile.
26608
01636b21
UD
266092011-07-06 Ulrich Drepper <drepper@gmail.com>
26610
26611 [BZ #12922]
26612 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
26613 but no long options are defined, just return 'W'.
26614
9895c8bc
UD
266152011-06-22 Marek Polacek <mpolacek@redhat.com>
26616
26617 [BZ #9696]
26618 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
26619
5d4cf042
UD
266202011-07-06 Ulrich Drepper <drepper@gmail.com>
26621
26622 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
26623 netgroups to read.
960e5535 26624 (innetgr): Likewise.
5d4cf042 26625
751eb97e
RM
266262011-07-05 Roland McGrath <roland@hack.frob.com>
26627
26628 * config.make.in (install_root): Default to $(DESTDIR).
26629
f15f1e45
UD
266302011-07-05 Ulrich Drepper <drepper@gmail.com>
26631
26632 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26633
4e34ac6a
RM
266342011-07-02 Roland McGrath <roland@hack.frob.com>
26635
5e9b6af4
RM
26636 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26637
84f9ea0f
RM
26638 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26639 containing directory rather than embedding absolute directory names.
26640
ea5ee9f7
RM
26641 * scripts/check-local-headers.sh: Rewritten using awk.
26642 Match by word, not by line. Print error messages for matches.
26643 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26644
1b74661a
RM
26645 * Makerules [shlib-lds-flags empty]:
26646 ($(common-objpfx)libc_pic.opts): New target.
26647 ($(common-objpfx)libc_pic.os.clean): New target.
26648 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26649
26650 * config.make.in (OBJCOPY): New variable.
26651 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26652 * configure: Regenerated.
26653
f781ef40
RM
26654 * config.make.in (use-default-link): New variable.
26655 * configure.in (use_default_link): Grok --with-default-link to set it.
26656 * configure: Regenerated.
26657 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26658 (shlib-lds, shlib-lds-flags): Define to empty.
26659
2d4fa81e
RM
26660 * Makerules (shlib-lds): New variable.
26661 (shlib-lds-flags): New variable.
26662 (build-shlib, build-moduile, build-module-asneeded): Use it.
26663 ($(common-objpfx)libc.so): Use $(shlib-lds).
26664 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26665 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26666
31fffa6b
RM
26667 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26668 DT_FLAGS/DT_FLAGS_1 with zero flags.
26669
4e34ac6a
RM
26670 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26671 linker script munging.
26672
fcfc776b
UD
266732011-07-02 Ulrich Drepper <drepper@gmail.com>
26674
26675 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26676 as 128-bit value.
26677 * crypt/sha512.c (sha512_process_block): Perform total addition using
26678 128-bit if possible.
26679 (__sha512_finish_ctx): Likewise.
26680 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26681 as 64-bit value.
26682 * crypt/sha256.c (SWAP64): Define.
26683 (sha256_process_block): Perform total addition using 64-bit if
26684 possible.
26685 (__sha256_finish_ctx): Likewise.
26686
99231d9a
UD
266872011-07-01 Ulrich Drepper <drepper@gmail.com>
26688
26689 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26691 * nscd/hstcache.c (cache_addhst): Likewise.
26692 * nscd/grpcache.c (cache_addgr): Likewise.
26693 * nscd/aicache.c (addhstaiX): Likewise
26694 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26695
445b4a53
TK
266962011-07-01 Thorsten Kukuk <kukuk@suse.de>
26697
26698 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26700 * nscd/hstcache.c (cache_addhst): Likewise.
26701 * nscd/grpcache.c (cache_addgr): Likewise.
26702 * nscd/aicache.c (addhstaiX): Likewise
26703
6d4d8e8e
AS
267042011-07-01 Andreas Schwab <schwab@redhat.com>
26705
26706 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26707 domain only when needed.
26708
89f654c5
AS
267092011-06-30 Andreas Schwab <schwab@redhat.com>
26710
26711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26712 is always restored.
26713
cf3b23ff
UD
267142011-06-29 Ulrich Drepper <drepper@gmail.com>
26715
26716 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26717 are re-adding the entry.
26718 * nscd/servicescache.c (cache_addserv): Likewise.
26719
751626f9
AJ
267202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26721
26722 * sysdeps/generic/dl-irel.h: fix protection against multiple
26723 inclusions.
26724 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26725
9113ea1f
UD
267262011-06-28 Ulrich Drepper <drepper@gmail.com>
26727
5c0b8d90
UD
26728 [BZ #12935]
26729 * malloc/memusage.sh: Fix quoting in message.
26730 * debug/xtrace.sh: Likewise.
26731
9113ea1f
UD
26732 * configure.in: Remove support for --experimental-malloc option, make
26733 it the default.
26734 * config.make.in: Likewise.
26735 * malloc/Makefile: Likewise.
26736
a4172181
AS
267372011-06-27 Andreas Schwab <schwab@redhat.com>
26738
26739 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26740 two-byte characters.
26741
78a7eee7
RM
267422011-06-27 Roland McGrath <roland@hack.frob.com>
26743
62bede13
RM
26744 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26745 AC_CACHE_CHECK invocation.
26746 * configure: Regenerated.
26747
78a7eee7
RM
26748 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26749
5ce33a62
UD
267502011-06-27 Ulrich Drepper <drepper@gmail.com>
26751
034807a9
UD
26752 [BZ #12350]
26753 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26754 bit from old_res_options.
26755
4902da17
UD
26756 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26757
5ce33a62
UD
26758 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26759 value type for setfct.
26760
c2344f56
L
267612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26762
26763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26764 __gettimeofday instead of gettimeofday.
26765
68468076
UD
267662011-06-26 Ulrich Drepper <drepper@gmail.com>
26767
26768 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26769
acb0d739
L
267702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26771
26772 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26773
26774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26775 info.
26776
8912479f
L
267772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26778
26779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26780 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26781 strcpy-sse2-unaligned strncpy-sse2-unaligned
26782 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26783 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26784 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26785 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26786 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26787 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26788 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26789 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26790 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26791 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26792 (STRCPY): Support SSE2 and SSSE3 versions.
26793
d5495a11
UD
267942011-06-24 Ulrich Drepper <drepper@gmail.com>
26795
26796 [BZ #12874]
26797 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26798 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26799 kernels which artificially limit size of requests.
26800
0b1cbaae
L
268012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26802
26803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26804 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26805 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26806 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26807 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26808 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26809 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26810 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26811 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26812 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26813 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26814 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26815 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26816 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26817 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26819 Enable unaligned load optimization for Intel Core i3, i5 and i7
26820 processors.
26821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26822 Define.
26823 (index_Fast_Unaligned_Load): Define.
26824 (HAS_FAST_UNALIGNED_LOAD): Define.
26825
07f494a0
MP
268262011-06-23 Marek Polacek <mpolacek@redhat.com>
26827
26828 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26829
fa3fc0fe
UD
268302011-06-22 Ulrich Drepper <drepper@gmail.com>
26831
26832 [BZ #12907]
26833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26834 until it is clear that the information is realy needed.
26835 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26836
e12df166
AS
268372011-06-22 Andreas Schwab <schwab@redhat.com>
26838
26839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26840
852eb34d
UD
268412011-06-22 Ulrich Drepper <drepper@gmail.com>
26842
84e2a551
UD
26843 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26844 /sys/devices/system/cpu/online if it is usable.
26845
852eb34d
UD
26846 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26847 reading the information from the /proc filesystem to once a second.
26848
6e502e19
UD
268492011-06-21 Andreas Jaeger <aj@suse.de>
26850
26851 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26852 NULL after inclusion of kernel headers.
26853
75d39ff2
UD
268542011-06-21 Ulrich Drepper <drepper@gmail.com>
26855
51f9aa6a
UD
26856 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26857 calls to internal_setent.
26858
c0244a9d
UD
26859 [BZ #12885]
26860 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26861 addresses using gethostbyname4_r ignore IPv4 addresses.
26862
c5e3c2ae
UD
26863 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26864 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26865
75d39ff2
UD
26866 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26867
42675c6f
DM
268682011-06-20 David S. Miller <davem@davemloft.net>
26869
26870 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26871 inclusions.
26872 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26873
26874 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26875 (elf_irel): Use it.
26876 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26877 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26878 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26879 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26880 * sysdeps/x86_64/dl-irel.h: Likewise.
26881
26882 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26883 * elf/dl-sym.c: Likewise.
26884
57912a71
UD
268852011-06-15 Ulrich Drepper <drepper@gmail.com>
26886
26887 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26888 need to dereference resplen2.
26889
ee22793d
AS
268902011-06-14 Andreas Schwab <schwab@redhat.com>
26891
26892 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26893
a9e836b0
UD
268942011-06-15 Ulrich Drepper <drepper@gmail.com>
26895
77fb9117
UD
26896 * Makeconfig: Define vardbdir and inst_vardbdir.
26897 * nss/Makefile: Add rules to install db-Makefile.
26898
40c1b22c
UD
26899 * nss/nss_db/db-XXX.c: Cleanup.
26900
9f2da732
UD
26901 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26902 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26903 GLIBC_PRIVATE.
26904 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26905 * nss/makedb.c: Implement -g option to specify that value strings
26906 are generated and should not be added to table iterated over for
26907 get*ent calls.
26908 * nss/nss_db/db-initgroups.c: New file.
26909
82e9a1f7
UD
26910 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26911 interface.
26912
c41af17e
UD
26913 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26914 (internal_getgrouplist): Adjust to name change.
26915 Update use_initgroups_entry if this is not the first call.
26916 * nss/databases.def: Add initgroups entry.
26917
a9e836b0
UD
26918 * nss/makedb.c (compute_tables): Check result of multiple hash table
26919 sizes to minimize maximum chain length.
26920
2666d441
UD
269212011-06-14 Ulrich Drepper <drepper@gmail.com>
26922
26923 * Versions.def: Add entry for libnss_db.
26924 * shlib-versions: Likewise.
26925 * nss/Makefile: Add rules to build libnss_db.
26926 * nss/Versions: Add libnss_db information. Organize libnss_files
26927 entries better.
26928 * nss/db-Makefile: Add gshadow support. Change rules for the new
26929 makedb progra. Some minor improvements to generate smaller files.
26930 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26931 here from...
26932 * nss/makedb.c: ...here.
26933 Improve database format to be smaller and require less memory at
26934 runtime.
26935 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26936 db anymore.
26937 * nss/nss_db/db-netgrp.c: Likewise.
26938 * nss/nss_db/db-open.c: Likewise.
26939 * nss/nss_files/flies-XXX.x: Adjust comments.
26940 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26941 * nss/nss_files/files-grp.c: Likewise.
26942 * nss/nss_files/files-hosts.c: Likewise.
26943 * nss/nss_files/files-network.c: Likewise.
26944 * nss/nss_files/files-proto.c: Likewise.
26945 * nss/nss_files/files-pwd.c: Likewise.
26946 * nss/nss_files/files-rpc.c: Likewise.
26947 * nss/nss_files/files-service.c: Likewise.
26948 * nss/nss_files/files-sgrp.c: Likewise.
26949 * nss/nss_files/files-spwd.c: Likewise.
26950 * nss/nss_db/db-alias.c: Removed.
26951 * nss/nss_db/dummy-db.h: Removed.
26952
9ee76b5a
UD
269532011-06-02 Ulrich Drepper <drepper@gmail.com>
26954
26955 * nss/makedb.c: Rewritten to not use database library.
26956 * nss/Makefile: Update to build new makedb program.
26957
c71ca1f8
AJ
269582011-06-14 Andreas Jaeger <aj@suse.de>
26959
26960 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26961 memset declaration.
26962
3154bfb8
UD
269632011-06-10 Andreas Schwab <schwab@redhat.com>
26964
26965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26966 tmpbuf.
26967
b350afab
RM
269682011-06-10 Roland McGrath <roland@hack.frob.com>
26969
decd4e50
RM
26970 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26971 * elf/Makefile ($(objpfx)ld.so): Likewise.
26972
5615eaf2
RM
26973 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26974 Don't list ld.so twice in dependencies.
26975
26976 * posix/bug-regex31.c: Include <stdlib.h>.
26977
26978 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26979
26980 * nis/nss_compat/compat-spwd.c
26981 (getspent_next_nss_netgr): Remove unused variable.
26982 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26983
26984 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26985 nonmembers" output to use the right array.
26986
26987 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26988
26989 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26990
26991 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26992 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26993 * catgets/gencat.c (read_input_file): Likewise.
26994 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26995
26996 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26997 variable definition inside #if's controlling its use.
26998
26999 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27000
27001 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27002
27003 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27004
27005 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27006 unreachable code.
27007
27008 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27009
b68e08db
RM
27010 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27011 * configure: Regenerated.
27012
b350afab
RM
27013 * Makerules: Revert last change.
27014 * elf/Makefile: Likewise.
27015
28368601
RM
270162011-06-09 Roland McGrath <roland@hack.frob.com>
27017
27018 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27019 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27020 (reloc-link): Likewise.
27021
11988f8f
UD
270222011-06-09 Ulrich Drepper <drepper@gmail.com>
27023
27024 * elf/Makefile: Add rules to build pldd.
27025 * elf/pldd.c: New file.
27026 * elf/pldd-xx.c: New file.
27027
e80fab37
UD
270282011-06-07 Ulrich Drepper <drepper@gmail.com>
27029
27030 * version.h: Update for 2.15 development version.
27031
9b849836
DM
270322011-06-07 David S. Miller <davem@davemloft.net>
27033
27034 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27035 ifuncs.
27036 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27037 elf_machine_lazy_rel): Likewise.
27038 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27040 elf_machine_lazy_rel): Likewise.
27041 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27042 dl_hwcap via passed in argument.
27043 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27044 Likewise.
27045
5a31b283
AK
270462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27047
27048 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27049
069e52f8
RM
270502011-06-06 Roland McGrath <roland@hack.frob.com>
27051
27052 [BZ #12849]
27053 * manual/fdl-1.1.texi: New file, verbatim from:
27054 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27055 * manual/lgpl-2.1.texi: New file, verbatim from:
27056 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27057 * manual/Makefile (licenses): New variable, list those new file names.
27058 (texis): Use it.
27059 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27060
27061 * manual/fdl.texi: File removed.
27062 * manual/lesser.texi: File removed.
27063 * manual/libc.texinfo (Copying, Documentation License):
27064 Use new @include file names, put @appendix directive before @include.
27065
f16846a5
JJ
270662011-06-04 Jakub Jelinek <jakub@redhat.com>
27067
27068 [BZ #12841]
27069 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27070 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27071 (mq_open): Add __NTH.
27072
3d29045b
L
270732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27076 Assume Intel Core i3/i5/i7 processor if AVX is available.
27077
8c297311
UD
270782011-05-31 Ulrich Drepper <drepper@gmail.com>
27079
27080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27081 typo.
27082
c8fc0c91
UD
270832011-05-31 Andreas Schwab <schwab@redhat.com>
27084
27085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27086 memory. Use alloca_account. Fix memory leak when retrying.
27087
5b27a807
UD
270882011-05-31 Ulrich Drepper <drepper@gmail.com>
27089
356f8bc6
UD
27090 * version.h (RELEASE): Bump for 2.14 release.
27091 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27092
5b27a807
UD
27093 * config.make.in (RANLIB): Remove entry.
27094
01f16ab0
UD
270952011-05-30 Ulrich Drepper <drepper@gmail.com>
27096
41fce8bd
UD
27097 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27098 (libc.pot): Work around missing support for .ksh extension in xgettext.
27099
4769ae77
UD
27100 [BZ #12684]
27101 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27102 if both request failed.
27103 (send_dg): In case of server errors clear resplen or *resplen2.
27104
6b1e7d19
UD
27105 [BZ #12454]
27106 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27107 when there are multiple maps.
27108 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27109 (_dl_fini): Remove test here.
27110
01f16ab0
UD
27111 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27112
b1ebd700
UD
271132011-05-29 Ulrich Drepper <drepper@gmail.com>
27114
7ae22829
UD
27115 [BZ #12350]
27116 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27117 bit from old_res_options.
27118 (gaih_inet): Likewise.
27119
553149f6 27120 [BZ #11099]
18a84741 27121 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27122 as signed.
27123
652ffab1
UD
27124 * resolv/res_init.c (res_setoptions): Make the code more compact.
27125
16985fd0
UD
27126 [BZ #11558]
27127 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27128 set RES_USEVC.
27129
0464f746
UD
27130 [BZ #11634]
27131 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27132
7d17596c
UD
27133 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27134
cf6bbbd7
UD
27135 [BZ #11781]
27136 * malloc/malloc.h: Declare malloc hook variables as volatile.
27137
13f1ab36
UD
27138 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27139 in last patch.
27140
b1ebd700
UD
27141 [BZ #11799]
27142 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27143 raise in the comment.
80e2212d
UD
27144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27146 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27147
ce67228d
UD
271482011-05-28 Ulrich Drepper <drepper@gmail.com>
27149
8887a920
UD
27150 [BZ #12811]
27151 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27152 grow the buffers more if it already has to be sufficient.
27153 (build_wcs_upper_buffer): Likewise.
27154 * posix/regexec.c (check_matching): Likewise.
27155 (clean_state_log_if_needed): Likewise.
27156 (extend_buffers): Don't enlarge buffers beyond size of the input
27157 buffer.
27158 Patches mostly by Emil Wojak <emil@wojak.eu>.
27159 * posix/bug-regex32.c: New file.
27160 * posix/Makefile (tests): Add bug-regex32.
27161
4f031072
UD
27162 * locale/findlocale.c (_nl_find_locale): Return right away if
27163 _nl_explode_name failed.
27164 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27165
d0478f0c
UD
27166 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27167
de81b246
UD
27168 * debug/xtrace.sh: Unify messages.
27169 * malloc/memusage.sh: Likewise.
27170
c738465a
UD
27171 [BZ #12813]
27172 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27173 time symbol from vDSO. Substitute with vsyscall if not available.
27174 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27175 __vdso_time.
27176
f1f929d7
UD
27177 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27178 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27179 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27180 Add sendmmsg and internal_sendmmsg.
27181 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27182 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27183 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27184
ce67228d
UD
27185 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27186 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27187 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27188
e57420c6
UD
271892011-05-27 Ulrich Drepper <drepper@gmail.com>
27190
a8509ca5
UD
27191 [BZ #12813]
27192 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27193 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27194 available.
27195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27196 __vdso_getcpu.
27197
e57420c6
UD
27198 [BZ #12814]
27199 * iconvdata/Makefile (tests): Add bug-iconv9.
27200 * iconvdata/bug-iconv9.c: New file.
27201
4d07db15
AS
272022011-05-27 Andreas Schwab <schwab@redhat.com>
27203
27204 [BZ #12814]
27205 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27206
ea486f69
JJ
272072011-05-25 Jakub Jelinek <jakub@redhat.com>
27208
27209 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27210 (struct user_regs_struct): Change intcs field back to cs.
27211
6f038433
UD
272122011-05-25 Ulrich Drepper <drepper@gmail.com>
27213
27214 * po/ja.po: Update from translation team.
27215
67f86a25
UD
272162011-05-23 Ulrich Drepper <drepper@gmail.com>
27217
27218 [BZ #12795]
27219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27220 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27221
def7fbd6
AS
272222011-05-20 Andreas Schwab <schwab@redhat.com>
27223
27224 * stdlib/longlong.h: Update from GCC.
27225
f50ef8f1
AS
272262011-05-23 Andreas Schwab <schwab@redhat.com>
27227
27228 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27229 parameter name.
27230 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27231 Add parameter name.
27232 (__sysconf): Pass it down.
27233
de7ce8f1
UD
272342011-05-22 Ulrich Drepper <drepper@gmail.com>
27235
f2962a71
UD
27236 [BZ #12671]
27237 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27238 some situations.
27239 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27240 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27241 add in in __libc_use_alloca calls. Adjust callers.
27242 (glob): Use malloc in some situations.
27243
de7ce8f1
UD
27244 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27245 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27246 pltexit.
27247
aec84f53
UD
272482011-05-21 Ulrich Drepper <drepper@gmail.com>
27249
05bb4a68
UD
27250 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27251 and CLOCK_BOOTTIME_ALARM.
27252
7ea72f99
UD
27253 [BZ #12782]
27254 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27255 is returned.
27256
7e4afad5
UD
27257 * string/_strerror.c (__strerror_r): Print negative errors as signed
27258 numbers.
27259
8e211fec
UD
27260 [BZ #12777]
27261 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27262 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27263 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27264
f7d82dc9
UD
27265 * configure.in: Fix typo in redirection and correct removal of test
27266 files in two cases.
27267
cc9e536d
UD
27268 [BZ #12788]
27269 * locale/setlocale.c (new_composite_name): Fix test to check for
27270 identical name of all categories.
27271
aec84f53
UD
27272 [BZ #12792]
27273 * libio/filedoalloc.c (local_isatty): New function.
27274 (_IO_file_doallocate): Use local_isatty.
27275 * stdio-common/perror.c (perror): In case a new stream is used
27276 forward the stream error.
27277 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27278 error flag.
27279
78e64fdc
RT
272802011-05-20 Ulrich Drepper <drepper@gmail.com>
27281
34a9094f
UD
27282 [BZ #11869]
27283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27284 alloca.
27285 * include/alloca.h (extend_alloca_account): Define.
27286
78e64fdc
RT
27287 [BZ #11857]
27288 * posix/regex.h: Fix comments with documentation of user-accessible
27289 fields after compilation and describe correct free'ing of pattern
27290 after re_compile_pattern.
27291 Patch by Reuben Thomas <rrt@sc3d.org>.
27292
457bddfc
RA
272932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27294
27295 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27296 and -mno-altivec to prevent the compiler from using Altivec and/or
27297 VSX instructions when the corresponding registers are not available.
27298
a4527b51
AS
272992011-05-19 Andreas Schwab <schwab@redhat.com>
27300
27301 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27302
ed690b2f
UD
273032011-05-19 Ulrich Drepper <drepper@gmail.com>
27304
27305 * libio/freopen.c (freopen): Use __dup2, not dup2.
27306 * libio/freopen64.c (freopen64): Likewise.
27307
8db73634
L
273082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 [BZ #12775]
27311 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27312 * math/Makefile (tests): Add test-powl.
27313 (CFLAGS-test-powl.c): Define.
27314 * math/test-powl.c: New file.
27315
0a197a9d
L
273162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27317
27318 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27319
ee30c380
UD
273202011-05-17 Ulrich Drepper <drepper@gmail.com>
27321
27322 [BZ #11837]
27323 * iconvdata/gb18030.c: Update to GB18020-2005.
27324
6ce75379
UD
273252011-05-16 Ulrich Drepper <drepper@gmail.com>
27326
a4b89fd8
AR
27327 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27328 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27329 Patch by Aharon Robbins <arnold@skeeve.com>.
27330
ea389b12
UD
27331 [BZ #11892]
27332 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27333 on the stack.
27334
68a3f91f
UD
27335 [BZ #11895]
27336 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27337 through underflows.
27338
15cc7dd1
UD
27339 [BZ #12766]
27340 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27341 point to strings before performing equality test for error_one_per_line
27342 mode.
27343
f3799213
UD
27344 [BZ #11697]
27345 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27346
d79a9c94
UD
27347 [BZ #11820]
27348 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27349 (struct user_fpregs_struct): Avoid __uint*_t types.
27350
56e5eb46
UD
27351 [BZ #6420]
27352 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27353 symbol info. Use it instead of calling _dl_addr locally.
27354 (lock_and_info): New function.
27355 (tr_freehook): Call lock_and_info and pass symbol info as additional
27356 parameter to tr_where.
27357 (tr_mallochook): Likewise.
27358 (tr_reallochook): Likewise.
27359 (tr_memalignhook): Likewise.
27360
6ce75379
UD
27361 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27362 used and couldn't be at all thread-safe.
27363
f8a3b5bf
UD
273642011-05-15 Ulrich Drepper <drepper@gmail.com>
27365
94b7cc37
UD
27366 * libio/freopen.c (freopen): Don't close old file descriptor
27367 before the new one is opened. Instead dup the new file descriptor
27368 to the old one after the new stream is created.
27369 * libio/freopen64.c (freopen64): Likewise.
27370 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27371 * libio/fileops.c (_IO_new_file_close_it): Handle new
27372 _IO_FLAGS2_NOCLOSE flag.
27373 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27374 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27375 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27376 _IO_FLAGS2_NOCLOSE flag.
27377 * include/unistd.h: Add hidden_proto for dup3.
27378 Define __have_dup3.
27379 * io/dup3.c: Define hidden symbol.
27380 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27381
bd25564e
UD
27382 [BZ #7101]
27383 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27384 when an incomplete long option is used.
27385 * posix/tst-getopt_long1.c: New file.
27386 * posix/Makefile (tests): Add tst-getopt_long1.
27387
c84cfef4
UD
27388 [BZ #10138]
27389 * scripts/config.guess: Update from autoconf-2.68.
27390 * scripts/config.sub: Likewise.
27391
3b85df27
UD
27392 [BZ #10157]
27393 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27394 tests into ...
27395 (has_cpuclock): ...this. New function.
27396 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27397 macro here based on has_cpuclock code.
27398
15a856b1
UD
27399 [BZ #10149]
27400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27401 First byte (not low byte) is now always NUL.
27402 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27403
05f399e6
UD
27404 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27405 Use non-cancelable interfaces.
27406
10a52685 27407 [BZ #9809]
94ecc67d
UD
27408 * locale/iso-639.def: Add entry for Sorani.
27409
f8a3b5bf
UD
27410 [BZ #11901]
27411 * include/stdlib.h: Move include protection to the right place.
27412 Define abort_msg_s. Declare __abort_msg with it.
27413 * stdlib/abort.c (__abort_msg): Adjust type.
27414 * assert/assert.c (__assert_fail_base): New function. Majority
27415 of code from __assert_fail. Allocate memory for __abort_msg with
27416 mmap.
27417 (__assert_fail): Now call __assert_fail_base.
27418 * assert/assert-perr.c: Remove bulk of implementation. Use
27419 __assert_fail_base.
27420 * include/assert.hL Declare __assert_fail_base.
27421 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27422 mmap.
27423 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27424
1af4e298
UD
274252011-05-14 Ulrich Drepper <drepper@gmail.com>
27426
f8a3b5bf 27427 [BZ #11952]
d26dfc60
MG
27428 [BZ #12453]
27429 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
27430 until all modules are registered in the DTV.
27431 * elf/Makefile: Add rules to build and run tst-tls19.
27432 * elf/tst-tls19.c: New file.
27433 * elf/tst-tls19mod1.c: New file.
27434 * elf/tst-tls19mod2.c: New file.
27435 * elf/tst-tls19mod3.c: New file.
27436 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
27437
2fc54d6f
UD
27438 [BZ #12083]
27439 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
27440 correctly.
27441
98d76b46
UD
27442 [BZ #12601]
27443 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
27444 two-byte sequence errors.
27445 * iconvdata/Makefile (tests): Add bug-iconv8.
27446 * iconvdata/bug-iconv8.c: New file.
27447
da3c19ef
UD
27448 [BZ #12626]
27449 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
27450 buf2 definition.
27451
ca408c15
UD
27452 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
27453
d6f67f7d
UD
27454 [BZ #12432]
27455 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
27456 (dummy_getcfa): New function.
27457 (init): Get _Unwind_GetCFA address, use dummy if not found.
27458 (backtrace_helper): In recursion check, also check whether CFA changes.
27459 (__backtrace): Completely initialize arg.
27460
1af4e298 27461 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
27462 storing incomplete byte sequence in state object. Avoid testing for
27463 guaranteed too small input if we know there is enough data available.
1af4e298 27464
da62f81b
AS
274652011-05-11 Andreas Schwab <schwab@redhat.com>
27466
27467 * Makeconfig (+link-pie): Indent.
27468 * Rules (binaries-pie): Define if $(have-fpie) and
27469 $(build-shared).
27470 (binaries-shared): Also filter out $(binaries-pie).
27471 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
27472 * nscd/Makefile (others-pie): Add nscd.
27473 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
27474 ($(objpfx)nscd): Remove command override.
27475 * login/Makefile (others-pie): Add pt_chown.
27476 ($(objpfx)pt_chown): Remove command override.
27477 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
27478 remove command overrides.
27479
fcabc0f8
UD
274802011-05-13 Ulrich Drepper <drepper@gmail.com>
27481
20030ae6
UD
27482 * libio/tst_putwc.c: Fix error messages.
27483
fcabc0f8
UD
27484 [BZ #12724]
27485 * libio/fileops.c (_IO_new_file_close_it): Always flush when
27486 currently writing and seek to current position when not.
27487 * libio/Makefile (tests): Add bug-fclose1.
27488 * libio/bug-fclose1.c: New file.
27489
320a5dc0
PB
274902011-05-12 Ulrich Drepper <drepper@gmail.com>
27491
27492 [BZ #12511]
27493 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
27494 don't set DF_1_NODELETE here.
27495 (do_lookup_x): When entering new entry test for copy relocation
27496 and if necessary set DF_1_NODELETE flag.
27497 * elf/tst-unique4.cc: New file.
27498 * elf/tst-unique4.h: New file.
27499 * elf/tst-unique4lib.cc: New file.
27500 * elf/Makefile: Add rules to build and run tst-unique4.
27501 Patch by Piotr Bury <pbury@goahead.com>.
27502
22836f52
UD
275032011-05-11 Ulrich Drepper <drepper@gmail.com>
27504
f574184a
UD
27505 [BZ #12052]
27506 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
27507
e1fb097f
UD
27508 [BZ #12625]
27509 * misc/mntent_r.c (addmntent): Flush the stream after the output
27510
22836f52
UD
27511 [BZ #12393]
27512 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
27513 (is_trusted_path_normalize): Skip initial colon. Append slash
27514 to empty buffer. Duplicate is_trusted_path code but allow
27515 constructed patch to be prefix.
27516 (is_dst): Allow $ORIGIN followed by /.
27517 (_dl_dst_substitute): Correct clearing of check_for_trusted.
27518 Correct testing of result of is_trusted_path_normalize
27519 (decompose_rpath): Fix warning.
27520
7b3b0b2a
UD
275212011-05-10 Ulrich Drepper <drepper@gmail.com>
27522
27523 [BZ #11257]
27524 * grp/initgroups.c (internal_getgrouplist): When we found the service
27525 list through the initgroups entry in nsswitch.conf do not always
27526 continue on a successful lookup. Don't always use the
eac80ce2 27527 __nss_group_database value if it is set.
7b3b0b2a
UD
27528 * nss/nsswitch.conf (initgroups): Change action for successful db
27529 lookup to continue for compatibility.
27530
2a81eaa5
UD
275312011-05-09 Ulrich Drepper <drepper@gmail.com>
27532
be97a69e
UD
27533 [BZ #11532]
27534 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
27535 and CP774 modules.
27536 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
27537 and CP774 modules.
27538 * iconvdata/tst-tables.sh: Likewise.
27539 * iconvdata/cp770.c: New file.
27540 * iconvdata/cp771.c: New file.
27541 * iconvdata/cp772.c: New file.
27542 * iconvdata/cp773.c: New file.
27543 * iconvdata/cp774.c: New file.
27544 * iconvdata/testdata/CP770: New file.
27545 * iconvdata/testdata/CP770..UTF8: New file.
27546 * iconvdata/testdata/CP771: New file.
27547 * iconvdata/testdata/CP771..UTF8: New file.
27548 * iconvdata/testdata/CP772: New file.
27549 * iconvdata/testdata/CP772..UTF8: New file.
27550 * iconvdata/testdata/CP773: New file.
27551 * iconvdata/testdata/CP773..UTF8: New file.
27552 * iconvdata/testdata/CP774: New file.
27553 * iconvdata/testdata/CP774..UTF8: New file.
27554
27555 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27556 END CHARMAP line.
27557 * iconvdata/gen-8bit-gap.sh: Likewise.
27558 * iconvdata/gen-8bit.sh: Likewise.
27559
c1e9e399
UD
27560 * locale/iso-639.def: Add ary entry.
27561
24c55fb3 27562 [BZ #11258]
96b4b1b0
UD
27563 * locale/C-translit.h.in: Add U20A1 transliteration.
27564
bdc2f971
KB
27565 [BZ #12178]
27566 * locale/iso-639.def: Add wae entry.
27567 Patch by Kevin Bortis <bortis@translate-wae.ch>.
27568
2952b117
UD
27569 [BZ #12545]
27570 * locale/programs/localedef.c (construct_output_path): Use ssize_t
27571 for n.
27572
2a81eaa5
UD
27573 [BZ #12711]
27574 * locale/C-translit.h.in: Add entry for U20B9.
27575 Patch by pravin.d.s@gmail.com.
27576
28377d1b
UD
275772011-05-08 Ulrich Drepper <drepper@gmail.com>
27578
7fb90fb8
UD
27579 [BZ #12713]
27580 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
27581 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
27582 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
27583 in rtld. Use *stat64.
7fb90fb8 27584 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 27585 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 27586 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
27587 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
27588 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
27589 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
27590 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
27591 __fstatat64 macros.
7fb90fb8
UD
27592 * include/dirent.h: Add libc_hidden_proto for rewinddir.
27593 * dirent/rewinddir.c: Add libc_hidden_def.
27594 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 27595 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 27596
28377d1b
UD
27597 * include/dirent.h (__alloc_dir): Add flags parameter.
27598 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
27599 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
27600 __alloc_dir.
27601 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
27602 from fdopendir if O_CLOEXEC is already set.
27603
66bdbaa4
AM
276042011-03-15 Alan Modra <amodra@gmail.com>
27605
27606 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
27607 l_tls_firstbyte_offset non-zero. Save padding offset in
27608 l_tls_firstbyte_offset for later use.
27609 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
27610 freeing static tls block.
27611
95721191
JN
276122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
27613
27614 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
27615 where #ifdef was intended. The intent is to prevent ARG_MAX from
27616 being defined by the kernel headers.
27617
f87dfb1f
UD
276182011-05-07 Ulrich Drepper <drepper@gmail.com>
27619
27620 [BZ #12734]
27621 * resolv/resolv.h: Define RES_NOTLDQUERY.
27622 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
27623 no-tld-query and set RES_NOTLDQUERY.
27624 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
27625 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
27626 modern BIND to search name as TLD unless forbidden.
27627
47c3cd7a
UD
276282011-05-07 Petr Baudis <pasky@suse.cz>
27629 Ulrich Drepper <drepper@gmail.com>
27630
27631 [BZ #12393]
27632 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27633 (is_trusted_path): ...to here.
c1e9ea35 27634 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 27635 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 27636 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 27637
8a35c912
PP
276382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27639
27640 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27641 __BEGIN/__END_DECLS.
27642
acd41f47
UD
276432011-05-06 Ulrich Drepper <drepper@gmail.com>
27644
27645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27646 NSS_STATUS_NOTFOUND if no record was found.
27647
597df647
AS
276482011-05-05 Andreas Schwab <schwab@redhat.com>
27649
27650 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27651 (headers-not-in-tirpc): Remove rpc/netdb.h
27652 * resolv/netdb.h: Revert last change.
27653
b9af1301
PP
276542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27655
27656 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27657 circular dependency between libgcc.a and libc.a.
27658
4e34d5f5
AS
276592011-05-05 Andreas Schwab <schwab@redhat.com>
27660
27661 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27662 * nis/Makefile: Don't install rpcsvc/*.
27663 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27664 instead of <rpc/types.h>.
27665 (MAXHOSTNAMELEN): Define.
27666
00ee369c
AS
276672011-05-03 Andreas Schwab <schwab@redhat.com>
27668
27669 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27670
0b592a30
MB
276712011-04-28 Maciej Babinski <mbabinski@google.com>
27672
27673 [BZ #12714]
27674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27675 gethostbyname4_r when IPv6 results are possible.
27676
6e04cbbe
UD
276772011-05-02 Ulrich Drepper <drepper@gmail.com>
27678
27679 [BZ #12723]
27680 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27681 _PC_PIPE_BUF handling.
27682
e4ecafe0
BH
276832011-04-30 Bruno Haible <bruno@clisp.org>
27684
27685 [BZ #12717]
27686 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27687 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27688 to 'int'.
27689 * inet/getnameinfo.c (getnameinfo): Likewise.
27690
125ee683
UD
276912011-04-29 Ulrich Drepper <drepper@gmail.com>
27692
27693 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27694 to groups setting in database lookup.
27695 * nss/nsswitch.conf: Add initgroups entry.
27696
b722481a
EB
276972011-04-22 Ulrich Drepper <drepper@gmail.com>
27698
27699 [BZ #12685]
27700 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27701 mode string.
27702 Patch by Eric Blake <eblake@redhat.com>.
27703
4df46dbd
L
277042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27705
27706 * sunrpc/Makefile (need-export-routines): Add svc_run.
27707 (routines): Remove svc_run.
27708 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27709 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27710 * sunrpc/svc_run.c (svc_run): Likewise.
27711 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27712
e84142d2
UD
277132011-04-21 Ulrich Drepper <drepper@gmail.com>
27714
27715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27716 problem in reallocation in last patch.
27717
877175d8
UD
277182011-04-20 Ulrich Drepper <drepper@gmail.com>
27719
27720 * sunrpc/Makefile: Move inclusion of Rules.
27721
ab8eed78
UD
277222011-04-19 Ulrich Drepper <drepper@gmail.com>
27723
27724 * nss/nss_files/files-initgroups.c: New file.
27725 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27726 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27727 _nss_files_initgroups_dyn.
27728
e3d8f584
RS
277292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27730
27731 * elf/elf.h (R_ARM_IRELATIVE): Define.
27732
af190f45
UD
277332011-04-19 Ulrich Drepper <drepper@gmail.com>
27734
27735 * po/ru.po: Update from translation team.
27736
53cf59ef
UD
277372011-04-17 Ulrich Drepper <drepper@gmail.com>
27738
27739 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27740 dependencies.
27741
4c559bcd
MF
277422011-02-06 Mike Frysinger <vapier@gentoo.org>
27743
27744 [BZ #12653]
27745 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27746 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27747 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27748 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27750
4420675c
AS
277512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27752
27753 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27754 differing bytes.
27755 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27758
75ea32ab
UD
277592011-04-17 Ulrich Drepper <drepper@gmail.com>
27760
27761 [BZ #12420]
27762 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27763 storing it.
27764 * stdlib/bug-getcontext.c: New file.
27765 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27766
27390476
AK
277672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27768
27769 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27770 instructions into .machine "z9-109".
27771 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27772 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27773
10442705
AK
277742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27775
27776 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27777 between environment variables and auxiliary vector.
27778
7b57bfe5
UD
277792011-04-16 Ulrich Drepper <drepper@gmail.com>
27780
27781 * Makefile: Add rules to build linkobj/libc.so.
27782 * include/libc-symbols.h: Define libc_hidden_nolink.
27783 * include/rpc/auth.h: Mark functions which are to be hidden.
27784 * include/rpc/auth_des.h: Likewise.
27785 * include/rpc/auth_unix.h: Likewise.
27786 * include/rpc/clnt.h: Likewise.
27787 * include/rpc/des_crypt.h: Likewise.
27788 * include/rpc/key_prot.h: Likewise.
27789 * include/rpc/pmap_clnt.h: Likewise.
27790 * include/rpc/pmap_prot.h: Likewise.
27791 * include/rpc/pmap_rmt.h: Likewise.
27792 * include/rpc/rpc_msg.h: Likewise.
27793 * include/rpc/svc.h: Likewise.
27794 * include/rpc/svc_auth.h: Likewise.
27795 * include/rpc/xdr.h: Likewise.
27796 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27797 * nss/Makefile: Likewise.
27798 * sunrpc/Makefile: Don't install headers. Build library with normal
27799 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27800 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27801 for the compat linking library. Remove use of INTDEF/INTUSE.
27802 * sunrpc/auth_none.c: Likewise.
27803 * sunrpc/auth_unix.c: Likewise.
27804 * sunrpc/authdes_prot.c: Likewise.
27805 * sunrpc/authuxprot.c: Likewise.
27806 * sunrpc/clnt_gen.c: Likewise.
27807 * sunrpc/clnt_perr.c: Likewise.
27808 * sunrpc/clnt_raw.c: Likewise.
27809 * sunrpc/clnt_simp.c: Likewise.
27810 * sunrpc/clnt_tcp.c: Likewise.
27811 * sunrpc/clnt_udp.c: Likewise.
27812 * sunrpc/clnt_unix.c: Likewise.
27813 * sunrpc/des_crypt.c: Likewise.
27814 * sunrpc/des_soft.c: Likewise.
27815 * sunrpc/get_myaddr.c: Likewise.
27816 * sunrpc/key_call.c: Likewise.
27817 * sunrpc/key_prot.c: Likewise.
27818 * sunrpc/netname.c: Likewise.
27819 * sunrpc/pm_getmaps.c: Likewise.
27820 * sunrpc/pm_getport.c: Likewise.
27821 * sunrpc/pmap_clnt.c: Likewise.
27822 * sunrpc/pmap_prot.c: Likewise.
27823 * sunrpc/pmap_prot2.c: Likewise.
27824 * sunrpc/pmap_rmt.c: Likewise.
27825 * sunrpc/publickey.c: Likewise.
27826 * sunrpc/rpc_cmsg.c: Likewise.
27827 * sunrpc/rpc_common.c: Likewise.
27828 * sunrpc/rpc_dtable.c: Likewise.
27829 * sunrpc/rpc_prot.c: Likewise.
27830 * sunrpc/rpc_thread.c: Likewise.
27831 * sunrpc/rtime.c: Likewise.
27832 * sunrpc/svc.c: Likewise.
27833 * sunrpc/svc_auth.c: Likewise.
27834 * sunrpc/svc_authux.c: Likewise.
27835 * sunrpc/svc_raw.c: Likewise.
27836 * sunrpc/svc_run.c: Likewise.
27837 * sunrpc/svc_simple.c: Likewise.
27838 * sunrpc/svc_tcp.c: Likewise.
27839 * sunrpc/svc_udp.c: Likewise.
27840 * sunrpc/svc_unix.c: Likewise.
27841 * sunrpc/svcauth_des.c: Likewise.
27842 * sunrpc/xcrypt.c: Likewise.
27843 * sunrpc/xdr.c: Likewise.
27844 * sunrpc/xdr_array.c: Likewise.
27845 * sunrpc/xdr_float.c: Likewise.
27846 * sunrpc/xdr_intXX_t.c: Likewise.
27847 * sunrpc/xdr_mem.c: Likewise.
27848 * sunrpc/xdr_rec.c: Likewise.
27849 * sunrpc/xdr_ref.c: Likewise.
27850 * sunrpc/xdr_sizeof.c: Likewise.
27851 * sunrpc/xdr_stdio.c: Likewise.
27852
e6c61494
UD
278532011-04-10 Ulrich Drepper <drepper@gmail.com>
27854
27855 [BZ #12650]
27856 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27857 * sysdeps/ia64/dl-tls.h: Likewise.
27858 * sysdeps/powerpc/dl-tls.h: Likewise.
27859 * sysdeps/s390/dl-tls.h: Likewise.
27860 * sysdeps/sh/dl-tls.h: Likewise.
27861 * sysdeps/sparc/dl-tls.h: Likewise.
27862 * sysdeps/x86_64/dl-tls.h: Likewise.
27863 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27864
34fe483e
AS
278652011-03-14 Andreas Schwab <schwab@redhat.com>
27866
27867 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27868 rpath element also skip the following colon.
27869 (expand_dynamic_string_token): Add is_path parameter and pass
27870 down to DL_DST_REQUIRED and _dl_dst_substitute.
27871 (decompose_rpath): Call expand_dynamic_string_token with
27872 non-zero is_path. Ignore empty rpaths.
27873 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27874 with zero is_path.
27875
f12a32e6
AS
278762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27877
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27879 Make cancelable.
27880
38a7d692
UD
278812011-04-09 Ulrich Drepper <drepper@gmail.com>
27882
27883 [BZ #12655]
27884 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27885 Patch by Filipe David Manana <fdmanana@apache.org>.
27886
e451d22b
AS
278872011-04-07 Andreas Schwab <schwab@redhat.com>
27888
27889 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27890 Maintain aligned stack.
27891 (CHECK_RSP): Remove unused macro.
27892
dedc7c7b
UD
278932011-04-03 Ulrich Drepper <drepper@gmail.com>
27894
27895 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27896 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27897
94521213
UD
278982011-04-02 Ulrich Drepper <drepper@gmail.com>
27899
27900 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27901
8cb700c0 27902 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27903
0354e355
L
279042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27905
27906 [BZ #12518]
27907 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27908 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27909 * sysdeps/x86_64/memmove.c: New file.
27910 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27911 (memcpy): Renamed to ...
27912 (__new_memcpy): This.
27913 (memcpy): Provide GLIBC_2_14 memcpy.
27914 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27915 (memcpy): Provide GLIBC_2_2_5 memcpy.
27916
8593482f
UD
279172011-04-01 Ulrich Drepper <drepper@gmail.com>
27918
27919 [BZ #12631]
27920 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27921
81a5726b
AS
279222011-03-30 Andreas Schwab <schwab@redhat.com>
27923
27924 * misc/syncfs.c: New file.
27925 * misc/Makefile (routines): Add syncfs.
27926 * posix/unistd.h: Declare syncfs.
27927 * sysdeps/unix/syscalls.list: Add syncfs.
27928
00e5419f
AS
279292011-04-01 Andreas Schwab <schwab@redhat.com>
27930
27931 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27932 open_by_handle_at.
27933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27936 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27938 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27940
748876bf
UD
279412011-04-01 Ulrich Drepper <drepper@gmail.com>
27942
658e451d
UD
27943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27945 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27950
748876bf
UD
27951 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27952 sync_file_range.c with -fexceptions.
27953 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27954 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27955 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27956 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27957 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27958 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27959 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27960 sync_file_range as cancellation point
27961 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27962 now a wrapper around __call_sync_file_range with cancellation handling.
27963 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27964 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27965 function name to __call_sync_file_range.
27966 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27967 Add call_sync_file_range.
748876bf 27968
6e63d5e1
AS
279692011-04-01 Andreas Schwab <schwab@redhat.com>
27970
27971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27972 bits/timex.h.
6e63d5e1 27973
46998f74
UD
279742011-04-01 Ulrich Drepper <drepper@gmail.com>
27975
4c1423ed
UD
27976 * iconv/iconv.h: Fix typo in comment.
27977 * io/fcntl.h: Likewise.
27978 * libio/stdio.h: Likewise.
27979 * posix/spawn.h: Likewise.
27980 * posix/unistd.h: Likewise.
27981 * stdlib/stdlib.h: Likewise.
27982 * time/time.h: Likewise.
27983 * wcsmbs/wchar.h: Likewise.
27984
158648c0
UD
27985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27986 open_by_handle): Add.
27987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27988 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27989 Augment a few comments.
27990 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27994 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27995 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27996 open_by_handle.
27997
46998f74
UD
27998 * io/fcntl.h (AT_EMPTY_PATH): Define.
27999
83fe108b
UD
280002011-03-30 Ulrich Drepper <drepper@gmail.com>
28001
28002 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28003 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28004 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28005 to...
28006 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28007 * Versions.def: Add GLIBC_2.14.
28008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28009 Export.
83fe108b 28010
bb242059
UD
280112011-03-22 Ulrich Drepper <drepper@gmail.com>
28012
28013 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28014 round counter.
28015 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28016
c97a1282
L
280172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28018
28019 [BZ #12597]
28020 * string/test-strncmp.c (do_page_test): New function.
28021 (check2): Likewise.
28022 (test_main): Call check2.
28023 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28024
2a115601
UD
280252011-03-20 Ulrich Drepper <drepper@gmail.com>
28026
28027 [BZ #12587]
28028 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28029 Handle cache information in CPU leaf 4.
28030 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28031
8126d904
UD
280322011-03-18 Ulrich Drepper <drepper@gmail.com>
28033
042c49c6 28034 [BZ #12583]
8126d904
UD
28035 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28036 character representation.
28037 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28038
ccfe366e
RA
280392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28040
28041 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28042 END(__isnan) to END(__isnanf) to match function entry point/label
28043 EALIGN(__isnanf,...).
28044
c6e13027
JJ
280452011-03-10 Jakub Jelinek <jakub@redhat.com>
28046
28047 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28048
33f85a3f
UD
280492011-03-10 Ulrich Drepper <drepper@gmail.com>
28050
028478fa
UD
28051 [BZ #12510]
28052 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28053 copy from the symbol referenced in the relocation to initialize the
28054 used variable.
28055 Patch by Piotr Bury <pbury@goahead.com>.
28056 * elf/Makefile: Add rules to build and tst-unique3.
28057 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28058 * elf/tst-unique3.cc: New file.
28059 * elf/tst-unique3.h: New file.
28060 * elf/tst-unique3lib.cc: New file.
28061 * elf/tst-unique3lib2.cc: New file.
28062
33f85a3f
UD
28063 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28064
03592fc7
MF
280652011-03-10 Mike Frysinger <vapier@gentoo.org>
28066
28067 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28068 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28069 to _start.
03592fc7 28070
6a5ee102
UD
280712011-03-06 Ulrich Drepper <drepper@gmail.com>
28072
28073 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28074 to-be-loaded object along a path to loader is ld.so.
28075
7e4ba49c
HJ
280762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28077 Ulrich Drepper <drepper@gmail.com>
28078
28079 * sysdeps/x86_64/memset.S: After aligning destination, code
28080 branches to different locations depending on the value of
28081 misalignment, when multiarch is enabled. Fix this.
28082
280832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28084
28085 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28086 Set _x86_64_preferred_memory_instruction for AMD processsors.
28087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28088 Set bit_Prefer_SSE_for_memop for AMD processors.
28089
13a804de
UD
280902011-03-04 Ulrich Drepper <drepper@gmail.com>
28091
28092 * libio/fmemopen.c (fmemopen): Optimize a bit.
28093
9d25c392
AS
280942011-03-03 Andreas Schwab <schwab@redhat.com>
28095
28096 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28097
a5543c6a
RM
280982011-03-03 Roland McGrath <roland@redhat.com>
28099
28100 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28101
012d35f7
DM
281022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28103
7e4ba49c 28104 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28105 __bzero_ultra1 instead of __memset_ultra1.
28106
4bff6e01
AS
281072011-02-23 Andreas Schwab <schwab@redhat.com>
28108 Ulrich Drepper <drepper@gmail.com>
28109
28110 [BZ #12509]
28111 * include/link.h (struct link_map): Add l_orig_initfini.
28112 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28113 returning unsuccessfully.
28114 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28115 close of a file loaded at startup, restore the original l_initfini
28116 list.
28117 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28118 list, store the pointer.
28119 * elf/Makefile ($(objpfx)noload-mem): New rule.
28120 (noload-ENV): Define.
28121 (tests): Add $(objpfx)noload-mem.
28122 * elf/noload.c: Include <memcheck.h>.
28123 (main): Call mtrace. Close all opened handles.
28124
f2092faf
AS
281252011-02-17 Andreas Schwab <schwab@redhat.com>
28126
28127 [BZ #12454]
28128 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28129 dependencies are missing.
28130
6c8a2e88
ST
281312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28132
f2092faf 28133 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28134 Hurd needs munmap.
28135 * sysdeps/mach/hurd/ifreq.h: New file.
28136
84a42118
PB
281372011-01-27 Petr Baudis <pasky@suse.cz>
28138 Ulrich Drepper <drepper@gmail.com>
28139
071f805e 28140 [BZ 12445]#
84a42118
PB
28141 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28142 to extend_alloca().
28143 * stdio-common/bug23.c: New file.
28144 * stdio-common/Makefile (tests): Add bug23.
28145
e23fe25b
AS
281462010-09-28 Andreas Schwab <schwab@redhat.com>
28147 Ulrich Drepper <drepper@gmail.com>
28148
28149 [BZ #12489]
28150 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28151 before performing relro protection. At old place add assertion
28152 to make sure nothing changed.
28153
d3f02e10
NS
281542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28155 Glauber de Oliveira Costa <glommer@gmail.com>
28156
28157 * elf/elf.h: Add new ARM TLS relocs.
28158
d55fd7a5
RA
281592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28160
28161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28162 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28163 cast from r3.
28164 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28165 'tests' variable.
28166 * sysdeps/wordsize-64/tst-writev.c: New file.
28167
2206397e
RA
281682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28169
28170 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28171 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28172 insns in _dl_start to prevent a TOC reference before relocs are
28173 resolved.
28174
e9433893
UD
281752011-02-15 Ulrich Drepper <drepper@gmail.com>
28176
28177 [BZ #12469]
28178 * Makeconfig: Remove RANLIB definition.
28179 * Makerules: Don't use RANLIB.
28180 * aclocal.m4: Remove ranlib test.
28181 * configure.in: No need to check for ranlib.
28182 * elf/rtld-Rules: Don't use RANLIB.
28183
f75286c6
ST
281842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28185
8e31c82d
ST
28186 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28187 protection macro.
28188 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28189 inclusion protection macro.
28190
f75286c6
ST
28191 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28192 SIGRTMIN and SIGRTMAX and print information in that case only when
28193 SIGRTMIN is defined.
28194
c1d0e639
JJ
281952011-02-11 Jakub Jelinek <jakub@redhat.com>
28196
28197 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28198 arginfo fn returning -1.
28199
28200 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28201 and thousands string is zero terminated.
28202
edf9294e
AS
282032011-02-03 Andreas Schwab <schwab@redhat.com>
28204
28205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28206 sysdeps/unix/sysv/linux/bits/socket.h.
28207
2b7e92df
ST
282082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28209
edf9294e
AS
28210 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28211 (__CPU_COUNT): Remove old macros.
28212 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28213 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28214 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28215 (__sched_cpualloc, __sched_cpufree): Add declarations.
28216
a4c7ea7b
UD
282172011-02-05 Ulrich Drepper <drepper@gmail.com>
28218
28219 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28220 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28221 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28222 (readdhstai): Return value of addhstaiX call.
28223 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28224 (addgrbyX): Return value returned by cache_addgr.
28225 (readdgrbyname): Return value returned by addgrbyX.
28226 (readdgrbygid): Likewise.
28227 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28228 (addpwbyX): Return value returned by cache_addpw.
28229 (readdpwbyname): Return value returned by addhstbyX.
28230 (readdpwbyuid): Likewise.
28231 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28232 (addservbyX): Return value returned by cache_addserv.
28233 (readdservbyname): Return value returned by addservbyX:
28234 (readdservbyport): Likewise.
28235 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28236 (addhstbyX): Return value returned by cache_addhst.
28237 (readdhstbyname): Return value returned by addhstbyX.
28238 (readdhstbyaddr): Likewise.
28239 (readdhstbynamev6): Likewise.
28240 (readdhstbyaddrv6): Likewise.
28241 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28242 (readdinitgroups): Return value returned by addinitgroupsX.
28243 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28244 (prune_cache): Keep track of timeout value of re-added entries.
28245 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28246 * nscd/nscd.h: Adjust prototypes of readd* functions.
28247
a0bf67cc
RM
282482011-02-04 Roland McGrath <roland@redhat.com>
28249
28250 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28251 (nis_stats): Likewise.
28252 * nis/nis_modify.c (nis_modify): Likewise.
28253 * nis/nis_remove.c (nis_remove): Likewise.
28254 * nis/nis_add.c (nis_add): Likewise.
28255
28256 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28257
28258 * posix/fnmatch_loop.c: Add some consts.
28259
28260 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28261
435b95eb
L
282622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28263
28264 [BZ #12460]
28265 * config.make.in (config-cflags-novzeroupper): Define.
28266 * configure.in: Substitute libc_cv_cc_novzeroupper.
28267 * elf/Makefile (AVX-CFLAGS): Define.
28268 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28269 (CFLAGS-tst-auditmod4a.c): Likewise.
28270 (CFLAGS-tst-auditmod4b.c): Likewise.
28271 (CFLAGS-tst-auditmod6b.c): Likewise.
28272 (CFLAGS-tst-auditmod6c.c): Likewise.
28273 (CFLAGS-tst-auditmod7b.c): Likewise.
28274 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28275
8517b15e
UD
282762011-02-02 Ulrich Drepper <drepper@gmail.com>
28277
28278 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28279 function to the callback.
28280 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28281
10a656fe
AS
282822011-02-02 Andreas Schwab <schwab@redhat.com>
28283
28284 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28285 of errno.
28286
968dad0a
UD
282872011-01-19 Ulrich Drepper <drepper@gmail.com>
28288
9f94d2ea 28289 [BZ #11724]
968dad0a
UD
28290 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28291 of constructors.
28292 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28293 of destructors.
28294 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28295
28296 [BZ #11724]
28297 * elf/Makefile: Add rules to build and run new test.
28298 * elf/tst-initorder.c: New file.
28299 * elf/tst-initorder.exp: New file.
28300 * elf/tst-initordera1.c: New file.
28301 * elf/tst-initordera2.c: New file.
28302 * elf/tst-initordera3.c: New file.
28303 * elf/tst-initordera4.c: New file.
28304 * elf/tst-initorderb1.c: New file.
28305 * elf/tst-initorderb2.c: New file.
28306 * elf/tst-order-a1.c: New file.
28307 * elf/tst-order-a2.c: New file.
28308 * elf/tst-order-a3.c: New file.
28309 * elf/tst-order-a4.c: New file.
28310 * elf/tst-order-b1.c: New file.
28311 * elf/tst-order-b2.c: New file.
28312 * elf/tst-order-main.c: New file.
28313 New test case by George Gensure <werkt0@gmail.com>.
28314
86e92359
UD
283152010-10-01 Andreas Schwab <schwab@redhat.com>
28316
28317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28318 decoding ACE if AI_CANONIDN.
28319
5d5732b0
UD
283202011-01-18 Ulrich Drepper <drepper@gmail.com>
28321
28322 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28323
a77e8cbc
UD
283242011-01-17 Ulrich Drepper <drepper@gmail.com>
28325
6392473f
UD
28326 * version.h (RELEASE): Bump for 2.13 release.
28327 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28328
620a0529
UD
28329 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28330
18ba70a5
UD
28331 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28332 MADV_NOHUGEPAGE.
32465c3e
UD
28333 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28334 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28335 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28336 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28337 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28338 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28339
c0dafcf1
UD
28340 * posix/getconf.c: Update copyright year.
28341 * catgets/gencat.c: Likewise.
28342 * csu/version.c: Likewise.
28343 * debug/catchsegv.sh: Likewise.
28344 * debug/xtrace.sh: Likewise.
28345 * elf/ldconfig.c: Likewise.
28346 * elf/ldd.bash.in: Likewise.
28347 * elf/sprof.c (print_version): Likewise.
28348 * iconv/iconv_prog.c: Likewise.
28349 * iconv/iconvconfig.c: Likewise.
28350 * locale/programs/locale.c: Likewise.
28351 * locale/programs/localedef.c: Likewise.
28352 * malloc/memusage.sh: Likewise.
28353 * malloc/mtrace.pl: Likewise.
28354 * nscd/nscd.c (print_version): Likewise.
28355 * nss/getent.c: Likewise.
28356
a77e8cbc
UD
28357 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28358 PF_CAIF, and PF_ALG.
28359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28360
77e8bddf
AS
283612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28362
1f20b93a
AS
28363 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28364 (modules-names): Use them.
28365 (ifunc-test-modules, ifunc-pie-tests): Define.
28366 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28367 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28368 (test-extras): Likewise.
28369 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28370 $(compile-command.c).
28371 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28372 (all-built-dso): Define.
28373 (check-textrel.out, check-execstack.out): Depend on it.
28374
77e8bddf
AS
28375 * configure.in: Don't override --enable-multi-arch.
28376
bc425b33
UD
283772011-01-15 Ulrich Drepper <drepper@gmail.com>
28378
28379 [BZ #6812]
28380 * nscd/hstcache.c (tryagain): Define.
28381 (cache_addhst): Return tryagain not notfound for temporary errors.
28382 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28383 failed.
28384
794c3ad3
UD
283852011-01-14 Ulrich Drepper <drepper@gmail.com>
28386
70181fdd
UD
28387 [BZ #10563]
28388 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28389 to make the syscall.
28390 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28391
794c3ad3
UD
28392 [BZ #12378]
28393 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28394 and fall back to matching as normal character if the string ends before
28395 the matching ']' is found. This is what POSIX requires.
28396 * posix/testfnm.c: Adjust test result.
28397 * posix/globtest.sh: Adjust test result. Add new test.
28398 * posix/tst-fnmatch.input: Likewise.
28399 * posix/tst-fnmatch2.c: Add new test.
28400
68dc9497
AS
284012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28402
28403 * elf/Makefile (check-execstack): Revert last change. Depend on
28404 check-execstack.h.
28405 (check-execstack.h): New target.
28406 (generated): Add check-execstack.h.
28407 * elf/check-execstack.c: Include "check-execstack.h".
28408 (main): Revert last change.
28409 (handle_file): Return zero if GNU_STACK is absent and
28410 DEFAULT_STACK_PERMS doesn't include PF_X.
28411
451f001b
UD
284122011-01-13 Ulrich Drepper <drepper@gmail.com>
28413
cfa28e56
UD
28414 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28415 in child fails because the descriptor is already closed.
8cf8ce17
UD
28416 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28417 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28418 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 28419
1086d70d
UD
28420 [BZ #12397]
28421 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28422 syscall.
28423
451f001b
UD
28424 [BZ #10484]
28425 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28426 temporary buffer used to handle multi lookups locally.
a85b5cb4 28427 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 28428
08769175
UD
284292011-01-12 Ulrich Drepper <drepper@gmail.com>
28430
28431 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
28432 loader is ld.so.
28433
5e49c52e
UD
284342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
28435
28436 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
28437 alignment for SSE2.
28438
60522a5f
UD
284392011-01-12 Ulrich Drepper <drepper@gmail.com>
28440
28441 [BZ #12394]
28442 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
28443 characters. When rounding increased number of integer digits recompute
28444 number of groups.
28445 * stdio-common/tst-grouping.c: New file.
28446 * stdio-common/Makefile: Add rules to build and run tst-grouping.
28447
f257bbd7
UD
284482011-01-09 Ulrich Drepper <drepper@gmail.com>
28449
28450 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
28451 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
28452
28453 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
28454 void.
28455 * bits/select.h: Likewise.
28456
fa9c15cb
UD
284572011-01-08 Ulrich Drepper <drepper@gmail.com>
28458
28459 * po/ja.po: Update from translation team.
28460
16c2895f
DM
284612011-01-04 David S. Miller <davem@sunset.davemloft.net>
28462
28463 [BZ #11155]
28464 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
28465 implementation just like for lxstat, fxstatat, et al.
28466
2543fef2
JM
284672010-12-27 Jim Meyering <meyering@redhat.com>
28468
28469 [BZ #12348]
28470 * posix/regexec.c (build_trtable): Return failure indication upon
28471 calloc failure. Otherwise, re_search_internal could infloop on OOM.
28472
98727dbe
UD
284732010-12-25 Ulrich Drepper <drepper@gmail.com>
28474
5bd6dc5c
UD
28475 [BZ #12201]
28476 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
28477 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
28478 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
28479 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
28480
97983464
UD
28481 [BZ #12207]
28482 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
28483
98727dbe
UD
28484 [BZ #12204]
28485 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
28486 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
28487
4a531bb0
L
284882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
28491 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
28492 script has SORT_BY_INIT_PRIORITY.
28493 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
28494 NO_CTORS_DTORS_SECTIONS is defined.
28495 * elf/soinit.c: Likewise.
28496 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
28497 NO_CTORS_DTORS_SECTIONS is defined.
28498 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
28499 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
28500 * sysdeps/sh/init-first.c: Likewise.
28501 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
28502
07eb4b71
UD
285032010-12-24 Ulrich Drepper <drepper@gmail.com>
28504
28505 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
28506 always use the slow path.
28507
30950a5f
RA
285082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
28509
28510 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
28511 similar rule which adds the sysdep directories to the header search in
28512 order to pick up the correct platform stackinfo.h.
28513 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
28514 perform test if it is, otherwise return successfully without testing.
28515 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
28516 DEFAULT_STACK_PERMS define in stackinfo.h.
28517 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
28518 defined in stackinfo.h.
28519 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
28520 DEFAULT_STACK_PERMS defined in stackinfo.h.
28521 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
28522 * sysdeps/ia64/stackinfo.h: Likewise.
28523 * sysdeps/s390/stackinfo.h: Likewise.
28524 * sysdeps/sh/stackinfo.h: Likewise.
28525 * sysdeps/sparc/stackinfo.h: Likewise.
28526 * sysdeps/x86_64/stackinfo.h: Likewise.
28527 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
28528 PF_X for powerpc64. Retain PF_X for powerpc32.
28529
db753e2c
UD
285302010-12-19 Ulrich Drepper <drepper@gmail.com>
28531
14b697f7
UD
28532 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
28533 accurately.
db753e2c
UD
28534 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
28535 GETDENTS_64BIT_ALIGNED.
28536
28300719
UD
285372010-12-14 Ulrich Drepper <dreper@gmail.com>
28538
14b697f7 28539 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 28540
4f197237
AS
285412010-12-10 Andreas Schwab <schwab@redhat.com>
28542
dbb0472f
AS
28543 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
28544 _GNU_SOURCE.
28545
4f197237
AS
28546 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
28547 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
28548 Remove __restrict.
28549 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
28550 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
28551
fb88ac72
UD
285522010-12-09 Ulrich Drepper <drepper@gmail.com>
28553
28554 [BZ #11655]
28555 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
28556 are initialized.
28557
42acbb92
JJ
285582010-12-09 Jakub Jelinek <jakub@redhat.com>
28559
28560 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
28561
c038d98d
UD
285622010-12-03 Ulrich Drepper <drepper@gmail.com>
28563
28564 * po/it.po: Update from translation team.
28565
3a4a2499
L
285662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
28567
28568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
28569 unused codes.
28570
1e24cf6e
UD
285712010-11-30 Ulrich Drepper <drepper@gmail.com>
28572
28573 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
28574
a7690819
AS
285752010-11-24 Andreas Schwab <schwab@redhat.com>
28576
28577 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
28578 specially.
28579 (gaih_getanswer_slice): Likewise.
28580
3bf8d1b1
JJ
285812010-10-20 Jakub Jelinek <jakub@redhat.com>
28582
28583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
28584
6db52fbb
PB
285852010-05-31 Petr Baudis <pasky@suse.cz>
28586
28587 [BZ #11149]
28588 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
28589 silently even in the chroot mode.
28590
eaca7569
UD
285912010-11-22 Ulrich Drepper <drepper@gmail.com>
28592
28593 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
28594 last patch a bit. Pretty printing
28595
3056dcdb
UD
285962010-05-31 Petr Baudis <pasky@suse.cz>
28597
28598 [BZ #10085]
28599 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
28600 initialization of skip_initgroups_dyn.
28601
cf7c9078
UD
286022010-11-19 Ulrich Drepper <drepper@gmail.com>
28603
28604 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
28605 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28606
a1fb5e3e
UD
286072010-11-16 Ulrich Drepper <drepper@gmail.com>
28608
28609 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
28610
3540d66b
AS
286112010-11-11 Andreas Schwab <schwab@redhat.com>
28612
28613 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
28614 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
28615 (tst-fnmatch-ENV): Set MALLOC_TRACE.
28616 ($(objpfx)tst-fnmatch-mem): New rule.
28617 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
28618 * posix/tst-fnmatch.c (main): Call mtrace.
28619
13b69574
L
286202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28623 Support Intel processor model 6 and model 0x2c.
28624
da93d214
LM
286252010-11-10 Luis Machado <luisgpm@br.ibm.com>
28626
28627 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
28628 signed comparison.
28629
8ca52c6e
L
286302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
28631
28632 [BZ #12205]
28633 * string/test-strncasecmp.c (check_result): New function.
28634 (do_one_test): Use it.
28635 (check1): New function.
28636 (test_main): Use it.
28637 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28638 Support strcasecmp and strncasecmp.
28639
69da074d
UD
286402010-11-08 Ulrich Drepper <drepper@gmail.com>
28641
28642 [BZ #12194]
28643 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28644 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28645
ff02d528
L
286462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28649 IFUNC support.
28650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28651 memset-x86-64.
28652 * sysdeps/x86_64/multiarch/bzero.S: New file.
28653 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28654 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28655 * sysdeps/x86_64/multiarch/memset.S: New file.
28656 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28658 Set bit_Prefer_SSE_for_memop for Intel processors.
28659 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28660 Define.
28661 (index_Prefer_SSE_for_memop): Define.
28662 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28663
344d0b54
LM
286642010-11-04 Luis Machado <luisgpm@br.ibm.com>
28665
28666 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28667 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28668
c0dde15b
UD
286692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28670
28671 [BZ #12191]
28672 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28673 (__x86_64_raw_data_cache_size_half): Likewise.
28674 (__x86_64_raw_shared_cache_size): Likewise.
28675 (__x86_64_raw_shared_cache_size_half): Likewise.
28676
28677 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28678 (__x86_64_raw_data_cache_size_half): Likewise.
28679 (__x86_64_raw_shared_cache_size): Likewise.
28680 (__x86_64_raw_shared_cache_size_half): Likewise.
28681 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28682 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28683 and __x86_64_raw_shared_cache_size_half. Round
28684 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28685 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28686 to multiple of 256 bytes.
28687
0e516e0e
MS
286882010-11-03 Ulrich Drepper <drepper@gmail.com>
28689
28690 [BZ #12167]
28691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28692 of inacessible symlinks. Verify result of symlink before returning it.
28693 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28694 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28695
0e012e87
ER
286962010-10-28 Erich Ritz <erichritz@gmail.com>
28697
28698 * math/math.h (isinf): Fix typo in comment.
28699
de0ff7bc
UD
287002010-11-01 Ulrich Drepper <drepper@gmail.com>
28701
28702 * po/da.po: Update from translation team.
28703
fa41c84d
UD
287042010-10-26 Ulrich Drepper <drepper@gmail.com>
28705
28706 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28707 is added to the list.
28708
f0967738
AK
287092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28710 Ulrich Drepper <drepper@gmail.com>
28711
28712 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28713 the global list here. Move code to...
28714 (_dl_add_to_namespace_list): ...here. New function.
28715 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28716 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28717 * elf/dl-load.c (lose): Don't remove the element from the list.
28718 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28719 (_dl_map_object): Likewise.
28720
287212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
28722
28723 [BZ #12159]
28724 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28725 into all bytes of SSE register.
28726 Patch by Richard Li <richardpku@gmail.com>.
28727
f0967738 287282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
28729
28730 [BZ #12140]
28731 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28732 perturbing.
28733
d0b9e94f
MB
287342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28735
28736 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28737 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28738 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28739 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28741 submachine.
28742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28743
8e9f92e9
AS
287442010-10-22 Andreas Schwab <schwab@redhat.com>
28745
28746 * include/dlfcn.h (__RTLD_SECURE): Define.
28747 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28748 mode & __RTLD_SECURE instead.
28749 (open_path): Rename preloaded parameter to secure.
28750 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28751 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28752 * elf/dl-deps.c (openaux): Likewise.
28753 * elf/rtld.c (struct map_args): Remove is_preloaded.
28754 (map_doit): Don't use it.
28755 (dl_main): Likewise.
28756 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28757 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28758
bc96fbda
AS
287592010-09-09 Andreas Schwab <schwab@redhat.com>
28760
28761 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28762 (sysd-rules-targets): Remove duplicates.
28763 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28764 rtld-%.$o dependency.
28765
22cd1c9b
AS
287662010-10-18 Andreas Schwab <schwab@redhat.com>
28767
28768 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28769 _dl_map_object do it.
28770
18edac48
UD
287712010-10-19 Ulrich Drepper <drepper@gmail.com>
28772
28773 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28774 fast fma builtins, define the macros in the C99 standard.
28775 (FP_FAST_FMAF): Likewise.
28776 (FP_FAST_FMAL): Likewise.
28777 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28778
28779 * bits/mathdef.h: Update copyright year.
28780 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28781
d2050124
MM
287822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28783
28784 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28785 builtins, define the macros in the C99 standard.
28786 (FP_FAST_FMAF): Likewise.
28787 (FP_FAST_FMAL): Likewise.
28788 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28789 multiply/add.
28790 (FP_FAST_FMAF): Likewise.
28791
475facd1
JJ
287922010-10-15 Jakub Jelinek <jakub@redhat.com>
28793
28794 [BZ #3268]
28795 * math/libm-test.inc (fma_test): Some new testcases.
28796 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28798 y and infinite z. Do multiplication by C already in long double.
28799 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28801 y and infinite z. Do bitwise or of inexact bit into u.d.
28802 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28803 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28804 * sysdeps/i386/fpu/s_fma.S: Removed.
28805 * sysdeps/i386/fpu/s_fmal.S: Removed.
28806
7c08a05c
JJ
288072010-10-16 Jakub Jelinek <jakub@redhat.com>
28808
28809 [BZ #3268]
28810 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28812 computation is not scheduled after fetestexcept. Fix value
28813 of minimum denormal long double.
28814
f3f7372d
JJ
288152010-10-14 Jakub Jelinek <jakub@redhat.com>
28816
28817 [BZ #3268]
28818 * math/libm-test.inc (fma_test): Add some more tests.
28819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28820 correctly.
28821
14d43591
AS
288222010-10-15 Andreas Schwab <schwab@redhat.com>
28823
28824 * scripts/data/localplt-s390-linux-gnu.data: New file.
28825 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28826
5e908464
JJ
288272010-10-13 Jakub Jelinek <jakub@redhat.com>
28828
28829 [BZ #3268]
28830 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28831 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28832 instead of dbl-64.
28833 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28834 inlines.
28835 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28837 if one of x and y is very large and the other is subnormal.
28838 * sysdeps/s390/fpu/s_fmaf.c: New file.
28839 * sysdeps/s390/fpu/s_fma.c: New file.
28840 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28841 * sysdeps/powerpc/fpu/s_fma.S: New file.
28842 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28843 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28844 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28845
288462010-10-12 Jakub Jelinek <jakub@redhat.com>
28847
28848 [BZ #3268]
28849 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28850 fma tests.
28851 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28852 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28853 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28854 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28855 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28856 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28858
b833d51f
UD
288592010-10-12 Ulrich Drepper <drepper@redhat.com>
28860
28861 [BZ #12078]
28862 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28863 * posix/bug-regex31.input: Add test case.
28864
1751705d
UD
288652010-10-11 Ulrich Drepper <drepper@gmail.com>
28866
e9b9cbf5
UD
28867 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28868 * posix/bug-regex31.input: New file.
28869
28870 [BZ #12078]
28871 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28872 (parse_sub_exp): Fix last change, use postorder.
28873
ef06edbe
UD
28874 * posix/bug-regex31.c: New file.
28875 * posix/Makefile: Add rules to build and run bug-regex31.
28876
a129c80d
UD
28877 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28878
28879 [BZ #12078]
28880 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28881
b76b818e
UD
28882 [BZ #12108]
28883 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28884 to have entries in sys_siglist.
28885
1751705d
UD
28886 [BZ #12093]
28887 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28888 be NULL.
28889
9ff8d36f
JJ
288902010-10-07 Jakub Jelinek <jakub@redhat.com>
28891
28892 [BZ #3268]
28893 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28894 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28895 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28896 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28897 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28898 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28899 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28900 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28901 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28902 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28903 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28904 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28905 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28906 * math/ftestexcept.c (fetestexcept): Likewise.
28907 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28908 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28909 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28910 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28911 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28912 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28913 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28914
af325969
UD
289152010-10-11 Ulrich Drepper <drepper@gmail.com>
28916
c579b202 28917 [BZ #12107]
af325969
UD
28918 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28919 newline.
28920
67a67b95
UD
289212010-10-06 Ulrich Drepper <drepper@gmail.com>
28922
28923 * string/bug-strstr1.c: New file.
28924 * string/Makefile: Add rules to build and run bug-strstr1.
28925
5fb308bc
EB
289262010-10-05 Eric Blake <eblake@redhat.com>
28927
28928 [BZ #12092]
28929 * string/str-two-way.h (two_way_long_needle): Always clear memory
28930 when skipping input due to the shift table.
28931
45db99c7
UD
289322010-10-03 Ulrich Drepper <drepper@gmail.com>
28933
3b111893
UD
28934 [BZ #12005]
28935 * malloc/mcheck.c: Handle large requests.
28936
45db99c7
UD
28937 [BZ #12077]
28938 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28939 for strncmp and strncasecmp.
28940 * string/stratcliff.c: Add tests for strcmp and strncmp.
28941 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28942
cf7a1eb8
NI
289432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28944
28945 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28946 __set_fpscr.
28947
6484ba5e
AJ
289482010-09-30 Andreas Jaeger <aj@suse.de>
28949
28950 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28951 (CGROUP_SUPER_MAGIC): Define.
28952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28953 Handle btrfs and cgroup file systems.
28954 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28955 Likewise.
28956
91c42559
LM
289572010-09-27 Luis Machado <luisgpm@br.ibm.com>
28958
28959 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28960 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28961
87a97932
AK
289622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28963
28964 [BZ #12067]
28965 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28966 trying to locate the ELF header.
28967
c21cc9bc
AS
289682010-09-27 Andreas Schwab <schwab@redhat.com>
28969
28970 [BZ #11611]
28971 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28972 Mask out sign-bit copies when constructing f_fsid.
28973
315970f6
PB
289742010-09-24 Petr Baudis <pasky@suse.cz>
28975
28976 * debug/stack_chk_fail_local.c: Add missing licence exception.
28977 * debug/warning-nop.c: Likewise.
28978
1ac7a2c7
JM
289792010-09-15 Joseph Myers <joseph@codesourcery.com>
28980
28981 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28982 implementing getdents64 using getdents syscall, set d_type if
28983 __ASSUME_GETDENTS32_D_TYPE.
28984
56801c50
AS
289852010-09-16 Andreas Schwab <schwab@redhat.com>
28986
28987 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28988 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28989
dda51327
UD
289902010-09-21 Ulrich Drepper <drepper@redhat.com>
28991
28992 [BZ #12037]
28993 * posix/unistd.h: Undo change of feature selection for ftruncate from
28994 2010-01-11.
28995
8ffcee4a
UD
289962010-09-20 Ulrich Drepper <drepper@redhat.com>
28997
a545ecd9 28998 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28999 detection.
29000
e24f0a8b
AS
290012010-09-20 Andreas Schwab <schwab@redhat.com>
29002
29003 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29004 fanotify_mark.
29005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29006
7291c56f
AS
290072010-09-14 Andreas Schwab <schwab@redhat.com>
29008
29009 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29010 variables after CHECK_SP call.
29011 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29012
bc5fb037
AS
290132010-09-13 Andreas Schwab <schwab@redhat.com>
29014 Ulrich Drepper <drepper@redhat.com>
29015
29016 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29017 re-relocationg ld.so.
29018 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29019 _dl_init_paths call.
29020 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29021 here anymore.
29022
e66e7419
UD
290232010-09-14 Ulrich Drepper <drepper@redhat.com>
29024
29025 * resolv/res_init.c (__res_vinit): Count the default server we added.
29026
c044aa75
CLT
290272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29028 Ulrich Drepper <drepper@redhat.com>
29029
29030 [BZ #11968]
29031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29032 (____longjmp_chk): Use %ebx for saving value across system call.
29033 Add unwind info.
29034
32cf4069
AS
290352010-09-06 Andreas Schwab <schwab@redhat.com>
29036
29037 * manual/Makefile: Don't mix pattern rules with normal rules.
29038
817328ee
AS
290392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29040
29041 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29042 operation.
29043 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29044 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29045 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29046 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29047 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29048 Likewise.
29049
29fddf61
UD
290502010-09-04 Ulrich Drepper <drepper@redhat.com>
29051
29052 [BZ #11979]
29053 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29054 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29055
0959ffc9
UD
290562010-09-02 Ulrich Drepper <drepper@redhat.com>
29057
29058 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29059 * sysdeps/x86_64/addmul_1.S: Likewise.
29060 * sysdeps/x86_64/lshift.S: Likewise.
29061 * sysdeps/x86_64/mul_1.S: Likewise.
29062 * sysdeps/x86_64/rshift.S: Likewise.
29063 * sysdeps/x86_64/sub_n.S: Likewise.
29064 * sysdeps/x86_64/submul_1.S: Likewise.
29065
ece29840
ST
290662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29067
0959ffc9
UD
29068 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29069 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29070 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29071 * bits/sched.h [__need_schedparam]
ece29840 29072 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29073 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29074 (__defined_schedparam): Define to 1.
ece29840
ST
29075 (__sched_param): New structure, identical to sched_param.
29076 (__need_schedparam): Undefine.
29077
e53a31fe
MF
290782010-08-31 Mike Frysinger <vapier@gentoo.org>
29079
fdc0c10d
MF
29080 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29081 (epoll_create1): Declare.
29082
e53a31fe
MF
29083 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29084
a726d796
AS
290852010-08-31 Andreas Schwab <schwab@redhat.com>
29086
29087 [BZ #7066]
29088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29089 shifting retval into place.
29090
2f3e3dc7
UD
290912010-09-01 Ulrich Drepper <drepper@redhat.com>
29092
f2933da9
UD
29093 * nis/rpcsvc/nis.h: Update copyright notice.
29094 * nis/rpcsvc/nis.x: Likewise.
29095 * nis/rpcsvc/nis_callback.h: Likewise.
29096 * nis/rpcsvc/nis_callback.x: Likewise.
29097 * nis/rpcsvc/nis_object.x: Likewise.
29098 * nis/rpcsvc/nis_tags.h: Likewise.
29099 * nis/rpcsvc/yp.h: Likewise.
29100 * nis/rpcsvc/yp.x: Likewise.
29101 * nis/rpcsvc/ypupd.h: Likewise.
29102 * nis/yp_xdr.c: Likewise.
29103 * nis/ypupdate_xdr.c: Likewise.
29104
2f3e3dc7
UD
29105 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29106 mainly the body of pmap_getport. Add parameters to specify timeouts.
29107 (pmap_getport): Use __libc_rpc_getport.
29108 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29109 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29110 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29111
f3dcc2f9
AS
291122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29113
29114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29115 fanotify_mark.
29116
6d34eb5b
RM
291172010-08-27 Roland McGrath <roland@redhat.com>
29118
29119 * sysdeps/i386/i686/multiarch/Makefile
29120 (CFLAGS-varshift.c): New variable.
29121
9ea3de11
UD
291222010-08-27 Ulrich Drepper <drepper@redhat.com>
29123
c96d23fc
UD
29124 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29125 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29126
9ea3de11
UD
29127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29128
29129 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29130
623aac7f
L
291312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29132
29133 * sysdeps/x86_64/strlen.S: Unroll the loop.
29134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29135 strlen-sse2 strlen-sse2-bsf.
29136 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29137 __strlen_no_bsf if bit_Slow_BSF is set.
29138 (__strlen_sse42): Removed.
29139 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29140 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29141
8b2b7715
RM
291422010-08-25 Roland McGrath <roland@redhat.com>
29143
29144 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29145 * sysdeps/x86_64/multiarch/varshift.c: New file.
29146 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29147 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29148 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29149 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29150
e73015f2
L
291512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29152
29153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29154 strlen-sse2 strlen-sse2-bsf.
29155 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29156 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29157 (__strlen_sse2): Removed.
29158 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29159 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29161 bit_Slow_BSF for Atom.
29162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29163 (index_Slow_BSF): Define.
29164 (HAS_SLOW_BSF): Define.
29165
df24a73e
UD
291662010-08-25 Ulrich Drepper <drepper@redhat.com>
29167
29168 [BZ #10851]
29169 * resolv/res_init.c (__res_vinit): When no server address at all
29170 is given default to loopback.
29171
f2ac4868
RM
291722010-08-24 Roland McGrath <roland@redhat.com>
29173
09055553
RM
29174 * configure.in: Remove config-name.h generation.
29175 * configure: Regenerated.
29176 * config-name.in: File removed.
29177 * scripts/config-uname.sh: New file.
29178 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29179 ($(objdir)config-name.h): New target.
29180
f2ac4868
RM
29181 * sunrpc/rpc_parse.h: Avoid nested comment.
29182
73f27d5e
RH
291832010-08-24 Richard Henderson <rth@redhat.com>
29184 Ulrich Drepper <drepper@redhat.com>
29185 H.J. Lu <hongjiu.lu@intel.com>
29186
29187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29189 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29190 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29191 _mm_alignr_epi8 with _mm_loadu_si128.
29192 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29193 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29194 (__m128i_shift_right): Removed.
29195 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29196 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29197 * sysdeps/x86_64/multiarch/varshift.h: New file.
29198 * sysdeps/x86_64/multiarch/varshift.S: New file.
29199
84b9230c
MF
292002010-08-21 Mike Frysinger <vapier@gentoo.org>
29201
29202 * configure.in: Move assembler checks to before sysdep dir checking.
29203
9bbd0ddc
PB
292042010-08-20 Petr Baudis <pasky@suse.cz>
29205
29206 * LICENSES: Sync the sunrpc license.
29207
9da4bb31
UD
292082010-08-19 Ulrich Drepper <drepper@redhat.com>
29209
a7ab6ec8
UD
29210 * sunrpc/auth_des.c: Update copyright notice once again.
29211 * sunrpc/auth_none.c: Likewise.
29212 * sunrpc/auth_unix.c: Likewise.
29213 * sunrpc/authdes_prot.c: Likewise.
29214 * sunrpc/authuxprot.c: Likewise.
29215 * sunrpc/bindrsvprt.c: Likewise.
29216 * sunrpc/clnt_gen.c: Likewise.
29217 * sunrpc/clnt_perr.c: Likewise.
29218 * sunrpc/clnt_raw.c: Likewise.
29219 * sunrpc/clnt_simp.c: Likewise.
29220 * sunrpc/clnt_tcp.c: Likewise.
29221 * sunrpc/clnt_udp.c: Likewise.
29222 * sunrpc/clnt_unix.c: Likewise.
29223 * sunrpc/des_crypt.c: Likewise.
29224 * sunrpc/des_soft.c: Likewise.
29225 * sunrpc/get_myaddr.c: Likewise.
29226 * sunrpc/getrpcport.c: Likewise.
29227 * sunrpc/key_call.c: Likewise.
29228 * sunrpc/key_prot.c: Likewise.
29229 * sunrpc/openchild.c: Likewise.
29230 * sunrpc/pm_getmaps.c: Likewise.
29231 * sunrpc/pm_getport.c: Likewise.
29232 * sunrpc/pmap_clnt.c: Likewise.
29233 * sunrpc/pmap_prot.c: Likewise.
29234 * sunrpc/pmap_prot2.c: Likewise.
29235 * sunrpc/pmap_rmt.c: Likewise.
29236 * sunrpc/rpc/auth.h: Likewise.
29237 * sunrpc/rpc/auth_unix.h: Likewise.
29238 * sunrpc/rpc/clnt.h: Likewise.
29239 * sunrpc/rpc/des_crypt.h: Likewise.
29240 * sunrpc/rpc/key_prot.h: Likewise.
29241 * sunrpc/rpc/netdb.h: Likewise.
29242 * sunrpc/rpc/pmap_clnt.h: Likewise.
29243 * sunrpc/rpc/pmap_prot.h: Likewise.
29244 * sunrpc/rpc/pmap_rmt.h: Likewise.
29245 * sunrpc/rpc/rpc.h: Likewise.
29246 * sunrpc/rpc/rpc_des.h: Likewise.
29247 * sunrpc/rpc/rpc_msg.h: Likewise.
29248 * sunrpc/rpc/svc.h: Likewise.
29249 * sunrpc/rpc/svc_auth.h: Likewise.
29250 * sunrpc/rpc/types.h: Likewise.
29251 * sunrpc/rpc/xdr.h: Likewise.
29252 * sunrpc/rpc_clntout.c: Likewise.
29253 * sunrpc/rpc_cmsg.c: Likewise.
29254 * sunrpc/rpc_common.c: Likewise.
29255 * sunrpc/rpc_cout.c: Likewise.
29256 * sunrpc/rpc_dtable.c: Likewise.
29257 * sunrpc/rpc_hout.c: Likewise.
29258 * sunrpc/rpc_main.c: Likewise.
29259 * sunrpc/rpc_parse.c: Likewise.
29260 * sunrpc/rpc_parse.h: Likewise.
29261 * sunrpc/rpc_prot.c: Likewise.
29262 * sunrpc/rpc_sample.c: Likewise.
29263 * sunrpc/rpc_scan.c: Likewise.
29264 * sunrpc/rpc_scan.h: Likewise.
29265 * sunrpc/rpc_svcout.c: Likewise.
29266 * sunrpc/rpc_tblout.c: Likewise.
29267 * sunrpc/rpc_util.c: Likewise.
29268 * sunrpc/rpc_util.h: Likewise.
29269 * sunrpc/rpcinfo.c: Likewise.
29270 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29271 * sunrpc/rpcsvc/key_prot.x: Likewise.
29272 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29273 * sunrpc/rpcsvc/mount.x: Likewise.
29274 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29275 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29276 * sunrpc/rpcsvc/rex.x: Likewise.
29277 * sunrpc/rpcsvc/rstat.x: Likewise.
29278 * sunrpc/rpcsvc/rusers.x: Likewise.
29279 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29280 * sunrpc/rpcsvc/spray.x: Likewise.
29281 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29282 * sunrpc/rtime.c: Likewise.
29283 * sunrpc/svc.c: Likewise.
29284 * sunrpc/svc_auth.c: Likewise.
29285 * sunrpc/svc_authux.c: Likewise.
29286 * sunrpc/svc_raw.c: Likewise.
29287 * sunrpc/svc_run.c: Likewise.
29288 * sunrpc/svc_simple.c: Likewise.
29289 * sunrpc/svc_tcp.c: Likewise.
29290 * sunrpc/svc_udp.c: Likewise.
29291 * sunrpc/svc_unix.c: Likewise.
29292 * sunrpc/svcauth_des.c: Likewise.
29293 * sunrpc/xcrypt.c: Likewise.
29294 * sunrpc/xdr.c: Likewise.
29295 * sunrpc/xdr_array.c: Likewise.
29296 * sunrpc/xdr_float.c: Likewise.
29297 * sunrpc/xdr_mem.c: Likewise.
29298 * sunrpc/xdr_rec.c: Likewise.
29299 * sunrpc/xdr_ref.c: Likewise.
29300 * sunrpc/xdr_sizeof.c: Likewise.
29301 * sunrpc/xdr_stdio.c: Likewise.
29302
9da4bb31
UD
29303 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29304 handling.
29305
bdaa77bc
AS
293062010-08-19 Andreas Schwab <schwab@redhat.com>
29307
29308 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29309
fe2f79db
LM
293102010-08-19 Luis Machado <luisgpm@br.ibm.com>
29311
29312 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29313 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29315 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29317 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29319 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29320 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29321 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29322 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29323 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29324 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29325 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29326
b9b42ee0
AB
293272010-07-26 Anton Blanchard <anton@samba.org>
29328
29329 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29330 * malloc/arena.c (heap_trim): Likewise.
29331
1c06ba31
UD
293322010-08-16 Ulrich Drepper <drepper@redhat.com>
29333
29334 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29335 here. Not...
29336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29337 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29338
f8392f40
L
293392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29340
29341 * sysdeps/i386/elf/Makefile: New file.
29342
3162f12e
AS
293432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29344
29345 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29346 from fanotify_init.
29347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29348 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29349
28c90b2c
UD
293502010-08-15 Ulrich Drepper <drepper@redhat.com>
29351
29352 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29353 of strncasecmp_l.
1feccb6c 29354 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29355
ca6bb004
UD
293562010-08-14 Ulrich Drepper <drepper@redhat.com>
29357
e9f82e0d
UD
29358 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29359 strncase_l-nonascii.
29360 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29361 Add strncase_l-ssse3.
29362 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29363 * sysdeps/x86_64/strcmp.S: Likewise.
29364 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29365 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29366 * sysdeps/x86_64/strncase.S: New file.
29367 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29368 * sysdeps/x86_64/strncase_l.S: New file.
29369 * string/Makefile (strop-tests): Add strncasecmp.
29370 * string/test-strncasecmp.c: New file.
29371
29372 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29373 warning.
29374
ca6bb004
UD
29375 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29376 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29377
052fa7b3
AS
293782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29379
29380 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29381
962dba78
UD
293822010-08-12 Ulrich Drepper <drepper@redhat.com>
29383
29384 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29385 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29386 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29387
bebff237
AM
293882010-05-01 Alan Modra <amodra@gmail.com>
29389
29390 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29391 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29392 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29393 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29394 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29395 tidying. Don't tail-call __sigjmp_save for static lib.
29396 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29397 save location.
29398 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29399 (CALL_MCOUNT): Add eh info, and nop after bl.
29400 (TAIL_CALL_SYSCALL_ERROR): New macro.
29401 (PSEUDO_RET): Use it.
29402 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29403 Correct save location of integer regs and cr.
29404 (_dl_profile_resolve): Correct cr save location. Delete nops
29405 after bl when SHARED. Reduce cfi size a little by better
29406 placement of cfi directives.
29407 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29408 make a stack frame. Instead use parm save area as a temp.
29409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29410 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29412 Don't make a stack frame for parent, use parm save area.
29413 Increase child stack frame to 112 bytes. Don't save unused reg,
29414 and adjust reg usage. Set up cfi on error recovery and
29415 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29417 (__makecontext): Add dummy nop after jump to exit.
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29419 Use correct parm save area and cr save, reduce stack frame.
29420 Correct cfi for possible PSEUDO_RET frame setup.
29421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29422 Branch to local label emitted by PSEUDO_RET rather than
29423 __syscall_error.
29424
02637374
AS
294252010-08-12 Andreas Schwab <schwab@redhat.com>
29426
29427 [BZ #11904]
29428 * locale/programs/locale.c (print_assignment): New function.
29429 (show_locale_vars): Use it.
29430
c3e2f19b
UD
294312010-08-11 Ulrich Drepper <drepper@redhat.com>
29432
3cdaa6ad
UD
29433 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
29434 field.
29435 (struct statfs64): Likewise.
29436 (_STATFS_F_FLAGS): Define.
29437 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
29438 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29439 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
29440 (ST_VALID): Define locally.
29441 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
29442 __statvfs_getflags, use the provided value.
29443 * sysdeps/unix/sysv/linux/kernel-features.h: Define
29444 __ASSUME_STATFS_F_FLAGS.
29445
754f7da3
UD
29446 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
29447
10b3bedc
UD
29448 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
29449 Add sys/fanotify.h.
29450 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
29451 fanotify_mask for GLIBC_2.13.
29452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
29453 fanotify_init and fanotify_mark.
29454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29455 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
29456
c08fb0d7
UD
29457 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
29458 Add prlimit.
29459 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
29460 prlimit64 for GLIBC_2.13.
29461 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
29462 prlimit64.
29463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
29464 syscall.
29465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
29466 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29467 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
29468 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
29469 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
29470 add prlimit alias.
29471 * sysdeps/unix/sysv/linux/prlimit.c: New file.
29472
15bac72b
UD
29473 [BZ #11903]
29474 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
29475 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
29476
c3e2f19b
UD
29477 * nss/Makefile: Add rules to build and run tst-nss-test1.
29478 * shlib-versions: Add entry for libnss_test1.
29479 * nss/nss_test1.c: New file.
29480 * nss/tst-nss-test1.c: New file.
29481
29482 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29483 (__nss_configure_lookup): Set appropriate entry in
29484 __nss_configure_lookup to true.
29485 * nss/nsswitch.h: Define enum with indeces of databases in
29486 databases and __nss_database_custom arrays. Declare
29487 __nss_database_custom.
29488 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
29489 to avoid using nscd when custom rules are installed.
29490 * nss/getXXbyYY_r.c: Likewise.
29491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29492
29493 * nss/nss_files/files-parse.c: Whitespace fixes.
29494
f15ce4d8
UD
294952010-08-09 Ulrich Drepper <drepper@redhat.com>
29496
29497 [BZ #11883]
29498 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
29499 * posix/fnmatch_loop.c: Likewise.
29500
d22e4cc9
AK
295012010-07-17 Andi Kleen <ak@linux.intel.com>
29502
29503 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
29504 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
29505 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
29506 * Versions.def [GLIBC_2.13]: Add.
29507
805bc17d
UD
295082010-08-06 Ulrich Drepper <drepper@redhat.com>
29509
29510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29511 Also fail if tpwd after pwuid call is NULL.
29512
5a42321d
ST
295132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
29514
29515 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
29516 when converting to ms.
29517
fd3ebeda
ST
295182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29519
29520 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
29521 EOPNOTSUPP errors with ENOTTY.
29522 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
29523 EOPNOTSUPP errors with ENOTTY.
29524
73507d3a
UD
295252010-07-31 Ulrich Drepper <drepper@redhat.com>
29526
29527 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29528 Add strcasecmp_l-ssse3.
29529 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
29530 strcasecmp.
29531 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
29532 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
29533 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
29534
fe36dd02
UD
295352010-07-30 Ulrich Drepper <drepper@redhat.com>
29536
66f6765a
UD
29537 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
29538
42e08a54
UD
29539 * string/Makefile (strop-tests): Add strcasecmp.
29540 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29541 strcasecmp_l-nonascii.
29542 (gen-as-const-headers): Add locale-defines.sym.
29543 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
29544 * sysdeps/x86_64/strcasecmp.S: New file.
29545 * sysdeps/x86_64/strcasecmp_l.S: New file.
29546 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
29547 * sysdeps/x86_64/locale-defines.sym: New file.
29548 * string/test-strcasecmp.c: New file.
29549
fe36dd02
UD
29550 * string/test-strcasestr.c: Test both ends of the range of characters.
29551 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
29552
48cbc0d6
RM
295532010-07-29 Roland McGrath <roland@redhat.com>
29554
76e6d6bc 29555 [BZ #11856]
48cbc0d6
RM
29556 * manual/locale.texi (Yes-or-No Questions): Fix example code.
29557
880113d9
UD
295582010-07-27 Ulrich Drepper <drepper@redhat.com>
29559
29560 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
29561 for ld.so.
29562
deb9cabb
AS
295632010-07-27 Andreas Schwab <schwab@redhat.com>
29564
29565 * manual/memory.texi (Malloc Tunable Parameters): Document
29566 M_PERTURB.
29567
1c7570ff
RM
295682010-07-26 Roland McGrath <roland@redhat.com>
29569
29570 [BZ #11840]
29571 * configure.in (-fgnu89-inline check): Set and substitute
29572 gnu89_inline, not libc_cv_gnu89_inline.
29573 * configure: Regenerated.
29574 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
29575
24fb0f88
UD
295762010-07-26 Ulrich Drepper <drepper@redhat.com>
29577
29578 * string/test-strnlen.c: New file.
29579 * string/Makefile (strop-tests): Add strnlen.
29580 * string/tester.c (test_strnlen): Add a few more test cases.
29581 * string/tst-strlen.c: Better error reporting.
29582
29583 * sysdeps/x86_64/strnlen.S: New file.
29584
8e96b93a
UD
295852010-07-24 Ulrich Drepper <drepper@redhat.com>
29586
29587 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
29588 lower-latency instructions.
29589
dbc676d4
UD
295902010-07-23 Ulrich Drepper <drepper@redhat.com>
29591
29592 * string/test-strcasestr.c: New file.
29593 * string/test-strstr.c: New file.
29594 * string/Makefile (strop-tests): Add strstr and strcasestr.
29595 * string/str-two-way.h: Don't undefine MAX.
29596 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
29597
f6a31e0e
AS
295982010-07-21 Andreas Schwab <schwab@redhat.com>
29599
29600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29601 strcasestr-nonascii.
29602 (CFLAGS-strcasestr-nonascii.c): Define.
29603 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
29604 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
29605 Remove unused attribute.
29606
5dbc3b6c
RM
296072010-07-20 Roland McGrath <roland@redhat.com>
29608
29609 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
29610 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
29611 ld.so.cache was broken. With it, there is no way to disable dsocaps
29612 like LD_HWCAP_MASK can disable hwcaps.
29613
23d101d8
EPM
296142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29615
29616 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
29617
cc9f2e47
UD
296182010-07-16 Ulrich Drepper <drepper@redhat.com>
29619
29620 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
29621 call in strcasestr.
29622 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
29623 __strcasestr_sse42_nonascii.
29624 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
29625 strcasestr-nonascii.c.
29626 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
29627
77c1b069
LM
296282010-06-15 Luis Machado <luisgpm@br.ibm.com>
29629
29630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
29631 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29632 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29633 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29634
440566c3
UD
296352010-07-09 Ulrich Drepper <drepper@redhat.com>
29636
29637 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29638 fcntl.
29639
5be9d05d
AS
296402010-07-06 Andreas Schwab <schwab@redhat.com>
29641
c30b7ee2 29642 [BZ #11577]
5be9d05d
AS
29643 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29644 dl_signal_cerror.
29645
8a492a67
UD
296462010-07-06 Ulrich Drepper <drepper@redhat.com>
29647
29648 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29649 _PC_PIPE_BUF using F_GETPIPE_SZ.
29650
713df3d5
RM
296512010-07-05 Roland McGrath <roland@redhat.com>
29652
29653 * manual/arith.texi (Rounding Functions): Fix rint description
29654 implicit in round description.
29655
702e8f14
UD
296562010-07-02 Ulrich Drepper <drepper@redhat.com>
29657
29658 * elf/Makefile: Fix linking for a few tests to make recent linker
29659 happy.
29660
52ed8be9
AS
296612010-06-30 Andreas Schwab <schwab@redhat.com>
29662
29663 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29664 $(common-objpfx)libc_nonshared.a.
29665
f47c9a11
LM
296662010-06-21 Luis Machado <luisgpm@br.ibm.com>
29667
29668 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29669 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29670 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29671 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29672 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29673 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29674 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29675 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29690 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29691 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29692 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29693 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29694 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29695 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29696 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29697 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29698 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29699 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29700 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29701 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29716
6fb8cbcb
L
297172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29718
29719 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29720 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29721 * string/memmove.c (memmove): Renamed to ...
29722 (MEMMOVE): ...this. Default to memmove.
29723 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29724 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29725 (END_CHK): Define.
29726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29727 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29728 mempcpy-ssse3-back memmove-ssse3-back.
29729 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29730 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29731 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29732 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29733 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29734 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29735 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29736 * sysdeps/x86_64/multiarch/memmove.c: New file.
29737 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29738 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29739 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29740 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29741 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29742 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29743 Define.
29744 (index_Fast_Copy_Backward): Define.
29745 (HAS_ARCH_FEATURE): Define.
29746 (HAS_FAST_REP_STRING): Define.
29747 (HAS_FAST_COPY_BACKWARD): Define.
29748
4e733bac 297492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
29750
29751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29752 Restore proper fallback handling.
29753
63c4ed22
UD
297542010-06-19 Ulrich Drepper <drepper@redhat.com>
29755
ac2b484c
UD
29756 [BZ #11701]
29757 * posix/group_member.c (__group_member): Correct checking loop.
29758
63c4ed22
UD
29759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29760 OOM in getpwuid_r correctly. Return error number when the caller
29761 should return, otherwise -1.
29762 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29763 call returning > 0 value.
29764 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29765
765ade4b
AS
297662010-06-07 Andreas Schwab <schwab@redhat.com>
29767
29768 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29769 libc_nonshared.a from targets in modules-names.
29770
80da2e09
KS
297712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29772
29773 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29774 requires it.
29775
158db122
LM
297762010-06-10 Luis Machado <luisgpm@br.ibm.com>
29777
29778 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29779 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29781 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29782
caa78cf8
AS
297832010-06-02 Andreas Schwab <schwab@redhat.com>
29784
29785 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29786
b2ef2c01
UD
297872010-06-14 Ulrich Drepper <drepper@redhat.com>
29788
29789 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29790 and F_GETPIPE_SZ.
29791 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29795 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29797
fbd643b6
RM
297982010-06-14 Roland McGrath <roland@redhat.com>
29799
29800 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29801
f32f2869
JJ
298022010-06-07 Jakub Jelinek <jakub@redhat.com>
29803
29804 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29805 __REDIRECT followed by __THROW.
29806 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29807 * posix/getopt.h (getopt): Likewise.
29808
2a50c078
EPM
298092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29810
29811 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29812 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29813 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29814 in AT_FLAGS.
29815 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29816 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29817
eb5ad2eb
LM
298182010-05-28 Luis Machado <luisgpm@br.ibm.com>
29819
29820 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29821
3c88fe1e
L
298222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 [BZ #11640]
29825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29826 Properly check family and model.
29827
d2f73151
TY
298282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29829
29830 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29831
ebd2e13d
LM
298322010-05-24 Luis Machado <luisgpm@br.ibm.com>
29833
29834 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29835
b32b8b45
UD
298362010-05-21 Ulrich Drepper <drepper@redhat.com>
29837
29838 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29839 symbol reference.
29840
9acbe24d
AS
298412010-05-19 Andreas Schwab <schwab@redhat.com>
29842
29843 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29844 symbol reference.
29845
f0ccf6ea
AS
298462010-05-21 Andreas Schwab <schwab@redhat.com>
29847
3d04ff3a
AS
29848 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29849 and internal_recvmmsg.
29850 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29851 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29852 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29853 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29854
f0ccf6ea
AS
29855 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29856 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29857 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29858
5b08ac57
AS
298592010-05-20 Andreas Schwab <schwab@redhat.com>
29860
29861 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29862
4828935d
LM
298632010-05-17 Luis Machado <luisgpm@br.ibm.com>
29864
29865 POWER7 optimizations.
29866 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29867 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29868
373d545e
UD
298692010-05-19 Ulrich Drepper <drepper@redhat.com>
29870
29871 * version.h: Update for 2.13 development version.
29872
21a2b1ae
AS
298732010-05-12 Andrew Stubbs <ams@codesourcery.com>
29874
29875 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29876 exceptions. Return 0.
29877
3f7dcb2b
RM
298782010-05-07 Roland McGrath <roland@redhat.com>
29879
29880 * elf/ldconfig.c (main): Add a const.
29881
5f24d53a 298822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29883
a160f8d8
UD
29884 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29885 (args_options): Add no-idn option.
29886 (ahosts_keys_int): Add idn_flags to ai_flags.
29887 (parse_option): Handle 'i' option to clear idn_flags.
29888
5f24d53a
UD
29889 * malloc/malloc.c (_int_free): Possible race in the most recently
29890 added check. Only act on the data if no current modification
29891 happened.
265bb1ce
UD
29892
29893See ChangeLog.17 for earlier changes.
This page took 3.782348 seconds and 5 git commands to generate.