]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Test drem and pow10 in libm-test.inc.
[thirdparty/glibc.git] / ChangeLog
1 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc: Add drem and pow10 to list of tested
4 functions.
5 (pow10_test): New function.
6 (drem_test): Likewise.
7 (drem_test_tonearest): Likewise.
8 (drem_test_towardzero): Likewise.
9 (drem_test_downward): Likewise.
10 (drem_test_upward): Likewise.
11 (main): Call the new functions.
12
13 * math/libm-test.inc (finite_test_data): Remove.
14 (finite_test): Run tests from isfinite_test_data.
15 (gamma_test_data): Remove.
16 (gamma_test): Run tests from lgamma_test_data.
17 * sysdeps/i386/fpu/libm-test-ulps: Update.
18 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19
20 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21
22 * manual/platform.texi: Add PowerPC PPR function set documentation.
23 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24 implementation.
25
26 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27
28 * math/libm-test.inc (MAX_EXP): Define.
29 (ULPDIFF): Define.
30 (ulp): New function.
31 (check_float_internal): Use ULPDIFF.
32 (cpow_test): Disable failing test.
33 (check_ulp): Test ulp() implemetnation.
34 (main): Call check_ulp before starting tests.
35
36 2013-05-24 Joseph Myers <joseph@codesourcery.com>
37
38 * math/gen-libm-test.pl (generate_testfile): Do not handle
39 START_DATA and END_DATA.
40 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41 END_DATA.
42 (acos_tonearest_test_data): Likewise.
43 (acos_towardzero_test_data): Likewise.
44 (acos_downward_test_data): Likewise.
45 (acos_upward_test_data): Likewise.
46 (acosh_test_data): Likewise.
47 (asin_test_data): Likewise.
48 (asin_tonearest_test_data): Likewise.
49 (asin_towardzero_test_data): Likewise.
50 (asin_downward_test_data): Likewise.
51 (asin_upward_test_data): Likewise.
52 (asinh_test_data): Likewise.
53 (atan_test_data): Likewise.
54 (atanh_test_data): Likewise.
55 (atan2_test_data): Likewise.
56 (cabs_test_data): Likewise.
57 (cacos_test_data): Likewise.
58 (cacosh_test_data): Likewise.
59 (carg_test_data): Likewise.
60 (casin_test_data): Likewise.
61 (casinh_test_data): Likewise.
62 (catan_test_data): Likewise.
63 (catanh_test_data): Likewise.
64 (cbrt_test_data): Likewise.
65 (ccos_test_data): Likewise.
66 (ccosh_test_data): Likewise.
67 (ceil_test_data): Likewise.
68 (cexp_test_data): Likewise.
69 (cimag_test_data): Likewise.
70 (clog_test_data): Likewise.
71 (clog10_test_data): Likewise.
72 (conj_test_data): Likewise.
73 (copysign_test_data): Likewise.
74 (cos_test_data): Likewise.
75 (cos_tonearest_test_data): Likewise.
76 (cos_towardzero_test_data): Likewise.
77 (cos_downward_test_data): Likewise.
78 (cos_upward_test_data): Likewise.
79 (cosh_test_data): Likewise.
80 (cosh_tonearest_test_data): Likewise.
81 (cosh_towardzero_test_data): Likewise.
82 (cosh_downward_test_data): Likewise.
83 (cosh_upward_test_data): Likewise.
84 (cpow_test_data): Likewise.
85 (cproj_test_data): Likewise.
86 (creal_test_data): Likewise.
87 (csin_test_data): Likewise.
88 (csinh_test_data): Likewise.
89 (csqrt_test_data): Likewise.
90 (ctan_test_data): Likewise.
91 (ctan_tonearest_test_data): Likewise.
92 (ctan_towardzero_test_data): Likewise.
93 (ctan_downward_test_data): Likewise.
94 (ctan_upward_test_data): Likewise.
95 (ctanh_test_data): Likewise.
96 (ctanh_tonearest_test_data): Likewise.
97 (ctanh_towardzero_test_data): Likewise.
98 (ctanh_downward_test_data): Likewise.
99 (ctanh_upward_test_data): Likewise.
100 (erf_test_data): Likewise.
101 (erfc_test_data): Likewise.
102 (exp_test_data): Likewise.
103 (exp_tonearest_test_data): Likewise.
104 (exp_towardzero_test_data): Likewise.
105 (exp_downward_test_data): Likewise.
106 (exp_upward_test_data): Likewise.
107 (exp10_test_data): Likewise.
108 (exp2_test_data): Likewise.
109 (expm1_test_data): Likewise.
110 (fabs_test_data): Likewise.
111 (fdim_test_data): Likewise.
112 (finite_test_data): Likewise.
113 (floor_test_data): Likewise.
114 (fma_test_data): Likewise.
115 (fma_towardzero_test_data): Likewise.
116 (fma_downward_test_data): Likewise.
117 (fma_upward_test_data): Likewise.
118 (fmax_test_data): Likewise.
119 (fmin_test_data): Likewise.
120 (fmod_test_data): Likewise.
121 (fpclassify_test_data): Likewise.
122 (frexp_test_data): Likewise.
123 (gamma_test_data): Likewise.
124 (hypot_test_data): Likewise.
125 (ilogb_test_data): Likewise.
126 (isfinite_test_data): Likewise.
127 (isgreater_test_data): Likewise.
128 (isgreaterequal_test_data): Likewise.
129 (isinf_test_data): Likewise.
130 (isless_test_data): Likewise.
131 (islessequal_test_data): Likewise.
132 (islessgreater_test_data): Likewise.
133 (isnan_test_data): Likewise.
134 (isnormal_test_data): Likewise.
135 (issignaling_test_data): Likewise.
136 (isunordered_test_data): Likewise.
137 (j0_test_data): Likewise.
138 (j1_test_data): Likewise.
139 (jn_test_data): Likewise.
140 (ldexp_test_data): Likewise.
141 (lgamma_test_data): Likewise.
142 (lrint_test_data): Likewise.
143 (lrint_tonearest_test_data): Likewise.
144 (lrint_towardzero_test_data): Likewise.
145 (lrint_downward_test_data): Likewise.
146 (lrint_upward_test_data): Likewise.
147 (llrint_test_data): Likewise.
148 (llrint_tonearest_test_data): Likewise.
149 (llrint_towardzero_test_data): Likewise.
150 (llrint_downward_test_data): Likewise.
151 (llrint_upward_test_data): Likewise.
152 (log_test_data): Likewise.
153 (log10_test_data): Likewise.
154 (log1p_test_data): Likewise.
155 (log2_test_data): Likewise.
156 (logb_test_data): Likewise.
157 (logb_downward_test_data): Likewise.
158 (lround_test_data): Likewise.
159 (llround_test_data): Likewise.
160 (modf_test_data): Likewise.
161 (nearbyint_test_data): Likewise.
162 (nextafter_test_data): Likewise.
163 (nexttoward_test_data): Likewise.
164 (pow_test_data): Likewise.
165 (pow_tonearest_test_data): Likewise.
166 (pow_towardzero_test_data): Likewise.
167 (pow_downward_test_data): Likewise.
168 (pow_upward_test_data): Likewise.
169 (remainder_test_data): Likewise.
170 (remainder_tonearest_test_data): Likewise.
171 (remainder_towardzero_test_data): Likewise.
172 (remainder_downward_test_data): Likewise.
173 (remainder_upward_test_data): Likewise.
174 (remquo_test_data): Likewise.
175 (rint_test_data): Likewise.
176 (rint_tonearest_test_data): Likewise.
177 (rint_towardzero_test_data): Likewise.
178 (rint_downward_test_data): Likewise.
179 (rint_upward_test_data): Likewise.
180 (round_test_data): Likewise.
181 (scalb_test_data): Likewise.
182 (scalbn_test_data): Likewise.
183 (scalbln_test_data): Likewise.
184 (signbit_test_data): Likewise.
185 (sin_test_data): Likewise.
186 (sin_tonearest_test_data): Likewise.
187 (sin_towardzero_test_data): Likewise.
188 (sin_downward_test_data): Likewise.
189 (sin_upward_test_data): Likewise.
190 (sincos_test_data): Likewise.
191 (sinh_test_data): Likewise.
192 (sinh_tonearest_test_data): Likewise.
193 (sinh_towardzero_test_data): Likewise.
194 (sinh_downward_test_data): Likewise.
195 (sinh_upward_test_data): Likewise.
196 (sqrt_test_data): Likewise.
197 (tan_test_data): Likewise.
198 (tan_tonearest_test_data): Likewise.
199 (tan_towardzero_test_data): Likewise.
200 (tan_downward_test_data): Likewise.
201 (tan_upward_test_data): Likewise.
202 (tanh_test_data): Likewise.
203 (tgamma_test_data): Likewise.
204 (trunc_test_data): Likewise.
205 (y0_test_data): Likewise.
206 (y1_test_data): Likewise.
207 (yn_test_data): Likewise.
208 (significand_test_data): Likewise.
209
210 * math/gen-libm-test.pl (@functions): Remove variable.
211 (generate_testfile): Don't handle START and END lines.
212 * math/libm-test.inc (START): New macro.
213 (END): Likewise.
214 (END_COMPLEX): Likewise.
215 (acos_test): Use END macro without arguments.
216 (acos_test_tonearest): Likewise.
217 (acos_test_towardzero): Likewise.
218 (acos_test_downward): Likewise.
219 (acos_test_upward): Likewise.
220 (acosh_test): Likewise.
221 (asin_test): Likewise.
222 (asin_test_tonearest): Likewise.
223 (asin_test_towardzero): Likewise.
224 (asin_test_downward): Likewise.
225 (asin_test_upward): Likewise.
226 (asinh_test): Likewise.
227 (atan_test): Likewise.
228 (atanh_test): Likewise.
229 (atan2_test): Likewise.
230 (cabs_test): Likewise.
231 (cacos_test): Use END_COMPLEX macro without arguments.
232 (cacosh_test): Likewise.
233 (carg_test): Use END macro without arguments.
234 (casin_test): Use END_COMPLEX macro without arguments.
235 (casinh_test): Likewise.
236 (catan_test): Likewise.
237 (catanh_test): Likewise.
238 (cbrt_test): Use END macro without arguments.
239 (ccos_test): Use END_COMPLEX macro without arguments.
240 (ccosh_test): Likewise.
241 (ceil_test): Use END macro without arguments.
242 (cexp_test): Use END_COMPLEX macro without arguments.
243 (cimag_test): Use END macro without arguments.
244 (clog_test): Use END_COMPLEX macro without arguments.
245 (clog10_test): Likewise.
246 (conj_test): Likewise.
247 (copysign_test): Use END macro without arguments.
248 (cos_test): Likewise.
249 (cos_test_tonearest): Likewise.
250 (cos_test_towardzero): Likewise.
251 (cos_test_downward): Likewise.
252 (cos_test_upward): Likewise.
253 (cosh_test): Likewise.
254 (cosh_test_tonearest): Likewise.
255 (cosh_test_towardzero): Likewise.
256 (cosh_test_downward): Likewise.
257 (cosh_test_upward): Likewise.
258 (cpow_test): Use END_COMPLEX macro without arguments.
259 (cproj_test): Likewise.
260 (creal_test): Use END macro without arguments.
261 (csin_test): Use END_COMPLEX macro without arguments.
262 (csinh_test): Likewise.
263 (csqrt_test): Likewise.
264 (ctan_test): Likewise.
265 (ctan_test_tonearest): Likewise.
266 (ctan_test_towardzero): Likewise.
267 (ctan_test_downward): Likewise.
268 (ctan_test_upward): Likewise.
269 (ctanh_test): Likewise.
270 (ctanh_test_tonearest): Likewise.
271 (ctanh_test_towardzero): Likewise.
272 (ctanh_test_downward): Likewise.
273 (ctanh_test_upward): Likewise.
274 (erf_test): Use END macro without arguments.
275 (erfc_test): Likewise.
276 (exp_test): Likewise.
277 (exp_test_tonearest): Likewise.
278 (exp_test_towardzero): Likewise.
279 (exp_test_downward): Likewise.
280 (exp_test_upward): Likewise.
281 (exp10_test): Likewise.
282 (exp2_test): Likewise.
283 (expm1_test): Likewise.
284 (fabs_test): Likewise.
285 (fdim_test): Likewise.
286 (finite_test): Likewise.
287 (floor_test): Likewise.
288 (fma_test): Likewise.
289 (fma_test_towardzero): Likewise.
290 (fma_test_downward): Likewise.
291 (fma_test_upward): Likewise.
292 (fmax_test): Likewise.
293 (fmin_test): Likewise.
294 (fmod_test): Likewise.
295 (fpclassify_test): Likewise.
296 (frexp_test): Likewise.
297 (gamma_test): Likewise.
298 (hypot_test): Likewise.
299 (ilogb_test): Likewise.
300 (isfinite_test): Likewise.
301 (isgreater_test): Likewise.
302 (isgreaterequal_test): Likewise.
303 (isinf_test): Likewise.
304 (isless_test): Likewise.
305 (islessequal_test): Likewise.
306 (islessgreater_test): Likewise.
307 (isnan_test): Likewise.
308 (isnormal_test): Likewise.
309 (issignaling_test): Likewise.
310 (isunordered_test): Likewise.
311 (j0_test): Likewise.
312 (j1_test): Likewise.
313 (jn_test): Likewise.
314 (ldexp_test): Likewise.
315 (lgamma_test): Likewise.
316 (lrint_test): Likewise.
317 (lrint_test_tonearest): Likewise.
318 (lrint_test_towardzero): Likewise.
319 (lrint_test_downward): Likewise.
320 (lrint_test_upward): Likewise.
321 (llrint_test): Likewise.
322 (llrint_test_tonearest): Likewise.
323 (llrint_test_towardzero): Likewise.
324 (llrint_test_downward): Likewise.
325 (llrint_test_upward): Likewise.
326 (log_test): Likewise.
327 (log10_test): Likewise.
328 (log1p_test): Likewise.
329 (log2_test): Likewise.
330 (logb_test): Likewise.
331 (logb_test_downward): Likewise.
332 (lround_test): Likewise.
333 (llround_test): Likewise.
334 (modf_test): Likewise.
335 (nearbyint_test): Likewise.
336 (nextafter_test): Likewise.
337 (nexttoward_test): Likewise.
338 (pow_test): Likewise.
339 (pow_test_tonearest): Likewise.
340 (pow_test_towardzero): Likewise.
341 (pow_test_downward): Likewise.
342 (pow_test_upward): Likewise.
343 (remainder_test): Likewise.
344 (remainder_test_tonearest): Likewise.
345 (remainder_test_towardzero): Likewise.
346 (remainder_test_downward): Likewise.
347 (remainder_test_upward): Likewise.
348 (remquo_test): Likewise.
349 (rint_test): Likewise.
350 (rint_test_tonearest): Likewise.
351 (rint_test_towardzero): Likewise.
352 (rint_test_downward): Likewise.
353 (rint_test_upward): Likewise.
354 (round_test): Likewise.
355 (scalb_test): Likewise.
356 (scalbn_test): Likewise.
357 (scalbln_test): Likewise.
358 (signbit_test): Likewise.
359 (sin_test): Likewise.
360 (sin_test_tonearest): Likewise.
361 (sin_test_towardzero): Likewise.
362 (sin_test_downward): Likewise.
363 (sin_test_upward): Likewise.
364 (sincos_test): Likewise.
365 (sinh_test): Likewise.
366 (sinh_test_tonearest): Likewise.
367 (sinh_test_towardzero): Likewise.
368 (sinh_test_downward): Likewise.
369 (sinh_test_upward): Likewise.
370 (sqrt_test): Likewise.
371 (tan_test): Likewise.
372 (tan_test_tonearest): Likewise.
373 (tan_test_towardzero): Likewise.
374 (tan_test_downward): Likewise.
375 (tan_test_upward): Likewise.
376 (tanh_test): Likewise.
377 (tgamma_test): Likewise.
378 (trunc_test): Likewise.
379 (y0_test): Likewise.
380 (y1_test): Likewise.
381 (yn_test): Likewise.
382 (significand_test): Likewise.
383
384 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
385
386 [BZ #15381]
387 * libio/genops.c (_IO_no_init): Initialize wide struct info.
388
389 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
390
391 [BZ #14894]
392 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
393 __ppc_mdoio and __ppc_mdoom.
394 * manual/platform.texi: Document new functions __ppc_yield,
395 __ppc_mdoio and __ppc_mdoom.
396
397 2013-05-22 Carlos O'Donell <carlos@redhat.com>
398
399 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
400 (main): Mention "tls" pseudo-hwcap is legacy.
401 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
402
403 2013-05-22 Joseph Myers <joseph@codesourcery.com>
404
405 * math/gen-libm-test.pl (parse_args): Output only string of
406 arguments as text for test name, not full call or descriptions of
407 tests for extra outputs.
408 (generate_testfile): Do not pass function name to parse_args.
409 Generate this_func variable from START.
410 * math/libm-test.inc (struct test_f_f_data): Rename test_name
411 field to arg_str.
412 (struct test_ff_f_data): Likewise.
413 (test_ff_f_data_nexttoward): Likewise.
414 (struct test_fi_f_data): Likewise.
415 (struct test_fl_f_data): Likewise.
416 (struct test_if_f_data): Likewise.
417 (struct test_fff_f_data): Likewise.
418 (struct test_c_f_data): Likewise.
419 (struct test_f_f1_data): Likewise. Remove field extra_name.
420 (struct test_fF_f1_data): Likewise.
421 (struct test_ffI_f1_data): Likewise.
422 (struct test_c_c_data): Rename test_name field to arg_str.
423 (struct test_cc_c_data): Likewise.
424 (struct test_f_i_data): Likewise.
425 (struct test_ff_i_data): Likewise.
426 (struct test_f_l_data): Likewise.
427 (struct test_f_L_data): Likewise.
428 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
429 and extra2_name.
430 (COMMON_TEST_SETUP): New macro.
431 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
432 (COMMON_TEST_CLEANUP): Likewise.
433 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
434 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
435 macros.
436 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
437 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
438 macros.
439 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
440 (RUN_TEST_fff_f): Take argument string. Call new setup and
441 cleanup macros.
442 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
443 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
444 macros.
445 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
446 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
447 macros.
448 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
449 (RUN_TEST_fF_f1): Take argument string. Call new setup and
450 cleanup macros.
451 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
452 (RUN_TEST_fI_f1): Take argument string. Call new setup and
453 cleanup macros.
454 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
455 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
456 cleanup macros.
457 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
458 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
459 macros.
460 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
461 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
462 macros.
463 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
464 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
465 macros.
466 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
467 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
468 cleanup macros.
469 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
470 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
471 cleanup macros.
472 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
473 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
474 macros.
475 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
476 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
477 cleanup macros.
478 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
479 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
480 macros.
481 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
482 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
483 macros.
484 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
485 (RUN_TEST_fFF_11): Take argument string. Call new setup and
486 cleanup macros.
487 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
488
489 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
490
491 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
492 to _sifields.sigfault.
493 (si_addr_lsb): Define new macro.
494 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
495 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
496 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
497
498 2013-05-03 Carlos O'Donell <carlos at redhat.com>
499
500 [BZ #15441]
501 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
502 returns -1.
503 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
504 null return -1.
505 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
506 loading the domain.
507
508 2013-05-22 Joseph Myers <joseph@codesourcery.com>
509
510 * math/gen-libm-test.pl (parse_args): Do not include expected
511 result in test name.
512 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
513 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
514 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
515 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
516 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
518
519 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
520
521 * benchtests/Makefile: Sort function entries.
522
523 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
524 tanh, asinh, acosh, atanh.
525 * benchtests/acos-inputs: New file.
526 * benchtests/acosh-inputs: New file.
527 * benchtests/asin-inputs: New file.
528 * benchtests/asinh-inputs: New file.
529 * benchtests/atanh-inputs: New file.
530 * benchtests/cosh-inputs: New file.
531 * benchtests/log-inputs: New file.
532 * benchtests/sinh-inputs: New file.
533 * benchtests/tanh-inputs: New file.
534
535 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
536
537 [BZ #15339]
538 * posix/tst-getaddrinfo4.c: New test.
539 * posix/Makefile (tests): Add it.
540
541 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
542
543 [BZ #15339]
544 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
545 when no services were used.
546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
547 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
548
549 2013-05-21 Andreas Schwab <schwab@suse.de>
550
551 [BZ #15014]
552 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
553 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
554 successful.
555 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
556 redundant variable declarations and reallocation of buffer when
557 parsing as IPv6 address. Always set NSS status when called from
558 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
559 buffer too small. Correct computation of needed size.
560 * nss/Makefile (tests): Add test-digits-dots.
561 * nss/test-digits-dots.c: New test.
562
563 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
564
565 * benchtests/Makefile: Remove instructions for adding
566 benchmark tests.
567 * benchtests/README: New file to explain how to execute and
568 enhance the benchmark tests.
569
570 2013-05-21 Andreas Schwab <schwab@suse.de>
571
572 [BZ #15493]
573 * setjmp/Makefile (tests): Add tst-sigsetjmp.
574 * setjmp/tst-sigsetjmp.c: New test.
575
576 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
577
578 * sysdeps/x86_64/memset.S (memset): New implementation.
579 (__bzero): Likewise.
580 (__memset_tail): New function.
581
582 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
583
584 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
585 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
586 __memcpy_sse2_unaligned ifunc selection.
587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
588 Add memcpy-sse2-unaligned.S.
589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
590 Add: __memcpy_sse2_unaligned.
591
592 2013-05-19 Joseph Myers <joseph@codesourcery.com>
593
594 [BZ #15490]
595 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
596 math_force_eval before restoring floating-point envrionment.
597 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
599 Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
601 <math_private.h>.
602 (__nearbyintl): Use math_force_eval before restoring
603 floating-point environment.
604 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
605
606 * math/gen-libm-test.pl (special_functions): Remove.
607 (parse_args): Don't handle TEST_extra. Handle functions with no
608 return value.
609 * math/libm-test.inc (struct test_sincos_data): Replace with
610 struct test_fFF_11_data.
611 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
612 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
613 (sincos_test_data): Change element type to struct
614 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
615 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
616 RUN_TEST_LOOP_sincos.
617 * math/README.libm-test: Don't mention special handling of
618 individual functions.
619 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
621 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
622 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
623 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
625
626 * math/gen-libm-test.pl (get_variable): Remove function.
627 (parse_args): Don't show pointer parameters to call in test
628 names. Use "extra output N" in test names for extra outputs
629 rather than naming variables.
630
631 2013-05-18 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #15488]
634 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
635 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
636 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
637 double tests.
638 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
639 disable.
640 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
641 check_long_double.
642
643 * math/gen-libm-test.pl (@tests): Remove variable.
644 ($count): Likewise.
645 (new_test): Remove function.
646 (show_exceptions): New function.
647 (special_functions): Use show_exceptions instead of new_test.
648 (parse_args): Likewise.
649 (generate_testfile): Pass only function name in generated call to
650 print_max_error or print_complex_max_error.
651 (get_ulps): Do not handle complex tests specially.
652 (output_test): Rename to ...
653 (get_all_ulps_for_test): ... this. Return a string rather than
654 printing to a file. Require ulps to be present.
655 (output_ulps): Generate arrays rather than #defines.
656 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
657 (struct ulp_data): New type.
658 (BUILD_COMPLEX_ULP): Remove macro.
659 (compare_ulp_data): New function.
660 (find_ulps): Likewise.
661 (find_test_ulps): Likewise.
662 (find_function_ulps): Likewise.
663 (find_complex_function_ulps): Likewise.
664 (print_max_error): Determine allowed ulps using
665 find_function_ulps.
666 (print_complex_max_error): Determine allowed ulps using
667 find_complex_function_ulps.
668 (check_float_internal): Determine max ulps using find_test_ulps.
669 (check_float): Do not take max_ulp parameter. Update call to
670 check_float_internal.
671 (check_complex): Likewise.
672 (check_int): Do not take max_ulp parameter.
673 (check_long): Likewise.
674 (check_bool): Likewise.
675 (check_longlong): Likewise.
676 (struct test_f_f_data): Remove max_ulp field.
677 (struct test_ff_f_data): Likewise.
678 (struct test_ff_f_data_nexttoward): Likewise.
679 (struct test_fi_f_data): Likewise.
680 (struct test_fl_f_data): Likewise.
681 (struct test_if_f_data): Likewise.
682 (struct test_fff_f_data): Likewise.
683 (struct test_c_f_data): Likewise.
684 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
685 (struct test_fF_f1_data): Likewise.
686 (struct test_ffI_f1_data): Likewise.
687 (struct test_c_c_data): Remove max_ulp field.
688 (struct test_cc_c_data): Likewise.
689 (struct test_f_i_data): Likewise.
690 (struct test_ff_i_data): Likewise.
691 (struct test_f_l_data): Likewise.
692 (struct test_f_L_data): Likewise.
693 (struct test_sincos_data): Likewise.
694 (RUN_TEST_f_f): Do not handle ulps.
695 (RUN_TEST_LOOP_f_f): Likewise.
696 (RUN_TEST_2_f): Likewise.
697 (RUN_TEST_LOOP_2_f): Likewise.
698 (RUN_TEST_fff_f): Likewise.
699 (RUN_TEST_LOOP_fff_f): Likewise.
700 (RUN_TEST_c_f): Likewise.
701 (RUN_TEST_LOOP_c_f): Likewise.
702 (RUN_TEST_f_f1): Likewise.
703 (RUN_TEST_LOOP_f_f1): Likewise.
704 (RUN_TEST_fF_f1): Likewise.
705 (RUN_TEST_LOOP_fF_f1): Likewise.
706 (RUN_TEST_fI_f1): Likewise.
707 (RUN_TEST_LOOP_fI_f1): Likewise.
708 (RUN_TEST_ffI_f1): Likewise.
709 (RUN_TEST_LOOP_ffI_f1): Likewise.
710 (RUN_TEST_c_c): Likewise.
711 (RUN_TEST_LOOP_c_c): Likewise.
712 (RUN_TEST_cc_c): Likewise.
713 (RUN_TEST_LOOP_cc_c): Likewise.
714 (RUN_TEST_f_i): Likewise.
715 (RUN_TEST_LOOP_f_i): Likewise.
716 (RUN_TEST_f_i_tg): Likewise.
717 (RUN_TEST_LOOP_f_i_tg): Likewise.
718 (RUN_TEST_ff_i_tg): Likewise.
719 (RUN_TEST_LOOP_ff_i_tg): Likewise.
720 (RUN_TEST_f_b): Likewise.
721 (RUN_TEST_LOOP_f_b): Likewise.
722 (RUN_TEST_f_b_tg): Likewise.
723 (RUN_TEST_LOOP_f_b_tg): Likewise.
724 (RUN_TEST_f_l): Likewise.
725 (RUN_TEST_LOOP_f_l): Likewise.
726 (RUN_TEST_f_L): Likewise.
727 (RUN_TEST_LOOP_f_L): Likewise.
728 (RUN_TEST_sincos): Likewise.
729 (RUN_TEST_LOOP_sincos): Likewise.
730
731 2013-05-17 Joseph Myers <joseph@codesourcery.com>
732
733 [BZ #15480]
734 [BZ #15485]
735 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
736 main case of finite arguments, set rounding mode to FE_TONEAREST
737 and discard exceptions.
738 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
739 exceptions.
740 (remainder_tonearest_test_data): New variable.
741 (remainder_test_tonearest): New function.
742 (remainder_towardzero_test_data): New variable.
743 (remainder_test_towardzero): New function.
744 (remainder_downward_test_data): New variable.
745 (remainder_test_downward): New function.
746 (remainder_upward_test_data): New variable.
747 (remainder_test_upward): New function.
748 (main): Call the new test functions.
749
750 * math/libm-test.inc (struct test_f_f1_data): Remove field
751 extra_init.
752 (struct test_fF_f1_data): Likewise.
753 (struct test_ffI_f1_data): Likewise.
754 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
755 based on value of EXTRA_EXPECTED.
756 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
757 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
758 EXTRA_VAR based on value of EXTRA_EXPECTED.
759 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
760 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
761 EXTRA_VAR based on value of EXTRA_EXPECTED.
762 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
763 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
764 EXTRA_VAR based on value of EXTRA_EXPECTED.
765 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
766 * math/gen-libm-test.pl (parse_args): Don't output initializers
767 for extra output values.
768
769 * math/libm-test.inc (check_int): Expect result to be exactly
770 equal to expected value and do not handle ulps.
771 (check_long): Likewise.
772 (check_longlong): Likewise.
773
774 * math/libm-test.inc (ceil_test_data): Test for "inexact"
775 exceptions.
776 (cimag_test_data): Likewise.
777 (conj_test_data): Likewise.
778 (copysign_test_data): Likewise.
779 (cproj_test_data): Likewise.
780 (creal_test_data): Likewise.
781 (fabs_test_data): Likewise.
782 (fdim_test_data): Likewise.
783 (finite_test_data): Likewise.
784 (floor_test_data): Likewise.
785 (fmax_test_data): Likewise.
786 (fmin_test_data): Likewise.
787 (fmod_test_data): Likewise.
788 (fpclassify_test_data): Likewise.
789 (frexp_test_data): Likewise.
790 (ilogb_test_data): Likewise.
791 (isfinite_test_data): Likewise.
792 (isgreater_test_data): Likewise.
793 (isgreaterequal_test_data): Likewise.
794 (isinf_test_data): Likewise.
795 (isless_test_data): Likewise.
796 (islessequal_test_data): Likewise.
797 (islessgreater_test_data): Likewise.
798 (isnan_test_data): Likewise.
799 (isnormal_test_data): Likewise.
800 (issignaling_test_data): Likewise.
801 (isunordered_test_data): Likewise.
802 (ldexp_test_data): Likewise.
803 (lrint_test_data): Likewise.
804 (lrint_test_data) [TEST_FLOAT]: Disable one test.
805 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
806 (lrint_tonearest_test_data): Test for "inexact" exceptions.
807 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
808 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
809 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
810 test input.
811 (lrint_towardzero_test_data): Test for "inexact" exceptions.
812 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
813 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
814 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
815 that test input.
816 (lrint_downward_test_data): Test for "inexact" exceptions.
817 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
818 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
819 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
820 test input.
821 (lrint_upward_test_data): Test for "inexact" exceptions.
822 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
823 test input.
824 (llrint_test_data): Test for "inexact" exceptions.
825 (llrint_test_data) [TEST_FLOAT]: Disable one test.
826 (llrint_tonearest_test_data): Test for "inexact" exceptions.
827 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
828 (llrint_towardzero_test_data): Test for "inexact" exceptions.
829 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
830 (llrint_downward_test_data): Test for "inexact" exceptions.
831 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
832 (llrint_upward_test_data): Test for "inexact" exceptions.
833 (logb_test_data): Likewise.
834 (logb_downward_test_data): Likewise.
835 (nextafter_test_data): Likewise.
836 (nexttoward_test_data): Likewise.
837 (remainder_test_data): Likewise.
838 (remquo_test_data): Likewise.
839 (scalbn_test_data): Likewise.
840 (scalbln_test_data): Likewise.
841 (signbit_test_data): Likewise.
842 (sqrt_test_data): Likewise.
843 (significand_test_data): Likewise.
844
845 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
846
847 [BZ #15424]
848 * benchtests/bench-modf.c (struct args): Mark arg0 as
849 volatile.
850 * scripts/bench.pl: Mark members of struct args as volatile.
851
852 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853
854 [BZ # 15497]
855 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
856 negative infinity on POWER6 or lower.
857 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
858
859 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
860
861 [BZ #15442]
862 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
863 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
864 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
865 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
866 (_FP_SETQNAN): New macro.
867 (_FP_SETQNAN_SEMIRAW): Likewise.
868 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
869 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
870 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
871 (FP_EXTEND): Use _FP_FRAC_SNANP.
872 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
873 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
874 into account.
875 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
876 New macro.
877 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
878 Likewise.
879
880 2013-05-16 Joseph Myers <joseph@codesourcery.com>
881
882 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
883 with DIVIDE_BY_ZERO_EXCEPTION.
884 (gamma_test_data): Likewise.
885 (lgamma_test_data): Likewise.
886 (log_test_data): Likewise.
887 (log10_test_data): Likewise.
888 (log2_test_data): Likewise.
889 (tgamma_test_data): Likewise.
890
891 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
892 (acos_test_tonearest): Likewise.
893 (acos_test_towardzero): Likewise.
894 (acos_test_downward): Likewise.
895 (acos_test_upward): Likewise.
896 (acosh_test): Likewise.
897 (asin_test): Likewise.
898 (asin_test_tonearest): Likewise.
899 (asin_test_towardzero): Likewise.
900 (asin_test_downward): Likewise.
901 (asin_test_upward): Likewise.
902 (asinh_test): Likewise.
903 (atan_test): Likewise.
904 (atanh_test): Likewise.
905 (atan2_test): Likewise.
906 (cabs_test): Likewise.
907 (cacos_test): Likewise.
908 (cacosh_test): Likewise.
909 (casin_test): Likewise.
910 (casinh_test): Likewise.
911 (catan_test): Likewise.
912 (catanh_test): Likewise.
913 (cbrt_test): Likewise.
914 (ccos_test): Likewise.
915 (ccosh_test): Likewise.
916 (cexp_test): Likewise.
917 (clog_test): Likewise.
918 (clog10_test): Likewise.
919 (cos_test): Likewise.
920 (cos_test_tonearest): Likewise.
921 (cos_test_towardzero): Likewise.
922 (cos_test_downward): Likewise.
923 (cos_test_upward): Likewise.
924 (cosh_test): Likewise.
925 (cosh_test_tonearest): Likewise.
926 (cosh_test_towardzero): Likewise.
927 (cosh_test_downward): Likewise.
928 (cosh_test_upward): Likewise.
929 (cpow_test): Likewise.
930 (csin_test): Likewise.
931 (csinh_test): Likewise.
932 (csqrt_test): Likewise.
933 (ctan_test): Likewise.
934 (ctan_test_tonearest): Likewise.
935 (ctan_test_towardzero): Likewise.
936 (ctan_test_downward): Likewise.
937 (ctan_test_upward): Likewise.
938 (ctanh_test): Likewise.
939 (ctanh_test_tonearest): Likewise.
940 (ctanh_test_towardzero): Likewise.
941 (ctanh_test_downward): Likewise.
942 (ctanh_test_upward): Likewise.
943 (erf_test): Likewise.
944 (erfc_test): Likewise.
945 (exp_test): Likewise.
946 (exp_test_tonearest): Likewise.
947 (exp_test_towardzero): Likewise.
948 (exp_test_downward): Likewise.
949 (exp_test_upward): Likewise.
950 (exp10_test): Likewise.
951 (exp2_test): Likewise.
952 (expm1_test): Likewise.
953 (fmod_test): Likewise.
954 (gamma_test): Likewise.
955 (hypot_test): Likewise.
956 (j0_test): Likewise.
957 (j1_test): Likewise.
958 (jn_test): Likewise.
959 (lgamma_test): Likewise.
960 (log_test): Likewise.
961 (log10_test): Likewise.
962 (log1p_test): Likewise.
963 (log2_test): Likewise.
964 (logb_test_downward): Likewise.
965 (pow_test): Likewise.
966 (pow_test_tonearest): Likewise.
967 (pow_test_towardzero): Likewise.
968 (pow_test_downward): Likewise.
969 (pow_test_upward): Likewise.
970 (remainder_test): Likewise.
971 (remquo_test): Likewise.
972 (sin_test): Likewise.
973 (sin_test_tonearest): Likewise.
974 (sin_test_towardzero): Likewise.
975 (sin_test_downward): Likewise.
976 (sin_test_upward): Likewise.
977 (sincos_test): Likewise.
978 (sinh_test): Likewise.
979 (sinh_test_tonearest): Likewise.
980 (sinh_test_towardzero): Likewise.
981 (sinh_test_downward): Likewise.
982 (sinh_test_upward): Likewise.
983 (sqrt_test): Likewise.
984 (tan_test): Likewise.
985 (tan_test_tonearest): Likewise.
986 (tan_test_towardzero): Likewise.
987 (tan_test_downward): Likewise.
988 (tan_test_upward): Likewise.
989 (tanh_test): Likewise.
990 (tgamma_test): Likewise.
991 (y0_test): Likewise.
992 (y1_test): Likewise.
993 (yn_test): Likewise.
994
995 * math/gen-libm-test.pl (adjust_arg): Remove function.
996 (special_function): Remove argument $in_func. Only handle
997 generating output for tables of tests, not inside functions.
998 (parse_args): Likewise.
999 (generate_testfile): Remove variable $in_func. Update call to
1000 parse_args.
1001 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1002 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1003 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1004 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1005 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1006 (MAX_VALUE_INIT): Rename macro to max_value.
1007 (MIN_VALUE_INIT): Rename macro to min_value.
1008 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1009 (plus_zero): Remove variable.
1010 (minus_zero): Likewise.
1011 (plus_infty): Likewise.
1012 (minus_infty): Likewise.
1013 (qnan_value): Likewise.
1014 (max_value): Likewise.
1015 (min_value): Likewise.
1016 (min_subnorm_value): Likewise.
1017
1018 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1019
1020 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1021 uint64_t or uint32_t usage.
1022 * crypt/sha256-block.c: Likewise.
1023 * crypt/sha256-crypt.c: Likewise.
1024 * crypt/sha256.c: Likewise.
1025 * crypt/sha512-block.c: Likewise.
1026 * crypt/sha512-crypt.c: Likewise.
1027 * crypt/sha512.c: Likewise.
1028 * debug/backtrace-tst.c: Likewise.
1029 * debug/pcprofiledump.c: Likewise.
1030 * elf/cache.c: Likewise.
1031 * elf/dl-cache.c: Likewise.
1032 * elf/dl-misc.c: Likewise.
1033 * elf/dl-profile.c: Likewise.
1034 * elf/dl-support.c: Likewise.
1035 * elf/ldconfig.c: Likewise.
1036 * elf/sprof.c: Likewise.
1037 * iconv/dummy-repertoire.c: Likewise.
1038 * iconv/iconv_charmap.c: Likewise.
1039 * iconv/skeleton.c: Likewise.
1040 * iconvdata/8bit-generic.c: Likewise.
1041 * iconvdata/cp737.h: Likewise.
1042 * iconvdata/cp775.h: Likewise.
1043 * iconvdata/ibm1008.h: Likewise.
1044 * iconvdata/ibm1025.h: Likewise.
1045 * iconvdata/ibm1046.h: Likewise.
1046 * iconvdata/ibm1097.h: Likewise.
1047 * iconvdata/ibm1112.h: Likewise.
1048 * iconvdata/ibm1122.h: Likewise.
1049 * iconvdata/ibm1123.h: Likewise.
1050 * iconvdata/ibm1124.h: Likewise.
1051 * iconvdata/ibm1129.h: Likewise.
1052 * iconvdata/ibm1130.h: Likewise.
1053 * iconvdata/ibm1132.h: Likewise.
1054 * iconvdata/ibm1133.h: Likewise.
1055 * iconvdata/ibm1137.h: Likewise.
1056 * iconvdata/ibm1140.h: Likewise.
1057 * iconvdata/ibm1141.h: Likewise.
1058 * iconvdata/ibm1142.h: Likewise.
1059 * iconvdata/ibm1143.h: Likewise.
1060 * iconvdata/ibm1144.h: Likewise.
1061 * iconvdata/ibm1145.h: Likewise.
1062 * iconvdata/ibm1146.h: Likewise.
1063 * iconvdata/ibm1147.h: Likewise.
1064 * iconvdata/ibm1148.h: Likewise.
1065 * iconvdata/ibm1149.h: Likewise.
1066 * iconvdata/ibm1153.h: Likewise.
1067 * iconvdata/ibm1154.h: Likewise.
1068 * iconvdata/ibm1155.h: Likewise.
1069 * iconvdata/ibm1156.h: Likewise.
1070 * iconvdata/ibm1157.h: Likewise.
1071 * iconvdata/ibm1158.h: Likewise.
1072 * iconvdata/ibm1160.h: Likewise.
1073 * iconvdata/ibm1161.h: Likewise.
1074 * iconvdata/ibm1162.h: Likewise.
1075 * iconvdata/ibm1163.h: Likewise.
1076 * iconvdata/ibm1164.h: Likewise.
1077 * iconvdata/ibm1166.h: Likewise.
1078 * iconvdata/ibm1167.h: Likewise.
1079 * iconvdata/ibm12712.h: Likewise.
1080 * iconvdata/ibm1390.h: Likewise.
1081 * iconvdata/ibm1399.h: Likewise.
1082 * iconvdata/ibm16804.h: Likewise.
1083 * iconvdata/ibm4517.h: Likewise.
1084 * iconvdata/ibm4899.h: Likewise.
1085 * iconvdata/ibm4909.h: Likewise.
1086 * iconvdata/ibm4971.h: Likewise.
1087 * iconvdata/ibm5347.h: Likewise.
1088 * iconvdata/ibm803.h: Likewise.
1089 * iconvdata/ibm856.h: Likewise.
1090 * iconvdata/ibm901.h: Likewise.
1091 * iconvdata/ibm902.h: Likewise.
1092 * iconvdata/ibm9030.h: Likewise.
1093 * iconvdata/ibm9066.h: Likewise.
1094 * iconvdata/ibm921.h: Likewise.
1095 * iconvdata/ibm922.h: Likewise.
1096 * iconvdata/ibm9448.h: Likewise.
1097 * iconvdata/isiri-3342.h: Likewise.
1098 * iconvdata/jis0201.h: Likewise.
1099 * include/link.h: Likewise.
1100 * include/netdb.h: Likewise.
1101 * inet/check_native.c: Likewise.
1102 * inet/check_pf.c: Likewise.
1103 * inet/getipv4sourcefilter.c: Likewise.
1104 * inet/getnameinfo.c: Likewise.
1105 * inet/getsourcefilter.c: Likewise.
1106 * inet/htonl.c: Likewise.
1107 * inet/setipv4sourcefilter.c: Likewise.
1108 * inet/setsourcefilter.c: Likewise.
1109 * inet/test-inet6_opt.c: Likewise.
1110 * inet/tst-network.c: Likewise.
1111 * locale/C-collate.c: Likewise.
1112 * locale/C-ctype.c: Likewise.
1113 * locale/C-time.c: Likewise.
1114 * locale/C-translit.h: Likewise.
1115 * locale/loadarchive.c: Likewise.
1116 * locale/programs/3level.h: Likewise.
1117 * locale/programs/charmap.c: Likewise.
1118 * locale/programs/charmap.h: Likewise.
1119 * locale/programs/ld-address.c: Likewise.
1120 * locale/programs/ld-collate.c: Likewise.
1121 * locale/programs/ld-ctype.c: Likewise.
1122 * locale/programs/ld-identification.c: Likewise.
1123 * locale/programs/ld-measurement.c: Likewise.
1124 * locale/programs/ld-messages.c: Likewise.
1125 * locale/programs/ld-monetary.c: Likewise.
1126 * locale/programs/ld-name.c: Likewise.
1127 * locale/programs/ld-numeric.c: Likewise.
1128 * locale/programs/ld-paper.c: Likewise.
1129 * locale/programs/ld-telephone.c: Likewise.
1130 * locale/programs/ld-time.c: Likewise.
1131 * locale/programs/linereader.c: Likewise.
1132 * locale/programs/locale.c: Likewise.
1133 * locale/programs/locarchive.c: Likewise.
1134 * locale/programs/locfile.h: Likewise.
1135 * locale/programs/repertoire.c: Likewise.
1136 * locale/programs/simple-hash.c: Likewise.
1137 * locale/programs/simple-hash.h: Likewise.
1138 * malloc/memusage.c: Likewise.
1139 * malloc/memusagestat.c: Likewise.
1140 * nis/nis_defaults.c: Likewise.
1141 * nis/nis_hash.c: Likewise.
1142 * nis/nis_print.c: Likewise.
1143 * nis/nis_xdr.c: Likewise.
1144 * nscd/connections.c: Likewise.
1145 * nscd/hstcache.c: Likewise.
1146 * nscd/nscd_gethst_r.c: Likewise.
1147 * nscd/nscd_getserv_r.c: Likewise.
1148 * nscd/nscd_helper.c: Likewise.
1149 * nscd/servicescache.c: Likewise.
1150 * nss/makedb.c: Likewise.
1151 * nss/nss_db/db-XXX.c: Likewise.
1152 * nss/nss_db/db-initgroups.c: Likewise.
1153 * nss/nss_db/db-netgrp.c: Likewise.
1154 * nss/nss_files/files-network.c: Likewise.
1155 * nss/nss_files/files-parse.c: Likewise.
1156 * posix/bug-regex5.c: Likewise.
1157 * posix/fnmatch_loop.c: Likewise.
1158 * posix/regcomp.c: Likewise.
1159 * posix/regexec.c: Likewise.
1160 * posix/tst-rfc3484-2.c: Likewise.
1161 * posix/tst-rfc3484-3.c: Likewise.
1162 * posix/tst-rfc3484.c: Likewise.
1163 * resolv/nss_dns/dns-canon.c: Likewise.
1164 * resolv/nss_dns/dns-network.c: Likewise.
1165 * resolv/res_init.c: Likewise.
1166 * resolv/res_mkquery.c: Likewise.
1167 * resolv/tst-aton.c: Likewise.
1168 * stdlib/cxa_atexit.c: Likewise.
1169 * stdlib/cxa_finalize.c: Likewise.
1170 * stdlib/gen-fpioconst.c: Likewise.
1171 * stdlib/strtol_l.c: Likewise.
1172 * string/tst-endian.c: Likewise.
1173 * sunrpc/auth_des.c: Likewise.
1174 * sunrpc/clnt_udp.c: Likewise.
1175 * sunrpc/rtime.c: Likewise.
1176 * sunrpc/svcauth_des.c: Likewise.
1177 * sunrpc/xdr.c: Likewise.
1178 * sunrpc/xdr_intXX_t.c: Likewise.
1179 * sunrpc/xdr_rec.c: Likewise.
1180 * sysdeps/generic/ldconfig.h: Likewise.
1181 * sysdeps/generic/ldsodefs.h: Likewise.
1182 * sysdeps/generic/memusage.h: Likewise.
1183 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1185 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1189 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1190 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1193 * sysdeps/posix/getaddrinfo.c: Likewise.
1194 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1195 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1196 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1197 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1198 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1199 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1200 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1201 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1202 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1203 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1204 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1205 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1206 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1207 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1209 * sysdeps/x86_64/dl-tls.h: Likewise.
1210 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1211 * time/alt_digit.c: Likewise.
1212 * time/era.c: Likewise.
1213 * wcsmbs/tst-c16c32-1.c: Likewise.
1214
1215 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1216
1217 * math/libm-test.inc (struct test_sincos_data): New type.
1218 (RUN_TEST_LOOP_sincos): New macro.
1219 (sincos_test_data): New variable.
1220 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1221
1222 2013-05-16 Richard Henderson <rth@redhat.com>
1223
1224 * math/atest-exp2.c (LIMB64): New macro.
1225 (CONSTSZ): New macro.
1226 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1227 (hexdig): Move ...
1228 (print_mpn_fp): ... to function scope.
1229 (read_mpn_hex): Remove.
1230 (get_log2): Remove.
1231 (exp2_mpn): Use mp_log2.
1232 (main): Use mp_exp1.
1233
1234 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1235
1236 * math/libm-test.inc: Remove comment about not testing "inexact"
1237 exceptions.
1238 (INEXACT_EXCEPTION): New macro.
1239 (NO_INEXACT_EXCEPTION): Likewise.
1240 (INVALID_EXCEPTION_OK): Update value.
1241 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1242 (OVERFLOW_EXCEPTION_OK): Likewise.
1243 (UNDERFLOW_EXCEPTION_OK): Likewise.
1244 (IGNORE_ZERO_INF_SIGN): Likewise.
1245 (ERRNO_UNCHANGED): Likewise.
1246 (ERRNO_EDOM): Likewise.
1247 (ERRNO_ERANGE): Likewise.
1248 (test_exceptions): Handle testing "inexact" exceptions.
1249 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1250 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1251 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1252 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1253 INEXACT_EXCEPTION.
1254 (rint_towardzero_test_data): Likewise.
1255 (rint_downward_test_data): Likewise.
1256 (rint_upward_test_data): Likewise.
1257
1258 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1259 with OVERFLOW_EXCEPTION.
1260 (exp10_test_data): Likewise.
1261 (exp2_test_data): Likewise.
1262 (expm1_test_data): Likewise.
1263 (lgamma_test_data): Likewise.
1264 (pow_test_data): Likewise.
1265 (tgamma_test_data): Likewise.
1266 (yn_test_data): Remove duplicate test of overflow.
1267
1268 * math/libm-test.inc (struct test_cc_c_data): New type.
1269 (RUN_TEST_LOOP_cc_c): New macro.
1270 (cpow_test_data): New variable.
1271 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1272
1273 * math/libm-test.inc (struct test_f_L_data): New type.
1274 (RUN_TEST_LOOP_f_L): New macro.
1275 (llrint_test_data): New variable.
1276 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1277 (llrint_tonearest_test_data): New variable.
1278 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1279 (llrint_towardzero_test_data): New variable.
1280 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1281 (llrint_downward_test_data): New variable.
1282 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1283 (llrint_upward_test_data): New variable.
1284 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1285 (llround_test_data): New variable.
1286 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1287
1288 2013-05-13 Peter Collingbourne <pcc@google.com>
1289
1290 * math/atest-exp2.c (get_log2): Remove const attribute.
1291
1292 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1293
1294 * math/libm-test.inc (struct test_f_l_data): New type.
1295 (RUN_TEST_LOOP_f_l): New macro.
1296 (lrint_test_data): New variable.
1297 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1298 (lrint_tonearest_test_data): New variable.
1299 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1300 (lrint_towardzero_test_data): New variable.
1301 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1302 (lrint_downward_test_data): New variable.
1303 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1304 (lrint_upward_test_data): New variable.
1305 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1306 (lround_test_data): New variable.
1307 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1308
1309 2013-05-15 Peter Collingbourne <pcc@google.com>
1310
1311 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1312 (EXTRACT_WORDS64) Use where appropriate.
1313 (INSERT_WORDS64) Likewise.
1314
1315 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1316 constraints with x constraints.
1317 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1318
1319 * malloc/obstack.c (_obstack_compat): Add initializer.
1320
1321 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1322
1323 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1324 si_trapno and add si_addr_lsb to _sifields.sigfault.
1325 (si_trapno): Remove macro.
1326 (si_addr_lsb): Define new macro.
1327 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1328
1329 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1330
1331 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1332 instead of TEST_f_l.
1333 (llrint_test_tonearest): Likewise.
1334 (llrint_test_towardzero): Likewise.
1335 (llrint_test_downward): Likewise.
1336 (llrint_test_upward): Likewise.
1337 (llround_test): Likewise.
1338
1339 * math/libm-test.inc (struct test_f_i_data): Add comment.
1340 (RUN_TEST_LOOP_f_b): New macro.
1341 (RUN_TEST_LOOP_f_b_tg): Likewise.
1342 (finite_test_data): New variable.
1343 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1344 (isfinite_test_data): New variable.
1345 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1346 (isinf_test_data): New variable.
1347 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1348 (isnan_test_data): New variable.
1349 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1350 (isnormal_test_data): New variable.
1351 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1352 (issignaling_test_data): New variable.
1353 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1354 (signbit_test_data): New variable.
1355 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1356
1357 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1358 with INVALID_EXCEPTION.
1359 (acosh_test_data): Likewise.
1360 (asin_test_data): Likewise.
1361 (atanh_test_data): Likewise.
1362 (fmod_test_data): Likewise.
1363 (log_test_data): Likewise.
1364 (log10_test_data): Likewise.
1365 (log2_test_data): Likewise.
1366 (pow_test_data): Likewise.
1367 (sqrt_test_data): Likewise.
1368 (y0_test_data): Likewise.
1369 (y1_test_data): Likewise.
1370 (yn_test_data): Likewise.
1371
1372 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1373 function contents.
1374
1375 * math/libm-test.inc (struct test_ff_i_data): New type.
1376 (RUN_TEST_LOOP_ff_i_tg): New macro.
1377 (isgreater_test_data): New variable.
1378 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1379 (isgreaterequal_test_data): New variable.
1380 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1381 (isless_test_data): New variable.
1382 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1383 (islessequal_test_data): New variable.
1384 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1385 (islessgreater_test_data): New variable.
1386 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1387 (isunordered_test_data): New variable.
1388 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1389
1390 2013-05-14 David S. Miller <davem@davemloft.net>
1391
1392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1393
1394 2013-05-14 Joseph Myers <joseph@codesourcery.com>
1395
1396 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1397
1398 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1399 extra_test to int.
1400 (struct test_f_i_data): Change type of max_ulp to int.
1401
1402 * math/libm-test.inc (test_ffI_f1_data): New type.
1403 (RUN_TEST_LOOP_ffI_f1): New macro.
1404 (remquo_test_data): New variable.
1405 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1406
1407 * setjmp/tst-setjmp-fp.c: New file.
1408 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1409 (link-libm): New variable.
1410 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1411
1412 * math/libm-test.inc (struct test_f_i_data): New type.
1413 (RUN_TEST_LOOP_f_i): New macro.
1414 (RUN_TEST_LOOP_f_i_tg): Likewise.
1415 (fpclassify_test_data): New variable.
1416 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1417 (ilogb_test_data): New variable.
1418 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1419
1420 * math/libm-test.inc (scalbln_test): Correct function name in END
1421 call.
1422
1423 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1424 (RUN_TEST_LOOP_fI_f1): New macro.
1425 (frexp_test_data): New variable.
1426 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1427
1428 * math/libm-test.inc (struct test_fF_f1_data): New type.
1429 (RUN_TEST_LOOP_fF_f1): New macro.
1430 (modf_test_data): New variable.
1431 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1432
1433 * math/libm-test.inc (struct test_f_f1_data): New type.
1434 (RUN_TEST_LOOP_f_f1): New macro.
1435 (gamma_test_data): New variable.
1436 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1437 (lgamma_test_data): New variable.
1438 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1439
1440 2013-05-13 Carlos O'Donell <carlos@redhat.com>
1441
1442 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1443 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1444 (main): Comment "tls" pseudo-hwcap.
1445
1446 2013-05-13 Joseph Myers <joseph@codesourcery.com>
1447
1448 * math/libm-test.inc (struct test_fl_f_data): New type.
1449 (RUN_TEST_LOOP_fl_f): New variable.
1450 (scalbln_test_data): New variable.
1451 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1452
1453 * math/libm-test.inc (struct test_fi_f_data): New type.
1454 (RUN_TEST_LOOP_fi_f): New macro.
1455 (ldexp_test_data): New variable.
1456 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1457 (scalbn_test_data): New variable.
1458 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1459
1460 * math/libm-test.inc (struct test_c_f_data): New type.
1461 (RUN_TEST_LOOP_c_f): New macro.
1462 (cabs_test_data): New variable.
1463 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1464 (carg_test_data): New variable.
1465 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1466 (cimag_test_data): New variable.
1467 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1468 (creal_test_data): New variable.
1469 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1470
1471 * math/libm-test.inc (struct test_if_f_data): New type.
1472 (RUN_TEST_LOOP_if_f): New macro.
1473 (jn_test_data): New variable.
1474 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1475 (yn_test_data): New variable.
1476 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1477
1478 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1479
1480 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1483 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1484
1485 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1486
1487 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1488 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1489 (bench-deps): Add bench-timing.h.
1490 * benchtests-bench-skeleton.c: Include bench-timing.h.
1491 (main): Use TIMING_* macros instead of clock_gettime.
1492 * benchtests/bench-timing.h: New file.
1493
1494 [BZ #14582]
1495 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1496 Renamed from _LIB_VERSION.
1497 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1498
1499 2013-05-12 Joseph Myers <joseph@codesourcery.com>
1500
1501 * math/libm-test.inc (struct test_fff_f_data): New type.
1502 (RUN_TEST_LOOP_fff_f): New macro.
1503 (fma_test_data): New variable.
1504 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1505 (fma_towardzero_test_data): New variable.
1506 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1507 (fma_downward_test_data): New variable.
1508 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1509 (fma_upward_test_data): New variable.
1510 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1511
1512 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1513 (struct test_c_c_data): New type.
1514 (RUN_TEST_LOOP_c_c): New macro.
1515 (cacos_test_data): New variable.
1516 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1517 (cacosh_test_data): New variable.
1518 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1519 (casin_test_data): New variable.
1520 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1521 (casinh_test_data): New variable.
1522 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1523 (catan_test_data): New variable.
1524 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1525 (catanh_test_data): New variable.
1526 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1527 (ccos_test_data): New variable.
1528 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1529 (ccosh_test_data): New variable.
1530 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1531 (cexp_test_data): New variable.
1532 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1533 (clog_test_data): New variable.
1534 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1535 (clog10_test_data): New variable.
1536 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1537 (conj_test_data): New variable.
1538 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1539 (cproj_test_data): New variable.
1540 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1541 (csin_test_data): New variable.
1542 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1543 (csinh_test_data): New variable.
1544 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1545 (csqrt_test_data): New variable.
1546 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1547 (ctan_test_data): New variable.
1548 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1549 (ctan_tonearest_test_data): New variable.
1550 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1551 (ctan_towardzero_test_data): New variable.
1552 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1553 (ctan_downward_test_data): New variable.
1554 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1555 (ctan_upward_test_data): New variable.
1556 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1557 (ctanh_test_data): New variable.
1558 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1559 (ctanh_tonearest_test_data): New variable.
1560 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1561 (ctanh_towardzero_test_data): New variable.
1562 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1563 (ctanh_downward_test_data): New variable.
1564 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1565 (ctanh_upward_test_data): New variable.
1566 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1567 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1568 of BUILD_COMPLEX.
1569
1570 * math/libm-test.inc (struct test_ff_f_data): New type.
1571 (struct test_ff_f_data_nexttoward): Likewise.
1572 (RUN_TEST_LOOP_2_f): New macro.
1573 (RUN_TEST_LOOP_ff_f): Likewise.
1574 (atan2_test_data): New variable.
1575 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1576 (copysign_test_data): New variable.
1577 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1578 (fdim_test_data): New variable.
1579 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1580 (fmax_test_data): New variable.
1581 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1582 (fmin_test_data): New variable.
1583 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1584 (fmod_test_data): New variable.
1585 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1586 (hypot_test_data): New variable.
1587 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1588 (nextafter_test_data): New variable.
1589 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1590 (nexttoward_test_data): New variable.
1591 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1592 (pow_test_data): New variable.
1593 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1594 (pow_tonearest_test_data): New variable.
1595 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1596 (pow_towardzero_test_data): New variable.
1597 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1598 (pow_downward_test_data): New variable.
1599 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1600 (pow_upward_test_data): New variable.
1601 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1602 (remainder_test_data): New variable.
1603 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1604 (scalb_test_data): New variable.
1605 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1606 * sysdeps/i386/fpu/libm-test-ulps: Update.
1607
1608 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1609
1610 * math/libm-test.inc (fma_test): Use max_value instead of local
1611 variable fltmax.
1612 (nextafter_test): Likewise.
1613
1614 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1615 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1616 (acos_downward_test_data): New variable.
1617 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1618 (acos_upward_test_data): New variable.
1619 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1620 (acosh_test_data): New variable.
1621 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1622 (asin_test_data): New variable.
1623 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1624 (asin_tonearest_test_data): New variable.
1625 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1626 (asin_towardzero_test_data): New variable.
1627 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1628 (asin_downward_test_data): New variable.
1629 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1630 (asin_upward_test_data): New variable.
1631 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1632 (asinh_test_data): New variable.
1633 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1634 (atan_test_data): New variable.
1635 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1636 (atanh_test_data): New variable.
1637 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1638 (cbrt_test_data): New variable.
1639 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1640 (ceil_test_data): New variable.
1641 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1642 (cos_test_data): New variable.
1643 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1644 (cos_tonearest_test_data): New variable.
1645 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1646 (cos_towardzero_test_data): New variable.
1647 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1648 (cos_downward_test_data): New variable.
1649 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1650 (cos_upward_test_data): New variable.
1651 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1652 (cosh_test_data): New variable.
1653 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1654 (cosh_tonearest_test_data): New variable.
1655 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1656 (cosh_towardzero_test_data): New variable.
1657 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1658 (cosh_downward_test_data): New variable.
1659 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1660 (cosh_upward_test_data): New variable.
1661 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1662 (erf_test_data): New variable.
1663 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1664 (erfc_test_data): New variable.
1665 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1666 (exp_test_data): New variable.
1667 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1668 (exp_tonearest_test_data): New variable.
1669 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1670 (exp_towardzero_test_data): New variable.
1671 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1672 (exp_downward_test_data): New variable.
1673 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1674 (exp_upward_test_data): New variable.
1675 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1676 (exp10_test_data): New variable.
1677 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1678 (exp2_test_data): New variable.
1679 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1680 (expm1_test_data): New variable.
1681 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1682 (fabs_test_data): New variable.
1683 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1684 (floor_test_data): New variable.
1685 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1686 (j0_test_data): New variable.
1687 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1688 (j1_test_data): New variable.
1689 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1690 (log_test_data): New variable.
1691 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1692 (log10_test_data): New variable.
1693 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1694 (log1p_test_data): New variable.
1695 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1696 (log2_test_data): New variable.
1697 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1698 (logb_test_data): New variable.
1699 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1700 (logb_downward_test_data): New variable.
1701 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1702 (nearbyint_test_data): New variable.
1703 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1704 (rint_test_data): New variable.
1705 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1706 (rint_tonearest_test_data): New variable.
1707 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1708 (rint_towardzero_test_data): New variable.
1709 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1710 (rint_downward_test_data): New variable.
1711 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1712 (rint_upward_test_data): New variable.
1713 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1714 (round_test_data): New variable.
1715 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1716 (sin_test_data): New variable.
1717 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1718 (sin_tonearest_test_data): New variable.
1719 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1720 (sin_towardzero_test_data): New variable.
1721 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1722 (sin_downward_test_data): New variable.
1723 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1724 (sin_upward_test_data): New variable.
1725 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1726 (sinh_test_data): New variable.
1727 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1728 (sinh_tonearest_test_data): New variable.
1729 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1730 (sinh_towardzero_test_data): New variable.
1731 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1732 (sinh_downward_test_data): New variable.
1733 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1734 (sinh_upward_test_data): New variable.
1735 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1736 (sqrt_test_data): New variable.
1737 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1738 (tan_test_data): New variable.
1739 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1740 (tan_tonearest_test_data): New variable.
1741 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1742 (tan_towardzero_test_data): New variable.
1743 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1744 (tan_downward_test_data): New variable.
1745 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1746 (tan_upward_test_data): New variable.
1747 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1748 (tanh_test_data): New variable.
1749 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1750 (tgamma_test_data): New variable.
1751 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1752 (trunc_test_data): New variable.
1753 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1754 (y0_test_data): New variable.
1755 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1756 (y1_test_data): New variable.
1757 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1758 (significand_test_data): New variable.
1759 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1760
1761 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1762
1763 [BZ #12387]
1764 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1765
1766 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1767
1768 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1769
1770 2013-05-10 Andreas Jaeger <aj@suse.de>
1771
1772 [BZ #15448]
1773 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1774 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1775
1776 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1777
1778 * math/gen-libm-test.pl (adjust_arg): New function.
1779 (special_functions): Handle generating output in both functions
1780 and arrays.
1781 (parse_args): Likewise.
1782 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1783 $in_func argument to parse_args.
1784 * math/libm-test.inc (struct test_f_f_data): New type.
1785 (IF_ROUND_INIT_): New macro.
1786 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1787 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1788 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1789 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1790 (ROUND_RESTORE_): Likewise.
1791 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1792 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1793 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1794 (ROUND_RESTORE_FE_UPWARD): Likewise.
1795 (RUN_TEST_LOOP_f_f): New macro.
1796 (acos_test_data): New variable.
1797 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1798 (acos_tonearest_test_data): New variable.
1799 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1800
1801 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1802
1803 * benchtests/bench-skeleton.c (startup): Fix coding style.
1804
1805 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1806
1807 [BZ #6809]
1808 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1809 negative infinity argument.
1810 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1811 negative infinity argument.
1812 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1813 negative infinity argument.
1814 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1815 domain errors.
1816
1817 2013-05-10 Florian Weimer <fweimer@redhat.com>
1818
1819 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1820 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1821 * iconv/iconv_prog.c (main): Likewise.
1822 * locale/programs/charmap-dir.c (charmap_readdir)
1823 (fopen_uncompressed): Likewise.
1824 * locale/programs/locfile.c (siblings_uncached)
1825 (write_locale_data): Use lstat64 instead of lstat.
1826 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1827 stat.
1828
1829 2013-05-10 Andreas Jaeger <aj@suse.de>
1830
1831 [BZ #15395]
1832 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1833 localization.
1834 Include <locale.h>.
1835
1836 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1837
1838 * elf/dl-close.c (_dl_close_worker): Add comments.
1839
1840 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1841
1842 [BZ #15359]
1843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1844 high part of pi/2.
1845 (__ieee754_rem_pio2l): Update comments.
1846
1847 [BZ #15429]
1848 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1849 high part of pi/2.
1850 (__ieee754_rem_pio2l): Update comments.
1851
1852 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1853 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1854
1855 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1856 M_PI_4l.
1857
1858 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1859 (M_PI_34_LOG10El): Likewise.
1860 (M_PI2_LOG10El): Likewise.
1861 (M_PI4_LOG10El): Likewise.
1862 (M_PI_LOG10El): Likewise.
1863
1864 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865
1866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1867
1868 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1869
1870 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1871 (MINUS_ZERO_INIT): Likewise.
1872 (PLUS_INFTY_INIT): Likewise.
1873 (MINUS_INFTY_INIT): Likewise.
1874 (QNAN_VALUE_INIT): Likewise.
1875 (MAX_VALUE_INIT): Likewise.
1876 (MIN_VALUE_INIT): Likewise.
1877 (MIN_SUBNORM_VALUE_INIT): Likewise.
1878 (plus_zero): Initialize with PLUS_ZERO_INIT.
1879 (minus_zero): Initialize with MINUS_ZERO_INIT.
1880 (plus_infty): Initialize with PLUS_INFTY_INIT.
1881 (minus_infty): Initialize with MINUS_INFTY_INIT.
1882 (qnan_value): Initialize with QNAN_VALUE_INIT.
1883 (max_value): Initialize with MAX_VALUE_INIT.
1884 (min_value): Initialize with MIN_VALUE_INIT.
1885 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1886
1887 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1888 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1889 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1890 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1891
1892 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1893 (RUN_TEST_2_f): Likewise.
1894 (RUN_TEST_ff_f): Likewise.
1895 (RUN_TEST_fi_f): Likewise.
1896 (RUN_TEST_fl_f): Likewise.
1897 (RUN_TEST_fff_f): Likewise.
1898 (RUN_TEST_c_f): Likewise.
1899 (RUN_TEST_f_f1): Likewise.
1900 (RUN_TEST_fF_f1): Likewise.
1901 (RUN_TEST_fI_f1): Likewise.
1902 (RUN_TEST_ffI_f1): Likewise.
1903 (RUN_TEST_c_c): Likewise.
1904 (RUN_TEST_cc_c): Likewise.
1905 (RUN_TEST_f_i): Likewise.
1906 (RUN_TEST_f_i_tg): Likewise.
1907 (RUN_TEST_ff_i_tg): Likewise.
1908 (RUN_TEST_f_b): Likewise.
1909 (RUN_TEST_f_b_tg): Likewise.
1910 (RUN_TEST_f_l): Likewise.
1911 (RUN_TEST_f_L): Likewise.
1912 (RUN_TEST_sincos): Likewise.
1913 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1914 whether to show exceptions. Do not include ");\n" in return
1915 value.
1916 (special_functions): Output call to RUN_TEST_sincos instead of
1917 check_float calls. Update calls to new_test.
1918 (parse_args): Output call to single RUN_TEST_* macro instead of
1919 check_* calls and other assignments. Update calls to new_test.
1920
1921 [BZ #2546]
1922 [BZ #2560]
1923 [BZ #5159]
1924 [BZ #15426]
1925 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1926 input to result for tgamma overflow.
1927 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1928 (gamma_coeff): New variable.
1929 (NCOEFF): New macro.
1930 (gamma_positive): New function.
1931 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1932 underflow here. Use gamma_positive instead of exp (lgamma) for
1933 other arguments.
1934 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1935 (gamma_coeff): New variable.
1936 (NCOEFF): New macro.
1937 (gammaf_positive): New function.
1938 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1939 underflow here. Use gamma_positive instead of exp (lgamma) for
1940 other arguments.
1941 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1942 (gamma_coeff): New variable.
1943 (NCOEFF): New macro.
1944 (gammal_positive): New function.
1945 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1946 underflow here. Use gamma_positive instead of exp (lgamma) for
1947 other arguments.
1948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1949 (gamma_coeff): New variable.
1950 (NCOEFF): New macro.
1951 (gammal_positive): New function.
1952 (__ieee754_gammal_r): Handle positive infinity, overflow and
1953 underflow here. Handle NaN the same as positive infinity. Remove
1954 check x < 0xffffffff for negative integers. Use gamma_positive
1955 instead of exp (lgamma) for other arguments.
1956 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1957 (gamma_coeff): New variable.
1958 (NCOEFF): New macro.
1959 (gammal_positive): New function.
1960 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1961 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1966 * sysdeps/generic/math_private.h (__gamma_productf): New
1967 prototype.
1968 (__gamma_product): Likewise.
1969 (__gamma_productl): Likewise.
1970 * math/Makefile (libm-calls): Add gamma_product.
1971 * math/libm-test.inc (tgamma_test): Add more tests.
1972 * sysdeps/i386/fpu/libm-test-ulps: Update.
1973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1974
1975 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
1976
1977 * benchtests/bench-skeleton.c (main): Preheat CPU.
1978
1979 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1980
1981 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1982
1983 2013-05-07 Roland McGrath <roland@hack.frob.com>
1984
1985 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1986 and _dl_skip_args_internal.
1987
1988 2013-05-07 Carlos O'Donell <carlos@redhat.com>
1989
1990 * manual/message.texi (Message Translation): Talk about users.
1991 Message to key mapping impacts design.
1992
1993 2013-05-06 Roland McGrath <roland@hack.frob.com>
1994
1995 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1996
1997 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1998
1999 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2000 * sysdeps/wordsize-64/glob64.c: ... here.
2001
2002 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2003 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2004 New macros.
2005
2006 * debug/getlogin_r_chk.c: Moved to ...
2007 * login/getlogin_r_chk.c: ... here.
2008 * debug/Makefile (routines): Move getlogin_r_chk to ...
2009 * login/Makefile (routines): ... here.
2010 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2011 * login/Versions (libc: GLIBC_2.4): ... here.
2012
2013 * io/poll.c (__poll): Renamed from poll.
2014 Add libc_hidden_def.
2015 (poll): Define as weak alias.
2016
2017 * debug/ptsname_r_chk.c: Moved to ...
2018 * login/ptsname_r_chk.c: ... here.
2019 * debug/Makefile (routines): Move ptsname_r_chk to ...
2020 * login/Makefile (routines): ... here.
2021 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2022 * login/Versions (libc: GLIBC_2.4): ... here.
2023
2024 * posix/getlogin.c: Moved to ...
2025 * login/getlogin.c: ... here.
2026 * posix/getlogin_r.c: Moved to ...
2027 * login/getlogin_r.c: ... here.
2028 * posix/getlogin_r.c: Moved to ...
2029 * login/getlogin_r.c: ... here.
2030 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2031 * login/Makefile (routines): ... here.
2032 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2033 * login/Versions (libc: GLIBC_2.0): ... here.
2034
2035 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2036 (setrlimit): Define as weak alias.
2037
2038 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2039 Call __ names for open, ftruncate, and close.
2040 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2041 (truncate): Define as weak alias.
2042
2043 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2044
2045 * math/gen-libm-test.pl (parse_args): Initialize x before each
2046 test of frexp, modf and remquo.
2047
2048 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2049 test signgam value.
2050
2051 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052
2053 [BZ #15418]
2054 [BZ #15419]
2055 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2056 internal tests.
2057 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2058
2059 2013-05-06 Roland McGrath <roland@hack.frob.com>
2060
2061 * elf/dl-writev.h: New file.
2062 * elf/dl-misc.c: Include it.
2063 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2064 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2065
2066 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2067
2068 * math/libm-test.inc (noXFails): Remove variable.
2069 (noXPasses): Likewise.
2070 (BUILD_COMPLEX_INT): Remove macro.
2071 (print_screen): Remove xfail argument.
2072 (print_screen_max_error): Likewise.
2073 (update_stats): Likewise.
2074 (print_max_error): Likewise. Update calls to other affected
2075 functions.
2076 (print_complex_max_error): Likewise.
2077 (test_single_exception): Update calls to print_screen.
2078 (test_single_errno): Likewise.
2079 (check_float_internal): Remove xfail argument. Update calls to
2080 other affected functions.
2081 (check_float): Likewise.
2082 (check_complex): Likewise.
2083 (check_int): Likewise.
2084 (check_long): Likewise.
2085 (check_bool): Likewise.
2086 (check_longlong): Likewise.
2087 (main): Don't print noXFails and noXPasses.
2088 * math/gen-libm-test.pl (top level): Don't mention expected
2089 failure handling in comment.
2090 (new_test): Don't handle expected failures.
2091 (parse_args): Don't mention expected failure handling in comment.
2092 (generate_testfile): Don't handle expected failures.
2093 (parse_ulps): Likewise.
2094 (print_ulps_file): Likewise.
2095 (get_failure): Remove function.
2096 (output_test): Don't handle expected failures.
2097 * make/README.libm-test: Don't mention expected failure handling.
2098
2099 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2100 (minus_zero): Likewise.
2101 (plus_infty): Likewise.
2102 (minus_infty): Likewise.
2103 (qnan_value): Likewise.
2104 (max_value): Likewise.
2105 (min_value): Likewise.
2106 (min_subnorm_value): Likewise.
2107 (initialize): Do not initialize those variables dynamically.
2108
2109 2013-05-03 Roland McGrath <roland@hack.frob.com>
2110
2111 * io/open.c (__open_2): Moved to ...
2112 * io/open_2.c: ... this new file.
2113 * io/open64.c (__open64_2): Moved to ...
2114 * io/open64_2.c: ... this new file.
2115 * io/openat.c (__openat_2): Moved to ...
2116 * io/openat_2.c: ... this new file.
2117 * io/openat64.c (__openat64_2): Moved to ...
2118 * io/openat64_2.c: ... this new file.
2119 * io/Makefile (routines): Add them.
2120 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2121 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2122 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2123 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2124 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2125 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2126 (__openat64): Add hidden_ver.
2127 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2128 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2129
2130 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2131 Separately conditionalize setting of GLRO(dl_sysinfo) so
2132 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2133 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2134
2135 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2138 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2139 definition.
2140 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2141 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2142 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2143 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2144 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2145
2146 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2147
2148 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2149 test signgam value.
2150
2151 * math/libm-test.inc (hypot_test): Do not use
2152 IGNORE_ZERO_INF_SIGN.
2153
2154 2013-05-03 Andreas Jaeger <aj@suse.de>
2155
2156 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2157 Linux 3.9.
2158 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2159 (PF_MAX): Adjust for VSOCK change.
2160
2161 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162
2163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2164
2165 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2166
2167 [BZ #15264]
2168 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2169 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2170 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2171
2172 2013-05-02 David S. Miller <davem@davemloft.net>
2173
2174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2175
2176 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2177
2178 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2179
2180 2013-05-01 Roland McGrath <roland@hack.frob.com>
2181
2182 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2183
2184 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2185
2186 [BZ #14952]
2187 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2188 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2189 Use __attribute__ ((__gnu_inline__)).
2190 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2191 Don't use __attribute__ ((__gnu_inline__)).
2192
2193 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2194
2195 [BZ #15423]
2196 * math/s_catan.c (__catan): Handle small real or imaginary part of
2197 input specially to avoid spurious underflow.
2198 * math/s_catanf.c (__catanf): Likewise.
2199 * math/s_catanh.c (__catanh): Likewise.
2200 * math/s_catanhf.c (__catanhf): Likewise.
2201 * math/s_catanhl.c (__catanhl): Likewise.
2202 * math/s_catanl.c (__catanl): Likewise.
2203 * math/libm-test.inc (catan_test): Add more tests.
2204 (catanh_test): Likewise.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2207
2208 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2209
2210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2211
2212 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2213
2214 [BZ #15416]
2215 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2216 accurately for denominator in atan2.
2217 * math/s_catanf.c (__catanf): Likewise.
2218 * math/s_catanh.c (__catanh): Likewise.
2219 * math/s_catanhf.c (__catanhf): Likewise.
2220 * math/s_catanhl.c (__catanhl): Likewise.
2221 * math/s_catanl.c (__catanl): Likewise.
2222 * math/libm-test.inc (catan_test): Add more tests.
2223 (catanh_test): Likewise.
2224 * sysdeps/i386/fpu/libm-test-ulps: Update.
2225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226
2227 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2228
2229 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2230
2231 * benchtests/Makefile (bench): Remove slow benchmarks.
2232 * benchtests/atan-inputs: Add slow benchmark inputs.
2233 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2234 (BENCH_FUNC): Accept variant offset.
2235 (VARIANT): Define.
2236 * benchtests/bench-skeleton.c (main): Run benchmark for each
2237 variant.
2238 * benchtests/cos-inputs: Add slow benchmark inputs.
2239 * benchtests/exp-inputs: Likewise.
2240 * benchtests/pow-inputs: Likewise.
2241 * benchtests/sin-inputs: Likewise.
2242 * benchtests/slowatan-inputs: Remove.
2243 * benchtests/slowatan.c: Remove.
2244 * benchtests/slowcos-inputs: Remove.
2245 * benchtests/slowcos.c: Remove.
2246 * benchtests/slowexp-inputs: Remove.
2247 * benchtests/slowexp.c: Remove.
2248 * benchtests/slowpow-inputs: Remove.
2249 * benchtests/slowpow.c: Remove.
2250 * benchtests/slowsin-inputs: Remove.
2251 * benchtests/slowsin.c: Remove.
2252 * benchtests/slowtan-inputs: Remove.
2253 * benchtests/slowtan.c: Remove.
2254 * benchtests/tan-inputs: Add slow benchmark inputs.
2255 * scripts/bench.pl: Parse comments and directives.
2256
2257 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2258 in CPPFLAGS.
2259 ($(objpfx)bench-%.c): Remove *-ITER.
2260 * benchtests/bench-modf.c: Remove definition of ITER.
2261 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2262 (main): Loop for DURATION seconds instead of fixed number of
2263 iterations.
2264 * scripts/bench.pl: Don't expect iterations in parameters.
2265
2266 2013-04-29 Roland McGrath <roland@hack.frob.com>
2267
2268 * io/fchdir.c (__fchdir): Renamed from fchdir.
2269 (fchdir): Define as weak alias.
2270
2271 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2272
2273 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2274 (ERRNO_EDOM): Likewise.
2275 (ERRNO_ERANGE): Likewise.
2276 (noErrnoTests): New variable.
2277 (init_max_error): Set errno to 0.
2278 (test_single_errno): New function.
2279 (test_errno): Likewise.
2280 (check_float_internal): Call test_errno. Set errno to 0.
2281 (check_complex): Refer to errno tests in comment.
2282 (check_int): Call test_errno. Set errno to 0.
2283 (check_long): Likewise.
2284 (check_bool): Likewise.
2285 (check_longlong): Likewise.
2286 (cos_test): Use ERRNO_* flags for errno tests instead of
2287 check_int.
2288 (expm1_test): Likewise.
2289 (fmod_test): Likewise.
2290 (ilogb_test): Likewise.
2291 (lgamma_test): Likewise.
2292 (pow_test): Likewise.
2293 (remainder_test): Likewise.
2294 (sin_test): Likewise.
2295 (tan_test): Likewise.
2296 (yn_test): Likewise.
2297 (initialize): Set errno to 0.
2298 (main): Print number of errno tests.
2299 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2300
2301 2013-04-29 Andreas Jaeger <aj@suse.de>
2302
2303 [BZ #15084]
2304 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2305 and RES_USEVC.
2306
2307 [BZ #15085]
2308 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2309 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2310 unimplemented.
2311
2312 [BZ #15380]
2313 * stdlib/random.c (__initstate): Return NULL if
2314 __initstate fails.
2315
2316 [BZ #15086]
2317 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2318 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2319 RES_SNGLKUPREOP.
2320
2321 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2324
2325 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2326
2327 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2328 of individual tests.
2329 (casin_test): Likewise.
2330 (casinh_test): Likewise.
2331
2332 2013-04-27 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #15409]
2335 * math/s_catan.c (__catan): Handle arguments with large real or
2336 imaginary part separately without squaring.
2337 * math/s_catanf.c (__catanf): Likewise.
2338 * math/s_catanh.c (__catanh): Likewise.
2339 * math/s_catanhf.c (__catanhf): Likewise.
2340 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2341 and redefine.
2342 (__catanhl): Handle arguments with large real or imaginary part
2343 separately without squaring.
2344 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2345 and redefine.
2346 (__catanl): Handle arguments with large real or imaginary part
2347 separately without squaring.
2348 * math/libm-test.inc (catan_test): Add more tests.
2349 (catanh_test): Likewise.
2350 * sysdeps/i386/fpu/libm-test-ulps: Update.
2351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2352
2353 2013-04-27 Andreas Jaeger <aj@suse.de>
2354
2355 [BZ #15007]
2356 * stdlib/stdlib.h: Update guards for qecvt.
2357 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2358 <stdlib.h>.
2359
2360 2013-04-27 Allan McRae <allan@archlinux.org>
2361
2362 * sysdeps/i386/fpu/libm-test-ulps: Update.
2363
2364 2013-04-26 Joseph Myers <joseph@codesourcery.com>
2365
2366 [BZ #15406]
2367 * math/s_catan.c: Include <float.h>.
2368 (__catan): Ensure underflow exception occurs for underflowed
2369 result.
2370 * math/s_catanf.c: Include <float.h>.
2371 (__catanf): Ensure underflow exception occurs for underflowed
2372 result.
2373 * math/s_catanh.c: Include <float.h>.
2374 (__catanh): Ensure underflow exception occurs for underflowed
2375 result.
2376 * math/s_catanhf.c: Include <float.h>.
2377 (__catanhf): Ensure underflow exception occurs for underflowed
2378 result.
2379 * math/s_catanhl.c: Include <float.h>.
2380 (__catanhl): Ensure underflow exception occurs for underflowed
2381 result.
2382 * math/s_catanl.c: Include <float.h>.
2383 (__catanl): Ensure underflow exception occurs for underflowed
2384 result.
2385 * math/libm-test.inc (catan_test): Add more tests.
2386 (catanh_test): Likewise.
2387
2388 [BZ #15405]
2389 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2390 underflowed result.
2391 * math/s_ccoshf.c (__ccoshf): Likewise.
2392 * math/s_ccoshl.c (__ccoshl): Likewise.
2393 * math/s_csin.c (__csin): Likewise.
2394 * math/s_csinf.c (__csinf): Likewise.
2395 * math/s_csinh.c (__csinh): Likewise.
2396 * math/s_csinhf.c (__csinhf): Likewise.
2397 * math/s_csinhl.c (__csinhl): Likewise.
2398 * math/s_csinl.c (__csinl): Likewise.
2399 * math/libm-test.inc (ccos_test): Add more tests.
2400 (ccosh_test): Likewise.
2401 (csin_test): Likewise.
2402 (csinh_test): Likewise.
2403
2404 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2405
2406 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2407 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2408 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2409 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2410 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2411 powerpc/power5+/fpu folders.
2412 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2413
2414
2415 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2416
2417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2418
2419 2013-04-25 Joseph Myers <joseph@codesourcery.com>
2420
2421 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2422 additions to variable.
2423 [$(config-machine) = x86_64] (modules-names): Likewise.
2424 ($(objpfx)tst-audit3): Remove dependency.
2425 ($(objpfx)tst-audit3.out): Likewise.
2426 ($(objpfx)tst-audit4): Likewise.
2427 ($(objpfx)tst-audit4.out): Likewise.
2428 ($(objpfx)tst-audit5): Likewise.
2429 ($(objpfx)tst-audit5.out): Likewise.
2430 ($(objpfx)tst-audit6): Likewise.
2431 ($(objpfx)tst-audit6.out): Likewise.
2432 ($(objpfx)tst-audit7): Likewise.
2433 ($(objpfx)tst-audit7.out): Likewise.
2434 (tst-audit3-ENV): Remove variable.
2435 (tst-audit4-ENV): Likewise.
2436 (tst-audit5-ENV): Likewise.
2437 (tst-audit6-ENV): Likewise.
2438 (tst-audit7-ENV): Likewise.
2439 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2440 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2441 addition to variable.
2442 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2443 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2444 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2445 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2447 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2448 tst-audit3, tst-audit4 and tst-audit5.
2449 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2450 tst-audit6 and tst-audit7.
2451 [$(subdir) = elf] (modules-names): Add audit modules for those
2452 tests.
2453 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2454 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2455 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2456 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2457 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2458 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2459 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2460 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2461 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2462 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2463 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2464 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2465 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2466 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2467 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2468 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2469 Likewise.
2470 [$(subdir) = elf && $(config-cflags-avx) = yes]
2471 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2472 [$(subdir) = elf && $(config-cflags-avx) = yes]
2473 (CFLAGS-tst-auditmod4a.c): Likewise.
2474 [$(subdir) = elf && $(config-cflags-avx) = yes]
2475 (CFLAGS-tst-auditmod4b.c): Likewise.
2476 [$(subdir) = elf && $(config-cflags-avx) = yes]
2477 (CFLAGS-tst-auditmod6b.c): Likewise.
2478 [$(subdir) = elf && $(config-cflags-avx) = yes]
2479 (CFLAGS-tst-auditmod6c.c): Likewise.
2480 [$(subdir) = elf && $(config-cflags-avx) = yes]
2481 (CFLAGS-tst-auditmod7b.c): Likewise.
2482 * elf/tst-audit3.c: Move to ...
2483 * sysdeps/x86_64/tst-audit3.c: ... here.
2484 * elf/tst-audit4.c: Move to ...
2485 * sysdeps/x86_64/tst-audit4.c: ... here.
2486 * elf/tst-audit5.c: Move to ...
2487 * sysdeps/x86_64/tst-audit5.c: ... here.
2488 * elf/tst-audit6.c: Move to ...
2489 * sysdeps/x86_64/tst-audit6.c: ... here.
2490 * elf/tst-audit7.c: Move to ...
2491 * sysdeps/x86_64/tst-audit7.c: ... here.
2492 * elf/tst-auditmod3a.c: Move to ...
2493 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2494 * elf/tst-auditmod3b.c: Move to ...
2495 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2496 * elf/tst-auditmod4a.c: Move to ...
2497 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2498 * elf/tst-auditmod4b.c: Move to ...
2499 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2500 * elf/tst-auditmod5a.c: Move to ...
2501 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2502 * elf/tst-auditmod5b.c: Move to ...
2503 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2504 * elf/tst-auditmod6a.c: Move to ...
2505 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2506 * elf/tst-auditmod6b.c: Move to ...
2507 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2508 * elf/tst-auditmod6c.c: Move to ...
2509 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2510 * elf/tst-auditmod7a.c: Move to ...
2511 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2512 * elf/tst-auditmod7b.c: Move to ...
2513 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2514
2515 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2516
2517 [BZ #15366]
2518 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2519 define unconditionally.
2520 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2521 define unconditionally.
2522 (INT8_C, INT16_C, etc.): Likewise.
2523
2524 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2525
2526 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2527 __ehdr_start with hidden visibility.
2528
2529 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2530
2531 2013-04-24 Carlos O'Donell <carlos@redhat.com>
2532
2533 * math/libm-test.inc (cos_test): Use accurate hex constants.
2534 (sincost_test): Likewise.
2535
2536 2013-04-24 Joseph Myers <joseph@codesourcery.com>
2537
2538 * math/libm-test.inc (catan_test): Add more tests.
2539 (catanh_test): Likewise.
2540
2541 * math/s_catanf.c (__catanf): Use suffixed floating-point
2542 constants.
2543 * math/s_catanhf.c (__catanhf): Likewise.
2544 * math/s_catanhl.c (__catanhl): Likewise.
2545 * math/s_catanl.c (__catanl): Likewise.
2546
2547 [BZ #15394]
2548 * math/s_catan.c (__catan): Calculate imaginary part of result
2549 with log1p not log unless computing log of number close to 0.
2550 * math/s_catanf.c (__catanf): Likewise.
2551 * math/s_catanl.c (__catanl): Likewise.
2552 * math/s_catanh.c (__catanh): Calculate real part of result with
2553 log1p not log unless computing log of number close to 0.
2554 * math/s_catanhf.c (__catanhf): Likewise.
2555 * math/s_catanhl.c (__catanhl): Likewise.
2556 * math/libm-test.inc (catan_test): Add more tests.
2557 (catanh_test): Likewise.
2558 * sysdeps/i386/fpu/libm-test-ulps: Update.
2559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560
2561 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
2563 * benchtests/Makefile: Mention files in which fast and slow
2564 paths of math functions are implemented.
2565
2566 2013-04-23 Roland McGrath <roland@hack.frob.com>
2567
2568 * sysdeps/posix/timespec_get.c: New file.
2569
2570 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2571
2572 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2573 POWER.
2574 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2575 for POWER.
2576 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2577 powerpc/power5/fpu folders.
2578 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2579 * benchtests/Makefile: Add modf testcase.
2580 * benchtests/bench-modf.c: New file: Benchmark test for mo
2581
2582 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2583
2584 [BZ #14888]
2585 * time/Makefile (tests): Add tst-strptime-whitespace.
2586 * time/strptime_l.c (get_number): Use ISSPACE.
2587 (__strptime_internal): Likewise.
2588 * time/tst-strptime-whitespace.c: New test case.
2589
2590 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2591
2592 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2593 member.
2594 (_nss_files_init): Set it here.
2595
2596 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2597
2598 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2599 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2600 unsigned.
2601
2602 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2603
2604 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2605
2606 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2607
2608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2609 size just once.
2610
2611 2013-04-21 David S. Miller <davem@davemloft.net>
2612
2613 * po/ru.po: Update Russion translation from translation project.
2614
2615 2013-04-17 Adam Conrad <adconrad@0c3.net>
2616
2617 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2618 and setfsgid.
2619
2620 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2621
2622 * configure.in: Remove i386 configure warning. Remove i386 case.
2623 * configure: Regenerate.
2624 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2625 Add example to error message.
2626 * sysdeps/i386/configure: Regenerate.
2627
2628 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2629
2630 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2631 slowtan.
2632 * benchtests/cos-inputs: New file.
2633 * benchtests/slowcos-inputs: New file.
2634 * benchtests/slowcos.c: New file.
2635 * benchtests/slowtan-inputs: New file.
2636 * benchtests/slowtan.c: New file.
2637 * benchtests/tan-inputs: New file.
2638
2639 2013-04-16 Roland McGrath <roland@hack.frob.com>
2640
2641 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2642 considered kosher.
2643
2644 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
2646 * benchtests/Makefile: Include cppflags-iterator.mk to add
2647 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2648
2649 * Makefile.in (bench-clean): New target.
2650 * benchtests/Makefile (bench-clean): Likewise.
2651
2652 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2653
2654 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2655
2656 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2657
2658 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2659
2660 2013-04-15 Andreas Schwab <schwab@suse.de>
2661
2662 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2663 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2664 * nscd/pwdcache.c (cache_addpw): Likewise.
2665 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2666 more than recsize.
2667
2668 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2669
2670 * benchtests/Makefile (bench): Write all output to
2671 bench-out.tmp together.
2672
2673 2013-04-15 Andreas Schwab <schwab@suse.de>
2674
2675 * nscd/nscd.c (main): Don't fork again after closing files.
2676
2677 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2678
2679 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2680
2681 * benchtests/Rules (bench-deps): Collect dependencies into a
2682 single variable. Add Makefile to dependencies.
2683 ($(objpfx)bench-%.c): Depend on bench-deps.
2684
2685 2013-04-12 Roland McGrath <roland@hack.frob.com>
2686 Xavier Roche <roche+kml2@exalead.com>
2687
2688 [BZ #15361]
2689 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2690 just that it's a file descriptor.
2691 * manual/llio.texi (Synchronizing AIO Operations): Update description
2692 for EBADF error from aio_fsync.
2693
2694 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2695
2696 * Rules (bench): Move target definition...
2697 * benchtests/Makefile: ... here.
2698
2699 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2700
2701 * math/libm-test.inc (cos_test): Fix PI/2 test.
2702 (sincos_test): Likewise.
2703 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2704 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2705
2706 2013-04-11 Andreas Schwab <schwab@suse.de>
2707
2708 [BZ #13988]
2709 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2710 accept exponent character only when digits were seen.
2711 * stdio-common/Makefile (tests): Add bug26.
2712 * stdio-common/bug26.c: New file.
2713
2714 [BZ #14293]
2715 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2716 non-freeable.
2717
2718 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2719
2720 * Makeconfig (rtld-prefix): Define built linker prefix.
2721 * Rules (run-bench): Use it.
2722 * math/Makefile (run-regen-ulps): Likewise.
2723
2724 * Rules (bench): Remove eval.
2725
2726 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2727 Roland McGrath <roland@hack.frob.com>
2728 Ondrej Bilka <neleai@seznam.cz>
2729
2730 [BZ #15346]
2731 * time/getdate.c: Include ctype.h and alloca.h.
2732 (__getdate_r): Trim leading and trailing spaces of input.
2733 * time/tst-getdate.c (tests): Add tests with leading and
2734 trailing spaces.
2735
2736 2013-04-08 Roland McGrath <roland@hack.frob.com>
2737
2738 [BZ #14280]
2739 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2740 when computing value.
2741
2742 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2743
2744 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2745 Use testrun.sh to run libm tests.
2746
2747 [BZ #15309]
2748 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2749
2750 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2751
2752 [BZ #15264]
2753 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2754
2755 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2756
2757 * Makefile.in (regen-ulps): New target.
2758 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2759 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2760 [ifneq (no,$(PERL)] (regen-ulps): New target.
2761 [ifeq (no,$(PERL)] (regen-ulps): New target.
2762 * math/libm-test.inc (ulps_file_name): Define.
2763 (output_dir): New variable.
2764 (options): Add "output-dir" option.
2765 (parse_opt): Handle 'o' case.
2766 (main): If output_dir is non-NULL use it as a prefix
2767 otherwise use "".
2768 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2769
2770 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2771
2772 [BZ #10060, #10062]
2773 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2774 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2775 fail configure if __sync_val_compare_and_swap is not inlined.
2776 * sysdeps/i386/configure: Regenerate.
2777 * configure.in: Build for i686 when configured for i386.
2778 * configure: Regenerate.
2779 * README: Remove i386 reference.
2780
2781 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2782
2783 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2784 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2785
2786 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2787
2788 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2789 (lmsnanval): New variables.
2790 (F): Add conversion tests.
2791 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2792 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2793
2794 * stdio-common/tstdiomisc.c (F): Properly collect individual
2795 tests' results.
2796
2797 [BZ #14686, #15336]
2798 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2799 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2800 Instead, use input NaN values or generate a qNaN by arithmetic
2801 operation. Also fix bugs to comply with the standard.
2802 * math/libm-test.inc (remainder_test): Add more tests.
2803
2804 [BZ #15335, #15342]
2805 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2807 input NaN values or generate a qNaN by arithmetic operation.
2808
2809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2810 unreachable code.
2811
2812 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2813 definitions.
2814
2815 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2816
2817 [BZ #14478]
2818 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2819 underflowed result.
2820 * math/s_cexpf.c (__cexpf): Likewise.
2821 * math/s_cexpl.c (__cexpl): Likewise.
2822 * math/libm-test.inc (cexp_test): Add more tests.
2823
2824 2013-04-03 Andreas Schwab <schwab@suse.de>
2825
2826 [BZ #15330]
2827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2828 order arrays from heap if bigger than alloca cutoff.
2829
2830 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2831
2832 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2833 (SNAN_TESTS_double): Refer to GCC PR56831.
2834 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2835 GCC PR56828.
2836
2837 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2838
2839 * Rules (bench): Move bench.out after the run is complete.
2840
2841 * Rules (bench): Echo currently running benchmark.
2842
2843 * benchtests/Makefile (bench): Add atan and slowatan.
2844 * benchtests/atan-inputs: New file.
2845 * benchtests/slowatan-inputs: New file.
2846 * benchtests/slowatan.c: New file.
2847
2848 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2849 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2850 its value.
2851
2852 [BZ #15305]
2853 * sysdeps/unix/sysv/linux/kernel-features.h
2854 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2855 __ASSUME_XFS_RESTRICTED_CHOWN.
2856 * sysdeps/unix/sysv/linux/pathconf.c
2857 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2858 Save and restore errno.
2859
2860 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2861
2862 [BZ #15327]
2863 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2864 arguments using __kernel_casinh.
2865 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2866 arguments using __kernel_casinhf.
2867 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2868 arguments using __kernel_casinhl.
2869 * math/libm-test.inc (cacosh_test): Add more tests.
2870 * sysdeps/i386/fpu/libm-test-ulps: Update.
2871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2872
2873 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2874
2875 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2877
2878 * bench/Makefile (bench): Add sin and slowsin.
2879 * benchtests/sin-inputs: New file.
2880 * benchtests/slowsin-inputs: New file.
2881 * benchtests/slowsin.c: New file.
2882
2883 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2884 (bench): Add slowexp and slowpow.
2885 (exp-ITER): Increase iterations.
2886 (pow-ITER): Likewise.
2887 * benchtests/exp-inputs: Change input.
2888 * benchtests/pow-inputs: Likewise.
2889 * benchtests/slowexp-inputs: New file.
2890 * benchtests/slowexp.c: New file.
2891 * benchtests/slowpow-inputs: New file.
2892 * benchtests/slowpow.c: New file.
2893
2894 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895
2896 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2897 instructions.
2898 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2900 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2901 * benchtests/Makefile: Add rint benchtest.
2902 * benchtests/rint-inputs: Input for rint benchtest.
2903
2904 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2905
2906 * Versions.def (libm): Add GLIBC_2.18.
2907 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2908 hidden libm prototypes.
2909 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2910 * math/Makefile (libm-calls): Add s_issignaling.
2911 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2912 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2913 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2914 declaration.
2915 * math/math.h [__USE_GNU] (issignaling): New macro.
2916 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2917 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2919 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2922 * manual/arith.texi (issignaling): New section.
2923 * manual/libm-err-tab.pl (@all_functions): Update comment.
2924 * math/gen-libm-test.pl (parse_args): Apply special handling for
2925 issignaling.
2926 * math/libm-test.inc (print_float, issignaling_test): New
2927 functions.
2928 (check_float_internal): Add issignaling checks.
2929 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2930 default definition.
2931 * sysdeps/powerpc/math-tests.h: New file.
2932 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2933 tests.
2934 * math/test-snan.c (TEST_FUNC): Likewise.
2935
2936 2013-03-30 David S. Miller <davem@davemloft.net>
2937
2938 * po/de.po: Update from translation team.
2939
2940 2013-03-30 Joseph Myers <joseph@codesourcery.com>
2941
2942 [BZ #10357]
2943 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2944 imaginary part less than 1.0 and real part less than 0.5
2945 specially.
2946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2948 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2949 (cacos_test): Add more tests.
2950 (casin_test): Likewise.
2951 (casinh_test): Likewise.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954
2955 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2956
2957 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2958 ONE with its value.
2959
2960 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2961 (__pow_mp): Replace ONE and MONE with their values.
2962 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2963 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2964 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2965 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2966 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2968
2969 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2970
2971 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2972 (__pow_mp): Replace ZERO and MZERO with their values.
2973 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2974 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2975 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2977 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2978 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2979 (__sqr): Likewise.
2980
2981 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2982
2983 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2984
2985 2013-03-28 Roland McGrath <roland@hack.frob.com>
2986
2987 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2988 Declare with __attribute__ ((weak)).
2989 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2990 Call __call_tls_dtors only if it's not NULL.
2991
2992 2013-03-28 Roland McGrath <roland@hack.frob.com>
2993
2994 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2995 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2996 magic __ehdr_start linker symbol if it's defined.
2997 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2998 them up here if it was already done.
2999
3000 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3001 (_dl_aux_init): Use const in cast when setting it.
3002 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3003 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3004 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3005
3006 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3007 Declare them here.
3008 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3009 * csu/libc-tls.c: Nor here.
3010 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3011
3012 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3013 (__libc_message): Never call vsyslog.
3014
3015 2013-03-28 Alan Modra <amodra@gmail.com>
3016
3017 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3018 Define as empty.
3019 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3020 Likewise.
3021
3022 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 [BZ #15214]
3025 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3026 underflow.
3027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3028
3029 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
3031 [BZ #15304]
3032 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3033 Don't add gid passed as argument.
3034
3035 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3036
3037 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3038
3039 [BZ #15307]
3040 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3041 imaginary part between 1.0 and 1.5 and real part less than 0.5
3042 specially.
3043 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3044 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3045 * math/libm-test.inc (cacos_test): Add more tests.
3046 (casin_test): Likewise.
3047 (casinh_test): Likewise.
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050
3051 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3052
3053 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3054 constants.
3055 (norm): Likewise.
3056 (denorm): Likewise.
3057 (__dbl_mp): Likewise.
3058 (add_magnitudes): Likewise.
3059 (sub_magnitudes): Likewise.
3060 (__add): Likewise.
3061 (__sub): Likewise.
3062 (__mul): Likewise.
3063 (__sqr): Likewise.
3064 (__inv): Likewise.
3065 (__dvd): Likewise.
3066
3067 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3068 commented code.
3069 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3070 (__dubcos): Likewise.
3071 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3072 (__ieee754_acos): Likewise.
3073 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3074 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3075 (__exp1): Likewise.
3076 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3078 (log1): Likewise.
3079 (my_log2): Likewise.
3080 (checkint): Likewise.
3081 * sysdeps/ieee754/dbl-64/e_remainder.c
3082 (__ieee754_remainder): Likewise.
3083 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3085 (bsloww): Likewise.
3086 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3087
3088 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3089 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3090 MANTISSA_STORE_T to store computations on mantissa. Use
3091 macros for rounding and division.
3092 (denorm): Likewise.
3093 (__dbl_mp): Likewise.
3094 (add_magnitudes): Likewise.
3095 (sub_magnitudes): Likewise.
3096 (__mul): Likewise.
3097 (__sqr): Likewise.
3098 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3099 powers of two in terms of TWOPOW macro.
3100 (mp_no): Make type of mantissa as MANTISSA_T.
3101 [!RADIXI]: Define RADIXI.
3102 [!TWO52]: Define TWO52.
3103 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3104
3105 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3106
3107 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3108 llroundl symbol when building for PPC32.
3109
3110 2013-03-24 Mark H Weaver <mhw@netris.org>
3111
3112 * manual/arith.texi (Normalization Functions): Fix prototypes for
3113 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3114
3115 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3116
3117 [BZ #13889]
3118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3119 high value to check if expl overflow.
3120 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3121 to check for underflow and overflow.
3122 * math/libm-test.inc: Add exp test.
3123
3124 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3125
3126 [BZ #11120]
3127 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3128 with NOT_IN_libc.
3129
3130 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131
3132 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3133 symbol.
3134
3135 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3136
3137 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3138 wrap blocks consisting of several statements.
3139
3140 * sysdeps/generic/math-tests.h: New file.
3141 * sysdeps/i386/fpu/math-tests.h: Likewise.
3142 * math/test-snan.c: Include it.
3143 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3144
3145 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3146
3147 [BZ #15285]
3148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3149 (__ieee754_j0l): Do not improve calculations using cos of twice
3150 input for inputs above LDBL_MAX / 2.0L.
3151 (__ieee754_y0l): Likewise.
3152 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3153 (__ieee754_j1l): Do not improve calculations using cos of twice
3154 input for inputs above LDBL_MAX / 2.0L.
3155 (__ieee754_y1l): Likewise.
3156 * math/libm-test.inc (j0_test): Add another test.
3157 (j1_test): Likewise.
3158 (y0_test): Likewise.
3159 (y1_test): Likewise.
3160 * sysdeps/i386/fpu/libm-test-ulps: Update.
3161
3162 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3163
3164 * Rules ($(objpfx)bench-%.c): Include code from a C source
3165 file.
3166
3167 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3168
3169 [BZ #15287]
3170 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3171 imaginary part 1.0 and real part less than 0.5 specially.
3172 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3173 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3174 * math/libm-test.inc (cacos_test): Add more tests.
3175 (casin_test): Likewise.
3176 (casinh_test): Likewise.
3177 * sysdeps/i386/fpu/libm-test-ulps: Update.
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3179
3180 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3181
3182 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3183 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3184
3185 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3186
3187 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3188 * config.make.in (config-cflags-sse4): Remove variable.
3189 (config-cflags-avx): Likewise.
3190 (config-cflags-sse2avx): Likewise.
3191 (config-cflags-novzeroupper): Likewise.
3192 (config-asflags-i686): Likewise.
3193 (have-mfma4): Likewise.
3194 (have-as-vis3): Likewise.
3195 (MIG): Likewise.
3196 * configure.in (MIG): Do not AC_SUBST.
3197 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3198 (libc_cv_cc_sse4): Do not AC_SUBST.
3199 (libc_cv_cc_avx): Likewise.
3200 (libc_cv_cc_sse2avx): Likewise.
3201 (libc_cv_cc_novzeroupper): Likewise.
3202 (libc_cv_cc_fma4): Likewise.
3203 (libc_cv_as_i686): Likewise.
3204 (libc_cv_sparc_as_vis3): Likewise.
3205 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3206 LIBC_CONFIG_VAR.
3207 (config-asflags-i686): Likewise.
3208 (config-cflags-avx): Likewise.
3209 (config-cflags-sse2avx): Likewise.
3210 (have-mfma4): Likewise.
3211 (config-cflags-novzeroupper): Likewise.
3212 * sysdeps/mach/configure.in (MIG): Likewise.
3213 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3214 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3215 LIBC_CONFIG_VAR.
3216 (config-cflags-avx): Likewise.
3217 (config-cflags-sse2avx): Likewise.
3218 (have-mfma4): Likewise.
3219 (config-cflags-novzeroupper): Likewise.
3220 * configure: Regenerated.
3221 * sysdeps/i386/configure: Likewise.
3222 * sysdeps/mach/configure: Likewise.
3223 * sysdeps/sparc/configure: Likewise.
3224 * sysdeps/x86_64/configure: Likewise.
3225
3226 2013-03-20 Roland McGrath <roland@hack.frob.com>
3227
3228 [BZ #14812]
3229 * locale/programs/localedef.c (options): Put N_ translation marker
3230 on argument names, not just descriptions.
3231
3232 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3233
3234 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3235
3236 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
3237
3238 [BZ #14176]
3239 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3240
3241 2013-03-19 Roland McGrath <roland@hack.frob.com>
3242
3243 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3244 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3245 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3246 [!BEFORE_ABORT] (before_abort): New function.
3247 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3248 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3249 (writev_for_fatal): New function.
3250 (WRITEV_FOR_FATAL): New macro; call that.
3251 (backtrace_and_maps): New function.
3252 (BEFORE_ABORT): New macro; call that.
3253 (struct str_list): Type removed.
3254 (__libc_message, __libc_fatal): Functions removed.
3255 Include <sysdeps/posix/libc_fatal.c> instead.
3256
3257 2013-03-19 Joseph Myers <joseph@codesourcery.com>
3258
3259 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3260 constants.
3261 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3262 double constants.
3263
3264 2013-03-19 Andreas Schwab <schwab@suse.de>
3265
3266 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3267 * sysdeps/gnu/configure: Regenerate.
3268
3269 * configure.in: Substitute libc_cv_rtlddir.
3270 * configure: Regenerate.
3271 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3272 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3273 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3274 * elf/Makefile (install-others, CFLAGS-interp.c)
3275 (ldso_install, common-ldd-rewrite): Likewise.
3276 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3277 $(inst_slibdir)/$(rtld-installed-name).
3278 * scripts/rellns-sh: Add -p option.
3279 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3280 for source.
3281
3282 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3283
3284 * manual/nptl.texi: Renamed to ...
3285 * manual/threads.texi: ... this.
3286 * manual/Makefile (chapters): Update.
3287
3288 2013-03-18 Roland McGrath <roland@hack.frob.com>
3289
3290 [BZ #14812]
3291 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3292 on argument names, not just descriptions.
3293 * malloc/memusagestat.c (options): Likewise.
3294 * nss/getent.c (options): Likewise.
3295
3296 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
3297
3298 [BZ #14812]
3299 * iconv/iconv_prog.c (options): Put N_ translation marker
3300 on argument names, not just descriptions.
3301 * iconv/iconvconfig.c (options): Likewise.
3302
3303 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
3304
3305 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3306 implementation which is faster on all x86_64 architectures.
3307 Tested on AMD, Intel Nehalem, SNB, IVB.
3308 * sysdeps/x86_64/strnlen.S: Likewise.
3309
3310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3311 Remove all multiarch strlen and strnlen versions.
3312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3313 Remove strlen and strnlen related parts.
3314
3315 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3316 Inline strlen part.
3317 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3318
3319 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3320 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3321 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3322 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3323 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3324 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3325
3326 2013-03-17 Carlos O'Donell <carlos@redhat.com>
3327
3328 * manual/memory.texi (Malloc Tunable Parameters):
3329 Sort parameters alphabetically. Add comments for missing entries.
3330
3331 2013-03-17 David S. Miller <davem@davemloft.net>
3332
3333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3334
3335 2013-03-16 Joseph Myers <joseph@codesourcery.com>
3336
3337 [BZ #15283]
3338 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3339 for arguments at most half maximum finite value.
3340 * math/libm-test.inc (j0_test): Add more tests.
3341 (j1_test): Likewise.
3342 (y0_test): Likewise.
3343 (y1_test): Likewise.
3344 * sysdeps/i386/fpu/libm-test-ulps: Update.
3345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346
3347 [BZ #14155]
3348 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3349 1 / x and functions P and Q for arguments above 0x1p256L.
3350 (__ieee754_y0l): Likewise.
3351 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3352 (__ieee754_y1l): Likewise.
3353 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3354 (j1_test): Likewise.
3355 (y0_test): Likewise.
3356 (y1_test): Likewise.
3357
3358 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3359
3360 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3361 variable.
3362
3363 2013-03-15 Roland McGrath <roland@hack.frob.com>
3364
3365 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3366 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3367 zero since it's initialized to EXEC_PAGESIZE.
3368
3369 * sysdeps/unix/sysv/linux/ldsodefs.h
3370 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3371 * sysdeps/generic/ldsodefs.h: ... here.
3372
3373 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3374
3375 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3376
3377 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3378 math/test-snan.c.
3379 * math/test-snan.c: Renamed from
3380 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3381 * math/Makefile (tests): Add test-snan.
3382 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3383 test-powerpc-snan.
3384
3385 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3386 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3387 functions.
3388 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3389 __builtin_nan family of functions.
3390 * math/libm-test.inc (initialize): Initialize qnan_value with
3391 __builtin_nan family of functions.
3392 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3393 Remove variables.
3394 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3395 Remove functions.
3396 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3397 storage class. Initialize qNaN_var and sNaN_var with
3398 __builtin_nan and __builtin_nans families of functions,
3399 respectively.
3400
3401 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3402 (sqrt_test): Remove duplicate test with qNaN input.
3403 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3404 (round_test, signbit_test, significand_test): Note missing +/-Inf
3405 as well as qNaN tests.
3406
3407 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3408 qNaN_var. Fix a few strings, too.
3409 * math/libm-test.inc (nan_value): Rename to qnan_value.
3410 * math/gen-libm-test.pl (%beautify): Adjust to that.
3411 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3412 * math/test-misc.c (main): Likewise.
3413 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3414 to __qnan_bytes, and __qnan_union, respectively.
3415 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3416 Likewise.
3417 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3418 and lqnanval, respectively.
3419 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3420 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3421 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3422 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3423
3424 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3425 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3426 doubles.
3427
3428 * math/test-misc.c (main): Fix copy'n'pastos.
3429 * misc/tst-efgcvt.c (special): Likewise.
3430
3431 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3432 Remove declarations.
3433
3434 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3435
3436 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3437 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3438 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3440
3441 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3442
3443 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3444 macro to return vdso values correctly in IFUNC implementations.
3445 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3446 Optimization by using IFUNC.
3447
3448 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 Richard Henderson <rth@redhat.com>
3450 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3451
3452 * Makefile.in (bench): New target.
3453 * NEWS: Mention the benchmark framework.
3454 * Rules (bench): Likewise.
3455 (binaries-bench): Generate binaries for functions to
3456 benchmark.
3457 * benchtests/Makefile: New makefile for benchmark tests.
3458 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3459 programs.
3460 * benchtests/exp-inputs: New input file for EXP function.
3461 * benchtests/pow-inputs: New input file for POW function.
3462 * scripts/bench.pl: New script to generate source files for
3463 benchmark programs.
3464
3465 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3466
3467 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3468 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3469 computations on mantissa. Use macros for rounding and
3470 division.
3471 (denorm): Likewise.
3472 (__dbl_mp): Likewise.
3473 (add_magnitudes): Likewise.
3474 (sub_magnitudes): Likewise.
3475 (__mul): Likewise.
3476 (__sqr): Likewise.
3477 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3478 powers of two in terms of TWOPOW macro.
3479 (mp_no): Make type of mantissa as MANTISSA_T.
3480 [!RADIXI]: Define RADIXI.
3481 [!TWO52]: Define TWO52.
3482 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3483
3484 * manual/nptl.texi (cindex): Modify threads to pthreads.
3485
3486 2013-03-15 Joseph Myers <joseph@codesourcery.com>
3487
3488 * sysdeps/x86_64/preconfigure: Regenerated.
3489
3490 2013-03-14 Joseph Myers <joseph@codesourcery.com>
3491
3492 [BZ #14155]
3493 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3494 0x1p28 and above.
3495 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3496 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3497 0x1p28 and above.
3498 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3499 * math/libm-test.inc (j0_test): Do not allow one spurious
3500 underflow exception.
3501 (y1_test): Likewise.
3502
3503 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3504
3505 * manual/Makefile (chapters): Add nptl.
3506 * manual/debug.texi (Debugging Support): Add link to Threads
3507 chapter.
3508 * manual/nptl.texi: New file.
3509
3510 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3511
3512 2013-03-14 Petr Baudis <pasky@ucw.cz>
3513
3514 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3515 for non-NULL pointer before the memory validity test. Pointed
3516 out by Holger Brunck <holger.brunck@keymile.com>.
3517
3518 2013-03-13 Andreas Schwab <schwab@suse.de>
3519
3520 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3521 instead of .os.
3522
3523 2013-03-13 Joseph Myers <joseph@codesourcery.com>
3524
3525 * timezone/zic.c: Update from tzcode 2013b.
3526
3527 2013-03-12 Carlos O'Donell <carlos@redhat.com>
3528
3529 * manual/install.texi (Configuring and compiling):
3530 Mention i686 and i586.
3531 * INSTALL: Regenerate.
3532
3533 2013-03-12 Roland McGrath <roland@hack.frob.com>
3534
3535 * sysdeps/init_array/elf-init.c: New file.
3536 * csu/elf-init.c
3537 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3538 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3539
3540 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3541 __gmon_start__ as global, but as static with a .preinit_array pointer.
3542 * sysdeps/init_array/gmon-start.c: New file. Use that.
3543 * sysdeps/init_array/crti.S: New file, empty except for comments.
3544 * sysdeps/init_array/crtn.S: Likewise.
3545
3546 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
3547
3548 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3549 definining bcopy.
3550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3551 Remove Prefer_SSE_for_memop.
3552 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3553 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3554 HAS_PREFER_SSE_FOR_MEMOP.
3555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3556 memset-x86-64.
3557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3558 Remove bzero, memset ifunc support.
3559 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3560 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3561 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3562 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3563
3564 2013-03-11 Andreas Schwab <schwab@suse.de>
3565
3566 [BZ #15234]
3567 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3568 by SHLIB_COMPAT.
3569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3570 (GLIBC_2.16): Remove pthread_atfork.
3571
3572 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3573
3574 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3575 (ptestcases.h): Likewise.
3576
3577 2013-03-08 Roland McGrath <roland@hack.frob.com>
3578
3579 * Makeconfig ($(common-objpfx)config.status): Depend on
3580 sysdeps/*/preconfigure{,.in} too.
3581
3582 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3583
3584 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3585 (__free_hook): Use void * instead of __malloc_ptr_t.
3586 (__malloc_hook): Likewise.
3587 (__realloc_hook): Likewise.
3588 (__memalign_hook): Likewise.
3589 (__after_morecore_hook): Likewise.
3590 * malloc/arena.c (save_malloc_hook): Likewise.
3591 (save_free_hook): Likewise.
3592 * malloc/hooks.c (malloc_hook_ini): Likewise.
3593 (realloc_hook_ini): Likewise.
3594 (memalign_hook_ini): Likewise.
3595 * malloc/malloc.c (malloc_hook_ini): Likewise.
3596 (realloc_hook_ini): Likewise.
3597 (memalign_hook_ini): Likewise.
3598 (__free_hook): Likewise.
3599 (__malloc_hook): Likewise.
3600 (__realloc_hook): Likewise.
3601 (__memalign_hook): Likewise.
3602 (__libc_malloc): Likewise.
3603 (__libc_free): Likewise.
3604 (__libc_realloc): Likewise.
3605 (__libc_memalign): Likewise.
3606 (__libc_valloc): Likewise.
3607 (__libc_pvalloc): Likewise.
3608 (__libc_calloc): Likewise.
3609 (__posix_memalign): Likewise.
3610 * malloc/morecore.c (__sbrk): Likewise.
3611 (__default_morecore): Likewise.
3612
3613 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3614
3615 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3616 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3617 __malloc_ptrdiff_t.
3618
3619 * malloc/malloc.h (__malloc_size_t): Remove macro.
3620 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3621 __malloc_size_t.
3622 (old_memalign_hook): Likewise.
3623 (old_realloc_hook): Likewise.
3624 (struct hdr): Likewise.
3625 (flood): Likewise.
3626 (mallochook): Likewise.
3627 (memalignhook): Likewise.
3628 (reallochook): Likewise.
3629 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3630 (tr_old_realloc_hook): Likewise.
3631 (tr_old_memalign_hook): Likewise.
3632 (tr_mallochook): Likewise.
3633 (tr_reallochook): Likewise.
3634 (tr_memalignhook): Likewise.
3635
3636 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637
3638 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3639 default_ldbl_pack and using as default implementation.
3640 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3641 implementation.
3642 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3643 redundant definition.
3644 (ldbl_insert_mantissa): Likewise.
3645 (ldbl_canonicalize): Likewise.
3646 (ldbl_nearbyint): Likewise.
3647 (ldbl_pack): Rename to ldbl_pack_ppc.
3648 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3649 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3650 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3651
3652 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3653
3654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3655 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3656 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3657 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3659 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3660 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3661 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3662
3663 2013-03-07 Andreas Jaeger <aj@suse.de>
3664
3665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3666 bits/mman-linux.h.
3667
3668 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3669
3670 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3671 Include mpa.h and declare __MPEXP.
3672 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3674 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3675 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3677 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3678 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3679
3680 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3681 (__slowpow): Use long double EXPL and LOGL functions to
3682 compute POW.
3683 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3684 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3686 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3687 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3688 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3689
3690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3691 intermediate variable to calculate exponent.
3692 (__sqr): Likewise.
3693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3694 Likewise.
3695 (__sqr): Likewise.
3696
3697 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3698 [!NO__SQR]: Define __sqr.
3699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3700 and NO__SQR. Remove all code except __mul and __sqr. Include
3701 sysdeps/ieee754/dbl-64/mpa.c.
3702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3703
3704 [BZ #12723]
3705 * posix/Makefile (tests): Add tst-pathconf.
3706 * posix/tst-pathconf.c: New test case.
3707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3708 _PC_PIPE_BUF.
3709 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3710
3711 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3712
3713 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3714
3715 2013-03-06 Andreas Jaeger <aj@suse.de>
3716
3717 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3718 definition via __MAP_ANONYMOUS.
3719
3720 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3721 it's not part of Linux headers.
3722
3723 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3724 (MAP_HUGE_MASK): Define.
3725
3726 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3727 Define.
3728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3730 Define.
3731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3732 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3733 Define.
3734 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3735 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3736 Define.
3737 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3738
3739 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3740 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3741 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3742 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3743 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3744 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3745
3746 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3747 Handle f2fs.
3748
3749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3750 Handle f2fs and efivarfs.
3751
3752 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3753 f2fs.
3754
3755 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3756 (EFIVARFS_MAGIC): Add.
3757 (F2FS_LINK_MAX): Add.
3758
3759 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3760
3761 * stdio-common/vfprintf.c: Replace __builtin_expect with
3762 __glibc_unlikely.
3763
3764 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3765
3766 [BZ #13550]
3767 * sysdeps/generic/bp-sym.h: Remove file.
3768 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3769 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3770 <bp-sym.h> and <bp-asm.h>.
3771 (__longjmp): Don't use BP_SYM.
3772 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3773 and <bp-asm.h>.
3774 (memcpy): Don't use BP_SYM.
3775 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3776 <bp-sym.h> and <bp-asm.h>.
3777 (memcpy): Don't use BP_SYM.
3778 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3779 <bp-asm.h>.
3780 (memcpy): Don't use BP_SYM.
3781 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3782 <bp-asm.h>.
3783 (memset): Don't use BP_SYM.
3784 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3785 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3786 (__bzero): Don't use BP_SYM.
3787 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3788 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3790 <bp-sym.h> and <bp-asm.h>.
3791 (memcmp): Don't use BP_SYM. Remove comment about bounded
3792 pointers.
3793 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3794 <bp-sym.h> and <bp-asm.h>.
3795 (memcpy): Don't use BP_SYM.
3796 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3797 <bp-sym.h> and <bp-asm.h>.
3798 (memset): Don't use BP_SYM.
3799 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3800 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3801 (__bzero): Don't use BP_SYM.
3802 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3803 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3804 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3805 <bp-sym.h> and <bp-asm.h>.
3806 (strncmp): Don't use BP_SYM. Remove comment about bounded
3807 pointers.
3808 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3809 <bp-sym.h> and <bp-asm.h>.
3810 (memcpy): Don't use BP_SYM.
3811 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3812 <bp-sym.h> and <bp-asm.h>.
3813 (memset): Don't use BP_SYM.
3814 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3815 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3816 (__bzero): Don't use BP_SYM.
3817 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3818 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3819 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3820 <bp-sym.h> and <bp-asm.h>.
3821 (__memchr): Don't use BP_SYM.
3822 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3823 <bp-sym.h> and <bp-asm.h>.
3824 (memcmp): Don't use BP_SYM. Remove comment about bounded
3825 pointers.
3826 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3827 <bp-sym.h> and <bp-asm.h>.
3828 (memcpy): Don't use BP_SYM.
3829 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3830 <bp-sym.h> and <bp-asm.h>.
3831 (__mempcpy): Don't use BP_SYM.
3832 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3833 <bp-sym.h> and <bp-asm.h>.
3834 (__memrchr): Don't use BP_SYM.
3835 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3836 <bp-sym.h> and <bp-asm.h>.
3837 (memset): Don't use BP_SYM.
3838 (__bzero): Likewise.
3839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3840 <bp-sym.h> and <bp-asm.h>.
3841 (__rawmemchr): Don't use BP_SYM.
3842 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3843 <bp-sym.h> and <bp-asm.h>.
3844 (__STRCMP): Don't use BP_SYM.
3845 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3846 <bp-sym.h> and <bp-asm.h>.
3847 (strchr): Don't use BP_SYM.
3848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3849 <bp-sym.h> and <bp-asm.h>.
3850 (__strchrnul): Don't use BP_SYM.
3851 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3852 <bp-sym.h> and <bp-asm.h>.
3853 (strlen): Don't use BP_SYM.
3854 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3855 <bp-sym.h> and <bp-asm.h>.
3856 (strncmp): Don't use BP_SYM. Remove comment about bounded
3857 pointers.
3858 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3859 <bp-sym.h> and <bp-asm.h>.
3860 (__strnlen): Don't use BP_SYM.
3861 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3862 <bp-sym.h> and <bp-asm.h>.
3863 (__GI__setjmp): Don't use BP_SYM.
3864 (_setjmp): Likewise.
3865 (__sigsetjmp): Likewise.
3866 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3867 (L(start_addresses)): Don't use BP_SYM.
3868 (_start): Likewise.
3869 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3870 <bp-asm.h>.
3871 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3872 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3873 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3874 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3875 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3876 <bp-asm.h>.
3877 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3878 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3879 about bounded pointers.
3880 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3881 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3882 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3883 <bp-asm.h>.
3884 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3885 about bounded pointers. Remove GKM FIXME comments.
3886 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3887 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3888 <bp-asm.h>.
3889 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3890 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3891 Remove GKM FIXME comments.
3892 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3893 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3894 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3895 <bp-asm.h>.
3896 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3897 about bounded pointers. Remove GKM FIXME comment.
3898 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3899 and <bp-asm.h>.
3900 (strncmp): Don't use BP_SYM. Remove comment about bounded
3901 pointers.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3903 <bp-sym.h> and <bp-asm.h>.
3904 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3906 <bp-sym.h> and <bp-asm.h>.
3907 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3908 comment.
3909
3910 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3911
3912 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3913 call free(NULL).
3914
3915 2013-03-05 David S. Miller <davem@davemloft.net>
3916
3917 * po/es.po: Update from translation team.
3918
3919 2013-03-05 Andreas Jaeger <aj@suse.de>
3920
3921 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3922 <bits/mman-linux.h>.
3923 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3924 is fine.
3925 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3926 <bits/mman-linux.h> to end of file.
3927 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3928 is fine.
3929 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3930 <bits/mman-linux.h> to end of file.
3931 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3932 is fine.
3933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3934 <bits/mman-linux.h> to end of file.
3935
3936 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3937 (MCL_CURRENT, MCL_FUTURE): Define here.
3938
3939 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3940
3941 [BZ #15232]
3942 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3943 attribute_hidden.
3944 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3945
3946 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3947
3948 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3949 fourth parameter needed for rt_sigprocmask syscall.
3950 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3951 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3952 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3953 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3954 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3955 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3956
3957 2013-03-04 Joseph Myers <joseph@codesourcery.com>
3958
3959 [BZ #13550]
3960 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3961 comment about bounded pointers.
3962 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3963 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3964
3965 2013-03-04 Andreas Jaeger <aj@suse.de>
3966
3967 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3968 common definitions.
3969
3970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3971 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3972 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3976
3977 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3978
3979 [BZ #15055]
3980 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3981 __ieee754_sqrl instead of __sqrl.
3982
3983 2013-03-01 Joseph Myers <joseph@codesourcery.com>
3984
3985 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3986 * sysdeps/powerpc/fpu_control.h: ... here.
3987 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3988 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3989 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3990 * sysdeps/powerpc/bits/mathinline.h: ... here.
3991
3992 2013-03-01 Roland McGrath <roland@hack.frob.com>
3993
3994 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3995 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3996 to just [NEED_DL_SYSINFO_DSO].
3997 * elf/dl-support.c: Likewise.
3998 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3999 * elf/rtld.c (dl_main): Likewise.
4000 * elf/setup-vdso.h (setup_vdso): Likewise.
4001 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4002 * sysdeps/unix/sysv/linux/dl-sysdep.c
4003 (_dl_discover_osversion): Likewise.
4004
4005 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4006
4007 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4008 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4009
4010 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4011
4012 * NEWS: Mention libm performance improvements and non-x86 PI
4013 futex support.
4014
4015 * csu/libc-start.c (__pthread_initialize_minimal): Change
4016 function arguments.
4017 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4018
4019 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4020
4021 [BZ #13550]
4022 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4023 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4024 <bp-sym.h> and <bp-asm.h>.
4025 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4026 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4027 and <bp-asm.h>.
4028 (memcpy): Don't use BP_SYM.
4029 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4030 <bp-asm.h>.
4031 (__mpn_add_n): Don't use BP_SYM.
4032 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4033 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4034 and <bp-asm.h>.
4035 (__mpn_addmul_1): Don't use BP_SYM.
4036 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4037 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4038 <bp-sym.h>.
4039 (_setjmp): Don't use BP_SYM.
4040 (__novmx_setjmp): Likewise.
4041 (__GI__setjmp): Likewise.
4042 (__vmx_setjmp): Likewise.
4043 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4044 <bp-sym.h>.
4045 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4046 (__bzero): Don't use BP_SYM.
4047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4049 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4050 <bp-sym.h> and <bp-asm.h>.
4051 (memcpy): Don't use BP_SYM.
4052 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4053 <bp-sym.h> and <bp-asm.h>.
4054 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4056 <bp-sym.h> and <bp-asm.h>.
4057 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4058 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4059 <bp-asm.h>.
4060 (__mpn_lshift): Don't use BP_SYM.
4061 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4062 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4063 <bp-asm.h>.
4064 (memset): Don't use BP_SYM.
4065 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4066 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4067 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4068 <bp-asm.h>.
4069 (__mpn_mul_1): Don't use BP_SYM.
4070 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4072 <bp-sym.h> and <bp-asm.h>.
4073 (memcmp): Don't use BP_SYM.
4074 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4075 <bp-sym.h> and <bp-asm.h>.
4076 (memcpy): Don't use BP_SYM.
4077 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4078 <bp-sym.h> and <bp-asm.h>.
4079 (memset): Don't use BP_SYM.
4080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4081 <bp-sym.h> and <bp-asm.h>.
4082 (strncmp): Don't use BP_SYM.
4083 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4084 <bp-sym.h> and <bp-asm.h>.
4085 (memcpy): Don't use BP_SYM.
4086 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4087 <bp-sym.h> and <bp-asm.h>.
4088 (memset): Don't use BP_SYM.
4089 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4090 <bp-sym.h> and <bp-asm.h>.
4091 (__memchr): Don't use BP_SYM.
4092 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4093 <bp-sym.h> and <bp-asm.h>.
4094 (memcmp): Don't use BP_SYM.
4095 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4096 <bp-sym.h> and <bp-asm.h>.
4097 (memcpy): Don't use BP_SYM.
4098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4099 <bp-sym.h> and <bp-asm.h>.
4100 (__mempcpy): Don't use BP_SYM.
4101 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4102 <bp-sym.h> and <bp-asm.h>.
4103 (__memrchr): Don't use BP_SYM.
4104 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4105 <bp-sym.h> and <bp-asm.h>.
4106 (memset): Don't use BP_SYM.
4107 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4108 <bp-sym.h> and <bp-asm.h>.
4109 (__rawmemchr): Don't use BP_SYM.
4110 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4111 <bp-sym.h> and <bp-asm.h>.
4112 (__STRCMP): Don't use BP_SYM.
4113 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4114 <bp-sym.h> and <bp-asm.h>.
4115 (strchr): Don't use BP_SYM.
4116 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4117 <bp-sym.h> and <bp-asm.h>.
4118 (__strchrnul): Don't use BP_SYM.
4119 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4120 <bp-sym.h> and <bp-asm.h>.
4121 (strlen): Don't use BP_SYM.
4122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4123 <bp-sym.h> and <bp-asm.h>.
4124 (strncmp): Don't use BP_SYM.
4125 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4126 <bp-sym.h> and <bp-asm.h>.
4127 (__strnlen): Don't use BP_SYM.
4128 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4129 <bp-asm.h>.
4130 (__mpn_rshift): Don't use BP_SYM.
4131 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4132 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4133 <bp-sym.h> and <bp-asm.h>.
4134 (__sigsetjmp): Don't use BP_SYM.
4135 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4136 (L(start_addresses)): Don't use BP_SYM.
4137 (_start): Likewise.
4138 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4139 <bp-asm.h>.
4140 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4141 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4142 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4143 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4144 <bp-asm.h>.
4145 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4146 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4147 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4148 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4149 <bp-asm.h>.
4150 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4151 comments.
4152 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4153 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4154 <bp-asm.h>.
4155 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4156 FIXME comments.
4157 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4158 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4159 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4160 <bp-asm.h>.
4161 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4162 comment.
4163 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4164 and <bp-asm.h>.
4165 (strncmp): Don't use BP_SYM,
4166 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4167 <bp-asm.h>.
4168 (__mpn_sub_n): Don't use BP_SYM.
4169 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4170 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4171 and <bp-asm.h>.
4172 (__mpn_submul_1): Don't use BP_SYM.
4173 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4175 <bp-sym.h> and <bp-asm.h>.
4176 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4178 <bp-sym.h> and <bp-asm.h>.
4179 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4180 comment.
4181
4182 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
4184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4185 Use ZK to minimize writes to Z.
4186 (sub_magnitudes): Simplify code a bit.
4187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4188 Use ZK to minimize writes to Z.
4189 (sub_magnitudes): Simplify code a bit.
4190
4191 2013-02-27 Roland McGrath <roland@hack.frob.com>
4192
4193 * csu/gmon-start.c: Add special exception to license text.
4194
4195 2013-02-27 Richard Henderson <rth@redhat.com>
4196
4197 * scripts/config.guess: Update from config.git.
4198 * scripts/config.sub: Likewise.
4199
4200 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4201
4202 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4203
4204 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4205
4206 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4207
4208 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4209
4210 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4211
4212 2013-02-26 Roland McGrath <roland@hack.frob.com>
4213
4214 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4215 [$(build-shared = yes].
4216
4217 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
4219 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4220 (__mul): Reduce iterations for calculating mantissa.
4221
4222 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4223 MPTWO.
4224 (__mpranred): Likewise.
4225
4226 [BZ #15160]
4227 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4228 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4229
4230 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4231
4232 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4233 Define __attribute__.
4234
4235 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4236
4237 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4238 unused.
4239 * posix/regex_internal.h (__attribute): Remove.
4240 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4241 (re_string_context_at): Likewise.
4242 (bitset_not): Use __attribute__ and mark function as possibly
4243 unused.
4244 (bitset_merge): Likewise.
4245 (bitset_mask): Likewise.
4246 (re_string_char_size_at): Likewise.
4247 (re_string_wchar_at): Likewise.
4248 (re_string_elem_size_at): Likewise.
4249
4250 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4251
4252 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4253 code.
4254 (cc32): Likewise.
4255
4256 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4257 (__acr): Likewise.
4258 (__cpy): Likewise.
4259 (norm): Likewise.
4260 (denorm): Likewise.
4261 (__dbl_mp): Likewise.
4262 (add_magnitudes): Likewise.
4263 (sub_magnitudes): Likewise.
4264 (__mul): Likewise.
4265 (__inv): Likewise.
4266
4267 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4268 style.
4269
4270 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4271 style.
4272
4273 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4274 code.
4275
4276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4277 up changes with default code.
4278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4279 Likewise.
4280
4281 2013-02-24 Allan McRae <allan@archlinux.org>
4282
4283 * manual/socket.texi (The Internet Namespace): Order menu items
4284 to match that in the file.
4285
4286 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4287 node listing of the info page menu.
4288
4289 2013-02-21 Joseph Myers <joseph@codesourcery.com>
4290
4291 [BZ #13550]
4292 * sysdeps/i386/bp-asm.h: Remove file.
4293 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4294 (PARMS): Do not use macros from bp-asm.h.
4295 (S1): Likewise.
4296 (S2): Likewise.
4297 (SIZE): Likewise.
4298 (__mpn_add_n): Do not use BP_SYM
4299 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4300 "bp-asm.h".
4301 (PARMS): Do not use macros from bp-asm.h.
4302 (S1): Likewise.
4303 (SIZE): Likewise.
4304 (__mpn_addmul_1): Do not use BP_SYM
4305 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4306 "bp-asm.h".
4307 (PARMS): Do not use macros from bp-asm.h.
4308 (SIGMSK): Likewise.
4309 (_setjmp): Likewise. Do not use BP_SYM.
4310 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4311 "bp-asm.h".
4312 (PARMS): Do not use macros from bp-asm.h.
4313 (SIGMSK): Likewise.
4314 (setjmp): Likewise. Do not use BP_SYM.
4315 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4316 "bp-asm.h".
4317 (PARMS): Do not use macros from bp-asm.h.
4318 (__frexp): Do not use BP_SYM.
4319 (frexp): Likewise.
4320 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4321 "bp-asm.h".
4322 (PARMS): Do not use macros from bp-asm.h.
4323 (__frexpf): Do not use BP_SYM.
4324 (frexpf): Likewise.
4325 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4326 "bp-asm.h".
4327 (PARMS): Do not use macros from bp-asm.h.
4328 (__frexpl): Do not use BP_SYM.
4329 (frexpl): Likewise.
4330 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4331 "bp-asm.h".
4332 (PARMS): Do not use macros from bp-asm.h.
4333 (__remquo): Do not use BP_SYM.
4334 (remquo): Likewise.
4335 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4336 "bp-asm.h".
4337 (PARMS): Do not use macros from bp-asm.h.
4338 (__remquof): Do not use BP_SYM.
4339 (remquof): Likewise.
4340 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4341 "bp-asm.h".
4342 (PARMS): Do not use macros from bp-asm.h.
4343 (__remquol): Do not use BP_SYM.
4344 (remquol): Likewise.
4345 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4346 "bp-asm.h".
4347 (PARMS): Do not use macros from bp-asm.h.
4348 (DEST): Likewise.
4349 (SRC): Likewise.
4350 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4351 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4352 "bp-asm.h".
4353 (PARMS): Do not use macros from bp-asm.h.
4354 (strlen): Do not use BP_SYM.
4355 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4356 "bp-asm.h".
4357 (PARMS): Do not use macros from bp-asm.h.
4358 (S1): Likewise.
4359 (S2): Likewise.
4360 (SIZE): Likewise.
4361 (__mpn_add_n): Do not use BP_SYM.
4362 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4363 "bp-asm.h".
4364 (PARMS): Do not use macros from bp-asm.h.
4365 (S1): Likewise.
4366 (SIZE): Likewise.
4367 (__mpn_addmul_1): Do not use BP_SYM.
4368 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4369 weak_alias.
4370 (bzero): Likewise.
4371 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4372 "bp-asm.h".
4373 (PARMS): Do not use macros from bp-asm.h.
4374 (S): Likewise.
4375 (SIZE): Likewise.
4376 (__mpn_lshift): Do not use BP_SYM.
4377 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4378 "bp-asm.h".
4379 (PARMS): Do not use macros from bp-asm.h.
4380 (DEST): Likewise.
4381 (SRC): Likewise.
4382 (LEN): Likewise.
4383 (memcpy): Likewise. Do not use BP_SYM.
4384 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4385 libc_hidden_def and weak_alias.
4386 (mempcpy): Do not use BP_SYM in weak_alias.
4387 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4388 "bp-asm.h".
4389 (PARMS): Do not use macros from bp-asm.h.
4390 (DEST): Likewise.
4391 (LEN): Likewise.
4392 [!BZERO_P] (CHR): Likewise.
4393 (memset): Likewise. Do not use BP_SYM.
4394 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4395 "bp-asm.h".
4396 (PARMS): Do not use macros from bp-asm.h.
4397 (S1): Likewise.
4398 (SIZE): Likewise.
4399 (__mpn_mul_1): Do not use BP_SYM.
4400 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4401 "bp-asm.h".
4402 (PARMS): Do not use macros from bp-asm.h.
4403 (S): Likewise.
4404 (SIZE): Likewise.
4405 (__mpn_rshift): Do not use BP_SYM.
4406 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4407 "bp-asm.h".
4408 (PARMS): Do not use macros from bp-asm.h.
4409 (STR): Likewise.
4410 (CHR): Likewise.
4411 (strchr): Likewise. Do not use BP_SYM.
4412 (index): Do not use BP_SYM in weak_alias.
4413 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4414 "bp-asm.h".
4415 (PARMS): Do not use macros from bp-asm.h.
4416 (DEST): Likewise.
4417 (SRC): Likewise.
4418 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4419 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4420 "bp-asm.h".
4421 (PARMS): Do not use macros from bp-asm.h.
4422 (strlen): Do not use BP_SYM.
4423 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4424 "bp-asm.h".
4425 (PARMS): Do not use macros from bp-asm.h.
4426 (S1): Likewise.
4427 (S2): Likewise.
4428 (SIZE): Likewise.
4429 (__mpn_sub_n): Do not use BP_SYM.
4430 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4431 "bp-asm.h".
4432 (PARMS): Do not use macros from bp-asm.h.
4433 (S1): Likewise.
4434 (SIZE): Likewise.
4435 (__mpn_submul_1): Do not use BP_SYM.
4436 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4437 "bp-asm.h".
4438 (PARMS): Do not use macros from bp-asm.h.
4439 (S1): Likewise.
4440 (S2): Likewise.
4441 (SIZE): Likewise.
4442 (__mpn_add_n): Do not use BP_SYM.
4443 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4444 weak_alias.
4445 (bzero): Likewise.
4446 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4447 "bp-asm.h".
4448 (PARMS): Do not use macros from bp-asm.h.
4449 (BLK2): Likewise.
4450 (LEN): Likewise.
4451 (memcmp): Do not use BP_SYM.
4452 (bcmp): Do not use BP_SYM in weak_alias.
4453 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4454 "bp-asm.h".
4455 (PARMS): Do not use macros from bp-asm.h.
4456 (DEST): Likewise.
4457 (SRC): Likewise.
4458 (LEN): Likewise.
4459 (memcpy): Likewise. Do not use BP_SYM.
4460 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4461 "bp-asm.h".
4462 (PARMS): Do not use macros from bp-asm.h.
4463 (DEST): Likewise.
4464 (SRC): Likewise.
4465 (LEN): Likewise.
4466 (memmove): Likewise. Do not use BP_SYM.
4467 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4468 "bp-asm.h".
4469 (PARMS): Do not use macros from bp-asm.h.
4470 (DEST): Likewise.
4471 (SRC): Likewise.
4472 (LEN): Likewise.
4473 (__mempcpy): Likewise. Do not use BP_SYM.
4474 (mempcpy): Do not use BP_SYM in weak_alias.
4475 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4476 "bp-asm.h".
4477 (PARMS): Do not use macros from bp-asm.h.
4478 (DEST): Likewise.
4479 (LEN): Likewise.
4480 [!BZERO_P] (CHR): Likewise.
4481 (memset): Likewise. Do not use BP_SYM.
4482 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4483 "bp-asm.h".
4484 (PARMS): Do not use macros from bp-asm.h.
4485 (STR2): Likewise.
4486 (strcmp): Do not use BP_SYM.
4487 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4488 "bp-asm.h".
4489 (PARMS): Do not use macros from bp-asm.h.
4490 (STR): Likewise.
4491 (DELIM): Likewise.
4492 [USE_AS_STRTOK_R] (SAVE): Likewise.
4493 (FUNCTION): Likewise. Do not use BP_SYM.
4494 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4495 aliases.
4496 (strtok_r): Likewise.
4497 (__GI___strtok_r): Likewise.
4498 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4499 (PARMS): Do not use macros from bp-asm.h.
4500 (S): Likewise.
4501 (SIZE): Likewise.
4502 (__mpn_lshift): Do not use BP_SYM.
4503 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4504 (PARMS): Do not use macros from bp-asm.h.
4505 (STR): Likewise.
4506 (CHR): Likewise.
4507 (__memchr): Do not use BP_SYM.
4508 (memchr): Do not use BP_SYM in weak_alias.
4509 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4510 (PARMS): Do not use macros from bp-asm.h.
4511 (BLK2): Likewise.
4512 (LEN): Likewise.
4513 (memcmp): Do not use BP_SYM.
4514 (bcmp): Do not use BP_SYM in weak_alias.
4515 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4516 (PARMS): Do not use macros from bp-asm.h.
4517 (S1): Likewise.
4518 (SIZE): Likewise.
4519 (__mpn_mul_1): Do not use BP_SYM.
4520 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4521 "bp-asm.h".
4522 (PARMS): Do not use macros from bp-asm.h.
4523 (STR): Likewise.
4524 (CHR): Likewise.
4525 (__rawmemchr): Do not use BP_SYM.
4526 (rawmemchr): Do not use BP_SYM in weak_alias.
4527 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4528 (PARMS): Do not use macros from bp-asm.h.
4529 (S): Likewise.
4530 (SIZE): Likewise.
4531 (__mpn_rshift): Do not use BP_SYM.
4532 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4533 (PARMS): Do not use macros from bp-asm.h.
4534 (SIGMSK): Likewise.
4535 (__sigsetjmp): Likewise. Do not use BP_SYM.
4536 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4537 (_start): Do not use BP_SYM.
4538 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4539 (PARMS): Do not use macros from bp-asm.h.
4540 (DEST): Likewise.
4541 (SRC): Likewise.
4542 (__stpcpy): Likewise. Do not use BP_SYM.
4543 (stpcpy): Do not use BP_SYM in weak_alias.
4544 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4545 "bp-asm.h".
4546 (PARMS): Do not use macros from bp-asm.h.
4547 (DEST): Likewise.
4548 (SRC): Likewise.
4549 (LEN): Likewise.
4550 (__stpncpy): Likewise. Do not use BP_SYM.
4551 (stpncpy): Do not use BP_SYM in weak_alias.
4552 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4553 (PARMS): Do not use macros from bp-asm.h.
4554 (STR): Likewise.
4555 (CHR): Likewise.
4556 (strchr): Likewise. Do not use BP_SYM.
4557 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4558 "bp-asm.h".
4559 (PARMS): Do not use macros from bp-asm.h.
4560 (STR): Likewise.
4561 (CHR): Likewise.
4562 (__strchrnul): Likewise. Do not use BP_SYM.
4563 (strchrnul): Do not use BP_SYM in weak_alias.
4564 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4565 "bp-asm.h".
4566 (PARMS): Do not use macros from bp-asm.h.
4567 (STOP): Likewise.
4568 (strcspn): Do not use BP_SYM.
4569 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4570 "bp-asm.h".
4571 (PARMS): Do not use macros from bp-asm.h.
4572 (STR): Likewise.
4573 (STOP): Likewise.
4574 (strpbrk): Likewise. Do not use BP_SYM.
4575 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4576 "bp-asm.h".
4577 (PARMS): Do not use macros from bp-asm.h.
4578 (STR): Likewise.
4579 (CHR): Likewise.
4580 (strrchr): Likewise. Do not use BP_SYM.
4581 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4582 (PARMS): Do not use macros from bp-asm.h.
4583 (SKIP): Likewise.
4584 (strspn): Do not use BP_SYM.
4585 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4586 (PARMS): Do not use macros from bp-asm.h.
4587 (STR): Likewise.
4588 (DELIM): Likewise.
4589 (SAVE): Likewise.
4590 (FUNCTION): Likewise. Do not use BP_SYM.
4591 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4592 aliases.
4593 (strtok_r): Likewise.
4594 (__GI___strtok_r): Likewise.
4595 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4596 (PARMS): Do not use macros from bp-asm.h.
4597 (S1): Likewise.
4598 (S2): Likewise.
4599 (SIZE): Likewise.
4600 (__mpn_sub_n): Do not use BP_SYM.
4601 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4602 "bp-asm.h".
4603 (PARMS): Do not use macros from bp-asm.h.
4604 (S1): Likewise.
4605 (SIZE): Likewise.
4606 (__mpn_submul_1): Do not use BP_SYM.
4607 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4608 <bp-sym.h>.
4609 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4610 and <bp-asm.h>.
4611 (PARMS): Do not use macros from bp-asm.h.
4612 (FLAGS): Likewise.
4613 (PTID): Likewise.
4614 (TLS): Likewise.
4615 (CTID): Likewise.
4616 (__clone): Do not use BP_SYM.
4617 (clone): Do not use BP_SYM in weak_alias.
4618 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4619 and <bp-asm.h>.
4620 (PARMS): Do not use macros from bp-asm.h.
4621 (LEN): Likewise.
4622 (__mmap64): Do not use BP_SYM.
4623 (mmap64): Do not use BP_SYM in weak_alias.
4624 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4625 <bp-sym.h> and <bp-asm.h>.
4626 (PARMS): Do not use macros from bp-asm.h.
4627 (__posix_fadvise64_l64): Do not use BP_SYM.
4628 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4629 (PARMS): Do not use macros from bp-asm.h.
4630 (NSOPS): Likewise.
4631 (semtimedop): Do not use BP_SYM.
4632 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4633 and <bp-asm.h>.
4634
4635 2013-02-21 Allan McRae <allan@archlinux.org>
4636
4637 * manual/message.texi (Charset conversion in gettext):
4638 Move @end statement to beginning of line.
4639
4640 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4641
4642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4643 static.
4644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4645 Likewise.
4646
4647 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4648 (denorm): Likewise.
4649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4651
4652 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4653
4654 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4655 tail-call to the resolved function if pltexit isn't needed.
4656
4657 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4658
4659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4660 or Y being zero as being unlikely.
4661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4662 Likewise.
4663
4664 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4665
4666 * manual/nss.texi (System Databases and Name Service Switch):
4667 Remove frobnicate @pxref.
4668
4669 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4670
4671 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4672 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4673
4674 2013-02-20 Petr Machata <pmachata@redhat.com>
4675
4676 * elf/elf.h (R_ARM_TARGET1): New macro.
4677 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4678 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4679 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4680 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4681 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4682 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4683 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4684 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4685 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4686 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4687 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4688 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4689 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4690 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4691 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4692 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4693 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4694 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4695 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4696 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4697 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4698 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4699 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4700 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4701 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4702 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4703 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4704 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4705 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4706 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4707 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4708 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4709 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4710 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4711 (R_ARM_THM_GOT_BREL12): Likewise.
4712 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4713 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4714 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4715 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4716 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4717 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4718 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4719 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4720 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4721
4722 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4723
4724 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4725 __attribute_used__ to __attribute__ ((unused)).
4726
4727 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4728
4729 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4730 powerpc mpa.c.
4731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4732 comment formatting.
4733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4734
4735 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4736
4737 [BZ #13550]
4738 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4739 Remove macro.
4740 (ENTER): Remove both macro definitions.
4741 (LEAVE): Likewise.
4742 (CHECK_BOUNDS_LOW): Likewise.
4743 (CHECK_BOUNDS_HIGH): Likewise.
4744 (CHECK_BOUNDS_BOTH): Likewise.
4745 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4746 (RETURN_BOUNDED_POINTER): Likewise.
4747 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4748 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4749 (POP_ERRNO_LOCATION_RETURN): Likewise.
4750 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4751 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4752 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4753 macros.
4754 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4755 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4756 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4757 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4758 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4759 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4760 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4761 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4762 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4763 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4764 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4765 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4766 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4767 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4768 removed macros.
4769 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4770 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4771 macros.
4772 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4773 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4774 * sysdeps/i386/i586/memset.S (memset): Likewise.
4775 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4776 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4777 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4778 macros.
4779 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4780 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4781 Change uses of L(2) to L(out).
4782 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4783 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4784 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4785 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4786 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4787 removed macros.
4788 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4789 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4790 macros.
4791 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4792 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4793 (RETURN): Do not use macro LEAVE.
4794 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4795 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4796 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4797 * sysdeps/i386/i686/memset.S (memset): Likewise.
4798 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4799 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4800 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4801 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4802 Likewise.
4803 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4804 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4805 L(1_2) and L(1_3) into L(1).
4806 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4807 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4808 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4809 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4810 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4811 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4812 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4813 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4814 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4815 macros.
4816 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4817 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4818 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4819 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4820 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4821 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4822 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4823 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4824 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4825 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4826 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4827 * sysdeps/i386/strspn.S (strspn): Likewise.
4828 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4829 conditional code.
4830 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4831 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4832 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4833 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4834 L(1_3) into L(1_1).
4835 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4836 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4837 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4838 macros.
4839 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4840
4841 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4842
4843 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4844 macro.
4845
4846 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4847
4848 * math/atest-exp.c (exp_mpn): Remove ROUND.
4849 * math/atest-exp2.c (exp_mpn): Likewise.
4850 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4851
4852 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4853 * stdlib/tst-tls-atexit-lib.c: Likewise.
4854 * stdlib/tst-tls-atexit.c: Likewise.
4855
4856 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4857
4858 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4859 and __attribute_alloc_size__.
4860
4861 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4862
4863 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4864 __attribute_alloc_size__.
4865 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4866 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4867
4868 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4869
4870 * include/programs/xmalloc.h: New file.
4871 * catgets/gencat.c: Include it.
4872 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4873 * elf/pldd.c: Likewise.
4874 * iconv/iconv_charmap.c: Likewise.
4875 * iconv/iconvconfig.c: Likewise.
4876 * iconv/strtab.c: Likewise.
4877 * locale/programs/locale.c: Likewise.
4878 * locale/programs/localedef.h: Likewise.
4879 * locale/programs/simple-hash.c: Likewise.
4880 * nscd/nscd.h: Likewise.
4881 * nss/makedb.c: Likewise.
4882 * sysdeps/generic/ldconfig.h: Likewise.
4883
4884 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4885
4886 * Versions.def: Add GLIBC_2.18.
4887 * include/link.h (struct link_map): New member l_tls_dtor_count.
4888 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4889 (__call_tls_dtors): Likewise.
4890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4891 __cxa_thread_atexit_impl.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4893 Likewise.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4899 Likewise.
4900 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4902 Likewise.
4903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4904 Likewise.
4905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4907 Likewise.
4908 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4909 (tests): Add test case tst-tls-atexit.
4910 (modules-names): Add shared library for tst-tls-atexit.
4911 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4912 (GLIBC_PRIVATE): Add __call_tls_dtors.
4913 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4914 for libstdc++.
4915 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4916 * stdlib/tst-tls-atexit.c: New test case.
4917 * stdlib/tst-tls-atexit-lib.c: New test case.
4918
4919 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
4920
4921 * elf/Versions (ld): Add _dl_find_dso_for_object.
4922 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4923 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4924 (dl_open_worker): Use _dl_find_dso_for_object.
4925 * elf/dl-sym.c (do_sym): Likewise.
4926 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4927
4928 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4929
4930 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4931 Syntactic changes only.
4932 (_dl_runtime_profile): Do a tail-call to the resolved function.
4933
4934 2013-02-17 Joseph Myers <joseph@codesourcery.com>
4935
4936 [BZ #13550]
4937 * sysdeps/x86_64/bp-asm.h: Remove file.
4938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4939 <bp-sym.h> and <bp-asm.h>.
4940 (__clone): Do not use BP_SYM.
4941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4942 <bp-sym.h> and <bp-asm.h>.
4943 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4944 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4945 "bp-asm.h".
4946 (_setjmp): Do not use BP_SYM.
4947 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4948 "bp-asm.h".
4949 (setjmp): Do not use BP_SYM.
4950 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4951 libc_hidden_def.
4952 (mempcpy): Do not use BP_SYM in weak_alias.
4953 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4954 "bp-asm.h".
4955 (strchr): Do not use BP_SYM.
4956 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4957 "bp-asm.h".
4958 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4959 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4960 (_start): Do not use BP_SYM.
4961 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4962 "bp-asm.h".
4963 (strcat): Do not use BP_SYM.
4964 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4965 "bp-asm.h".
4966 (STRCMP): Do not use BP_SYM.
4967 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4968 "bp-asm.h".
4969 (STRCPY): Do not use BP_SYM.
4970 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4971 "bp-asm.h".
4972 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4973 "bp-asm.h".
4974 (FUNCTION): Do not use BP_SYM.
4975 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4976 weak_alias.
4977 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4978
4979 2013-02-17 Andreas Jaeger <aj@suse.de>
4980
4981 * time/Versions: Sort entries.
4982 * string/Versions: Likewise.
4983 * resolv/Versions: Likewise.
4984 * posix/Versions: Likewise.
4985 * iconv/Versions: Likewise.
4986 * elf/Versions: Likewise.
4987 * wcsmbs/Versions: Likewise.
4988
4989 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
4991 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4992 loop termination condition.
4993
4994 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4995 variable to calculate EZ.
4996 (__sqr): Likewise.
4997
4998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4999 the lower precision input.
5000
5001 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5002
5003 [BZ #13550]
5004 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5005 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5006 (run-via-rtld-prefix): Do not handle %-bp tests.
5007 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5008 (all-object-suffixes): Remove .ob.
5009 (bppfx): Remove variable.
5010 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5011 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5012 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5013 [$(build-bounded) = yes] (libtype.ob): Likewise.
5014 * Makerules (elide-routines.ob): Remove variable.
5015 (do-tests-clean): Do not handle *-bp.out.
5016 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5017 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5018 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5019 (tests): Do not include $(tests-bp.out).
5020 (xtests): Do not include $(xtests-bp.out).
5021 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5022 [$(build-bounded) = yes] ($(addprefix
5023 $(objpfx),$(binaries-bounded))): Remove rule.
5024 ($(objpfx)%-bp.out): Remove rule.
5025 * config.make.in (build-bounded): Remove variable.
5026 * crypt/Makefile [$(build-bounded) = yes]
5027 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5028 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5029 append to variable.
5030 [$(build-bounded) = yes] (install-lib): Likewise.
5031 [$(build-bounded) = yes] (generated): Likewise.
5032 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5033 Remove rule.
5034 * intl/Makefile [$(build-bounded) = yes]
5035 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5036 * math/Makefile [$(build-bounded) = yes]
5037 ($(tests:%=$(objpfx)%-bp): Likewise.
5038 * misc/Makefile [$(build-bounded) = yes]
5039 ($(objpfx)tst-tsearch-bp): Likewise.
5040 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5041 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5042 Remove dependency.
5043 * string/Makefile (o-objects.ob): Remove variable.
5044 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5045 (CFLAGS-.ob): Remove variable.
5046 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5047 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5048 both definitions of variable.
5049 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5050 (ASFLAGS-.ob): Remove variable.
5051
5052 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5053
5054 [BZ #13550]
5055 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5056 Remove __BOUNDED_POINTERS__ from condition.
5057 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5058 * string/bits/string2.h [!__NO_STRING_INLINES &&
5059 !__BOUNDED_POINTERS__]: Likewise.
5060 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5061 Likewise.
5062 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5063 Remove conditional code.
5064 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5065 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5066 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5067 condition.
5068
5069 [BZ #13550]
5070 * csu/libc-start.c: Do not include <bp-sym.h>.
5071 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5072 * elf/dl-open.c: Do not include <bp-sym.h>.
5073 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5074 * math/fegetenv.c: Do not include <bp-sym.h>.
5075 (fegetenv): Do not use BP_SYM in versioned symbols.
5076 * nptl/sysdeps/pthread/bits/libc-lockP.h
5077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5078 <bp-sym.h>.
5079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5080 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5082 (__pthread_mutex_destroy): Likewise.
5083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5084 (__pthread_mutex_lock): Likewise.
5085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5086 (__pthread_mutex_trylock): Likewise.
5087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5088 (__pthread_mutex_unlock): Likewise.
5089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5090 (__pthread_mutexattr_init): Likewise.
5091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5092 (__pthread_mutexattr_destroy): Likewise.
5093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5094 (__pthread_mutexattr_settype): Likewise.
5095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5096 (__pthread_rwlock_init): Likewise.
5097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5098 (__pthread_rwlock_destroy): Likewise.
5099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5100 (__pthread_rwlock_rdlock): Likewise.
5101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5102 (__pthread_rwlock_tryrdlock): Likewise.
5103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5104 (__pthread_rwlock_wrlock): Likewise.
5105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5106 (__pthread_rwlock_trywrlock): Likewise.
5107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5108 (__pthread_rwlock_unlock): Likewise.
5109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5110 (__pthread_key_create): Likewise.
5111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5112 (__pthread_setspecific): Likewise.
5113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5114 (__pthread_getspecific): Likewise.
5115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5116 Likewise.
5117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5118 (_pthread_cleanup_push_defer): Likewise.
5119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5120 (_pthread_cleanup_pop_restore): Likewise.
5121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5122 (pthread_setcancelstate): Likewise.
5123 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5124 <bp-sym.h>.
5125 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5126 (memchr): Do not use BP_SYM in weak_alias.
5127 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5128 (fegetenv): Do not use BP_SYM in versioned symbols.
5129 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5130 (fesetenv): Do not use BP_SYM in versioned symbols.
5131 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5132 (feupdateenv): Do not use BP_SYM in versioned symbols.
5133 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5134 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5135 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5136 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5137 (open64): Do not use BP_SYM in weak_alias.
5138 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5139 (fegetenv): Do not use BP_SYM in versioned symbols.
5140 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5141 (fesetenv): Do not use BP_SYM in versioned symbols.
5142 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5143 (feupdateenv): Do not use BP_SYM in versioned symbols.
5144 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5145 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5146 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5147 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5148 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5149 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5151 <bp-sym.h>.
5152 (__libc_start_main): Do not use BP_SYM.
5153
5154 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5157 redundant return line.
5158 (norm): Likewise.
5159 (denorm): Likewise.
5160 (dbl_mp): Likewise.
5161 (sub_magnitudes): Likewise.
5162 (__add): Likewise.
5163 (__sub): Likewise.
5164 (__mul): Likewise.
5165 (__inv): Likewise.
5166 (__dvd): Likewise.
5167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5168 (norm): Likewise.
5169 (denorm): Likewise.
5170 (dbl_mp): Likewise.
5171 (sub_magnitudes): Likewise.
5172 (__add): Likewise.
5173 (__sub): Likewise.
5174 (__mul): Likewise.
5175 (__inv): Likewise.
5176 (__dvd): Likewise.
5177
5178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5179 instead of __mul.
5180 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5181 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5182 (cc32): Likewise.
5183
5184 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5185 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5187 of __mul for squares.
5188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5189 function
5190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5191 Likewise.
5192 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5193 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5194
5195 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5196
5197 [BZ #13550]
5198 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5199 code.
5200 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5201 prototype or function definition. Rename ubp_* variables and
5202 parameters. Remove argv definitions conditional on
5203 [__BOUNDED_POINTERS__].
5204 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5205 * elf/dl-runtime.c (_dl_fixup): Likewise.
5206 * include/set-hooks.h (RUN_HOOK): Likewise.
5207 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5208 definition.
5209 * string/strcpy.c (strcpy): Do not use __unbounded.
5210 * sysdeps/generic/frame.h (struct layout): Likewise.
5211 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5212 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5213 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5214 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5215 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5216 (__backtrace): Likewise.
5217 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5218 use __ptrvalue.
5219 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5220 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5221 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5224 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5225 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5226 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5227 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5228 Do not use __unbounded.
5229 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5230 Rename __unboundedrlimits parameter to rlimits in prototype.
5231 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5232 Do not use __unbounded.
5233 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5234 not use __ptrvalue.
5235 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5236 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5237 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5238 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5239 __ptrvalue or __unbounded.
5240 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5241 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5242 use __unbounded.
5243 (__new_msgctl): Do not use __ptrvalue.
5244 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5245 __unbounded.
5246 (__libc_msgrcv): Do not use __ptrvalue.
5247 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5248 startup_info): Do not use __unbounded.
5249 (__libc_start_main): Likewise. Rename ubp_* variables and
5250 parameters. Remove argv definitions conditional on
5251 [__BOUNDED_POINTERS__].
5252 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5253 __ptrvalue.
5254 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5255 use __unbounded.
5256 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5257 or __ptrvalue.
5258 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5259 use __unbounded.
5260 (__new_shmctl): Do not use __ptrvalue.
5261 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5262 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5263 Likewise.
5264 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5265 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5266 (__libc_sigaction): Likewise.
5267 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5269 Likewise.
5270 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5271
5272 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
5273
5274 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5275
5276 * string/mempcpy.c: Implement by calling memcpy.
5277
5278 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5279
5280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5281
5282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5283 evaluation.
5284
5285 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5286 values in the mantissa.
5287
5288 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5289 minimize writes to Z.
5290 (sub_magnitudes): Simplify code a bit.
5291
5292 2013-02-12 Roland McGrath <roland@hack.frob.com>
5293
5294 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5295 from the message. The linker prefixes all warnings with that already.
5296
5297 2013-02-12 Andreas Schwab <schwab@suse.de>
5298
5299 [BZ #15078]
5300 * posix/regexec.c (extend_buffers): Add parameter min_len.
5301 (check_matching): Pass minimum needed length.
5302 (clean_state_log_if_needed): Likewise.
5303 (get_subexp): Likewise.
5304 * posix/Makefile (tests): Add bug-regex34.
5305 (bug-regex34-ENV): Define.
5306 * posix/bug-regex34.c: New file.
5307
5308 [BZ #11561]
5309 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5310 elements compare against the byte sequence of it, not its name.
5311 * posix/Makefile (tests): Add bug-regex35.
5312 (bug-regex35-ENV): Define.
5313 * posix/bug-regex35.c: New file.
5314
5315 2013-02-11 Tom de Vries <tom@codesourcery.com>
5316
5317 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5318 comment.
5319 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5320 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5321 (CHECK_EOL): Add undef.
5322
5323 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
5324
5325 * bits/stdlib-bsearch.h: New file.
5326 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5327 * stdlib/stdlib.h: Likewise.
5328
5329 2013-02-11 Roland McGrath <roland@hack.frob.com>
5330
5331 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5332 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5333 declaration.
5334 * manual/search.texi (Array Search Function): Add missing const in
5335 lfind prototype.
5336 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5337 declaration to use rlim_t.
5338 (Basic Scheduling Functions): Remove erroneous const from
5339 sched_getparam prototype. Remove erroneous * from
5340 sched_get_priority_max and sched_get_priority_min prototypes.
5341 (Resource Usage): Fix summary @comment on vtimes to refer to
5342 sys/vtimes.h rather than vtimes.h.
5343 Add missing *s in vtimes prototype.
5344 (Limits on Resources): Fix ulimit prototype to return long int.
5345 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5346 prototypes to use long int rather than double.
5347 (BSD Random): Fix initstate and setstate to use char *, not void *.
5348 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5349 prototype to make second argument 'struct aiocb64 *const[]'.
5350 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5351 (Status of AIO Operations): Remove erroneous const in aio_return and
5352 aio_return64 prototypes.
5353 (Synchronizing I/O): Fix sync prototype to return void.
5354 * manual/startup.texi (Suboptions): Remove an erroneous const in
5355 getsubopt prototype.
5356 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5357 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5358 use size_t rather than int.
5359 (Scanning All Users): Likewise for getpwent_r.
5360 (Setting Groups): Add missing const to setgroups prototype.
5361 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5362 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5363 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5364 'const void *' rather than 'const char *'.
5365 (Host Address Functions): Likewise for inet_ntop.
5366 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5367 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5368 ssize_t for return value.
5369 (Sending Data): Likewise for send, sendto, sendmsg.
5370 (Socket Option Functions): Add a missing const in setsockopt prototype.
5371 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5372 use wchar_t for the argument.
5373 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5374 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5375 take no arguments.
5376 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5377 double/float/long double for second argument.
5378 Fix return types of significand, significandf, significandl.
5379 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5380 argument in fchmod prototype.
5381 (File Owner): Use uid_t and gid_t in fchown prototype.
5382 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5383 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5384 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5385 use 'const struct dirent **' as argument types to CMP function pointer
5386 argument.
5387 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5388 (File Times): Fix summary magic @comment for struct utimbuf and utime
5389 to refer to utime.h, not time.h.
5390 * manual/string.texi (Argz Functions): Add missing const in
5391 argz_extract and argz_next prototypes.
5392 (Finding Tokens in a String): Likewise for basename.
5393 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5394 (Copying and Concatenation): Fix typo in wmemmove prototype.
5395 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5396 (Signal Stack): Remove erroneous const in sigstack prototype.
5397 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5398 prototype.
5399 (Simple Calendar Time): Likewise for stime.
5400 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5401 prototype.
5402 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5403 say sys/sysctl.h instead.
5404 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5405 and vsyslog prototypes.
5406
5407 2013-02-11 Tom de Vries <tom@codesourcery.com>
5408
5409 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5410 Remove.
5411
5412 2013-02-11 Roland McGrath <roland@hack.frob.com>
5413
5414 * misc/sys/mman.h: Fix typo in mremap comment.
5415
5416 2013-02-08 Roland McGrath <roland@hack.frob.com>
5417
5418 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5419 the '\0' terminator.
5420
5421 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5422
5423 [BZ #13550]
5424 * debug/segfault.c: Don't include <bp-checks.h>.
5425 * sysdeps/generic/bp-checks.h: Remove file.
5426 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5427 (__GETDENTS): Don't use CHECK_N.
5428 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5429 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5430 (__getgroups): Don't use CHECK_N.
5431 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5432 (setgroups): Don't use CHECK_N.
5433 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5434 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5435 (__libc_msgrcv): Don't use CHECK_N.
5436 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5437 (__libc_msgsnd): Don't use CHECK_N.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5439 <bp-checks.h>.
5440 (__libc_pread): Don't use CHECK_N.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5442 include <bp-checks.h>.
5443 (__libc_pread64): Don't use CHECK_N.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5445 include <bp-checks.h>.
5446 (__libc_pwrite): Don't use CHECK_N.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5448 include <bp-checks.h>.
5449 (__libc_pwrite64): Don't use CHECK_N.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5451 <bp-checks.h>.
5452 (__libc_pread): Don't use CHECK_N.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5454 include <bp-checks.h>.
5455 (__libc_pread64): Don't use CHECK_N.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5457 include <bp-checks.h>.
5458 (__libc_pwrite): Don't use CHECK_N.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5460 include <bp-checks.h>.
5461 (__libc_pwrite64): Don't use CHECK_N.
5462 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5463 (do_pread): Don't use CHECK_N.
5464 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5465 (do_pread64): Don't use CHECK_N.
5466 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5467 (do_pwrite): Don't use CHECK_N.
5468 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5469 (do_pwrite64): Don't use CHECK_N.
5470 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5471 (__libc_readv): Don't use CHECK_N.
5472 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5473 (semop): Don't use CHECK_N.
5474 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5475 <bp-checks.h>.
5476 (semtimedop): Don't use CHECK_N.
5477 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5478 (__libc_pread): Don't use CHECK_N.
5479 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5480 <bp-checks.h>.
5481 (__libc_pread64): Don't use CHECK_N.
5482 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5483 <bp-checks.h>.
5484 (__libc_pwrite): Don't use CHECK_N.
5485 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5486 <bp-checks.h>.
5487 (__libc_pwrite64): Don't use CHECK_N.
5488 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5489 <bp-checks.h>.
5490 (__libc_msgrcv): Don't use CHECK_N.
5491 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5492 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5493 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5494 (__libc_writev): Don't use CHECK_N.
5495
5496 2013-02-08 Roland McGrath <roland@hack.frob.com>
5497
5498 * string/strcpy.c: Removed unused variable.
5499
5500 * Makeconfig (+sysdep-includes): Define with := rather than =.
5501 Use an existing include/ subdir of each sysdeps dir before it.
5502
5503 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5504
5505 * nscd/connection.c (register_traced_file): Comment function.
5506 [HAVE_INOTIFY] (union __inev): Define.
5507 [HAVE_INOTIFY] (inotify_check_files): New function.
5508 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5509 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5510 clear_db_cache.
5511 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5512
5513 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5514
5515 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5516 loaded if not already and that a failure is permanent.
5517
5518 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5519
5520 [BZ #15006]
5521 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5522 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5523
5524 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5525
5526 [BZ #13550]
5527 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5528 (CHECK_1_NULL_OK): Likewise.
5529 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5530 (__fxstat): Do not use CHECK_1.
5531 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5532 <bp-checks.h>.
5533 (___fxstat64): Do not use CHECK_1.
5534 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5535 <bp-checks.h>.
5536 (__fxstatat): Do not use CHECK_1.
5537 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5538 <bp-checks.h>.
5539 (__fxstatat64): Do not use CHECK_1.
5540 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5541 <bp-checks.h>.
5542 (__fxstat): Do not use CHECK_1.
5543 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5544 <bp-checks.h>.
5545 (__fxstatat): Do not use CHECK_1.
5546 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5547 <bp-checks.h>.
5548 (__getresgid): Do not use CHECK_1.
5549 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5550 <bp-checks.h>.
5551 (__getresuid): Do not use CHECK_1.
5552 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5553 <bp-checks.h>.
5554 (__lxstat): Do not use CHECK_1.
5555 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5556 <bp-checks.h>.
5557 (__old_msgctl): Do not use CHECK_1.
5558 (__new_msgctl): Likewise.
5559 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5560 <bp-checks.h>.
5561 (__new_setrlimit): Do not use CHECK_1.
5562 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5563 <bp-checks.h>.
5564 (__old_shmctl): Do not use CHECK_1.
5565 (__new_shmctl): Likewise.
5566 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5567 <bp-checks.h>.
5568 (__xstat): Do not use CHECK_1.
5569 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5570 (__lxstat): Do not use CHECK_1.
5571 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5572 <bp-checks.h>.
5573 (___lxstat64): Do not use CHECK_1.
5574 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5575 (__old_msgctl): Do not use CHECK_1.
5576 (__new_msgctl): Likewise.
5577 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5578 <bp-checks.h>.
5579 (__gettimeofday): Do not use CHECK_1.
5580 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5581 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5582 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5583 <bp-checks.h>.
5584 (__gettimeofday): Do not use CHECK_1.
5585 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5586 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5587 (__new_shmctl): Do not use CHECK_1.
5588 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5589 <bp-checks.h>.
5590 (do_sigtimedwait): Do not use CHECK_1.
5591 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5592 <bp-checks.h>.
5593 (do_sigwaitinfo): Do not use CHECK_1.
5594 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5595 <bp-checks.h>.
5596 (msgctl): Do not use CHECK_1.
5597 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5598 <bp-checks.h>.
5599 (shmctl): Do not use CHECK_1.
5600 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5601 (ustat): Do not use CHECK_1.
5602 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5603 <bp-checks.h>.
5604 (__fxstat): Do not use CHECK_1.
5605 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5606 <bp-checks.h>.
5607 (__fxstatat): Do not use CHECK_1.
5608 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5609 <bp-checks.h>.
5610 (__lxstat): Do not use CHECK_1.
5611 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5612 <bp-checks.h>.
5613 (__xstat): Do not use CHECK_1.
5614 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5615 (__xstat): Do not use CHECK_1.
5616 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5617 (___xstat64): Do not use CHECK_1.
5618
5619 [BZ #13550]
5620 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5621 definitions.
5622 (CHECK_BOUNDS_HIGH): Likewise.
5623 * string/strcpy.c: Do not include <bp-checks.h>.
5624 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5625
5626 2013-02-07 Roland McGrath <roland@hack.frob.com>
5627
5628 * nscd/nscd-client.h (__nscd_drop_map_ref):
5629 Add __attribute__ ((unused)).
5630 * nis/nss-nisplus.h (niserr2nss): Likewise.
5631
5632 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5633 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5634
5635 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5636 Remove inline keyword.
5637 * include/rounding-mode.h (round_away): Likewise.
5638 * libio/wfileops.c (adjust_wide_data): Likewise.
5639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5640 (__m128i_strloadu_tolower): Likewise.
5641 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5642 (__m128i_strloadu_tolower): Likewise.
5643 * time/mktime.c (ydhms_diff): Likewise.
5644 * locale/elem-hash.h (elem_hash): Likewise.
5645 * locale/setlocale.c (setdata): Likewise.
5646 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5647 (re_string_wchar_at): Likewise.
5648 (bitset_not, bitset_merge, bitset_mask): Likewise.
5649 [!(__GNUC__ > 3)] (inline): Remove macro.
5650 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5651 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5652 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5653 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5654 * string/memcmp.c (memcmp_bytes): Likewise.
5655 * locale/programs/locarchive.c (compute_hashval): Likewise.
5656 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5657 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5658 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5659 * nss/getent.c (print_rpc, print_protocols): Likewise.
5660 (print_passwd, print_group, print_aliases): Likewise.
5661 * nis/nss-nisplus.h (niserr2nss): Likewise.
5662 * nscd/connections.c (restart_p): Likewise.
5663 Change return type to bool.
5664
5665 2013-02-05 Roland McGrath <roland@hack.frob.com>
5666
5667 * Makeconfig (all-Depend-files): Add existing
5668 $(sorted-subdirs:=/Depend) files.
5669 (all-subdirs): Remove nss.
5670 * sysdeps/unix/inet/Subdirs: Add it here instead.
5671 * hesiod/Depend: New file.
5672
5673 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5674 instead of calling alloca.
5675
5676 * io/lseek.c (__lseek): Rename to __libc_lseek.
5677 Define __lseek as an alias.
5678
5679 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5680
5681 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5682
5683 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5684 else clause and remove check for non-standard endianness.
5685
5686 2013-02-04 David S. Miller <davem@davemloft.net>
5687
5688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5689
5690 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5691
5692 [BZ #13550]
5693 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5694 (__ubp_memchr): Remove prototype.
5695 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5696 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5697 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5698 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5699 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5700 Remove alias.
5701 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5702 (__ubp_memchr): Likewise.
5703 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5704 (__ubp_memchr): Likewise.
5705 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5706 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5707 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5708 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5709 CHECK_STRING.
5710 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5711 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5712 (__getcwd): Do not use CHECK_STRING.
5713 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5714 <bp-checks.h>.
5715 (__real_chown): Do not use CHECK_STRING.
5716 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5717 <bp-checks.h>.
5718 (fchownat): Do not use CHECK_STRING.
5719 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5720 CHECK_STRING.
5721 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5722 <bp-checks.h>.
5723 (__lchown): Do not use CHECK_STRING.
5724 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5725 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5726 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5727 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5729 include <bp-checks.h>.
5730 (truncate64): Do not use CHECK_STRING.
5731 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5732 <bp-checks.h>.
5733 (__real_chown): Do not use CHECK_STRING.
5734 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5735 <bp-checks.h>.
5736 (__lchown): Do not use CHECK_STRING.
5737 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5738 <bp-checks.h>.
5739 (__chown): Do not use CHECK_STRING.
5740 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5741 <bp-checks.h>.
5742 (truncate64): Do not use CHECK_STRING.
5743 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5744 Likewise.
5745 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5746 (__xmknod): Do not use CHECK_STRING.
5747 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5748 <bp-checks.h>.
5749 (__xmknodat): Do not use CHECK_STRING.
5750 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5751 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5752
5753 2013-02-04 Andreas Schwab <schwab@suse.de>
5754
5755 [BZ #14142]
5756 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5757 * include/netdb.h: Likewise for h_errno.
5758 * elf/tst-stackguard1.c: Include <tls.h>.
5759
5760 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5761
5762 * elf/link.h (struct link_map): Extend the l_addr comment.
5763 * include/link.h (struct link_map): Likewise.
5764
5765 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5766
5767 [BZ #13550]
5768 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5769 (BOUNDED_1): Remove macro.
5770 * debug/backtrace.c: Don't include <bp-checks.h>.
5771 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5772 (__backtrace): Likewise.
5773 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5774 <bp-checks.h>.
5775 (__backtrace): Don't use BOUNDED_1.
5776 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5777 <bp-checks.h>.
5778 (__backtrace): Don't use BOUNDED_1.
5779 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5780 (__backtrace): Don't use BOUNDED_1.
5781 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5782 (shmat): Don't use BOUNDED_N.
5783
5784 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #13550]
5787 * sysdeps/generic/bp-start.h: Remove file.
5788 * csu/libc-start.c: Don't include <bp-start.h>.
5789 (LIBC_START_MAIN): Set up __environ directly instead of using
5790 INIT_ARGV_and_ENVIRON.
5791 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5792 <bp-start.h>.
5793
5794 [BZ #13550]
5795 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5796 definitions.
5797 (CHECK_FCNTL): Likewise.
5798 (CHECK_N_PAGES): Likewise.
5799
5800 [BZ #13550]
5801 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5802 definitions.
5803 (CHECK_SIGSET_NULL_OK): Likewise.
5804 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5805 <bp-checks.h>.
5806 (sigpending): Don't use CHECK_SIGSET.
5807 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5808 <bp-checks.h>.
5809 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5810 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5811 <bp-checks.h>.
5812 (do_sigsuspend): Don't use CHECK_SIGSET.
5813 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5814 use CHECK_SIGSET.
5815 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5816 (do_sigwait): Don't use CHECK_SIGSET.
5817 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5818 use CHECK_SIGSET.
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5820 include <bp-checks.h>.
5821 (sigpending): Don't use CHECK_SIGSET.
5822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5823 include <bp-checks.h>.
5824 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5825 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5826 <bp-checks.h>.
5827 (sigpending): Don't use CHECK_SIGSET.
5828 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5829 <bp-checks.h>.
5830 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5831
5832 [BZ #13550]
5833 * sysdeps/generic/bp-semctl.h: Remove file.
5834 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5835 <bp-checks.h> and <bp-semctl.h>.
5836 (__old_semctl): Don't use CHECK_SEMCTL.
5837 (__new_semctl): Likewise.
5838 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5839 and <bp-semctl.h>.
5840 (__old_semctl): Don't use CHECK_SEMCTL.
5841 (__new_semctl): Likewise.
5842 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5843 <bp-checks.h> and <bp-semctl.h>.
5844 (__old_semctl): Don't use CHECK_SEMCTL.
5845 (__new_semctl): Likewise.
5846 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5847 <bp-checks.h> and <bp-semctl.h>.
5848 (semctl): Don't use CHECK_SEMCTL.
5849
5850 [BZ #13550]
5851 * Makerules (elide-bp-thunks): Remove variable.
5852 (elide-routines.oS): Don't use $(elide-bp-thunks).
5853 (elide-routines.os): Likewise.
5854 (elide-routines.o): Likewise.
5855 (elide-routines.op): Likewise.
5856 (elide-routines.og): Likewise.
5857 (objects): Don't use $(bp-thunks).
5858 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5859 include.
5860 (common-generated): Do not add s-proto-bp.d.
5861 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5862 (int): Likewise.
5863 (typ): Likewise.
5864 Do not generate makefile rules for bounded-pointer thunks.
5865 * sysdeps/generic/bp-thunks.h: Remove file.
5866 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5867 * sysdeps/unix/s-proto-bp.S: Likewise.
5868
5869 [BZ #15062]
5870 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5871 parts of result separately when argument is not close to line from
5872 -i to i and one part of argument is small.
5873 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5874 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5875 * math/libm-test.inc (cacos_test): Add more tests.
5876 (casin_test): Likewise.
5877 (casinh_test): Likewise.
5878 * sysdeps/i386/fpu/libm-test-ulps: Update.
5879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5880
5881 2013-01-31 David S. Miller <davem@davemloft.net>
5882
5883 * po/de.po: Update from translation team.
5884
5885 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5886
5887 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5888
5889 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5890
5891 * configure.in (_AC_PROG_CC_C89): New definition.
5892 * configure: Regenerate.
5893
5894 * configure.in (AC_PROG_CPP): New definition.
5895 * configure: Regenerate.
5896
5897 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5898
5899 * debug/tst-backtrace.h: New file.
5900 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5901 (ret): Remove variable.
5902 (x): Likewise.
5903 (FAIL): Remove macro.
5904 (NO_INLINE): Likewise.
5905 (fn1): Use match function instead of strstr.
5906 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5907 (ret): Remove variable.
5908 (x): Likewise.
5909 (FAIL): Remove macro.
5910 (NO_INLINE): Likewise.
5911 (fn): Use match function instead of strstr.
5912 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5913 (ret): Remove variable.
5914 (x): Likewise.
5915 (FAIL): Remove macro.
5916 (NO_INLINE): Likewise.
5917 (handle_signal): Use match function instead of strstr.
5918 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5919 (ret): Remove variable.
5920 (x): Likewise.
5921 (FAIL): Remove macro.
5922 (NO_INLINE): Likewise.
5923 (handle_signal): Use match function instead of strstr.
5924
5925 2013-01-23 Roland McGrath <roland@hack.frob.com>
5926
5927 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5928
5929 2013-01-23 David S. Miller <davem@davemloft.net>
5930
5931 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5932 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5933 argument of CAS if possible.
5934 * sysdeps/sparc/sparc64/bits/atomic.h
5935 (__arch_compare_and_exchange_val_32_acq): Likewise.
5936 (__arch_compare_and_exchange_val_64_acq): Likewise.
5937
5938 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5939
5940 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5941 * sysdeps/posix/ulimit.c: ... this.
5942 Include <limits.h>.
5943 * sysdeps/unix/bsd/ulimit.c: Remove file.
5944
5945 2013-01-23 Adam Conrad <adconrad@0c3.net>
5946
5947 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5948 (LDFLAGS-tst-array5): Likewise.
5949
5950 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5951
5952 [BZ #15036]
5953 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5954 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5955 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5956 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5957
5958 2013-01-21 David S. Miller <davem@davemloft.net>
5959
5960 * sysdeps/sparc/backtrace.c: New file.
5961 * sysdeps/sparc/sparc32/backtrace.h: New file.
5962 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5963 * sysdeps/sparc/sparc64/backtrace.h: New file.
5964 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5965 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5966 -funwind-tables.
5967
5968 2013-01-21 Andreas Schwab <schwab@suse.de>
5969
5970 [BZ #15020]
5971 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5972 closed its stdout.
5973
5974 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5975
5976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5977 "mpa2.h".
5978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5979
5980 2013-01-18 Joseph Myers <joseph@codesourcery.com>
5981 Mark Mitchell <mark@codesourcery.com>
5982 Tom de Vries <tom@codesourcery.com>
5983 Paul Pluzhnikov <ppluzhnikov@google.com>
5984
5985 * debug/tst-backtrace2.c: New file.
5986 * debug/tst-backtrace3.c: Likewise.
5987 * debug/tst-backtrace4.c: Likewise.
5988 * debug/tst-backtrace5.c: Likewise.
5989 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5990 (CFLAGS-tst-backtrace3.c): Likewise.
5991 (CFLAGS-tst-backtrace4.c): Likewise.
5992 (CFLAGS-tst-backtrace5.c): Likewise.
5993 (LDFLAGS-tst-backtrace2): Likewise.
5994 (LDFLAGS-tst-backtrace3): Likewise.
5995 (LDFLAGS-tst-backtrace4): Likewise.
5996 (LDFLAGS-tst-backtrace5): Likewise.
5997 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5998 tst-backtrace4 and tst-backtrace5.
5999
6000 2013-01-18 Anton Blanchard <anton@samba.org>
6001 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6002
6003 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6004 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6005 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6006 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6008 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6009 "+r" and remove output regs list as redundant. Add explicit inline
6010 asm to specify register of return val to work around compiler codegen
6011 bug. Remove (int) cast on return value. Add return type parameter to
6012 use in macro so that this macro does not truncate return value for
6013 64-bit values.
6014 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6015 pass to INTERNAL_VSYSCALL_NCS.
6016 (INLINE_VSYSCALL): Add 'long int' as return type to
6017 INTERNAL_VSYSCALL_NCS macro invocation.
6018 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6019 INTERNAL_VSYSCALL_NCS macro invocation.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6021
6022 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
6024 [BZ #14496]
6025 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6026 Fix application of SIMD FP exception mask.
6027
6028 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6029 mp_no from a power of two.
6030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6031 __mpexp_twomm1. Use __pow_mp.
6032
6033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6034 multiplication.
6035
6036 2013-01-17 David S. Miller <davem@davemloft.net>
6037
6038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6039
6040 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #15023]
6043 * include/complex.h: Condition contents on [!_COMPLEX_H].
6044 (__kernel_casinhf): New prototype.
6045 (__kernel_casinh): Likewise.
6046 (__kernel_casinhl): Likewise.
6047 * math/Makefile (libm_calls): Add k_casinh.
6048 * math/k_casinh.c: New file.
6049 * math/k_casinhf.c: Likewise.
6050 * math/k_casinhl.c: Likewise.
6051 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6052 finite nonzero arguments.
6053 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6054 finite nonzero arguments.
6055 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6056 finite nonzero arguments.
6057 * math/s_casinh.c: Do not include <float.h>.
6058 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6059 * math/s_casinhf.c: Do not include <float.h>.
6060 (__casinhf): Move code for finite nonzero arguments to
6061 k_casinhf.c.
6062 * math/s_casinhl.c: Do not include <float.h>.
6063 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6064 redefine.
6065 (__casinhl): Move code for finite nonzero arguments to
6066 k_casinhl.c.
6067 * math/libm-test.inc (cacos_test): Add more tests.
6068 * sysdeps/i386/fpu/libm-test-ulps: Update.
6069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6070
6071 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6072
6073 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6074 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6075 [!HAVE_MREMAP]: Remove [defined linux] case.
6076 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6077
6078 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6079
6080 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6081
6082 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6083
6084 * elf/elf.h (R_386_SIZE32): New relocation.
6085 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6086 R_386_SIZE32.
6087 (elf_machine_rela): Likewise.
6088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6089 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6090
6091 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6092
6093 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6094 (FP_FAST_FMA): Do not define.
6095 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6096 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6097 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6098 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6099 !_SOFT_FLOAT]: Likewise.
6100 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6101 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6102 value.
6103 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6104 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6106 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6107 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6108 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6109 file.
6110
6111 2013-01-16 Andreas Schwab <schwab@suse.de>
6112
6113 [BZ #14327]
6114 * include/stdlib.h (__mktemp): Add declaration.
6115 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6116 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6117
6118 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6119
6120 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6121 definitions.
6122 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6123 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6124 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6125 definitions here.
6126 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6127 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6128 definitions.
6129 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6130 and ONE.
6131 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6132 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6133 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6134 definitions.
6135 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6136 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6137 definitions.
6138 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6139
6140 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6141
6142 2013-01-15 David S. Miller <davem@davemloft.net>
6143
6144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6145 trunc{,f} to libm-sysdep_routes.
6146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6148 file.
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6151 file.
6152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6153 file.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6156 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6157 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6158 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6159 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6160 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6161 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6162
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6164 nearbyint{,f} to libm-sysdep_routes.
6165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6167 New file.
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6169 file.
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6171 New file.
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6173 file.
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6177 file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6180 file.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6184
6185 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6186 libc_feholdexcept and libc_fesetenv.
6187
6188 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6189
6190 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6191
6192 2013-01-14 David S. Miller <davem@davemloft.net>
6193
6194 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6195 (SPARC_ASM_VIS2_IFUNC): Likewise.
6196 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6198 use of 'siam' instruction.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6200 Likewise.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6202 Likewise.
6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6204 Likewise.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6210 file.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6212 file.
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6214 file.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6216 file.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6222 new VIS2 routines.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6226 Likewise.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6232 routines to libm-sysdep_routines.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6234
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6236 fdim/fdimf to libm-sysdep_routines.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6238 file.
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6241 file.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6245 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6246 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6247 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6248 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6249
6250 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6251
6252 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6253 to optimize copies.
6254
6255 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6258
6259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6260 local variable MPTWO.
6261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6262 Likewise.
6263
6264 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6265
6266 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6267 GLOB_NOESCAPE.
6268
6269 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6270
6271 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6272
6273 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6274
6275 * manual/pattern.texi (glob_t): Document gl_flags.
6276 (glob64_t): Likewise.
6277
6278 2013-01-11 David S. Miller <davem@davemloft.net>
6279
6280 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6281 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6282 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
6283 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6284 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6285 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6286 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6287 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6288 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6289 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6290 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6291 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6292 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6293
6294 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6295 sparc V9 rather than using V8 code.
6296 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6297 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6298
6299 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6300 Move to...
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6302 Here.
6303
6304 2013-01-11 Roland McGrath <roland@hack.frob.com>
6305
6306 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6307 not in the main loop.
6308 * configure: Regenerated.
6309
6310 2013-01-11 Joseph Myers <joseph@codesourcery.com>
6311
6312 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6313 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6314 to just #else.
6315 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6316 [!__GLIBC_HAVE_LONG_LONG] case.
6317 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6318 condition to just #else.
6319 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6320 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6321 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6322 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6323 unconditional.
6324 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6325 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6326 #elif condition to just #else.
6327 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6328 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6329 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6330 #elif condition to just #else.
6331
6332 2013-01-11 Steve Ellcey <sellcey@mips.com>
6333
6334 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6335 (EF_MIPS_ARCH_64): Fix value.
6336 (EF_MIPS_ARCH_32R2): New.
6337 (EF_MIPS_ARCH_64R2): New.
6338
6339 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6340
6341 * Makeconfig (+link-pie-before-libc): New.
6342 (+link-pie-after-libc): Likewise.
6343 (+link-pie-tests): Likewise.
6344 (+link-pie): Rewritten.
6345 (link-before-libc): Remove $(config-LDFLAGS).
6346 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6347 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6348 (config-LDFLAGS): Renamed to ...
6349 (rtld-LDFLAGS): This.
6350 (rtld-tests-LDFLAGS): New macro.
6351 (link-libc-rpath-link): Likewise.
6352 (link-libc-tests-rpath-link): Likewise.
6353 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6354 (link-libc): Prepand $(link-libc-rpath-link).
6355 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6356 (test-program-prefix): New macro.
6357 (test-via-rtld-prefix): Likewise.
6358 (test-program-cmd): Likewise.
6359 (host-test-program-cmd): Likewise.
6360 * Makefile ($(common-objpfx)testrun.sh): Replace
6361 $(run-program-prefix) with $(test-program-prefix).
6362 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6363 $(rtld-LDFLAGS).
6364 ($(common-objpfx)shlib.lds): Likewise.
6365 (build-module-helper): Likewise.
6366 ($(common-objpfx)format.lds): Likewise.
6367 * Rules (binaries-pie-tests): New.
6368 (binaries-pie-notests): Likewise.
6369 (binaries-pie): Rewritten.
6370 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6371 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6372 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6373 (make-test-out): Replace $(host-built-program-cmd) with
6374 $(host-test-program-cmd).
6375 * config.make.in (build-hardcoded-path-in-tests): New variable.
6376 * configure.in (--enable-hardcoded-path-in-tests): New configure
6377 option.
6378 (hardcoded_path_in_tests): New AC_SUBST.
6379 * configure: Regenerated.
6380 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6381 $(built-program-cmd) with $(test-program-cmd).
6382 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6383 (test_program_cmd): This.
6384 * elf/Makefile ($(objpfx)order.out): Run test with
6385 $(test-program-prefix).
6386 ($(objpfx)order2.out): Likewise.
6387 ($(objpfx)tst-initorder.out): Likewise.
6388 ($(objpfx)tst-initorder2.out): Likewise.
6389 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6390 $(test-program-cmd).
6391 ($(objpfx)tst-array1-static.out): Likewise.
6392 ($(objpfx)tst-array2.out): Likewise.
6393 ($(objpfx)tst-array3.out): Likewise.
6394 ($(objpfx)tst-array4.out): Likewise.
6395 ($(objpfx)tst-array5.out): Likewise.
6396 ($(objpfx)tst-array5-static.out): Likewise.
6397 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6398 $(test-program-cmd).
6399 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6400 $(run-program-prefix) with $(test-program-prefix).
6401 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6402 (test_program_prefix): This.
6403 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6404 $(run-program-prefix) with $(test-program-prefix).
6405 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6406 (test_program_prefix): This.
6407 * iconvdata/tst-tables.sh: Likewise.
6408 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6409 $(run-program-prefix) with $(test-program-prefix).
6410 ($(objpfx)tst-translit.out): Likewise.
6411 ($(objpfx)tst-gettext2.out): Likewise.
6412 ($(objpfx)tst-gettext4.out): Likewise.
6413 ($(objpfx)tst-gettext6.out): Likewise.
6414 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6415 (test_program_prefix): This.
6416 * intl/tst-gettext2.sh: Likewise.
6417 * intl/tst-gettext4.sh Likewise.
6418 * intl/tst-gettext6.sh: Likewise.
6419 * intl/tst-translit.sh: Likewise.
6420 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6421 with $(test-program-cmd).
6422 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6423 $(run-program-prefix) with $(test-program-prefix).
6424 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6425 (test_program_prefix): This.
6426 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6427 $(run-program-prefix) with $(test-program-prefix).
6428 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6429 (test_program_prefix): This.
6430 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6431 * posix/Makefile ($(objpfx)globtest.out): Replace
6432 $(run-via-rtld-prefix) and $(test-wrapper) with
6433 $(test-program-prefix) and $(test-via-rtld-prefix).
6434 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6435 $(test-program-prefix).
6436 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6437 $(host-test-program-cmd).
6438 (tst-spawn-ARGS): Likewise.
6439 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6440 $(test-program-prefix).
6441 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6442 (test_via_rtld_prefix): This.
6443 (test_wrapper): Renamed to ...
6444 (test_program_prefix): This.
6445 (run_program_prefix): Replaced by test_program_prefix.
6446 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6447 (test_program_prefix): This.
6448 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6449 with $(host-test-program-cmd).
6450 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6451 $(run-program-prefix) with $(test-program-prefix).
6452 ($(objpfx)tst-printf.out): Likewise.
6453 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6454 $(test-program-cmd).
6455 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6456 (test_program_prefix): This.
6457 * stdio-common/tst-unbputc.sh: Likewise.
6458 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6459 $(run-program-prefix) with $(test-program-prefix).
6460 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6461 (test_program_prefix): This.
6462 * string/Makefile ($(objpfx)tst-svc.out): Replace
6463 $(built-program-cmd) with $(test-program-cmd).
6464
6465 2013-01-11 Andreas Jaeger <aj@suse.de>
6466
6467 [BZ #15003]
6468 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6469 value. Sync with Linux 3.7.
6470
6471 2013-01-10 David S. Miller <davem@davemloft.net>
6472
6473 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6474 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6475 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6476
6477 2013-01-10 Roland McGrath <roland@hack.frob.com>
6478
6479 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6480 never set.
6481 * configure: Regenerated.
6482
6483 2013-01-10 David S. Miller <davem@davemloft.net>
6484
6485 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6486 sparc V9 rather than using V8 code.
6487 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6488 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6489
6490 2013-01-10 Roland McGrath <roland@hack.frob.com>
6491
6492 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6493 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6494 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6495 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6496 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6497 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6498 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6499 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6500 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6501 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6502 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6503 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6504 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6505 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6506 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6507 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6508 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6509 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6510 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6511 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6512 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6513 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6514 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6515 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6516 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6517 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6518 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6519
6520 2013-01-10 David S. Miller <davem@davemloft.net>
6521
6522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6523
6524 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6525
6526 * posix/Makefile (tests-static): New variable.
6527 (tests): Add $(tests-static).
6528 (tst-exec-static-ARGS): New variable.
6529 (tst-spawn-static-ARGS): Likewise.
6530 * posix/tst-exec-static.c: New file.
6531 * posix/tst-spawn-static.c: Likewise.
6532 * posix/tst-exec.c: Support run directly.
6533 * posix/tst-spawn.c: Likewise.
6534
6535 2013-01-10 Joseph Myers <joseph@codesourcery.com>
6536
6537 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6538 long.
6539 * math/bits/mathcalls.h (llrint): Likewise.
6540 (llround): Likewise.
6541 * stdlib/stdlib.h (struct drand48_data): Likewise.
6542 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6543 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6544 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6545 Likewise.
6546 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6547 Likewise.
6548 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6549 (elf_greg_t): Likewise.
6550 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6551 (__jmp_buf): Likewise.
6552 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6553 definitions.
6554 (llrint): Likewise, for all definitions.
6555 (llrintl): Likewise.
6556
6557 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6558 Remove [__GNUC__] condition.
6559 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6560 condition to just [__USE_ISOC99].
6561 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6562
6563 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 [BZ #14200]
6566 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6567 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6568 defined.
6569 (_POSIX_V6_ILP32_OFF32): Likewise.
6570 (_XBS5_ILP32_OFF32): Likewise.
6571 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6572 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6573
6574 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6575
6576 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6577
6578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6579 doubles __mpexp_twomm1. Adjust usage.
6580 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6581 Remove.
6582
6583 2013-01-10 Andreas Schwab <schwab@suse.de>
6584
6585 [BZ #14964]
6586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6587 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6588
6589 2013-01-09 David S. Miller <davem@davemloft.net>
6590
6591 [BZ #15003]
6592 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6593 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6594 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6595 TCP_FASTOPEN): Define.
6596 (tcp_repair_opt): New structure.
6597 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6598 enum values.
6599 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6600 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6601 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6602 (tcp_cookie_transactions): New structure.
6603
6604 2013-01-09 Anton Blanchard <anton@samba.org>
6605
6606 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6607 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6609 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6610
6611 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6612
6613 * include/features.h (__USE_ANSI): Remove.
6614
6615 2013-01-09 Roland McGrath <roland@hack.frob.com>
6616
6617 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6618
6619 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6620
6621 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6622
6623 * sysdeps/s390/fpu/libm-test-ulps: Update.
6624
6625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6626
6627 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6628 (__acr): Likewise.
6629 (__cpy): Likewise.
6630 (norm): Likewise.
6631 (denorm): Likewise.
6632 (__mp_dbl): Likewise.
6633 (__dbl_mp): Likewise.
6634 (add_magnitudes): Likewise.
6635 (sub_magnitudes): Likewise.
6636 (__add): Likewise.
6637 (__sub): Likewise.
6638 (__mul): Likewise.
6639 (__inv): Likewise.
6640 (__dvd): Likewise.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6642 (__acr): Likewise.
6643 (__cpy): Likewise.
6644 (norm): Likewise.
6645 (denorm): Likewise.
6646 (__mp_dbl): Likewise.
6647 (__dbl_mp): Likewise.
6648 (add_magnitudes): Likewise.
6649 (sub_magnitudes): Likewise.
6650 (__add): Likewise.
6651 (__sub): Likewise.
6652 (__mul): Likewise.
6653 (__inv): Likewise.
6654 (__dvd): Likewise.
6655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6656 (__acr): Likewise.
6657 (__cpy): Likewise.
6658 (norm): Likewise.
6659 (denorm): Likewise.
6660 (__mp_dbl): Likewise.
6661 (__dbl_mp): Likewise.
6662 (add_magnitudes): Likewise.
6663 (sub_magnitudes): Likewise.
6664 (__add): Likewise.
6665 (__sub): Likewise.
6666 (__mul): Likewise.
6667 (__inv): Likewise.
6668 (__dvd): Likewise.
6669
6670 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6671
6672 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6673 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6674 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6675 2 && __USE_EXTERN_INLINES]: Likewise.
6676
6677 2013-01-08 Andreas Jaeger <aj@suse.de>
6678
6679 [BZ# 14985]
6680 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6681 Remove.
6682 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6683 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6684
6685 2013-01-07 Anton Blanchard <anton@samba.org>
6686
6687 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6688 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6689 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6690 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6691 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6692 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6693 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6694 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6696 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6698 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6699 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6701 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6702 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6703 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6705 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6706 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6707 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6708 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6709 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6712 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6713 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6714 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6715 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6716 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6717 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6719 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6720 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6721 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6722 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6723 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6724 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6726 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6729 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6730
6731 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6732
6733 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6734 (__MALLOC_PMT): Likewise.
6735 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6736 [__GNUC__], only on [_LIBC].
6737 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6738 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6739 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6740 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6741 forward declaration.
6742 (realloc_hook_ini): Likewise.
6743 (memalign_hook_ini): Likewise.
6744 (__libc_memalign): Do not use __MALLOC_PMT in variable
6745 declaration.
6746 (__libc_valloc): Likewise.
6747 (__libc_pvalloc): Likewise.
6748 (__libc_calloc): Likewise.
6749 (__posix_memalign): Likewise.
6750
6751 [BZ #14996]
6752 * math/s_casinh.c: Include <float.h>.
6753 (__casinh): Do not do computation with squaring and square root
6754 for large arguments.
6755 * math/s_casinhf.c: Include <float.h>.
6756 (__casinhf): Do not do computation with squaring and square root
6757 for large arguments.
6758 * math/s_casinhl.c: Include <float.h>.
6759 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6760 (__casinhl): Do not do computation with squaring and square root
6761 for large arguments.
6762 * math/libm-test.inc (casin_test): Add more tests.
6763 (casinh_test): Likewise.
6764 * sysdeps/i386/fpu/libm-test-ulps: Update.
6765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6766
6767 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6768
6769 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6770 (__x86_64_raw_data_cache_size): Likewise.
6771 (__x86_64_data_cache_size_half): Likewise.
6772 (__x86_64_raw_data_cache_size_half): Likewise.
6773 (__x86_64_shared_cache_size): Likewise.
6774 (__x86_64_raw_shared_cache_size): Likewise.
6775 (__x86_64_shared_cache_size_half): Likewise.
6776 (__x86_64_raw_shared_cache_size_half): Likewise.
6777 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6778 to ...
6779 (__x86_data_cache_size): This.
6780 (__x86_64_raw_data_cache_size): Renamed to ...
6781 (__x86_raw_data_cache_size): This.
6782 (__x86_64_data_cache_size_half): Renamed to ...
6783 (__x86_data_cache_size_half): This.
6784 (__x86_64_raw_data_cache_size_half): Renamed to ...
6785 (__x86_raw_data_cache_size_half): This.
6786 (__x86_64_shared_cache_size): Renamed to ...
6787 (__x86_shared_cache_size): This.
6788 (__x86_64_raw_shared_cache_size): Renamed to ...
6789 (__x86_raw_shared_cache_size): This.
6790 (__x86_64_shared_cache_size_half): Renamed to ...
6791 (__x86_shared_cache_size_half): This.
6792 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6793 (__x86_raw_shared_cache_size_half): This.
6794 * sysdeps/x86_64/memcpy.S: Updated.
6795 * sysdeps/x86_64/memset.S: Likewise.
6796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6797 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6798 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6799
6800 2013-01-04 David S. Miller <davem@davemloft.net>
6801
6802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6803
6804 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6805
6806 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6807 1 to avoid redefinition warning.
6808 (__USE_GNU): Don't define.
6809 (init_signaling_nan): Protoize.
6810
6811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6812
6813 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6814
6815 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6817 (__cpymn): Likewise.
6818 (norm): Remove commented code.
6819 (denorm): Likewise.
6820 (__mp_dbl): Likewise.
6821 (__inv): Likewise.
6822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6823 (__cpymn): Likewise.
6824 (norm): Remove commented code.
6825 (denorm): Likewise.
6826 (__mp_dbl): Likewise.
6827 (__inv): Likewise.
6828
6829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6830 mp_no value for 1.0 and 2.0.
6831 (norm): Use RADIXI instead of radixi.d.
6832 (denorm): Likewise.
6833 (__mul): Use 0.0 instead of zero.d.
6834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6835 mp_no value for 1.0 and 2.0.
6836 (norm): Use RADIXI instead of radixi.d.
6837 (denorm): Likewise.
6838 (__mul): Use 0.0 instead of zero.d.
6839
6840 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #14994]
6843 * math/s_casinh.c (__casinh): Reduce finite argument to first
6844 quadrant then set signs of results at the end.
6845 * math/s_casinhf.c (__casinhf): Likewise.
6846 * math/s_casinhl.c (__casinhl): Likewise.
6847 * math/libm-test.inc (casin_test): Add more tests.
6848 (casinh_test): Likewise.
6849 * sysdeps/i386/fpu/libm-test-ulps: Update.
6850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6851
6852 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6853
6854 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6855
6856 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6857
6858 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6859 declarations.
6860 (denorm): Likewise.
6861 (__mp_dbl): Likewise.
6862 (__inv): Likewise.
6863
6864 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6865 and adjust the header comment.
6866
6867 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6868 variable name from declaration.
6869
6870 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6871
6872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6873 Initialize COMMON_CPUID_INDEX_7 element.
6874 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6875 (CPUID_RTM): Likewise.
6876 (HAS_RTM): Likewise.
6877 (COMMON_CPUID_INDEX_7): New enum.
6878
6879 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6880
6881 [BZ #14981]
6882 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6883 size is zero, record memory as freed.
6884
6885 2013-01-03 Andreas Jaeger <aj@suse.de>
6886
6887 * po/ia.po: Add new Interlingua translation.
6888
6889 2012-01-03 Allan McRae <allan@archlinux.org>
6890
6891 * locale/programs/localedef.c: Fix description of '--posix' flag.
6892
6893 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6894
6895 * NEWS: Update dates in second copyright notice.
6896 * README: Update copyright dates in example.
6897 * manual/libc.texinfo: Update copyright dates.
6898 * scripts/test-installation.pl: Update copyright date in --version
6899 output.
6900
6901 * hurd/ctty-input.c: Fix copyright notice formatting.
6902 * hurd/ctty-output.c: Likewise.
6903 * hurd/dtable.c: Likewise.
6904 * hurd/hurd-raise.c: Likewise.
6905 * hurd/hurdprio.c: Likewise.
6906 * hurd/msgportdemux.c: Likewise.
6907 * misc/sys/file.h: Likewise.
6908 * misc/sys/ioctl.h: Likewise.
6909 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6910 * sysdeps/mach/hurd/chdir.c: Likewise.
6911 * sysdeps/mach/hurd/fchdir.c: Likewise.
6912 * sysdeps/mach/hurd/rename.c: Likewise.
6913 * sysdeps/mach/hurd/rmdir.c: Likewise.
6914 * sysdeps/mach/hurd/seekdir.c: Likewise.
6915 * sysdeps/mach/hurd/setsid.c: Likewise.
6916 * sysdeps/posix/wait3.c: Likewise.
6917
6918 * All files with FSF copyright notices: Update copyright dates
6919 using scripts/update-copyrights.
6920 * intl/plural.c: Regenerated.
6921 * locale/programs/charmap-kw.h: Likewise.
6922 * locale/programs/locfile-kw.h: Likewise.
6923
6924 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6925
6926 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6927 four values.
6928
6929 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6930 calculation loop and add branch prediction.
6931
6932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6933 check access beyond bounds of m1np.
6934
6935 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6936 MPTWO.
6937 (__inv): Remove local variable MPTWO to use the global
6938 constant.
6939 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6941 variable MPTWO.
6942 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6943 MP3HALFS static const.
6944
6945 2013-01-01 David S. Miller <davem@davemloft.net>
6946
6947 * po/ca.po: Update from translation team.
6948
6949 2013-01-01 Joseph Myers <joseph@codesourcery.com>
6950
6951 * scripts/update-copyrights: New file.
6952 * Makeconfig: Reformat copyright notice.
6953 * ctype/ctype.h: Likewise.
6954 * debug/swprintf_chk.c: Likewise.
6955 * elf/dl-cache.c: Likewise.
6956 * elf/dl-debug.c: Likewise.
6957 * elf/dl-object.c: Likewise.
6958 * grp/initgroups.c: Likewise.
6959 * hurd/Makefile: Likewise.
6960 * hurd/hurd/signal.h: Likewise.
6961 * hurd/hurdfault.c: Likewise.
6962 * hurd/hurdioctl.c: Likewise.
6963 * hurd/hurdlookup.c: Likewise.
6964 * hurd/intr-msg.c: Likewise.
6965 * iconv/gconv_open.c: Likewise.
6966 * libio/swprintf.c: Likewise.
6967 * locale/lc-ctype.c: Likewise.
6968 * locale/nl_langinfo.c: Likewise.
6969 * mach/Machrules: Likewise.
6970 * mach/Makefile: Likewise.
6971 * malloc/obstack.h: Likewise.
6972 * manual/Makefile: Likewise.
6973 * manual/tsort.awk: Likewise.
6974 * misc/bits/stab.def: Likewise.
6975 * nis/nis_print_group_entry.c: Likewise.
6976 * nis/nis_table.c: Likewise.
6977 * nis/nss_compat/compat-pwd.c: Likewise.
6978 * nis/nss_compat/compat-spwd.c: Likewise.
6979 * po/Makefile: Likewise.
6980 * posix/fnmatch.c: Likewise.
6981 * posix/regex.h: Likewise.
6982 * resolv/Makefile: Likewise.
6983 * resolv/nss_dns/dns-network.c: Likewise.
6984 * resolv/res_hconf.c: Likewise.
6985 * scripts/gen-sorted.awk: Likewise.
6986 * soft-fp/soft-fp.h: Likewise.
6987 * stdio-common/printf.h: Likewise.
6988 * stdlib/monetary.h: Likewise.
6989 * stdlib/random.c: Likewise.
6990 * stdlib/random_r.c: Likewise.
6991 * sysdeps/generic/Makefile: Likewise.
6992 * sysdeps/gnu/Makefile: Likewise.
6993 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7021 * sysdeps/mach/hurd/errnos.awk: Likewise.
7022 * sysdeps/mach/hurd/fork.c: Likewise.
7023 * sysdeps/mach/hurd/getcwd.c: Likewise.
7024 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7025 * sysdeps/mach/hurd/mmap.c: Likewise.
7026 * sysdeps/mach/hurd/utimes.c: Likewise.
7027 * sysdeps/mach/hurd/xmknod.c: Likewise.
7028 * sysdeps/posix/profil.c: Likewise.
7029 * sysdeps/posix/readdir_r.c: Likewise.
7030 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7031 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7032 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7033 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7039 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7040 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7041 * sysdeps/pthread/lio_listio.c: Likewise.
7042 * sysdeps/sparc/dl-procinfo.h: Likewise.
7043 * sysdeps/unix/i386/sysdep.S: Likewise.
7044 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7045 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7046 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7047 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7049 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7050 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7051 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7052 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7053 * sysdeps/wordsize-32/divdi3.c: Likewise.
7054 * time/sys/time.h: Likewise.
7055 * wcsmbs/Makefile: Likewise.
7056
7057 2013-01-01 David S. Miller <davem@davemloft.net>
7058
7059 * po/fr.po: Update from translation team.
7060
7061 * catgets/gencat.c: Update copyright year.
7062 * csu/version.c: Likewise.
7063 * debug/catchsegv.sh: Likewise.
7064 * debug/pcprofiledump.c: Likewise.
7065 * debug/xtrace.sh: Likewise.
7066 * elf/ldconfig.c: Likewise.
7067 * elf/ldd.bash.in: Likewise.
7068 * elf/pldd.c: Likewise.
7069 * elf/sotruss.ksh: Likewise.
7070 * elf/sprof.c: Likewise.
7071 * iconv/iconv_prog.c: Likewise.
7072 * iconv/iconvconfig.c: Likewise.
7073 * locale/programs/locale.c: Likewise.
7074 * locale/programs/localedef.c: Likewise.
7075 * login/programs/pt_chown.c: Likewise.
7076 * malloc/memusage.sh: Likewise.
7077 * malloc/memusagestat.c: Likewise.
7078 * malloc/mtrace.pl: Likewise.
7079 * nscd/nscd.c: Likewise.
7080 * nss/getent.c: Likewise.
7081 * nss/makedb.c: Likewise.
7082 * posix/getconf.c: Likewise.
7083
7084 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7087 numbers.
7088
7089 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7090
7091 * math/bits/mathcalls.h (modf): Use __nonnull.
7092
7093 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
7095 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7096 (split): Use macro CN instead of the bare value.
7097 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7098 could be used.
7099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7100 instead of the bare value.
7101 (power1): Likewise.
7102
7103 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7104
7105 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7106 __ATAN_TWOM.
7107 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7108
7109 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7110 their values.
7111 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7113 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7114 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7115
7116 2012-12-28 Andreas Jaeger <aj@suse.de>
7117
7118 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7119 values are from Linux 3.7.
7120
7121 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7122 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7123
7124 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7125
7126 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7127 TRUE case.
7128
7129 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7130 (norm): Likewise.
7131 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7132 variables with preprocessor constants.
7133 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7134 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7135 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7136
7137 2012-12-27 Bruno Haible <bruno@clisp.org>
7138
7139 [BZ #14317]
7140 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7141 only if needed.
7142
7143 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7144
7145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7146 and use variable directly.
7147 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7148
7149 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7150 MPONE.
7151 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7153 variable MPONE.
7154 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7156 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7157 include directive. Remove local variable MPONE.
7158 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7159 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7160 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7161
7162 2012-12-25 David S. Miller <davem@davemloft.net>
7163
7164 * version.h (RELEASE): Set to "development".
7165 (VERSION): Set to "2.17.90".
7166 * NEWS: Add 2.18 section.
7167
7168 2012-12-21 David S. Miller <davem@davemloft.net>
7169
7170 * po/hr.po: Update from translation team.
7171
7172 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7173
7174 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7175
7176 2012-12-19 Steve Ellcey <sellcey@mips.com>
7177
7178 * NEWS: Mention new memcpy for MIPS.
7179
7180 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7181
7182 * manual/contrib.texi (Contributors): Spelling correction.
7183
7184 2012-12-15 David S. Miller <davem@davemloft.net>
7185
7186 * po/ru.po: Update from translation team.
7187
7188 2012-12-13 David S. Miller <davem@davemloft.net>
7189
7190 * NEWS: Mention IFUNC testsuite enhancements.
7191
7192 * po/pl.po: Update from translation team.
7193 * po/bg.po: Likewise.
7194
7195 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7196 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7197
7198 2012-12-11 David S. Miller <davem@davemloft.net>
7199
7200 * po/sv.po: Update from translation team.
7201
7202 * po/vi.po: Update from translation team.
7203
7204 * po/cs.po: Update from translation team.
7205
7206 * po/de.po: Update from translation team.
7207 * po/eo.po: Likewise.
7208 * po/nl.po: Likewise.
7209
7210 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7211
7212 [BZ #14246]
7213 * manual/argp.texi (Argp Helper Functions): Move node to follow
7214 Argp Parsing State.
7215
7216 [BZ #14872]
7217 * manual/conf.texi (Limits on File System Capacity): Mention if
7218 terminating null is included in the max size.
7219
7220 2012-12-10 Andreas Jaeger <aj@suse.de>
7221
7222 * po/cs.po: Update from translation team.
7223
7224 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
7226 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7227 void pointer and cast to uintptr_t.
7228 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7229 path.
7230 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7231 * sysdeps/s390/s390-64/memset.S: Likewise.
7232
7233 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
7234
7235 [BZ #14833]
7236 * menual/message.texi (Message Translation): Fix typos.
7237 (Helper programs for gettext): Likewise.
7238
7239 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7240
7241 [BZ #14898]
7242 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7243 Change to -1.
7244
7245 2012-12-07 David S. Miller <davem@davemloft.net>
7246
7247 * po/libc.pot: Update.
7248
7249 2012-12-07 Richard Henderson <rth@redhat.com>
7250
7251 [BZ #10114]
7252 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7253 normal/normal case to before the switch.
7254 (_FP_DIV): Likewise.
7255
7256 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7257 Mike Frysinger <vapier@gentoo.org>
7258
7259 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7260 check for __NR_fadvise64_64.
7261
7262 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7263
7264 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7265 0, not just to plain "0" as a statement.
7266 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7267 with cw.
7268
7269 2012-12-06 Joseph Myers <joseph@codesourcery.com>
7270
7271 * NEWS: Use sourceware.org in Bugzilla URL.
7272
7273 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7276 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7277
7278 * stdio-common/tst-put-error.c (do_test): Add newline to the
7279 padded test to ensure flush.
7280
7281 2012-12-05 Jeff Law <law@redhat.com>
7282
7283 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7284
7285 2012-12-05 Joseph Myers <joseph@codesourcery.com>
7286
7287 * README: Don't refer to ports add-on as distributed separately.
7288 Mention AArch64 in list of systems supported in the ports add-on.
7289
7290 * LICENSES: Add more non-FSF copyright and license notices.
7291
7292 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7293 ((unused)).
7294
7295 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7296
7297 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7298 10000 as width of padded output.
7299
7300 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7301
7302 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7303
7304 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7305 variable LX with __attribute__ ((unused)).
7306 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7307 Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7311 with __attribute__ ((unused)).
7312
7313 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
7314
7315 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7316
7317 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7318
7319 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7320 (CFLAGS-nldbl-acos.c): New variable.
7321 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7322 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7323 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7324 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7325 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7326 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7327 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7328 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7329 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7330 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7331 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7332 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7333 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7334 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7335 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7336 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7337 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7338 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7339 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7340 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7341 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7342 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7418
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7420 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7421
7422 [BZ #14914]
7423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7424 whole low double instead of just low 47 bits when splitting values
7425 into two parts.
7426
7427 2012-12-03 Allan McRae <allan@archlinux.org>
7428
7429 * manual/stdio.texi (Predefined Printf Handlers): Remove
7430 @hsep and @vsep usage.
7431
7432 2012-12-03 Mike Frysinger <vapier@gentoo.org>
7433
7434 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7435 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7436
7437 2012-12-03 Jeff Law <law@redhat.com>
7438
7439 * time/sys/time.h (settimeofday): Do not mark TV argument
7440 as __nonnull.
7441
7442 2012-12-01 Mike Frysinger <vapier@gentoo.org>
7443
7444 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7445 when currently writing and seek to current position when not.
7446 * libio/Makefile (tests): Remove bug-fclose1.
7447 * libio/bug-fclose1.c: Delete.
7448
7449 2012-12-01 Joseph Myers <joseph@codesourcery.com>
7450
7451 * manual/arith.texi (feenableexcept): Fix typo.
7452 (fedisableexcept): Likewise.
7453
7454 2012-11-30 Roland McGrath <roland@hack.frob.com>
7455
7456 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7457 second, differently-typed declaration, rather than a cast.
7458
7459 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
7461 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7462 * include/rpc/svc.h: ... here.
7463
7464 2012-11-30 Aurelien Jarno <aurel32@debian.org>
7465
7466 [BZ #13013]
7467 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7468 depending n and resplen2 to catch cases where answer
7469 equals answerp2.
7470
7471 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7472
7473 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7474 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7475
7476 2012-11-29 Mike Frysinger <vapier@gentoo.org>
7477
7478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7479
7480 2012-11-29 Roland McGrath <roland@hack.frob.com>
7481
7482 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7483
7484 2012-11-28 Jeff Law <law@redhat.com>
7485
7486 [BZ #13761]
7487 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7488 dataset_temporary. Track alloca usage into alloca_used.
7489 If dataset is large allocate and release it via malloc/free.
7490
7491 2012-06-04 Florian Weimer <fweimer@redhat.com>
7492
7493 [BZ #14197]
7494 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7495
7496 2012-11-28 David S. Miller <davem@davemloft.net>
7497
7498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7499
7500 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #14803]
7503 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7504 of pi/2 rounded to nearest to 64 bits.
7505 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7506 nearest to 64 bits.
7507 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7508 bits.
7509
7510 2012-11-28 Jeff Law <law@redhat.com>
7511 Martin Osvald <mosvald@redhat.com>
7512
7513 [BZ #14889]
7514 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7515 * sunrpc/svc.c: Include time.h.
7516 (__svc_accept_failed): New function.
7517 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7518 any reason other than EINTR, call __svc_accept_failed.
7519 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7520 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7521
7522 2012-11-28 Andreas Schwab <schwab@suse.de>
7523
7524 * scripts/abilist.awk: Also handle indirect functions in .opd
7525 section.
7526
7527 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7528
7529 [BZ #13881]
7530 * sysdeps/x86/fpu/powl_helper.c: New file.
7531 * sysdeps/x86/fpu/Makefile: Likewise.
7532 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7533 (p3): New object.
7534 (__ieee754_powl): Use __powl_helper for finite arguments except
7535 integer exponents below 8.
7536 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7537 (p3): New object.
7538 (__ieee754_powl): Use __powl_helper for finite arguments except
7539 integer exponents below 8.
7540 * math/libm-test.inc (pow_test): Add more tests and enable some
7541 previously disabled tests.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7544
7545 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7546 Carlos O'Donell <carlos_odonell@mentor.com>
7547
7548 * nss/makedb.c (is_prime): Assert that input is odd and greater
7549 than 4. Note that fact in a comment too.
7550 (next_prime): Add 4 to input.
7551
7552 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7553
7554 [BZ #11741]
7555 * libio/Makefile (tests): Add test case tst-fwrite-error.
7556 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7557 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7558 * libio/tst-fwrite-error.c: New test case.
7559
7560 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7561
7562 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7563 before casting to void *.
7564 * include/libc-internal.h (__pointer_type): New macro.
7565 (__integer_if_pointer_type_sub): Likewise.
7566 (__integer_if_pointer_type): Likewise.
7567 (cast_to_integer): Likewise.
7568 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7569 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7570 before casting to atomic64_t.
7571 (atomic_exchange_acq): Likewise.
7572 (__arch_exchange_and_add_body): Likewise.
7573 (__arch_add_body): Likewise.
7574 (atomic_add_negative): Likewise.
7575 (atomic_add_zero): Likewise.
7576
7577 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7578
7579 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7580 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7581 (add_fdes): Likewise.
7582 (linear_search_fdes): Likewise.
7583 (binary_search_unencoded_fdes): Likewise.
7584
7585 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7586
7587 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7588
7589 2012-11-24 Adam Conrad <adconrad@0c3.net>
7590
7591 * configure.in: Autodetect C++ header directories.
7592 * configure: Regenerated.
7593
7594 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7595
7596 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7597
7598 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7599
7600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7601
7602 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7603
7604 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7605 LDBL_MANT_DIG == 106]: Disable some tests.
7606 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7607 Likewise.
7608 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7609 Likewise.
7610
7611 [BZ #14871]
7612 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7613 input for small inputs. Return +/- pi/2 for large inputs.
7614 * math/libm-test.inc (atan_test): Add more tests.
7615
7616 * sysdeps/generic/unwind-dw2-fde-glibc.c
7617 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7618 __attribute__ ((unused)).
7619
7620 [BZ #14645]
7621 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7622 x * y if x and y are nonzero and z is zero.
7623
7624 [BZ #14811]
7625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7626 nonzero exponents with absolute value below 0x1p-117 to +/-
7627 0x1p-117.
7628
7629 [BZ #14869]
7630 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7631 up arguments below 2**-450, not just those below 2**-500.
7632 * math/libm-test.inc (hypot_test): Add another test.
7633
7634 [BZ #14868]
7635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7636 Return a+b for ratio over 2**120, not 2**60.
7637 * math/libm-test.inc (hypot_test): Add another test.
7638
7639 * math/libm-test.inc (clog_test): Use
7640 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7641 (clog10_test): Likewise.
7642
7643 [BZ #6778]
7644 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7645
7646 2012-11-22 Andreas Schwab <schwab@suse.de>
7647
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649
7650 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7651
7652 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7653 printf output with newline.
7654
7655 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7656
7657 [BZ #14865]
7658 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7659 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7660 -z nodlopen, -z initfirst and -z execstack support.
7661 * configure: Regenerated.
7662
7663 * elf/elf.h (DF_1_NODIRECT): New macro.
7664 (DF_1_IGNMULDEF): Likewise.
7665 (DF_1_NOKSYMS): Likewise.
7666 (DF_1_NOHDR): Likewise.
7667 (DF_1_EDITED): Likewise.
7668 (DF_1_NORELOC): Likewise.
7669 (DF_1_SYMINTPOSE): Likewise.
7670 (DF_1_GLOBAUDIT): Likewise.
7671 (DF_1_SINGLETON): Likewise.
7672 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7673 DT_1_SUPPORTED_MASK bits.
7674 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7675
7676 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7677
7678 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7679
7680 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7681
7682 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7683 macro.
7684
7685 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7686 (sendmmsg): Move declarations...
7687 * socket/sys/socket.h: ... here.
7688 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7689 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7690 include it from...
7691 * socket/recvmmsg.c: ... this new file.
7692 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7693 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7694 definition of __sendmmsg hidden.
7695 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7696 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7697 Move ENOSYS stub into and include it from...
7698 * socket/sendmmsg.c: ... this new file.
7699 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7700 (sysdep_routines): Move recvmmsg and sendmmsg...
7701 * socket/Makefile (routines): ... here.
7702 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7703 (GLIBC_PRIVATE): Add __sendmmsg.
7704 * include/sys/socket.h (__sendmmsg): Add declarations.
7705 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7706 sendmmsg.
7707
7708 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7709
7710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7711 variable I1 with __attribute__ ((unused)).
7712 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7713
7714 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7715
7716 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7717 DUMMY variables with __attribute__ ((unused)).
7718
7719 * bits/byteswap.h: Include <bits/types.h>.
7720 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7721
7722 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7723
7724 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7725 string_t. Do not manually set errno.
7726 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7727 length with __strnlen. Make sure to both set errno and return it on
7728 failure.
7729
7730 2012-11-19 David S. Miller <davem@davemloft.net>
7731
7732 With help from Joseph Myers.
7733 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7734 very large arguments properly.
7735 * math/libm-test.inc (atan_test): New tests.
7736 (atan2_test): New tests.
7737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7739
7740 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7741
7742 [BZ #14856]
7743 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7744 Define to 3.
7745
7746 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7747 [POSIX] (EADDRNOTAVAIL): Likewise.
7748 [POSIX] (EAFNOSUPPORT): Likewise.
7749 [POSIX] (EALREADY): Likewise.
7750 [POSIX] (ECONNABORTED): Likewise.
7751 [POSIX] (ECONNREFUSED): Likewise.
7752 [POSIX] (ECONNRESET): Likewise.
7753 [POSIX] (EDESTADDRREQ): Likewise.
7754 [POSIX] (EDQUOT): Likewise.
7755 [POSIX] (EHOSTUNREACH): Likewise.
7756 [POSIX] (EIDRM): Likewise.
7757 [POSIX] (EISCONN): Likewise.
7758 [POSIX] (ELOOP): Likewise.
7759 [POSIX] (EMULTIHOP): Likewise.
7760 [POSIX] (ENETDOWN): Likewise.
7761 [POSIX] (ENETUNREACH): Likewise.
7762 [POSIX] (ENOBUFS): Likewise.
7763 [POSIX] (ENODATA): Likewise.
7764 [POSIX] (ENOLINK): Likewise.
7765 [POSIX] (ENOMSG): Likewise.
7766 [POSIX] (ENOPROTOOPT): Likewise.
7767 [POSIX] (ENOSR): Likewise.
7768 [POSIX] (ENOSTR): Likewise.
7769 [POSIX] (ENOTCONN): Likewise.
7770 [POSIX] (ENOTSOCK): Likewise.
7771 [POSIX] (EOPNOTSUPP): Likewise.
7772 [POSIX] (EOVERFLOW): Likewise.
7773 [POSIX] (EPROTO): Likewise.
7774 [POSIX] (EPROTONOSUPPORT): Likewise.
7775 [POSIX] (EPROTOTYPE): Likewise.
7776 [POSIX] (ESTALE): Likewise.
7777 [POSIX] (ETIME): Likewise.
7778 [POSIX] (ETXTBSY): Likewise.
7779 [POSIX] (EWOULDBLOCK): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7781 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7782 [POSIX] (SEEK_CUR): Likewise.
7783 [POSIX] (SEEK_END): Likewise.
7784 [POSIX || UNIX98] (mode_t): Do not require.
7785 [POSIX] (off_t): Likewise.
7786 [POSIX] (pid_t): Likewise.
7787 [POSIX] (sys/stat.h): Do not allow header.
7788 [POSIX] (unistd.h): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7790 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7792 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7793 require.
7794 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7795 sigevent): Specify elements.
7796 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7797 entry.
7798 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7799 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7800
7801 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7802 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7803 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7804 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7805 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7806 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7807 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7808 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7810 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7811 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7812 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7813 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7814 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7815 Likewise.
7816 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7817 Likewise.
7818 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7819 Likewise.
7820 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7821 Likewise.
7822 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7823 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7824 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7825 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7827 Specify lower bound on value.
7828 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7834 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7835 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7836 value.
7837 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7838 as optional.
7839 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7855 entry.
7856 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7857 optional.
7858 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7864 Likewise.
7865 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7870 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7871 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7872 as optional.
7873 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7877 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7878 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7879 specify as optional.
7880 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7882 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7883 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7884 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7885 [XPG3] (NL_LANGMAX): Likewise.
7886 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7887 [POSIX || XPG3] (NL_NMAX): Likewise.
7888 [POSIX || XPG3] (NL_SETMAX): Likewise.
7889 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7890 [XPG3] (NZERO): Likewise.
7891 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7892 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7893 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7894 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7895 (REG_ERANGE): Expect.
7896 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7897 optional-constant.
7898 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7899 Use (void) in prototype.
7900 [POSIX] (*_t): Allow.
7901 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7902 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7903 (WRDE_BADVAL): Expect.
7904
7905 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7906 expect.
7907 [XPG3 || XPG4] (O_RSYNC): Likewise.
7908 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7909 Likewise.
7910 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7911 [XPG3 || XPG4] (sigqueue): Likewise.
7912 [XPG3 || XPG4] (sigtimedwait): Likewise.
7913 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7914 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7915 [XPG3 || XPG4] (vsnprintf): Likewise.
7916 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7917 Likewise.
7918 [XPG3 || XPG4] (blksize_t): Likewise.
7919 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7920 Likewise.
7921 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7922 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7923 [XPG3 || XPG4] (struct itimerspec): Likewise.
7924 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7925 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7926 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7927 [XPG3 || XPG4] (clockid_t): Likewise.
7928 [XPG3 || XPG4] (timer_t): Likewise.
7929 [XPG3 || XPG4] (clock_getres): Likewise.
7930 [XPG3 || XPG4] (clock_gettime): Likewise.
7931 [XPG3 || XPG4] (clock_settime): Likewise.
7932 [XPG3 || XPG4] (nanosleep): Likewise.
7933 [XPG3 || XPG4] (timer_create): Likewise.
7934 [XPG3 || XPG4] (timer_delete): Likewise.
7935 [XPG3 || XPG4] (timer_gettime): Likewise.
7936 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7937 [XPG3 || XPG4] (timer_settime): Likewise.
7938 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7939 [XPG3 || XPG4] (getlogin_r): Likewise.
7940 [XPG3 || XPG4] (pread): Likewise.
7941 [XPG3 || XPG4] (pthread_atfork): Likewise.
7942 [XPG3 || XPG4] (pwrite): Likewise.
7943
7944 [BZ #14835]
7945 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7946 <bits/siginfo.h>.
7947
7948 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7949
7950 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7951 finalizing MALLSTREAM.
7952
7953 * sysdeps/mach/hurd/syncfs.c: New file.
7954
7955 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7956
7957 [BZ #14719]
7958 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7959 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7960 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7961 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7962 (_nss_dns_gethostbyname4_r): Likewise.
7963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7964 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7965
7966 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7967
7968 [BZ #13763]
7969 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7970
7971 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7972
7973 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7974 * elf/cache.c (print_entry): Print ",AArch64" for
7975 FLAG_AARCH64_LIB64
7976
7977 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7978 * elf/cache.c (print_entry): Print ",hard-float" for
7979 FLAG_ARM_LIBHF.
7980
7981 2012-11-18 David S. Miller <davem@davemloft.net>
7982
7983 With help from Joseph Myers.
7984 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7985 cutoff to 2**-13.
7986 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7987 cutoff to 2**-25.
7988 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7989 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7990 small.
7991 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7992 * math/libm-test.inc (y0_test): New tests.
7993 (y1_test): New tests.
7994 * sysdeps/i386/fpu/libm-test-ulps: Update.
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7997
7998 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7999
8000 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8001 64-bit targets.
8002 * configure: Regenerated.
8003
8004 2012-11-17 David S. Miller <davem@davemloft.net>
8005
8006 [BZ #14811]
8007 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8008 nonzero exponents with absolute value below 0x1p-128 to +/-
8009 0x1p-128.
8010
8011 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8012
8013 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8014
8015 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8016
8017 * posix/getconf-speclist.c: New file.
8018 * posix/posix-envs.def: Likewise.
8019 * posix/confstr.c (START_ENV_GROUP): New macro.
8020 (END_ENV_GROUP): Likewise.
8021 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8022 (KNOWN_PRESENT_ENV_STRING): Likewise.
8023 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8024 (UNKNOWN_ENVIRONMENT): Likewise.
8025 (confstr): Include posix-envs.def instead of handling
8026 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8027 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8028 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8029 (END_ENV_GROUP): Likewise.
8030 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8031 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8032 (UNKNOWN_ENVIRONMENT): Likewise.
8033 (__sysconf): Include posix-envs.def instead of handling associated
8034 cases directly here.
8035 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8036 preprocessing getconf-speclist.c rather than running getconf or
8037 generating empty file.
8038
8039 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8040
8041 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8042
8043 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8044
8045 [BZ #14672]
8046 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8047
8048 2012-11-16 David S. Miller <davem@davemloft.net>
8049
8050 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8051 smaller than LDBL_EPSILON/2.0L, just return xm1.
8052
8053 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8054
8055 * elf/tst-array1.c (init): Set constructor priority to 1000.
8056 (fini): Set destructor priority to 1000.
8057 * elf/tst-array2dep.c: Likewise.
8058
8059 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8060
8061 [BZ #11741]
8062 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8063 (_IO_new_file_xsputn): Also return EOF if none of the input
8064 data was written when overflow failed.
8065 * libio/iopadn.c (_IO_padn): Likewise.
8066 * libio/iowpadn.c (_IO_wpadn): Likewise.
8067 * stdio-common/tst-put-error.c: Add copyright notice.
8068 (do_test): Add case for printing padded string.
8069 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8070 _IO_padn returned error.
8071 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8072 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8073 return EOF.
8074
8075 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8076
8077 * libio/libioP.h: Add comment note that the references to C++
8078 bits are now obsolete.
8079
8080 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8081
8082 * math/libm-test.inc (check_complex): Use asprintf.
8083
8084 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8085
8086 * debug/pcprofiledump.c (print_version): Update copyright year.
8087 * malloc/memusagestat.c (print_version): Likewise.
8088
8089 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8090
8091 [BZ #14831]
8092 * elf/Makefile (tests): Add tst-audit8.
8093 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8094 ($(objpfx)tst-audit8.out): New target.
8095 (tst-audit8-ENV): New variable.
8096 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8097 audit if l_reloc_result is NULL.
8098 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8099 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8100 * elf/tst-audit8.c: New file.
8101
8102 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8103
8104 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8105 * misc/Makefile (CFLAGS-select.c): Define.
8106 * posix/Makefile (CFLAGS-pause.c): Define.
8107
8108 2012-11-13 David S. Miller <davem@davemloft.net>
8109
8110 * crypt/Makefile: Move test targets after toplevel Rules
8111 inclusion. Grab any necessary sysdep routines when linking.
8112 * crypt/md5.c (md5_process_block): Remove define, we will always
8113 name it __md5_process_block.
8114 (md5_finish_ctx): Update md5_process_block call.
8115 (md5_stream): Likewise.
8116 (md5_process_bytes): Likewise.
8117 (md5_process_block): Rename to __md5_process_block and move to ...
8118 * crypt/md5-block.c: ... here.
8119 * crypt/sha256.c (sha256_process_block): Move to ...
8120 * crypt/sha256-block.c: ... here.
8121 * crypt/sha512.c (sha512_process_block): Move to ...
8122 * crypt/sha512-block.c: ... here.
8123 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8124 path.
8125 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8126 * sysdeps/sparc/sparc64/multiarch/Makefile
8127 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8128 crypt subdir.
8129 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8130 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8131 multiarch changes.
8132 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8133 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8134 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8135 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8136 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8137 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8138 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8139 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8140 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8141 file.
8142 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8143 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8144 file.
8145 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8146
8147 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8148
8149 * timezone/tzselect.ksh: Update from tzcode git revision
8150 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8151 * timezone/zdump.c: Likewise.
8152 * timezone/zic.c: Likewise.
8153 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8154 in TZVERSION setting, not $(PKGVERSION).
8155 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8156 REPORT_BUGS_TO settings.
8157
8158 [BZ #14838]
8159 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8160 macro.
8161
8162 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8163
8164 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8165 detection to immediately after _FP_ROUND().
8166 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8167 bits are 0.
8168
8169 2012-11-11 David S. Miller <davem@davemloft.net>
8170
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8172 inttypes.h
8173 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8174 __close rather than their public counterparts.
8175
8176 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8177
8178 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8179 file.
8180 [UNIX98] (sem_timedwait): Do not expect.
8181 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8182 [XPG4 || UNIX98] (sockatmark): Do not expect.
8183 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8184 (clock_getcpuclockid): Do not expect.
8185 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8186 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8187 Do not expect.
8188 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8189 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8190 [UNIX98] (vwscanf): Likewise.
8191 [UNIX98] (vswscanf): Likewise.
8192
8193 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8194
8195 * timezone/version.h: Remove file.
8196 * timezone/README: Do not refer to version.h.
8197 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8198 $(objpfx)version.h.
8199 ($(objpfx)zdump.o): Likewise.
8200 ($(objpfx)version.h): New target.
8201
8202 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8203 2012i.
8204 * timezone/README: Don't mention modification to tzselect.ksh.
8205 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8206 work on unmodified tzselect.ksh. Substitute version numbers in
8207 tzselect.ksh.
8208
8209 * Makefile (format-me): Remove.
8210 (INSTALL): Adjust indentation. Use commands directly instead of
8211 using $(format-me).
8212
8213 * aclocal.m4 (ACX_PKGVERSION): New macro.
8214 (ACX_BUGURL): Likewise.
8215 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8216 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8217 (REPORT_BUGS_TO): Likewise.
8218 * configure: Regenerated.
8219 * config.h.in (PKGVERSION): New macro.
8220 (REPORT_BUGS_TO): Likewise.
8221 * config.make.in (PKGVERSION): New variable.
8222 (PKGVERSION_TEXI): Likewise.
8223 (REPORT_BUGS_TO): Likewise.
8224 (REPORT_BUGS_TEXI): Likewise.
8225 * Makefile (format-me): Use -I$(common-objpfx)manual.
8226 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8227 ($(common-objpfx)manual/%): New target.
8228 (manual/%): Remove target.
8229 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8230 (print_version): Use PKGVERSION.
8231 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8232 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8233 and REPORT_BUGS_TO.
8234 ($(objpfx)xtrace): Likewise.
8235 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8236 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8237 (print_version): Use PKGVERSION.
8238 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8239 (do_version): Use PKGVERSION.
8240 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8241 REPORT_BUGS_TO.
8242 (common-ldd-rewrite): Likewise.
8243 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8244 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8245 (print_version): Use PKGVERSION.
8246 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8247 * elf/pldd.c (argp_program_bug_address): Remove variable.
8248 (more_help): New function.
8249 (argp): Use more_help.
8250 (print_version): Use PKGVERSION.
8251 * elf/sln.c (main): Use PKGVERSION.
8252 (usage): Use REPORT_BUGS_TO.
8253 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8254 (top level): Use PKGVERSION.
8255 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8256 (print_version): Use PKGVERSION.
8257 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8258 (print_version): Use PKGVERSION.
8259 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8260 (print_version): Use PKGVERSION.
8261 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8262 (print_version): Use PKGVERSION.
8263 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8264 (print_version): Use PKGVERSION.
8265 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8266 (print_version): Use PKGVERSION.
8267 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8268 and BUGURL.
8269 ($(objpfx)memusage): Likewise.
8270 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8271 (do_version): Use PKGVERSION.
8272 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8273 (print_version): Use PKGVERSION.
8274 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8275 ($PKGVERSION): New variable.
8276 ($REPORT_BUGS_TO): Likewise.
8277 (usage): Use $REPORT_BUGS_TO.
8278 (top level): Use $PKGVERSION.
8279 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8280 ($(objpfx)pkgvers.texi): New rule.
8281 ($(objpfx)stamp-pkgvers): Likewise.
8282 * manual/install.texi: Include pkgvers.texi.
8283 (--with-pkgversion): Document new configure option.
8284 (--with-bugurl): Likewise.
8285 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8286 than necessarily for this particular distribution. Use
8287 REPORT_BUGS_TO for where to report bugs.
8288 * INSTALL: Regenerated.
8289 * manual/libc.texinfo: Include pkgvers.texi.
8290 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8291 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8292 (print_version): Use PKGVERSION.
8293 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8294 (print_version): Use PKGVERSION.
8295 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8296 (print_version): Use PKGVERSION.
8297 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8298 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8299 macro.
8300 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8301 (print_version): Use PKGVERSION.
8302 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8303 (print_version): Use PKGVERSION.
8304 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8305 and PKGVERSION.
8306
8307 * timezone/checktab.awk: Update from tzcode 2012i.
8308 * timezone/ialloc.c: Likewise.
8309 * timezone/private.h: Likewise.
8310 * timezone/scheck.c: Likewise.
8311 * timezone/tzfile.h: Likewise.
8312 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8313 (TZVERSION): Hardcode tzcode version number.
8314 * timezone/zdump.c: Update from tzcode 2012i.
8315 * timezone/zic.c: Likewise.
8316 * timezone/version.h: New file.
8317 * timezone/README: Describe version.h. Update upstream location.
8318
8319 [BZ #14824]
8320 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8321 (mktemp): Enable declaration.
8322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8326 Likewise.
8327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8328 Likewise.
8329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8330 Likewise.
8331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8332 Likewise.
8333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8334 Likewise.
8335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8336 Likewise.
8337
8338 [BZ #14821]
8339 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8340 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8341 for copies of such integer values.
8342 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8343 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8344
8345 2012-11-09 Andreas Jaeger <aj@suse.de>
8346
8347 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8348 definitions and declarations that are provided by
8349 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8350
8351 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8352
8353 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8354 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8355 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8356 definition.
8357
8358 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8359
8360 * elf/elf.h: Update comment before AArch64 relocations.
8361
8362 2012-11-07 David S. Miller <davem@davemloft.net>
8363
8364 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8365 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8366 (__start_context): Declare.
8367 (__makecontext_ret): Delete.
8368 (__makecontext): Hook up __start_context instead of
8369 __makecontext_ret.
8370 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8371 (sysdep_routines): Add __start_context when in stdlib.
8372
8373 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8374
8375 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8376 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8377 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8378 hardcoded "nm".
8379 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8380 (READELF): New variable. Use it instead of hardcoded "readelf".
8381
8382 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8385 * sysdeps/x86/Makefile: Here.
8386 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8387 * sysdeps/x86/tst-xmmymm.sh: This.
8388
8389 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8390
8391 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8392 expectations.
8393 [UNIX98] (pthread_barrier_t): Do not expect.
8394 [UNIX98] (pthread_barrierattr_t): Likewise.
8395 [UNIX98] (pthread_spinlock_t): Likewise.
8396 [UNIX98] (pthread_barrier_destroy): Likewise.
8397 [UNIX98] (pthread_barrier_init): Likewise.
8398 [UNIX98] (pthread_barrier_wait): Likewise.
8399 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8400 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8401 [UNIX98] (pthread_barrierattr_init): Likewise.
8402 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8403 [UNIX98] (pthread_getcpuclockid): Likewise.
8404 [UNIX98] (pthread_mutex_timedlock): Likewise.
8405 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8406 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8407 [UNIX98] (pthread_sigmask): Likewise.
8408 [UNIX98] (pthread_spin_destroy): Likewise.
8409 [UNIX98] (pthread_spin_init): Likewise.
8410 [UNIX98] (pthread_spin_lock): Likewise.
8411 [UNIX98] (pthread_spin_trylock): Likewise.
8412 [UNIX98] (pthread_spin_unlock): Likewise.
8413 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8414 Do not expect.
8415 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8416 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8417 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8418 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8419 [XPG3 || XPG4] (pthread_key_t): Likewise.
8420 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8421 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8422 [XPG3 || XPG4] (pthread_once_t): Likewise.
8423 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8424 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8426 [XPG3 || XPG4] (pthread_t): Likewise.
8427
8428 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8429 not expect.
8430 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8431
8432 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8433 Change function return type to int.
8434
8435 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8436 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8437 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8438 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8439 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8440 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8441 [!POSIX] (posix_madvise): Likewise.
8442 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8443 && !UNIX98].
8444 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8445 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8446 (mode_t): Likewise.
8447 (posix_mem_offset): Likewise.
8448 (posix_typed_mem_get_info): Likewise.
8449 (posix_typed_mem_open): Likewise.
8450
8451 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8452 Change condition to [XOPEN2K8].
8453
8454 * conform/conformtest.pl: Preprocess allow-header data with -x c
8455 instead of from stdin.
8456 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8457 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8458 [C99-based standards] (cerfc): Likewise.
8459 [C99-based standards] (cexp2): Likewise.
8460 [C99-based standards] (cexpm1): Likewise.
8461 [C99-based standards] (clog10): Likewise.
8462 [C99-based standards] (clog1p): Likewise.
8463 [C99-based standards] (clog2): Likewise.
8464 [C99-based standards] (clgamma): Likewise.
8465 [C99-based standards] (ctgamma): Likewise.
8466 [C99-based standards] (cerff): Likewise.
8467 [C99-based standards] (cerfcf): Likewise.
8468 [C99-based standards] (cexp2f): Likewise.
8469 [C99-based standards] (cexpm1f): Likewise.
8470 [C99-based standards] (clog10f): Likewise.
8471 [C99-based standards] (clog1pf): Likewise.
8472 [C99-based standards] (clog2f): Likewise.
8473 [C99-based standards] (clgammaf): Likewise.
8474 [C99-based standards] (ctgammaf): Likewise.
8475 [C99-based standards] (cerfl): Likewise.
8476 [C99-based standards] (cerfcl): Likewise.
8477 [C99-based standards] (cexp2l): Likewise.
8478 [C99-based standards] (cexpm1l): Likewise.
8479 [C99-based standards] (clog10l): Likewise.
8480 [C99-based standards] (clog1pl): Likewise.
8481 [C99-based standards] (clog2l): Likewise.
8482 [C99-based standards] (clgammal): Likewise.
8483 [C99-based standards] (ctgammal): Likewise.
8484 * conform/data/inttypes.h-data [C99-based standards]: Include
8485 stdint.h-data. Remove all expectations for stdint.h contents.
8486 [C99-based standards] (PRI*): Do not allow.
8487 [C99-based standards] (SCN*): Likewise.
8488 [C99-based standards] (*_t): Likewise.
8489 [C99-based-standards] (PRId8): Expect macro.
8490 [C99-based-standards] (PRIi8): Likewise.
8491 [C99-based-standards] (PRIo8): Likewise.
8492 [C99-based-standards] (PRIu8): Likewise.
8493 [C99-based-standards] (PRIx8): Likewise.
8494 [C99-based-standards] (PRIX8): Likewise.
8495 [C99-based-standards] (SCNd8): Likewise.
8496 [C99-based-standards] (SCNi8): Likewise.
8497 [C99-based-standards] (SCNo8): Likewise.
8498 [C99-based-standards] (SCNu8): Likewise.
8499 [C99-based-standards] (SCNx8): Likewise.
8500 [C99-based-standards] (PRIdLEAST8): Likewise.
8501 [C99-based-standards] (PRIiLEAST8): Likewise.
8502 [C99-based-standards] (PRIoLEAST8): Likewise.
8503 [C99-based-standards] (PRIuLEAST8): Likewise.
8504 [C99-based-standards] (PRIxLEAST8): Likewise.
8505 [C99-based-standards] (PRIXLEAST8): Likewise.
8506 [C99-based-standards] (SCNdLEAST8): Likewise.
8507 [C99-based-standards] (SCNiLEAST8): Likewise.
8508 [C99-based-standards] (SCNoLEAST8): Likewise.
8509 [C99-based-standards] (SCNuLEAST8): Likewise.
8510 [C99-based-standards] (SCNxLEAST8): Likewise.
8511 [C99-based-standards] (PRIdFAST8): Likewise.
8512 [C99-based-standards] (PRIiFAST8): Likewise.
8513 [C99-based-standards] (PRIoFAST8): Likewise.
8514 [C99-based-standards] (PRIuFAST8): Likewise.
8515 [C99-based-standards] (PRIxFAST8): Likewise.
8516 [C99-based-standards] (PRIXFAST8): Likewise.
8517 [C99-based-standards] (SCNdFAST8): Likewise.
8518 [C99-based-standards] (SCNiFAST8): Likewise.
8519 [C99-based-standards] (SCNoFAST8): Likewise.
8520 [C99-based-standards] (SCNuFAST8): Likewise.
8521 [C99-based-standards] (SCNxFAST8): Likewise.
8522 [C99-based-standards] (PRId16): Likewise.
8523 [C99-based-standards] (PRIi16): Likewise.
8524 [C99-based-standards] (PRIo16): Likewise.
8525 [C99-based-standards] (PRIu16): Likewise.
8526 [C99-based-standards] (PRIx16): Likewise.
8527 [C99-based-standards] (PRIX16): Likewise.
8528 [C99-based-standards] (SCNd16): Likewise.
8529 [C99-based-standards] (SCNi16): Likewise.
8530 [C99-based-standards] (SCNo16): Likewise.
8531 [C99-based-standards] (SCNu16): Likewise.
8532 [C99-based-standards] (SCNx16): Likewise.
8533 [C99-based-standards] (PRIdLEAST16): Likewise.
8534 [C99-based-standards] (PRIiLEAST16): Likewise.
8535 [C99-based-standards] (PRIoLEAST16): Likewise.
8536 [C99-based-standards] (PRIuLEAST16): Likewise.
8537 [C99-based-standards] (PRIxLEAST16): Likewise.
8538 [C99-based-standards] (PRIXLEAST16): Likewise.
8539 [C99-based-standards] (SCNdLEAST16): Likewise.
8540 [C99-based-standards] (SCNiLEAST16): Likewise.
8541 [C99-based-standards] (SCNoLEAST16): Likewise.
8542 [C99-based-standards] (SCNuLEAST16): Likewise.
8543 [C99-based-standards] (SCNxLEAST16): Likewise.
8544 [C99-based-standards] (PRIdFAST16): Likewise.
8545 [C99-based-standards] (PRIiFAST16): Likewise.
8546 [C99-based-standards] (PRIoFAST16): Likewise.
8547 [C99-based-standards] (PRIuFAST16): Likewise.
8548 [C99-based-standards] (PRIxFAST16): Likewise.
8549 [C99-based-standards] (PRIXFAST16): Likewise.
8550 [C99-based-standards] (SCNdFAST16): Likewise.
8551 [C99-based-standards] (SCNiFAST16): Likewise.
8552 [C99-based-standards] (SCNoFAST16): Likewise.
8553 [C99-based-standards] (SCNuFAST16): Likewise.
8554 [C99-based-standards] (SCNxFAST16): Likewise.
8555 [C99-based-standards] (PRId32): Likewise.
8556 [C99-based-standards] (PRIi32): Likewise.
8557 [C99-based-standards] (PRIo32): Likewise.
8558 [C99-based-standards] (PRIu32): Likewise.
8559 [C99-based-standards] (PRIx32): Likewise.
8560 [C99-based-standards] (PRIX32): Likewise.
8561 [C99-based-standards] (SCNd32): Likewise.
8562 [C99-based-standards] (SCNi32): Likewise.
8563 [C99-based-standards] (SCNo32): Likewise.
8564 [C99-based-standards] (SCNu32): Likewise.
8565 [C99-based-standards] (SCNx32): Likewise.
8566 [C99-based-standards] (PRIdLEAST32): Likewise.
8567 [C99-based-standards] (PRIiLEAST32): Likewise.
8568 [C99-based-standards] (PRIoLEAST32): Likewise.
8569 [C99-based-standards] (PRIuLEAST32): Likewise.
8570 [C99-based-standards] (PRIxLEAST32): Likewise.
8571 [C99-based-standards] (PRIXLEAST32): Likewise.
8572 [C99-based-standards] (SCNdLEAST32): Likewise.
8573 [C99-based-standards] (SCNiLEAST32): Likewise.
8574 [C99-based-standards] (SCNoLEAST32): Likewise.
8575 [C99-based-standards] (SCNuLEAST32): Likewise.
8576 [C99-based-standards] (SCNxLEAST32): Likewise.
8577 [C99-based-standards] (PRIdFAST32): Likewise.
8578 [C99-based-standards] (PRIiFAST32): Likewise.
8579 [C99-based-standards] (PRIoFAST32): Likewise.
8580 [C99-based-standards] (PRIuFAST32): Likewise.
8581 [C99-based-standards] (PRIxFAST32): Likewise.
8582 [C99-based-standards] (PRIXFAST32): Likewise.
8583 [C99-based-standards] (SCNdFAST32): Likewise.
8584 [C99-based-standards] (SCNiFAST32): Likewise.
8585 [C99-based-standards] (SCNoFAST32): Likewise.
8586 [C99-based-standards] (SCNuFAST32): Likewise.
8587 [C99-based-standards] (SCNxFAST32): Likewise.
8588 [C99-based-standards] (PRId64): Likewise.
8589 [C99-based-standards] (PRIi64): Likewise.
8590 [C99-based-standards] (PRIo64): Likewise.
8591 [C99-based-standards] (PRIu64): Likewise.
8592 [C99-based-standards] (PRIx64): Likewise.
8593 [C99-based-standards] (PRIX64): Likewise.
8594 [C99-based-standards] (SCNd64): Likewise.
8595 [C99-based-standards] (SCNi64): Likewise.
8596 [C99-based-standards] (SCNo64): Likewise.
8597 [C99-based-standards] (SCNu64): Likewise.
8598 [C99-based-standards] (SCNx64): Likewise.
8599 [C99-based-standards] (PRIdLEAST64): Likewise.
8600 [C99-based-standards] (PRIiLEAST64): Likewise.
8601 [C99-based-standards] (PRIoLEAST64): Likewise.
8602 [C99-based-standards] (PRIuLEAST64): Likewise.
8603 [C99-based-standards] (PRIxLEAST64): Likewise.
8604 [C99-based-standards] (PRIXLEAST64): Likewise.
8605 [C99-based-standards] (SCNdLEAST64): Likewise.
8606 [C99-based-standards] (SCNiLEAST64): Likewise.
8607 [C99-based-standards] (SCNoLEAST64): Likewise.
8608 [C99-based-standards] (SCNuLEAST64): Likewise.
8609 [C99-based-standards] (SCNxLEAST64): Likewise.
8610 [C99-based-standards] (PRIdFAST64): Likewise.
8611 [C99-based-standards] (PRIiFAST64): Likewise.
8612 [C99-based-standards] (PRIoFAST64): Likewise.
8613 [C99-based-standards] (PRIuFAST64): Likewise.
8614 [C99-based-standards] (PRIxFAST64): Likewise.
8615 [C99-based-standards] (PRIXFAST64): Likewise.
8616 [C99-based-standards] (SCNdFAST64): Likewise.
8617 [C99-based-standards] (SCNiFAST64): Likewise.
8618 [C99-based-standards] (SCNoFAST64): Likewise.
8619 [C99-based-standards] (SCNuFAST64): Likewise.
8620 [C99-based-standards] (SCNxFAST64): Likewise.
8621 [C99-based-standards] (PRIdMAX): Likewise.
8622 [C99-based-standards] (PRIiMAX): Likewise.
8623 [C99-based-standards] (PRIoMAX): Likewise.
8624 [C99-based-standards] (PRIuMAX): Likewise.
8625 [C99-based-standards] (PRIxMAX): Likewise.
8626 [C99-based-standards] (PRIXMAX): Likewise.
8627 [C99-based-standards] (SCNdMAX): Likewise.
8628 [C99-based-standards] (SCNiMAX): Likewise.
8629 [C99-based-standards] (SCNoMAX): Likewise.
8630 [C99-based-standards] (SCNuMAX): Likewise.
8631 [C99-based-standards] (SCNxMAX): Likewise.
8632 [C99-based-standards] (PRIdPTR): Likewise.
8633 [C99-based-standards] (PRIiPTR): Likewise.
8634 [C99-based-standards] (PRIoPTR): Likewise.
8635 [C99-based-standards] (PRIuPTR): Likewise.
8636 [C99-based-standards] (PRIxPTR): Likewise.
8637 [C99-based-standards] (PRIXPTR): Likewise.
8638 [C99-based-standards] (SCNdPTR): Likewise.
8639 [C99-based-standards] (SCNiPTR): Likewise.
8640 [C99-based-standards] (SCNoPTR): Likewise.
8641 [C99-based-standards] (SCNuPTR): Likewise.
8642 [C99-based-standards] (SCNxPTR): Likewise.
8643 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8644 allow.
8645 * conform/data/stdint.h-data: Update comments to clarify
8646 requirements.
8647 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8648 type.
8649 [C99-based standards] (INT8_MAX): Likewise.
8650 [C99-based standards] (INT16_MIN): Likewise.
8651 [C99-based standards] (INT16_MAX): Likewise.
8652 [C99-based standards] (INT32_MIN): Likewise.
8653 [C99-based standards] (INT32_MAX): Likewise.
8654 [C99-based standards] (INT64_MIN): Likewise.
8655 [C99-based standards] (INT64_MAX): Likewise.
8656 [C99-based standards] (UINT8_MAX): Likewise.
8657 [C99-based standards] (UINT16_MAX): Likewise.
8658 [C99-based standards] (UINT32_MAX): Likewise.
8659 [C99-based standards] (UINT64_MAX): Likewise.
8660 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8661 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8662 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8663 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8664 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8665 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8666 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8667 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8668 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8669 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8670 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8671 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8672 [C99-based standards] (INT_FAST8_MIN): Likewise.
8673 [C99-based standards] (INT_FAST8_MAX): Likewise.
8674 [C99-based standards] (INT_FAST16_MIN): Likewise.
8675 [C99-based standards] (INT_FAST16_MAX): Likewise.
8676 [C99-based standards] (INT_FAST32_MIN): Likewise.
8677 [C99-based standards] (INT_FAST32_MAX): Likewise.
8678 [C99-based standards] (INT_FAST64_MIN): Likewise.
8679 [C99-based standards] (INT_FAST64_MAX): Likewise.
8680 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8681 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8682 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8683 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8684 [C99-based standards] (INTPTR_MIN): Likewise.
8685 [C99-based standards] (INTPTR_MAX): Likewise.
8686 [C99-based standards] (UINTPTR_MAX): Likewise.
8687 [C99-based standards] (INTMAX_MIN): Likewise.
8688 [C99-based standards] (INTMAX_MAX): Likewise.
8689 [C99-based standards] (UINTMAX_MAX): Likewise.
8690 [C99-based standards] (PTRDIFF_MIN): Likewise.
8691 [C99-based standards] (PTRDIFF_MAX): Likewise.
8692 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8693 [C99-based standards] (SIZE_MAX): Likewise.
8694 [C99-based standards] (WCHAR_MAX): Likewise.
8695 [C99-based standards] (WINT_MAX): Likewise.
8696 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8697 constraint on value.
8698 [C99-based standards] (WCHAR_MIN): Likewise.
8699 [C99-based standards] (WINT_MIN): Likewise.
8700 [C99-based standards] (*_t): Allow.
8701 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8702 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8703 Include math.h-data and complex.h-data. Remove all expectations
8704 of math.h and complex.h contents.
8705 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8706 at end of line.
8707 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8708 (struct tm): Expect tag.
8709 [C99-based-standards] (wcstof): Expect function.
8710 [C99-based-standards] (wcstold): Likewise.
8711 [C99-based-standards] (wcstoll): Likewise.
8712 [C99-based-standards] (wcstoull): Likewise.
8713 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8714 macro-int-constant. Specify type.
8715 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8716 constraint on value.
8717 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8718 Specify type.
8719 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8720 Specify value.
8721 [ISO C standards]: Do not allow headers.
8722 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8723 wcs[abcdefghijklmnopqrstuvwxyz]*.
8724 [ISO C standards] (*_t): Do not allow.
8725 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8726 Expect function.
8727 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8728 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8729 Specify type.
8730 [ISO C standards]: Do not allow headers.
8731 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8732 is[abcdefghijklmnopqrstuvwxyz]*.
8733 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8734 to[abcdefghijklmnopqrstuvwxyz]*.
8735 [ISO C standards] (*_t): Do not allow.
8736 * conform/data/stdalign.h-data: New file.
8737 * conform/data/stdbool.h-data: Likewise.
8738 * conform/data/stdnoreturn.h-data: Likewise.
8739
8740 2012-11-07 Roland McGrath <roland@hack.frob.com>
8741
8742 [BZ #14815]
8743 * manual/filesys.texi (Directory Entries): Typo fix.
8744 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8745
8746 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8747
8748 * elf/elf.h (EM_AARCH64): New macro.
8749 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8750 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8751 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8752 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8753 (R_AARCH64_TLSDESC): Likewise.
8754 (NT_ARM_TLS): Likewise.
8755 (NT_ARM_HW_BREAK): Likewise.
8756 (NT_ARM_HW_WATCH): Likewise.
8757
8758 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8759
8760 [BZ #14811]
8761 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8762 (__ieee754_powl): Saturate nonzero exponents with absolute value
8763 below 0x1p-79 to +/- 0x1p-79.
8764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8765 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8766 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8767 nonzero exponents with absolute value below 0x1p-32 to +/-
8768 0x1p-32.
8769 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8770 (__ieee754_powl): Saturate nonzero exponents with absolute value
8771 below 0x1p-79 to +/- 0x1p-79.
8772 * math/libm-test.inc (pow_test): Add more tests.
8773
8774 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8775
8776 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8777 _dl_s390_cap_flags with kernel. Increase string length.
8778 (_dl_s390_platforms): Add z196 and zEC12.
8779
8780 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8781
8782 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8783 Change XOPEN21K to XOPEN2K.
8784
8785 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8786
8787 * string/memmove.c: Use memcpy when possible.
8788
8789 2012-11-06 Andreas Jaeger <aj@suse.de>
8790
8791 * po/eo.po: Update from translation team.
8792
8793 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8794
8795 [BZ #14793]
8796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8797 exponent and small x and y exponents, scale x or y up. Increase
8798 by 2 the exponent used in scaling up.
8799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8801 * math/libm-test.inc (fma_test): Add more tests.
8802 (fma_test_towardzero): Likewise.
8803 (fma_test_downward): Likewise.
8804 (fma_test_upward): Likewise.
8805
8806 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8807
8808 [BZ #14805]
8809 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8810 fenv_t *.
8811
8812 [BZ #14801]
8813 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8814 namespace for names of struct fields.
8815 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8816 fenv_t fields.
8817 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8818 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8819
8820 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8821
8822 [BZ #3665]
8823 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8824
8825 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8826
8827 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8828 PTR_DEMANGLE.
8829
8830 [BZ #5246]
8831 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8832 PTR_DEMANGLE.
8833
8834 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8835
8836 [BZ #14797]
8837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8838 definitely overflow as x * y not x * y + z.
8839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8841 * math/libm-test.inc (fma_test): Add more tests.
8842 (fma_test_towardzero): Likewise.
8843 (fma_test_downward): Likewise.
8844 (fma_test_upward): Likewise.
8845
8846 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8847
8848 [BZ #157]
8849
8850 * include/stub-tag.h: Remove file.
8851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8852 '#include' of it.
8853 * manual/maint.texi (Porting): Don't reference it.
8854 * Makerules ($(objpfx)stubs): Likewise.
8855 * dirent/closedir.c: Don't include <stub-tag.h>.
8856 * dirent/dirfd.c: Likewise.
8857 * dirent/fdopendir.c: Likewise.
8858 * dirent/getdents.c: Likewise.
8859 * dirent/getdents64.c: Likewise.
8860 * dirent/opendir.c: Likewise.
8861 * dirent/readdir.c: Likewise.
8862 * dirent/readdir64.c: Likewise.
8863 * dirent/readdir64_r.c: Likewise.
8864 * dirent/readdir_r.c: Likewise.
8865 * dirent/rewinddir.c: Likewise.
8866 * dirent/seekdir.c: Likewise.
8867 * dirent/telldir.c: Likewise.
8868 * gmon/profil.c: Likewise.
8869 * grp/setgroups.c: Likewise.
8870 * inet/if_index.c: Likewise.
8871 * io/access.c: Likewise.
8872 * io/chdir.c: Likewise.
8873 * io/chmod.c: Likewise.
8874 * io/chown.c: Likewise.
8875 * io/close.c: Likewise.
8876 * io/dup.c: Likewise.
8877 * io/dup2.c: Likewise.
8878 * io/dup3.c: Likewise.
8879 * io/euidaccess.c: Likewise.
8880 * io/faccessat.c: Likewise.
8881 * io/fchdir.c: Likewise.
8882 * io/fchmod.c: Likewise.
8883 * io/fchmodat.c: Likewise.
8884 * io/fchown.c: Likewise.
8885 * io/fchownat.c: Likewise.
8886 * io/fcntl.c: Likewise.
8887 * io/flock.c: Likewise.
8888 * io/fstatfs.c: Likewise.
8889 * io/fstatfs64.c: Likewise.
8890 * io/fstatvfs.c: Likewise.
8891 * io/fstatvfs64.c: Likewise.
8892 * io/futimens.c: Likewise.
8893 * io/fxstat.c: Likewise.
8894 * io/fxstat64.c: Likewise.
8895 * io/fxstatat.c: Likewise.
8896 * io/fxstatat64.c: Likewise.
8897 * io/getcwd.c: Likewise.
8898 * io/isatty.c: Likewise.
8899 * io/lchmod.c: Likewise.
8900 * io/lchown.c: Likewise.
8901 * io/link.c: Likewise.
8902 * io/linkat.c: Likewise.
8903 * io/lseek.c: Likewise.
8904 * io/lseek64.c: Likewise.
8905 * io/lxstat64.c: Likewise.
8906 * io/mkdir.c: Likewise.
8907 * io/mkdirat.c: Likewise.
8908 * io/mkfifo.c: Likewise.
8909 * io/mkfifoat.c: Likewise.
8910 * io/open.c: Likewise.
8911 * io/open64.c: Likewise.
8912 * io/openat.c: Likewise.
8913 * io/openat64.c: Likewise.
8914 * io/pipe.c: Likewise.
8915 * io/pipe2.c: Likewise.
8916 * io/poll.c: Likewise.
8917 * io/posix_fadvise.c: Likewise.
8918 * io/posix_fadvise64.c: Likewise.
8919 * io/posix_fallocate.c: Likewise.
8920 * io/posix_fallocate64.c: Likewise.
8921 * io/read.c: Likewise.
8922 * io/readlink.c: Likewise.
8923 * io/readlinkat.c: Likewise.
8924 * io/rmdir.c: Likewise.
8925 * io/sendfile.c: Likewise.
8926 * io/sendfile64.c: Likewise.
8927 * io/statfs.c: Likewise.
8928 * io/statfs64.c: Likewise.
8929 * io/statvfs.c: Likewise.
8930 * io/statvfs64.c: Likewise.
8931 * io/symlink.c: Likewise.
8932 * io/symlinkat.c: Likewise.
8933 * io/ttyname.c: Likewise.
8934 * io/ttyname_r.c: Likewise.
8935 * io/umask.c: Likewise.
8936 * io/unlink.c: Likewise.
8937 * io/unlinkat.c: Likewise.
8938 * io/utime.c: Likewise.
8939 * io/utimensat.c: Likewise.
8940 * io/write.c: Likewise.
8941 * io/xmknod.c: Likewise.
8942 * io/xmknodat.c: Likewise.
8943 * io/xstat.c: Likewise.
8944 * io/xstat64.c: Likewise.
8945 * login/getpt.c: Likewise.
8946 * login/grantpt.c: Likewise.
8947 * login/unlockpt.c: Likewise.
8948 * math/e_acoshl.c: Likewise.
8949 * math/e_acosl.c: Likewise.
8950 * math/e_asinl.c: Likewise.
8951 * math/e_atan2l.c: Likewise.
8952 * math/e_atanhl.c: Likewise.
8953 * math/e_coshl.c: Likewise.
8954 * math/e_expl.c: Likewise.
8955 * math/e_fmodl.c: Likewise.
8956 * math/e_gammal_r.c: Likewise.
8957 * math/e_hypotl.c: Likewise.
8958 * math/e_j0l.c: Likewise.
8959 * math/e_j1l.c: Likewise.
8960 * math/e_jnl.c: Likewise.
8961 * math/e_lgammal_r.c: Likewise.
8962 * math/e_log10l.c: Likewise.
8963 * math/e_log2l.c: Likewise.
8964 * math/e_logl.c: Likewise.
8965 * math/e_powl.c: Likewise.
8966 * math/e_rem_pio2l.c: Likewise.
8967 * math/e_sinhl.c: Likewise.
8968 * math/e_sqrtl.c: Likewise.
8969 * math/fclrexcpt.c: Likewise.
8970 * math/fedisblxcpt.c: Likewise.
8971 * math/feenablxcpt.c: Likewise.
8972 * math/fegetenv.c: Likewise.
8973 * math/fegetexcept.c: Likewise.
8974 * math/fegetround.c: Likewise.
8975 * math/feholdexcpt.c: Likewise.
8976 * math/fesetenv.c: Likewise.
8977 * math/fesetround.c: Likewise.
8978 * math/feupdateenv.c: Likewise.
8979 * math/fgetexcptflg.c: Likewise.
8980 * math/fraiseexcpt.c: Likewise.
8981 * math/fsetexcptflg.c: Likewise.
8982 * math/ftestexcept.c: Likewise.
8983 * math/k_cosl.c: Likewise.
8984 * math/k_rem_pio2l.c: Likewise.
8985 * math/k_sinl.c: Likewise.
8986 * math/k_tanl.c: Likewise.
8987 * math/s_asinhl.c: Likewise.
8988 * math/s_atanl.c: Likewise.
8989 * math/s_cbrtl.c: Likewise.
8990 * math/s_erfl.c: Likewise.
8991 * math/s_expm1l.c: Likewise.
8992 * math/s_log1pl.c: Likewise.
8993 * math/s_tanhl.c: Likewise.
8994 * misc/acct.c: Likewise.
8995 * misc/brk.c: Likewise.
8996 * misc/chflags.c: Likewise.
8997 * misc/chroot.c: Likewise.
8998 * misc/fchflags.c: Likewise.
8999 * misc/fgetxattr.c: Likewise.
9000 * misc/flistxattr.c: Likewise.
9001 * misc/fremovexattr.c: Likewise.
9002 * misc/fsetxattr.c: Likewise.
9003 * misc/fsync.c: Likewise.
9004 * misc/ftruncate.c: Likewise.
9005 * misc/futimes.c: Likewise.
9006 * misc/futimesat.c: Likewise.
9007 * misc/getdomain.c: Likewise.
9008 * misc/getdtsz.c: Likewise.
9009 * misc/gethostid.c: Likewise.
9010 * misc/gethostname.c: Likewise.
9011 * misc/getloadavg.c: Likewise.
9012 * misc/getpagesize.c: Likewise.
9013 * misc/getsysstats.c: Likewise.
9014 * misc/getxattr.c: Likewise.
9015 * misc/gtty.c: Likewise.
9016 * misc/ioctl.c: Likewise.
9017 * misc/lgetxattr.c: Likewise.
9018 * misc/listxattr.c: Likewise.
9019 * misc/llistxattr.c: Likewise.
9020 * misc/lremovexattr.c: Likewise.
9021 * misc/lsetxattr.c: Likewise.
9022 * misc/lutimes.c: Likewise.
9023 * misc/madvise.c: Likewise.
9024 * misc/mincore.c: Likewise.
9025 * misc/mlock.c: Likewise.
9026 * misc/mlockall.c: Likewise.
9027 * misc/mmap.c: Likewise.
9028 * misc/mprotect.c: Likewise.
9029 * misc/msync.c: Likewise.
9030 * misc/munlock.c: Likewise.
9031 * misc/munlockall.c: Likewise.
9032 * misc/munmap.c: Likewise.
9033 * misc/preadv.c: Likewise.
9034 * misc/preadv64.c: Likewise.
9035 * misc/ptrace.c: Likewise.
9036 * misc/pwritev.c: Likewise.
9037 * misc/pwritev64.c: Likewise.
9038 * misc/readv.c: Likewise.
9039 * misc/reboot.c: Likewise.
9040 * misc/remap_file_pages.c: Likewise.
9041 * misc/removexattr.c: Likewise.
9042 * misc/revoke.c: Likewise.
9043 * misc/select.c: Likewise.
9044 * misc/setdomain.c: Likewise.
9045 * misc/setegid.c: Likewise.
9046 * misc/seteuid.c: Likewise.
9047 * misc/sethostid.c: Likewise.
9048 * misc/sethostname.c: Likewise.
9049 * misc/setregid.c: Likewise.
9050 * misc/setreuid.c: Likewise.
9051 * misc/setxattr.c: Likewise.
9052 * misc/sstk.c: Likewise.
9053 * misc/stty.c: Likewise.
9054 * misc/swapoff.c: Likewise.
9055 * misc/swapon.c: Likewise.
9056 * misc/sync.c: Likewise.
9057 * misc/syncfs.c: Likewise.
9058 * misc/syscall.c: Likewise.
9059 * misc/truncate.c: Likewise.
9060 * misc/ualarm.c: Likewise.
9061 * misc/usleep.c: Likewise.
9062 * misc/ustat.c: Likewise.
9063 * misc/utimes.c: Likewise.
9064 * misc/vhangup.c: Likewise.
9065 * misc/writev.c: Likewise.
9066 * posix/_exit.c: Likewise.
9067 * posix/alarm.c: Likewise.
9068 * posix/execve.c: Likewise.
9069 * posix/fexecve.c: Likewise.
9070 * posix/fork.c: Likewise.
9071 * posix/fpathconf.c: Likewise.
9072 * posix/getaddrinfo.c: Likewise.
9073 * posix/getegid.c: Likewise.
9074 * posix/geteuid.c: Likewise.
9075 * posix/getgid.c: Likewise.
9076 * posix/getgroups.c: Likewise.
9077 * posix/getlogin.c: Likewise.
9078 * posix/getlogin_r.c: Likewise.
9079 * posix/getpgid.c: Likewise.
9080 * posix/getpid.c: Likewise.
9081 * posix/getppid.c: Likewise.
9082 * posix/getresgid.c: Likewise.
9083 * posix/getresuid.c: Likewise.
9084 * posix/getsid.c: Likewise.
9085 * posix/getuid.c: Likewise.
9086 * posix/glob64.c: Likewise.
9087 * posix/nanosleep.c: Likewise.
9088 * posix/pathconf.c: Likewise.
9089 * posix/pause.c: Likewise.
9090 * posix/posix_madvise.c: Likewise.
9091 * posix/pread.c: Likewise.
9092 * posix/pread64.c: Likewise.
9093 * posix/pwrite.c: Likewise.
9094 * posix/pwrite64.c: Likewise.
9095 * posix/sched_getaffinity.c: Likewise.
9096 * posix/sched_getp.c: Likewise.
9097 * posix/sched_gets.c: Likewise.
9098 * posix/sched_primax.c: Likewise.
9099 * posix/sched_primin.c: Likewise.
9100 * posix/sched_rr_gi.c: Likewise.
9101 * posix/sched_setaffinity.c: Likewise.
9102 * posix/sched_setp.c: Likewise.
9103 * posix/sched_sets.c: Likewise.
9104 * posix/sched_yield.c: Likewise.
9105 * posix/setgid.c: Likewise.
9106 * posix/setlogin.c: Likewise.
9107 * posix/setpgid.c: Likewise.
9108 * posix/setresgid.c: Likewise.
9109 * posix/setresuid.c: Likewise.
9110 * posix/setsid.c: Likewise.
9111 * posix/setuid.c: Likewise.
9112 * posix/sleep.c: Likewise.
9113 * posix/spawni.c: Likewise.
9114 * posix/sysconf.c: Likewise.
9115 * posix/times.c: Likewise.
9116 * posix/wait.c: Likewise.
9117 * posix/wait3.c: Likewise.
9118 * posix/wait4.c: Likewise.
9119 * posix/waitpid.c: Likewise.
9120 * resolv/gai_sigqueue.c: Likewise.
9121 * resource/getpriority.c: Likewise.
9122 * resource/getrlimit.c: Likewise.
9123 * resource/getrusage.c: Likewise.
9124 * resource/nice.c: Likewise.
9125 * resource/setpriority.c: Likewise.
9126 * resource/setrlimit.c: Likewise.
9127 * resource/ulimit.c: Likewise.
9128 * rt/aio_cancel.c: Likewise.
9129 * rt/aio_fsync.c: Likewise.
9130 * rt/aio_read.c: Likewise.
9131 * rt/aio_sigqueue.c: Likewise.
9132 * rt/aio_suspend.c: Likewise.
9133 * rt/aio_write.c: Likewise.
9134 * rt/clock_getres.c: Likewise.
9135 * rt/clock_gettime.c: Likewise.
9136 * rt/clock_nanosleep.c: Likewise.
9137 * rt/clock_settime.c: Likewise.
9138 * rt/lio_listio.c: Likewise.
9139 * rt/mq_close.c: Likewise.
9140 * rt/mq_getattr.c: Likewise.
9141 * rt/mq_notify.c: Likewise.
9142 * rt/mq_open.c: Likewise.
9143 * rt/mq_receive.c: Likewise.
9144 * rt/mq_send.c: Likewise.
9145 * rt/mq_setattr.c: Likewise.
9146 * rt/mq_timedreceive.c: Likewise.
9147 * rt/mq_timedsend.c: Likewise.
9148 * rt/mq_unlink.c: Likewise.
9149 * rt/shm_open.c: Likewise.
9150 * rt/shm_unlink.c: Likewise.
9151 * rt/timer_create.c: Likewise.
9152 * rt/timer_delete.c: Likewise.
9153 * rt/timer_getoverr.c: Likewise.
9154 * rt/timer_gettime.c: Likewise.
9155 * rt/timer_settime.c: Likewise.
9156 * setjmp/__longjmp.c: Likewise.
9157 * setjmp/setjmp.c: Likewise.
9158 * signal/kill.c: Likewise.
9159 * signal/killpg.c: Likewise.
9160 * signal/raise.c: Likewise.
9161 * signal/sigaction.c: Likewise.
9162 * signal/sigaltstack.c: Likewise.
9163 * signal/sigblock.c: Likewise.
9164 * signal/sigignore.c: Likewise.
9165 * signal/sigintr.c: Likewise.
9166 * signal/signal.c: Likewise.
9167 * signal/sigpause.c: Likewise.
9168 * signal/sigpending.c: Likewise.
9169 * signal/sigqueue.c: Likewise.
9170 * signal/sigreturn.c: Likewise.
9171 * signal/sigset.c: Likewise.
9172 * signal/sigsetmask.c: Likewise.
9173 * signal/sigstack.c: Likewise.
9174 * signal/sigsuspend.c: Likewise.
9175 * signal/sigtimedwait.c: Likewise.
9176 * signal/sigvec.c: Likewise.
9177 * signal/sigwait.c: Likewise.
9178 * signal/sigwaitinfo.c: Likewise.
9179 * signal/sysv_signal.c: Likewise.
9180 * socket/accept.c: Likewise.
9181 * socket/accept4.c: Likewise.
9182 * socket/bind.c: Likewise.
9183 * socket/connect.c: Likewise.
9184 * socket/getpeername.c: Likewise.
9185 * socket/getsockname.c: Likewise.
9186 * socket/getsockopt.c: Likewise.
9187 * socket/isfdtype.c: Likewise.
9188 * socket/listen.c: Likewise.
9189 * socket/recv.c: Likewise.
9190 * socket/recvfrom.c: Likewise.
9191 * socket/recvmsg.c: Likewise.
9192 * socket/send.c: Likewise.
9193 * socket/sendmsg.c: Likewise.
9194 * socket/sendto.c: Likewise.
9195 * socket/setsockopt.c: Likewise.
9196 * socket/shutdown.c: Likewise.
9197 * socket/sockatmark.c: Likewise.
9198 * socket/socket.c: Likewise.
9199 * socket/socketpair.c: Likewise.
9200 * stdio-common/ctermid.c: Likewise.
9201 * stdio-common/cuserid.c: Likewise.
9202 * stdio-common/remove.c: Likewise.
9203 * stdio-common/rename.c: Likewise.
9204 * stdio-common/renameat.c: Likewise.
9205 * stdio-common/tempname.c: Likewise.
9206 * stdlib/getcontext.c: Likewise.
9207 * stdlib/makecontext.c: Likewise.
9208 * stdlib/setcontext.c: Likewise.
9209 * stdlib/swapcontext.c: Likewise.
9210 * stdlib/system.c: Likewise.
9211 * streams/fattach.c: Likewise.
9212 * streams/fdetach.c: Likewise.
9213 * streams/getmsg.c: Likewise.
9214 * streams/getpmsg.c: Likewise.
9215 * streams/putmsg.c: Likewise.
9216 * streams/putpmsg.c: Likewise.
9217 * sysdeps/unix/bsd/getpt.c: Likewise.
9218 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9219 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9220 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9222 Likewise.
9223 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9224 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9225 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9226 * sysvipc/msgctl.c: Likewise.
9227 * sysvipc/msgget.c: Likewise.
9228 * sysvipc/msgrcv.c: Likewise.
9229 * sysvipc/msgsnd.c: Likewise.
9230 * sysvipc/semctl.c: Likewise.
9231 * sysvipc/semget.c: Likewise.
9232 * sysvipc/semop.c: Likewise.
9233 * sysvipc/semtimedop.c: Likewise.
9234 * sysvipc/shmat.c: Likewise.
9235 * sysvipc/shmctl.c: Likewise.
9236 * sysvipc/shmdt.c: Likewise.
9237 * sysvipc/shmget.c: Likewise.
9238 * termios/tcdrain.c: Likewise.
9239 * termios/tcflow.c: Likewise.
9240 * termios/tcflush.c: Likewise.
9241 * termios/tcgetattr.c: Likewise.
9242 * termios/tcgetpgrp.c: Likewise.
9243 * termios/tcsendbrk.c: Likewise.
9244 * termios/tcsetattr.c: Likewise.
9245 * termios/tcsetpgrp.c: Likewise.
9246 * time/adjtime.c: Likewise.
9247 * time/clock.c: Likewise.
9248 * time/getitimer.c: Likewise.
9249 * time/gettimeofday.c: Likewise.
9250 * time/setitimer.c: Likewise.
9251 * time/settimeofday.c: Likewise.
9252 * time/stime.c: Likewise.
9253 * time/time.c: Likewise.
9254
9255 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
9256
9257 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9258 /usr/old/bin.
9259
9260 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9261 instead of spaces.
9262 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9263
9264 2012-11-03 Joseph Myers <joseph@codesourcery.com>
9265
9266 [BZ #14796]
9267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9268 FE_TONEAREST before applying Dekker multiplication and Knuth
9269 addition. Clear inexact exceptions and check for exact zero
9270 results afterwards.
9271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9274 * math/libm-test.inc (fma_test): Add more tests.
9275 (fma_test_towardzero): Likewise.
9276 (fma_test_downward): Likewise.
9277 (fma_test_upward): Likewise.
9278 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9279 function.
9280 (libc_fesetround): New macro.
9281 (libc_fesetroundf): Likewise.
9282 (libc_fesetroundl): Likewise.
9283 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9284 function.
9285 (libc_fesetround_387): Likewise.
9286 (libc_fesetroundf): New macro.
9287 (libc_fesetround): Likewise.
9288 (libc_fesetroundl): Likewise.
9289 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9290 function.
9291 (libc_fesetroundf): New macro.
9292 (libc_fesetround): Likewise.
9293 (libc_fesetroundl): Likewise.
9294 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9295 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9296 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9297 libm_hidden_ver.
9298 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9299 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9300 libm_hidden_def.
9301 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9302 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9303 libm_hidden_ver.
9304 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9305 libm_hidden_def.
9306
9307 [BZ #3439]
9308 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9309 integer constant usable in #if and use that to give value to enum
9310 constant.
9311 (FE_DIVBYZERO): Likewise.
9312 (FE_UNDERFLOW): Likewise.
9313 (FE_OVERFLOW): Likewise.
9314 (FE_INVALID): Likewise.
9315 (FE_INVALID_SNAN): Likewise.
9316 (FE_INVALID_ISI): Likewise.
9317 (FE_INVALID_IDI): Likewise.
9318 (FE_INVALID_ZDZ): Likewise.
9319 (FE_INVALID_IMZ): Likewise.
9320 (FE_INVALID_COMPARE): Likewise.
9321 (FE_INVALID_SOFTWARE): Likewise.
9322 (FE_INVALID_SQRT): Likewise.
9323 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9324 (FE_TONEAREST): Likewise.
9325 (FE_TOWARDZERO): Likewise.
9326 (FE_UPWARD): Likewise.
9327 (FE_DOWNWARD): Likewise.
9328 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9329 (FE_DIVBYZERO): Likewise.
9330 (FE_OVERFLOW): Likewise.
9331 (FE_UNDERFLOW): Likewise.
9332 (FE_INEXACT): Likewise.
9333 (FE_TONEAREST): Likewise.
9334 (FE_DOWNWARD): Likewise.
9335 (FE_UPWARD): Likewise.
9336 (FE_TOWARDZERO): Likewise.
9337 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9338 (FE_UNDERFLOW): Likewise.
9339 (FE_OVERFLOW): Likewise.
9340 (FE_DIVBYZERO): Likewise.
9341 (FE_INVALID): Likewise.
9342 (FE_TONEAREST): Likewise.
9343 (FE_TOWARDZERO): Likewise.
9344 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9345 (FE_OVERFLOW): Likewise.
9346 (FE_UNDERFLOW): Likewise.
9347 (FE_DIVBYZERO): Likewise.
9348 (FE_INEXACT): Likewise.
9349 (FE_TONEAREST): Likewise.
9350 (FE_TOWARDZERO): Likewise.
9351 (FE_UPWARD): Likewise.
9352 (FE_DOWNWARD): Likewise.
9353 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9354 (FE_DIVBYZERO): Likewise.
9355 (FE_OVERFLOW): Likewise.
9356 (FE_UNDERFLOW): Likewise.
9357 (FE_INEXACT): Likewise.
9358 (FE_TONEAREST): Likewise.
9359 (FE_DOWNWARD): Likewise.
9360 (FE_UPWARD): Likewise.
9361 (FE_TOWARDZERO): Likewise.
9362
9363 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9364
9365 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9366
9367 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9368
9369 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9370 commands. Quote $PWD.
9371 (blacklist_exports): Don't use remove_newlines. Replace "declare
9372 -x" by "export".
9373 (remove_newlines): Remove.
9374
9375 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9378 * stdlib/stdlib.h (atof): Moved to ...
9379 * include/bits/stdlib-float.h: Here. New file.
9380 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9381 * stdlib/bits/stdlib-float.h: New file.
9382 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9383 -mno-sse -mno-mmx.
9384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9385 <xmmintrin.h>.
9386
9387 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9388
9389 * conform/conformtest.pl (@headers): Add fenv.h.
9390 * conform/data/fenv.h-data: New file.
9391 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9392 include of <math/fenv.h>.
9393
9394 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9395 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9396 && !UNIX98]. Enables tests for XOPEN2K8.
9397 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9398 POSIX2008]: Likewise.
9399
9400 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9401 (struct rusage): Do not expect type or its members.
9402
9403 [BZ #3439]
9404 * math/math.h (FP_NAN): Define macro to integer constant usable in
9405 #if and use that to give value to enum constant.
9406 (FP_INFINITE): Likewise.
9407 (FP_ZERO): Likewise.
9408 (FP_SUBNORMAL): Likewise.
9409 (FP_NORMAL): Likewise.
9410
9411 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9412
9413 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9414 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9415 arguments.
9416
9417 2012-11-02 Roland McGrath <roland@hack.frob.com>
9418
9419 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9420 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9421 autoconf-time if not.
9422 * configure.in: Remove AC_PREREQ.
9423
9424 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9425
9426 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9427 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9428 of the internal implementation.
9429
9430 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9431
9432 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9433 except include of <misc/sys/syslog.h>.
9434
9435 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9436
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9438 function returns with a NULL context exit with zero.
9439
9440 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9441
9442 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9443
9444 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9447 (run_program_cmd): This.
9448 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9449 (tst_langinfo): New variable. Use it.
9450
9451 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9452
9453 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9454 floating point opcodes.
9455
9456 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9457
9458 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9459 variable.
9460
9461 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9462
9463 * sysdeps/mach/hurd/powerpc: Remove directory.
9464 * sysdeps/mach/powerpc: Likewise.
9465
9466 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9467
9468 * scripts/check-local-headers.sh: Ignore c++ headers.
9469
9470 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9471
9472 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9473 __libc_cleanup_region_start argument.
9474
9475 2012-11-01 Joseph Myers <joseph@codesourcery.com>
9476
9477 [BZ #14784]
9478 [BZ #14785]
9479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9480 x * y using scaling, not as x * y + z.
9481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9483 * math/libm-test.inc (fma_test): Add more tests.
9484 (fma_test_towardzero): Likewise.
9485 (fma_test_downward): Likewise.
9486 (fma_test_upward): Likewise.
9487
9488 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9489
9490 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9491
9492 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9493
9494 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9495 New variable.
9496
9497 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9498
9499 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9500
9501 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9502
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9504 Fix sort order.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9506 Likewise.
9507
9508 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9509
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9511 Fix the order of the list for glibc 2.17.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9513 Likewise.
9514
9515 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9516
9517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9518
9519 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9520
9521 [BZ #14610]
9522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9523 for low part of x being zero before using __atanl (y).
9524 * math/libm-test.inc (atan2_test): Add another test.
9525
9526 * manual/install.texi (Configuring and compiling): Document
9527 general use of test-wrapper and test-wrapper-env.
9528 * INSTALL: Regenerated.
9529
9530 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9531 (__fma): Do not extract and scale down low bits on after-rounding
9532 systems when result rounded to normal precision would have normal
9533 exponent.
9534 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9535 (__fmal): Do not extract and scale down low bits on after-rounding
9536 systems when result rounded to normal precision would have normal
9537 exponent.
9538 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9539 (__fmal): Do not extract and scale down low bits on after-rounding
9540 systems when result rounded to normal precision would have normal
9541 exponent.
9542 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9543 macro.
9544 (fma_test): Add more tests.
9545 (fma_test_towardzero): Likewise.
9546 (fma_test_downward): Likewise.
9547 (fma_test_upward): Likewise.
9548
9549 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * sysdeps/i386/tininess.h: Renamed to ...
9552 * sysdeps/x86/tininess.h: This.
9553 * sysdeps/x86_64/tininess.h: Removed.
9554
9555 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9556
9557 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9558 input. Use $(build-program-cmd).
9559 ($(objpfx)tst-array1-static.out): Likewise.
9560 ($(objpfx)tst-array2.out): Likewise.
9561 ($(objpfx)tst-array3.out): Likewise.
9562 ($(objpfx)tst-array4.out): Likewise.
9563 ($(objpfx)tst-array5.out): Likewise.
9564 ($(objpfx)tst-array5-static.out): Likewise.
9565
9566 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9567
9568 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9569 if defined.
9570
9571 * nss/nsswitch.h (nss_interface_function): Provide new
9572 macro for use with NSS functions.
9573 * grp/initgroups.c: Use new macro.
9574 * nss/getXXbyYY.c: Likewise.
9575 * nss/getXXbyYY_r.c: Likewise.
9576 * nss/getXXent.c: Likewise.
9577 * nss/getXXent_r.c: Likewise.
9578 * sysdeps/posix/getaddrinfo.c: Likewise.
9579
9580 2012-10-30 Andreas Jaeger <aj@suse.de>
9581
9582 * po/ru.po: Update Russion translation from translation project.
9583
9584 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #14152]
9587 [BZ #14783]
9588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9589 result and shift together with sticky bit instead of replicating
9590 round-to-nearest rounding.
9591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9592 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9593 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9594 missing underflow exceptions.
9595 (fma_test_towardzero): Add more tests.
9596 (fma_test_downward): Likewise.
9597 (fma_test_upward): Likewise.
9598
9599 [BZ #14047]
9600 * sysdeps/generic/tininess.h: New file.
9601 * sysdeps/i386/tininess.h: Likewise.
9602 * sysdeps/sh/tininess.h: Likewise.
9603 * sysdeps/x86_64/tininess.h: Likewise.
9604 * stdlib/tst-strtod-underflow.c: Likewise.
9605 * stdlib/tst-tininess.c: Likewise.
9606 * stdlib/strtod_l.c: Include <tininess.h>.
9607 (round_and_return): Do not set errno for exact underflow cases.
9608 Force an underflow exception when setting errno for underflow.
9609 Determine underflow based on rounding to normal precision if
9610 TININESS_AFTER_ROUNDING.
9611 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9612 ERANGE for exact underflow cases.
9613 * stdlib/Makefile (tests): Add tst-tininess and
9614 tst-strtod-underflow.
9615 ($(objpfx)tst-tininess): Use $(link-libm).
9616 ($(objpfx)tst-strtod-underflow): Likewise.
9617
9618 2012-10-30 Andreas Jaeger <aj@suse.de>
9619
9620 [BZ#14767]
9621 * elf/Makefile (tests): Remove conditional for have-initfini-array
9622 since this is now always required and the variable does not exist
9623 anymore.
9624 (tests-static): Likewise.
9625 (modules-names): Likewise.
9626
9627 * po/eo.po: Add Esperanto translation from translation project.
9628
9629 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9630 merged with constructor/destructor.
9631 (init_array): Likewise.
9632 * elf/tst-array2dep.c (fini_array): Likewise.
9633 (init_array): Likewise.
9634
9635 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9636
9637 * manual/message.texi: Delete @cartouche tags.
9638
9639 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9640
9641 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9642 EOPNOTSUPP.
9643 * sysdeps/mach/hurd/fsync.c: Likewise.
9644
9645 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9646 [_POSIX_REALTIME_SIGNALS]: Change condition to
9647 [_POSIX_REALTIME_SIGNALS > 0].
9648
9649 2012-10-27 Andreas Jaeger <aj@suse.de>
9650
9651 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9652 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9654 [__WORDSIZE != 64]: Likewise.
9655
9656 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9657
9658 * iconvdata/tst-table.sh: Remove ${SHELL}.
9659 * iconvdata/tst-tables.sh: Likewise.
9660
9661 2012-10-25 David S. Miller <davem@davemloft.net>
9662
9663 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9664 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9665 of strtoull.
9666
9667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9668 ifunc-impl-list.c
9669 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9670 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9671 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9672 file.
9673
9674 2012-10-25 Roland McGrath <roland@hack.frob.com>
9675
9676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9677 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9678 __getdirentries.
9679
9680 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9681 Jim Blandy <jimb@codesourcery.com>
9682
9683 * scripts/cross-test-ssh.sh: New file.
9684 * manual/install.texi (Configuring and compiling): Document use of
9685 cross-test-ssh.sh.
9686 * INSTALL: Regenerated.
9687
9688 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9689
9690 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9691 EOPNOTSUPP.
9692
9693 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9694
9695 * Makeconfig (run-program-prefix): Fix comment.
9696
9697 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9698 Jim Blandy <jimb@codesourcery.com>
9699
9700 * Makeconfig (test-wrapper): New variable,
9701 (test-wrapper-env): Likewise.
9702 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9703 (run-built-tests): Define to yes.
9704 (run-program-prefix): Use $(test-wrapper).
9705 (built-program-cmd): Likewise.
9706 * Rules (make-test-out): Use $(test-wrapper-env) and
9707 $(host-built-program-cmd).
9708 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9709 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9710 tst-pathopt.sh.
9711 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9712 $(test-wrapper-env) to tst-rtld-load-self.sh.
9713 ($(objpfx)order2.out): Use $(test-wrapper).
9714 ($(objpfx)tst-initorder.out): Likewise.
9715 ($(objpfx)tst-initorder2.out): Likewise.
9716 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9717 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9718 (test_wrapper_env): New variable. Use it to run ld.so.
9719 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9720 Use it to run ld.so.
9721 (test_wrapper_env): Likewise.
9722 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9723 $(test-wrapper) to run-iconv-test.sh.
9724 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9725 (ICONV): Use $test_wrapper.
9726 * posix/Makefile ($(objpfx)globtest.out): Pass
9727 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9728 globtest.sh, not $(run-program-prefix).
9729 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9730 (test_wrapper): Likewise.
9731 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9732 set together with run_via_rtld_prefix.
9733 (run_program_prefix): Define in terms of test_wrapper and
9734 run_via_rtld_prefix.
9735
9736 2012-10-24 Roland McGrath <roland@hack.frob.com>
9737
9738 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9739 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9740 Targets removed.
9741
9742 [BZ #14743]
9743 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9744 Declare __clock_getres, __clock_gettime, __clock_settime,
9745 __clock_nanosleep, and __clock_getcpuclockid.
9746 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9747 Remove librt_hidden_def (clock_gettime).
9748 * sysdeps/unix/clock_gettime.c: Likewise.
9749 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9751 * rt/clock_getres.c: Define __clock_getres as an alias.
9752 * sysdeps/posix/clock_getres.c: Likewise.
9753 * rt/clock_settime.c: Define __clock_settime as an alias.
9754 * sysdeps/unix/clock_settime.c: Likewise.
9755 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9756 * sysdeps/unix/clock_nanosleep.c: Likewise.
9757 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9758 * rt/clock-compat.c: New file.
9759 * rt/Makefile (librt-routines): Add clock-compat and move
9760 $(clock-routines) to ...
9761 (routines): ... here, new variable.
9762 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9763 Don't add get_clockfreq here.
9764 * rt/Versions (libc: GLIBC_2.17): New version set.
9765 Add clock_* symbols here.
9766 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9767 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9768 (GLIBC_2.17): Add clock_* symbols.
9769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9773 Likewise.
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9775 Likewise.
9776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9780 * NEWS: Mention the move.
9781
9782 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9783 Use __open, __read, __close rather than their public counterparts.
9784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9785 (__get_clockfreq_via_cpuinfo): Likewise.
9786 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9787 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9788
9789 * config.h.in (HAVE_IFUNC): New #undef.
9790 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9791 was successful.
9792 * configure: Regenerated.
9793
9794 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9795
9796 * configure.in: Move READELF check to start of file.
9797 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9798 libc_cv_asm_gnu_indirect_function in the process.
9799 * configure: Regenerated.
9800
9801 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9802
9803 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9804 send the output to /dev/null.
9805 (libc_cv_cc_with_libunwind): Likewise.
9806 (libc_cv_as_noexecstack): Likewise.
9807 * configure: Regenerate.
9808
9809 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9810
9811 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9812
9813 * posix/globtest.sh (TMPDIR): Do not set.
9814 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9815 (testout): Likewise.
9816
9817 2012-10-24 Andreas Jaeger <aj@suse.de>
9818
9819 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9820 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9821 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9822 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9823 posix_fadvise64, posix_fallocate64.
9824
9825 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9826 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9827 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9828 Likewise.
9829 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9830 Likewise.
9831 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9832
9833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9834 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9835 <bits/fcntl-linux.h>.
9836 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9837
9838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9839 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9840 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9841 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9842 [__WORDSIZE != 64]: Likewise.
9843
9844 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9845
9846 * Makeconfig (run-built-tests): New variable.
9847 * Rules [$(cross-compiling) = yes]: Change condition to
9848 [$(run-built-tests) = no].
9849 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9850 to [$(run-built-tests) = yes].
9851 * elf/Makefile [$(cross-compiling) = no]: Likewise
9852 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9853 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9854 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9855 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9856 * io/Makefile [$(cross-compiling) = no]: Likewise.
9857 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9858 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9859 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9860 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9861 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9862 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9863 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9864 * string/Makefile [$(cross-compiling) = no]: Likewise.
9865
9866 * posix/Makefile ($(objpfx)globtest.out): Pass
9867 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9868 $(rtld-installed-name).
9869 * posix/globtest.sh (elf_objpfx): Remove variable.
9870 (rtld_installed_name): Likewise.
9871 (library_path): Likewise.
9872 (run_program_prefix): New variable. Use for running globtest
9873 binary.
9874
9875 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9876 Joseph Myers <joseph@codesourcery.com>
9877
9878 * Makeconfig (host-built-program-cmd): New variable.
9879 * elf/Makefile (tst-stackguard1-ARGS): Use
9880 $(host-built-program-cmd).
9881 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9882 (tst-spawn-ARGS): Likewise.
9883 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9884
9885 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9886 Jim Blandy <jimb@codesourcery.com>
9887
9888 * Makeconfig (run-via-rtld-prefix): New variable.
9889 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9890 (built-program-cmd): Likewise.
9891
9892 2012-10-22 Andreas Jaeger <aj@suse.de>
9893
9894 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9895 __O_RSYNC if it exists, otherwise to O_SYNC.
9896
9897 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9898 Joseph Myers <joseph@codesourcery.com>
9899
9900 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9901 /dev/null.
9902 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9903 from /dev/null
9904 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9905 /dev/null.
9906
9907 2012-10-22 Andreas Jaeger <aj@suse.de>
9908
9909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9910 Define always.
9911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9912
9913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9914 bits/fcntl-linux.h.
9915
9916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9917 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9918
9919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9920 to __O_LARGEFILE.
9921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9922 to __O_LARGEFILE.
9923
9924 2012-10-21 Jim Blandy <jimb@codesourcery.com>
9925 Joseph Myers <joseph@codesourcery.com>
9926
9927 * config.make.in (NM): New variable.
9928
9929 2012-10-21 Andreas Jaeger <aj@suse.de>
9930
9931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9932 definitions and declarations that are provided by
9933 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9934
9935 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9936
9937 [BZ #14683]
9938 * elf/Makefile (tests-static): Add tst-leaks1-static.
9939 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9940 ($(objpfx)tst-leaks1-static): New rule.
9941 ($(objpfx)tst-leaks1-static-mem): Likewise.
9942 (tst-leaks1-static-ENV): New macro.
9943 * elf/dl-open.c (dl_open_worker): Check the main application
9944 only if SHARED is defined.
9945 * elf/tst-leaks1-static.c: New file.
9946
9947 2012-10-20 Andreas Jaeger <aj@suse.de>
9948
9949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9950 generic values for Linux.
9951 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9952 and declarations that are provided by <bits/fcntl-linux.h> and
9953 include <bits/fcntl-linux.h>.
9954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9956
9957 2012-10-20 Roland McGrath <roland@hack.frob.com>
9958
9959 * io/fcntl.h: Move include of <bits/types.h> to the top and
9960 include it unconditionally.
9961
9962 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9963
9964 * wcsmbs/Makefile (tests-ifunc): New variable.
9965 (tests): Add $(tests-ifunc).
9966 * wcsmbs/test-wcschr-ifunc.c: New file.
9967 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9968 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9969 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9970 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9971 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9972
9973 * string/Makefile (tests-ifunc): New variable.
9974 (tests): Add $(tests-ifunc).
9975 * string/test-memccpy.c (TEST_NAME): New macro.
9976 * string/test-memchr.c (TEST_NAME): Likewise.
9977 * string/test-memcmp.c (TEST_NAME): Likewise.
9978 * string/test-memcpy.c (TEST_NAME): Likewise.
9979 * string/test-memmem.c (TEST_NAME): Likewise.
9980 * string/test-memmove.c (TEST_NAME): Likewise.
9981 * string/test-memset.c (TEST_NAME): Likewise.
9982 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9983 * string/test-stpcpy.c (TEST_NAME): Likewise.
9984 * string/test-stpncpy.c (TEST_NAME): Likewise.
9985 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9986 * string/test-strcasestr.c (TEST_NAME): Likewise.
9987 * string/test-strcat.c (TEST_NAME): Likewise.
9988 * string/test-strchr.c (TEST_NAME): Likewise.
9989 * string/test-strcmp.c(TEST_NAME): Likewise.
9990 * string/test-strcpy.c (TEST_NAME): Likewise.
9991 * string/test-strcspn.c (TEST_NAME): Likewise.
9992 * string/test-strlen.c (TEST_NAME): Likewise.
9993 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9994 * string/test-strncmp.c (TEST_NAME): Likewise.
9995 * string/test-strncpy.c (TEST_NAME): Likewise.
9996 * string/test-strnlen.c (TEST_NAME): Likewise.
9997 * string/test-strpbrk.c (TEST_NAME): Likewise.
9998 * string/test-strrchr.c (TEST_NAME): Likewise.
9999 * string/test-strspn.c (TEST_NAME): Likewise.
10000 * string/test-strstr.c (TEST_NAME): Likewise.
10001 * string/test-bcopy-ifunc.c: New file.
10002 * string/test-bzero-ifunc.c: Likewise.
10003 * string/test-memccpy-ifunc.c: Likewise.
10004 * string/test-memchr-ifunc.c: Likewise.
10005 * string/test-memcmp-ifunc.c: Likewise.
10006 * string/test-memcpy-ifunc.c: Likewise.
10007 * string/test-memmem-ifunc.c: Likewise.
10008 * string/test-memmove-ifunc.c: Likewise.
10009 * string/test-mempcpy-ifunc.c: Likewise.
10010 * string/test-memset-ifunc.c: Likewise.
10011 * string/test-rawmemchr-ifunc.c: Likewise.
10012 * string/test-stpcpy-ifunc.c: Likewise.
10013 * string/test-stpncpy-ifunc.c: Likewise.
10014 * string/test-strcasecmp-ifunc.c: Likewise.
10015 * string/test-strcasestr-ifunc.c: Likewise.
10016 * string/test-strcat-ifunc.c: Likewise.
10017 * string/test-strchr-ifunc.c: Likewise.
10018 * string/test-strchrnul-ifunc.c: Likewise.
10019 * string/test-strcmp-ifunc.c: Likewise.
10020 * string/test-strcpy-ifunc.c: Likewise.
10021 * string/test-strcspn-ifunc.c: Likewise.
10022 * string/test-strlen-ifunc.c: Likewise.
10023 * string/test-strncasecmp-ifunc.c: Likewise.
10024 * string/test-strncat-ifunc.c: Likewise.
10025 * string/test-strncmp-ifunc.c: Likewise.
10026 * string/test-strncpy-ifunc.c: Likewise.
10027 * string/test-strnlen-ifunc.c: Likewise.
10028 * string/test-strpbrk-ifunc.c: Likewise.
10029 * string/test-strrchr-ifunc.c: Likewise.
10030 * string/test-strspn-ifunc.c: Likewise.
10031 * string/test-strstr-ifunc.c: Likewise.
10032
10033 * debug/Makefile (tests-ifunc): New variable.
10034 (tests): Add $(tests-ifunc).
10035 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10036 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10037 * debug/test-stpcpy_chk-ifunc.c: New file.
10038 * debug/test-strcpy_chk-ifunc.c: Likewise.
10039
10040 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10041
10042 [BZ #13601]
10043 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10044 header is not read in.
10045
10046 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10047
10048 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10049 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10050 directly. Pass built executable to script as
10051 $(built-program-cmd).
10052 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10053 $testprogram without using LD_LIBRARY_PATH and $ldso.
10054
10055 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10056 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10057 $(rtld-installed-name).
10058 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10059 (rtld_installed_name): Likewise.
10060 (library_path): Likewise.
10061 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10062 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10063 $(run-program-prefix) to tst-tables.sh.
10064 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10065 it to run tst-table-from and tst-table-to.
10066 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10067 Pass it to tst-table.sh.
10068 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10069 $(run-program-prefix) to tst-gettext.sh.
10070 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10071 tst-translit.sh.
10072 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10073 tst-gettext2.sh.
10074 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10075 to run tst-gettext.
10076 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10077 to run tst-gettext2.
10078 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10079 to run tst-translit.
10080 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10081 $(run-program-prefix) to tst-mtrace.sh.
10082 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10083 to run tst-mtrace.
10084 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10085 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10086 $(rtld-installed-name).
10087 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10088 (rtld_installed_name): Likewise.
10089 (run_program_prefix): New variable. Use it to run wordexp-test.
10090
10091 * Makeconfig (ARCH): Remove all definitions.
10092 (machine): Likewise.
10093 [ARCH]: Remove conditional code.
10094 [!objdir]: Give error.
10095 [!objdir] (objpfx): Remove.
10096 [!objdir] (common-objpfx): Likewise.
10097 [!objdir] (common-objdir): Likewise.
10098 * configure.in (config_makefile): Remove. Hardcode Makefile in
10099 AC_CONFIG_FILES call.
10100 * configure: Regenerated.
10101
10102 [BZ #13888]
10103 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10104 or TMPDIR.
10105 (testout): Likewise.
10106
10107 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10108 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10109 $(rtld-installed-name).
10110 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10111 (rtld_installed_name): Likwise.
10112 (runit): Remove function.
10113 (run_getconf): New variable, Use it for running getconf binary.
10114
10115 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10116
10117 [BZ #14716]
10118 * string/test-memmem.c (check_result): New function.
10119 (do_one_test): Use it.
10120 (check1): New function.
10121 (test_main): Use it.
10122
10123 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10124
10125 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10126
10127 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10128
10129 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10130 (_G_LSEEK64): Likewise.
10131 (_G_MMAP64): Likewise.
10132 (_G_FSTAT64): Likewise.
10133 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10134 (_G_LSEEK64): Likewise.
10135 (_G_MMAP64): Likewise.
10136 (_G_FSTAT64): Likewise.
10137 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10138 unconditional. Call __mmap64 directly.
10139 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10140 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10141 __lseek64 directly.
10142 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10143 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10144 __mmap64 directly.
10145 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10146 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10147 __lseek64 directly.
10148 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10149 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10150 __lseek64 directly.
10151 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10152 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10153 __lseek64 directly.
10154 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10155 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10156 __fxstat64 directly.
10157 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10158 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10159 unconditional.
10160 (freopen64) [!_G_OPEN64]: Remove conditional code.
10161 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10162 unconditional.
10163 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10164 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10165 unconditional.
10166 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10167 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10168 unconditional.
10169 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10170 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10171 unconditional.
10172 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10173 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10174 unconditional.
10175 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10176 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10177 unconditional.
10178 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10179 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10180 unconditional.
10181 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10182
10183 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10184
10185 [BZ #12140]
10186 * manual/memory.texi (Malloc Tunable Parameters): Add note
10187 about free list pointers overwriting some perturb bytes.
10188 Wording suggested by Roland McGrath.
10189
10190 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10191
10192 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10193 (lgamma_test): Likewise.
10194 (tgamma_test): Likewise.
10195
10196 2012-10-16 Florian Weimer <fweimer@redhat.com>
10197
10198 [BZ #14700]
10199 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10200 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10201
10202 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10203
10204 * NEWS: Mention BZ #14716.
10205 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10206 when removing AVAILABLE1_USES_J macro.
10207
10208 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10211 (__bswap_64): __uint64_t for unsigned 64-bit int.
10212
10213 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10214
10215 * include/string.h (memmem): Declare libc hidden alias.
10216 * string/memmem.c (memmem): Define libc hidden alias.
10217 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10218 __read, __close instead of open, read, close.
10219
10220 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10223 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10224 global and hidden.
10225 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10226 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10227 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10228 Likewise.
10229 (__rawmemchr_sse2): Likewise.
10230 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10231 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10232 (__strchr_sse2): Likewise.
10233 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10234 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10235 (__strcasecmp_sse2): Likewise.
10236 (__strncasecmp_sse2): Likewise.
10237 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10238 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10239 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10240 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10241 (__strrchr_sse2): Likewise.
10242 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10243 ifunc-impl-list.c.
10244 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10245 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10246 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10247 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10248 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10249 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10250 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10251 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10252 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10253 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10254 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10255 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10256 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10257 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10258 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10259 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10260 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10261 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10262 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10263 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10264 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10265 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10266 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10267 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10268 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10270 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10271 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10272 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10273 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10274
10275 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10276 global and hidden.
10277 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10278 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10279 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10280 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10281 Likewise.
10282 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10283 Likewise.
10284 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10285 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10286 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10287 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10288 ifunc-impl-list.c.
10289 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10290 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10291 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10292 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10293 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10294 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10295 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10296 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10297 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10298 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10299 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10300 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10301 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10302 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10303 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10305 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10306 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10307 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10309 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10312 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10313 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10314 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10315 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10316 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10321 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10323 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10324 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10328 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10330
10331 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10332 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10333 * include/ifunc-impl-list.h: New file.
10334 * misc/ifunc-impl-list.c: Likewise.
10335 * misc/Makefile (routines): Add ifunc-impl-list.
10336 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10337 * string/test-string.h: Include <ifunc-impl-list.h>.
10338 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10339 impl_array): New variables.
10340 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10341 are defined.
10342 (test_init): Call __libc_ifunc_impl_list to initialize
10343 func_list if TEST_IFUNC and TEST_NAME are defined.
10344
10345 * string/Makefile (strop-tests): Add bcopy and bzero.
10346 * string/test-bcopy.c: New file.
10347 * string/test-bzero.c: Likewise.
10348 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10349 defined.
10350 * string/test-memset.c: Support bzero test if TEST_BZERO is
10351 defined.
10352 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10353 __libc_memmove.
10354 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10355 __libc_memset.
10356 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10357 of memset.
10358
10359 2012-10-10 Joseph Myers <joseph@codesourcery.com>
10360
10361 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10362 * configure: Regenerated.
10363
10364 * Makeconfig (+link-static-before-libc): Don't include
10365 $(link-static-libc).
10366
10367 * libio/libio.h (_IO_pos_t): Remove.
10368
10369 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10370
10371 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10372 McGrath.
10373
10374 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10375
10376 * crypt/crypt-entry.c: Include fips-private.h.
10377 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10378 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10379 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10380 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10381
10382 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10383
10384 * crypt/crypt-private.h: Include stdbool.h.
10385 (_ufc_setup_salt_r): Return bool.
10386 * crypt/crypt-entry.c: Include errno.h.
10387 (__crypt_r): Return NULL with EINVAL for bad salt.
10388 * crypt/crypt_util.c (bad_for_salt): New.
10389 (_ufc_setup_salt_r): Check that salt is long enough and within
10390 the specified alphabet.
10391 * crypt/badsalttest.c: New file.
10392 * crypt/Makefile (tests): Add it.
10393 ($(objpfx)badsalttest): New.
10394
10395 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10396
10397 * NEWS: Add entry for BZ #14602.
10398
10399 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10400
10401 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10402 type-generic.
10403 * math/libm-test.inc: Update comment listing what functions and
10404 macros are tested.
10405 (isgreater_test): New function.
10406 (isgreaterequal_test): Likewise.
10407 (isless_test): Likewise.
10408 (islessequal_test): Likewise.
10409 (islessgreater_test): Likewise.
10410 (isunordered_test): Likewise.
10411 (main): Call the new functions.
10412
10413 2012-10-09 Roland McGrath <roland@hack.frob.com>
10414
10415 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10416 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10417 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10418 * sysdeps/i386/configure: Regenerated.
10419 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10420 * sysdeps/mach/configure: Regenerated.
10421 * sysdeps/mach/hurd/configure: Regenerated.
10422 * sysdeps/powerpc/configure: Regenerated.
10423 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10424 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10425 * sysdeps/s390/s390-32/configure: Regenerated.
10426 * sysdeps/s390/s390-64/configure: Regenerated.
10427 * sysdeps/sh/configure: Regenerated.
10428 * sysdeps/sparc/configure: Regenerated.
10429 * sysdeps/unix/sysv/linux/configure: Regenerated.
10430 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10431 * sysdeps/x86_64/configure: Regenerated.
10432
10433 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10434 defined. Don't check if MAP is NULL.
10435
10436 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10437
10438 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10439 (_G_stat64): Likewise.
10440 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10441 (_G_stat64): Likewise.
10442 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10443 instead of struct _G_stat64.
10444 * libio/fileops.c (mmap_remap_check): Likewise.
10445 (decide_maybe_mmap): Likewise.
10446 (_IO_new_file_seekoff): Likewise.
10447 (_IO_file_stat): Likewise.
10448 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10449 _G_off64_t.
10450 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10451 instead of struct _G_stat64.
10452 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10453
10454 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10455
10456 [BZ #14602]
10457 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10458 Replace with ...
10459 (CHECK_EOL): New macro.
10460 (two_way_short_needle): Check beginning of haystack for EOL. Use
10461 CHECK_EOL.
10462 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10463 Replace with CHECK_EOL.
10464 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10465 Replace with CHECK_EOL.
10466
10467 2012-10-08 Joseph Myers <joseph@codesourcery.com>
10468
10469 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10470 type-generic.
10471 * math/libm-test.inc: Update comment listing what functions and
10472 macros are tested.
10473 (finite_test): New function.
10474 (isinf_test): Likewise.
10475 (isnan_test): Likewise.
10476 (fpclassify_test): Test subnormal input.
10477 (isfinite_test): Likewise.
10478 (isnormal_test): Likewise.
10479 (main): Call the new functions.
10480
10481 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10482
10483 [BZ #14660]
10484 * Makerules (%.dynsym): Force C locale when running
10485 $(OBJDUMP) --dynamic-syms.
10486
10487 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10488
10489 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10490 <stdint.h>.
10491
10492 2012-10-06 David S. Miller <davem@davemloft.net>
10493
10494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10495 upper 32-bits of the length value in %o2 since we use branch-on-register
10496 tests which consider the entire 64-bit register.
10497
10498 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10499
10500 * string/test-strstr.c (check2): Add a test for page boundary.
10501
10502 2012-10-05 David S. Miller <davem@davemloft.net>
10503
10504 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10505 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10506 file.
10507 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10508 sysdep_routines.
10509 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10510 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10511 and bzero when HWCAP_SPARC_CRYPTO is present.
10512
10513 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10514
10515 [BZ #14602]
10516 * string/test-strstr.c (check2): New function.
10517 (test_main): Call check2.
10518
10519 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10520 and bug-strchr1.
10521 * string/bug-strcasestr1.c (do_test): Moved to ...
10522 * string/test-strcasestr.c (check1): Here. New function.
10523 (do_one_test): Break out result checking code into ...
10524 (check_result): This. New function.
10525 (do_one_test): Call check_result.
10526 (test_main): Call check1.
10527 * string/bug-strchr1.c (do_test): Moved to ...
10528 * string/test-strchr.c (check1): Here. New function.
10529 (do_one_test): Break out result checking code into ...
10530 (check_result): This. New function.
10531 (do_one_test): Call check_result.
10532 (test_main): Call check1.
10533 * string/bug-strstr1.c (main): Moved to ...
10534 * string/test-strstr.c (check1): Here. New function.
10535 (do_one_test): Break out result checking code into ...
10536 (check_result): This. New function.
10537 (do_one_test): Call check_result.
10538 (test_main): Call check1.
10539 * string/bug-strcasestr1.c: Removed.
10540 * string/bug-strchr1.c: Likewise.
10541 * string/bug-strstr1.c: Likewise.
10542
10543 * elf/Makefile (dl-routines): Add hwcaps.
10544 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10545 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10546 (_dl_important_hwcaps): Moved to ...
10547 * elf/dl-hwcaps.c: Here. New file.
10548 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10549
10550 [BZ #14557]
10551 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10552 if IS_IN_rtld isn't defined.
10553
10554 * elf/dl-support.c (_dl_sysinfo_map): New.
10555 Include "get-dynamic-info.h" and "setup-vdso.h".
10556 (_dl_non_dynamic_init): Call setup_vdso.
10557 * elf/dynamic-link.h: Don't include <assert.h>.
10558 (elf_get_dynamic_info): Moved to ...
10559 * elf/get-dynamic-info.h: Here. New file.
10560 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10561 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10562 * elf/setup-vdso.h: Here. New file.
10563 * elf/rtld.c: Include "setup-vdso.h".
10564 (dl_main): Call setup_vdso.
10565
10566 2012-10-05 Joseph Myers <joseph@codesourcery.com>
10567
10568 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10569 creal in comment listing functions tested. List finite, isinf,
10570 isnan, isless, islessequal, isgreater, isgreaterequal,
10571 islessgreater, isunordered, lgamma_r and pow10 as functions and
10572 macros not tested. Mention which functions not tested are aliases
10573 for other functions. Fix typo. Note that signs of NaNs are not
10574 tested.
10575
10576 * scripts/config.guess: Update from config.git.
10577 * scripts/config.sub: Likewise.
10578
10579 2012-10-04 Roland McGrath <roland@hack.frob.com>
10580
10581 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10582 * misc/madvise.c (madvise): Renamed to __madvise.
10583 Make madvise a weak alias.
10584 * include/sys/mman.h: Declare __madvise.
10585 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10586 * sysdeps/unix/syscalls.list
10587 (madvise): Make __madvise the strong name, and madvise a weak alias.
10588 * sysdeps/unix/sysv/linux/syscalls.list
10589 (madvise, mmap): Remove redundant entries.
10590 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10591 * malloc/malloc.c (mtrim): Likewise.
10592 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10593
10594 2012-10-03 Roland McGrath <roland@hack.frob.com>
10595
10596 * sysdeps/mach/hurd/dl-cache.c: File removed.
10597 * config.h.in (USE_LDCONFIG): New #undef.
10598 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10599 * configure: Regenerated.
10600 * elf/Makefile (dl-routines): Add dl-cache only under
10601 [$(use-ldconfig) = yes].
10602 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10603 cache on [USE_LDCONFIG].
10604 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10605 [USE_LDCONFIG].
10606 * elf/rtld.c (dl_main): Likewise.
10607
10608 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10609
10610 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10611 _SC_LEVEL4_CACHE_LINESIZE.
10612
10613 2012-10-03 Roland McGrath <roland@hack.frob.com>
10614
10615 * sysdeps/unix/bsd/confstr.h: File removed.
10616
10617 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10618
10619 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10620 sys/sdt-config.h.
10621
10622 2012-10-02 Roland McGrath <roland@hack.frob.com>
10623
10624 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10625 Make 'mapoff' field ElfW(Off) rather than off_t.
10626
10627 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10628
10629 * nscd/Makefile: Remove nscd-cflags and all its users.
10630 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10631 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10632
10633 [BZ #10631]
10634 * malloc.c (malloc_printerr): Clarify error message.
10635
10636 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 [BZ #14648]
10639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10640 Set bit_FMA_Usable if FMA is supported.
10641 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10642 macro.
10643 (bit_FMA4_Usable): Updated.
10644 (index_FMA_Usable): New macro.
10645 (CPUID_FMA): Likewise
10646 (HAS_FMA): Defined with bit_FMA_Usable.
10647
10648 2012-10-01 Roland McGrath <roland@hack.frob.com>
10649
10650 * bits/types.h (__swblk_t): Type removed.
10651 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10652 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10654 (__SWBLK_T_TYPE): Likewise.
10655 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10656 (__SWBLK_T_TYPE): Likewise.
10657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10658 (__SWBLK_T_TYPE): Likewise.
10659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10660 (__SWBLK_T_TYPE): Likewise.
10661
10662 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10663 Honza Horak <hhorak@redhat.com>
10664
10665 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10666 (xdr_mapname): Use YPMAXMAP as maxsize.
10667 (xdr_peername): Use YPMAXPEER as maxsize.
10668 (xdr_keydat): Use YPAXRECORD as maxsize.
10669 (xdr_valdat): Use YPMAXRECORD as maxsize.
10670
10671 2012-10-01 Roland McGrath <roland@hack.frob.com>
10672
10673 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10674
10675 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10676 * csu/init-first.c: ... here.
10677 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10678 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10679 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10680 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10681 * sysdeps/i386/init-first.c: File removed.
10682 * sysdeps/sh/init-first.c: File removed.
10683
10684 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10685
10686 [BZ #14645]
10687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10688 if x * y might underflow to zero and z is zero.
10689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10691 * math/libm-test.inc (min_subnorm_value): New variable.
10692 (fma_test): Add more tests.
10693 (fma_test_towardzero): Likewise.
10694 (fma_test_downward): Likewise
10695 (fma_test_upward): Likewise.
10696 (initialize): Set min_subnorm_value.
10697
10698 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10699
10700 [BZ #14638]
10701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10702 0 + 0.
10703 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10704 mode for addition resulting in exact zero.
10705 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10707 exact 0 + 0.
10708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10710 * math/libm-test.inc (fma_test): Add more tests.
10711 (fma_test_towardzero): New function.
10712 (fma_test_downward): Likewise.
10713 (fma_test_upward): Likewise.
10714 (main): Call the new functions.
10715
10716 2012-09-28 David S. Miller <davem@davemloft.net>
10717
10718 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10719
10720 2012-09-28 Roland McGrath <roland@hack.frob.com>
10721
10722 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10723 instead of SIGALRM.
10724
10725 * sysdeps/gnu/_G_config.h: Moved to ...
10726 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10727 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10728 * sysdeps/generic/_G_config.h: ... here.
10729
10730 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10731
10732 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10733
10734 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10735 Conditionalize target on [libnss_test1.so-version].
10736
10737 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10738
10739 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10740 (elfobjdir): Move out of conditionals.
10741
10742 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10743 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10744 (__nss_lookup_function): Conditionalize label remove_from_tree on
10745 [!DO_STATIC_NSS || SHARED], matching its only use.
10746
10747 2012-09-28 David S. Miller <davem@davemloft.net>
10748
10749 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10750 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10751 file.
10752 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10753 sysdep_routines.
10754 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10756 when HWCAP_SPARC_CRYPTO is present.
10757
10758 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10759
10760 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10761
10762 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10763
10764 [BZ #6530]
10765 * stdio-common/vfprintf.c (process_string_arg): Revert
10766 2000-07-22 change.
10767
10768 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10769
10770 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10771 for testcase.
10772 * stdio-common/tst-sprintf.c: Include <locale.h>
10773 (main): Test sprintf's handling of incomplete multibyte
10774 characters.
10775
10776 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * elf/dl-runtime.c (VERSYMIDX): Removed.
10779 * elf/dl-version.c (VERSYMIDX): Likewise.
10780 * elf/do-rel.h (VERSYMIDX): Likewise.
10781 (VALIDX): Likewise.
10782 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10783 * elf/rtld.c (VALIDX): Likewise.
10784 (ADDRIDX): Likewise.
10785 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10786 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10787 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10788 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10789 (VALIDX): Likewise.
10790 (ADDRIDX): Likewise.
10791
10792 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10793
10794 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10795
10796 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10797
10798 [BZ #11438]
10799 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10800 to global scope.
10801 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10802 addresses are in the same scope as 192.0.2/24.
10803 * posix/gai.conf: Document new scope table defaults.
10804
10805 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
10807 [BZ #5298]
10808 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10809 for ftell. Compute offsets from write pointers instead.
10810 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10811
10812 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10813
10814 [BZ #14543]
10815 * libio/Makefile (tests): New test case tst-fseek.
10816 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10817 combination works in wide mode.
10818 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10819 state when the external buffer state changes.
10820
10821 2012-09-27 David S. Miller <davem@davemloft.net>
10822
10823 [BZ #14376]
10824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10825 pass reloc->r_addend in as the 'high' argument to
10826 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10827
10828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10829
10830 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10831
10832 * rt/tst-aio2.c: Include <pthread.h>.
10833 * rt/tst-aio3.c: Likewise.
10834
10835 2012-09-27 Steve Ellcey <sellcey@mips.com>
10836
10837 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10838
10839 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10840
10841 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10842 contents on [SHARED].
10843
10844 2012-09-26 Marek Polacek <polacek@redhat.com>
10845
10846 [BZ #14530]
10847 [BZ #13741]
10848 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10849 for C++ and GCC <4.3 as well as for non GCC compilers.
10850
10851 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10852
10853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10854
10855 2012-09-25 Roland McGrath <roland@hack.frob.com>
10856
10857 * Makefile.in (all, install): Declare with .PHONY.
10858 Reported by Michael Hope <michael.hope@linaro.org>.
10859
10860 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10861
10862 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10863 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10864 system header.
10865 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10866 Likewise.
10867 (sydep_routines): Add the new and the internal functions.
10868 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10869 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10871 (GLIBC_2.17): Add the new function.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10873 (GLIBC_2.17): Likewise.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10875 (GLIBC_2.17): Likewise.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10877 (GLIBC_2.17): Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10879
10880 2012-09-25 Alan Modra <amodra@gmail.com>
10881
10882 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10883 Add release barrier before setting once_control to say
10884 initialisation is done. Add hints on lwarx. Use macro in
10885 place of isync.
10886 (clear_once_control): Add release barrier.
10887
10888 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10889
10890 [BZ #13629]
10891 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10892 specially.
10893 * math/s_clog10.c (__clog10): Likewise.
10894 * math/s_clog10f.c (__clog10f): Likewise.
10895 * math/s_clog10l.c (__clog10l): Likewise.
10896 * math/s_clogf.c (__clogf): Likewise.
10897 * math/s_clogl.c (__clogl): Likewise.
10898 * math/Makefile (libm-calls): Add x2y2m1.
10899 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10900 (__x2y2m1): Likewise.
10901 (__x2y2m1l): Likewise.
10902 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10903 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10906 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10907 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10908 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
10912 [BZ #14621]
10913 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10914 int as type of variable DEPTH.
10915 (glob): Use size_t instead of int as type of variables NEWCOUNT
10916 and OLD_PATHC.
10917
10918 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10919
10920 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10921 Add s_sincosf-sse2.
10922 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10923 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10924 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10925 macros for using routine as __sincosf_ia32.
10926 Use macro for function declaration and weak_alias.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10928
10929 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10931
10932 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
10933 subnormal argument.
10934 * math/s_cexpf.c (__cexpf): Likewise.
10935 * math/s_csinf.c (__csinf): Likewise.
10936 * math/s_csinhf.c (__csinhf): Likewise.
10937 * math/s_ctanf.c (__ctanf): Likewise.
10938 * math/s_ctanhf.c (__ctanhf): Likewise.
10939 * math/s_ccosh.c (__ccoshf): Likewise.
10940 * math/s_cexp.c (__cexpl): Likewise.
10941 * math/s_csin.c (__csin): Likewise.
10942 * math/s_csinh.c (__csinh): Likewise.
10943 * math/s_ctan.c (__ctan): Likewise.
10944 * math/s_ctanh.c (ctanh): Likewise.
10945 * math/s_ccoshl.c (__ccoshl): Likewise.
10946 * math/s_cexpl.c (__cexpl): Likewise.
10947 * math/s_csinl.c (__csinl): Likewise.
10948 * math/s_csinhl.c (__csinhl): Likewise.
10949 * math/s_ctanl.c (__ctanl): Likewise.
10950 * math/s_ctanhl.c (__ctanhl): Likewise.
10951
10952 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10953
10954 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10955 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10956 (_IO_off_t): Define to __off_t, not _G_off_t.
10957 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10958 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10959 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10960 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10961 type of __dummy and __dummy2 fields.
10962 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10963 (_G_ssize_t): Likewise.
10964 (_G_off_t): Likewise.
10965 (_G_pid_t): Likewise.
10966 (_G_uid_t): Likewise.
10967 (_G_wchar_t): Likewise.
10968 (_G_wint_t): Likewise.
10969 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10970 (_G_ssize_t): Likewise.
10971 (_G_off_t): Likewise.
10972 (_G_pid_t): Likewise.
10973 (_G_uid_t): Likewise.
10974 (_G_wchar_t): Likewise.
10975 (_G_wint_t): Likewise.
10976 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10977 (_G_ssize_t): Likewise.
10978 (_G_off_t): Likewise.
10979 (_G_pid_t): Likewise.
10980 (_G_uid_t): Likewise.
10981 (_G_wchar_t): Likewise.
10982 (_G_wint_t): Likewise.
10983
10984 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10985
10986 * malloc/arena.c: Include malloc-sysdep.h.
10987 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10988 is sufficient to shrink the heap or an unmap is needed.
10989 * sysdeps/generic/malloc-sysdep.h: New file. Define
10990 new function check_may_shrink_heap.
10991 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10992 new function check_may_shrink_heap.
10993
10994 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10995
10996 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10997 comments.
10998
10999 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11000
11001 * catgets/test-gencat.sh: Add "set -e".
11002 * elf/tst-pathopt.sh: Likewise.
11003 * grp/tst_fgetgrent.sh: Likewise.
11004 * iconvdata/run-iconv-test.sh: Likewise.
11005 * intl/tst-gettext.sh: Likewise.
11006 * intl/tst-gettext2.sh: Likewise.
11007 * intl/tst-gettext4.sh: Likewise.
11008 * intl/tst-gettext6.sh: Likewise.
11009 * intl/tst-translit.sh: Likewise.
11010 * io/ftwtest-sh: Likewise.
11011 * libio/test-freopen.sh: Likewise.
11012 * malloc/tst-mtrace.sh: Likewise.
11013 * posix/globtest.sh: Likewise.
11014 * posix/tst-getconf.sh: Likewise.
11015 * posix/wordexp-tst.sh: Likewise.
11016 * stdio-common/tst-printf.sh: Likewise.
11017 * stdio-common/tst-unbputc.sh: Likewise.
11018 * stdlib/tst-fmtmsg.sh: Likewise.
11019 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11020 * catgets/Makefile: Do not specify -e option when running
11021 testsuite shell scripts.
11022 * elf/Makefile: Likewise.
11023 * grp/Makefile: Likewise.
11024 * iconvdata/Makefile: Likewise.
11025 * intl/Makefile: Likewise.
11026 * io/Makefile: Likewise.
11027 * libio/Makefile: Likewise.
11028 * malloc/Makefile: Likewise.
11029 * posix/Makefile: Likewise.
11030 * stdio-common/Makefile: Likewise.
11031 * stdlib/Makefile: Likewise.
11032 * sysdeps/x86_64/Makefile: Likewise.
11033
11034 * io/ftwtest-sh: Add copyright header.
11035 * posix/globtest.sh: Likewise.
11036 * posix/tst-getconf.sh: Likewise.
11037 * posix/wordexp-tst.sh: Likewise.
11038 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11039
11040 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11041
11042 [BZ #13679]
11043 * Makeconfig (+link): Defined as $(+link-static) if
11044 $(build-shared) isn't yes.
11045 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11046 isn't yes.
11047 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11048
11049 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11050
11051 [BZ #14562]
11052 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11053 new chunk size with MALLOC_ALIGN_MASK.
11054
11055 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11056
11057 [BZ #5044]
11058 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11059 <rounding-mode.h>.
11060 (__printf_fphex): Determine rounding using get_rounding_mode and
11061 round_away.
11062 * stdio-common/tst-printf-round.c (struct hex_test): New
11063 structure.
11064 (hex_tests): New variable.
11065 (test_hex_in_one_mode): New function.
11066 (do_test): Also run tests for hex float output.
11067
11068 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11069
11070 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11071 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11072 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11073 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11074 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11075 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11076 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11077 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11078
11079 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11080
11081 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11082 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11083 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11084 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11085
11086 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11087
11088 [BZ #14579]
11089 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11090 mode only.
11091 * elf/tst-rtld-load-self.sh: New test.
11092 * elf/Makefile: Run it.
11093
11094 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11095
11096 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11097 (tst-writev-ENV): Remove.
11098 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11099
11100 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11101
11102 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11103
11104 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11105
11106 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11107 unconditional.
11108 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11109 Likewise.
11110 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11111 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11112 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11113 Likewise.
11114
11115 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 [BZ #14587]
11118 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11119 * config.make.in (have-cpp-asm-debuginfo): Removed.
11120 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11121 * configure: Regenerated.
11122
11123 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11124
11125 [BZ #5044]
11126 * stdio-common/printf_fp.c: Include <stdbool.h> and
11127 <rounding-mode.h>.
11128 (___printf_fp): Determine rounding using get_rounding_mode and
11129 round_away.
11130 * stdio-common/tst-printf-round.c: New file.
11131 * stdio-common/Makefile (tests): Add tst-printf-round.
11132 (link-libm): New variable.
11133 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11134
11135 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11136
11137 [BZ #14576]
11138 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11139 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11140 Likewise.
11141 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11142 Likewise.
11143
11144 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11145
11146 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11147 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11148 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11149 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11150
11151 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11152
11153 [BZ #14518]
11154 * include/rounding-mode.h: New file.
11155 * sysdeps/generic/get-rounding-mode.h: Likewise.
11156 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11157 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11158 (MAX_VALUE): New macro.
11159 (MIN_VALUE): Likewise.
11160 (overflow_value): New function.
11161 (underflow_value): Likewise.
11162 (round_and_return): Use overflow_value and underflow_value to
11163 determine return values in overflow and underflow cases. Use
11164 round_away to determine rounding depending on rounding mode.
11165 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11166 determine return values in overflow and underflow cases.
11167 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11168 (struct test_results): New structure.
11169 (struct test): Use struct test_results to store expected results
11170 for all rounding modes.
11171 (TEST): Include expected results for all rounding modes.
11172 (test_in_one_mode): New function.
11173 (do_test): Use test_in_one_mode to compute and check results.
11174 Check results for all rounding modes.
11175 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11176 $(link-libm).
11177
11178 2012-12-09 Allan McRae <allan@archlinux.org>
11179
11180 * sysdeps/i386/fpu/libm-test-ulps: Update
11181
11182 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11183
11184 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11185 (_G_int32_t): Likewise.
11186 (_G_uint16_t): Likewise.
11187 (_G_uint32_t): Likewise.
11188 (_G_HAVE_BOOL): Likewise.
11189 (_G_HAVE_ATEXIT): Likewise.
11190 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11191 (_G_HAVE_IO_FILE_OPEN): Likewise.
11192 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11193 (_G_int32_t): Likewise.
11194 (_G_uint16_t): Likewise.
11195 (_G_uint32_t): Likewise.
11196 (_G_HAVE_BOOL): Likewise.
11197 (_G_HAVE_ATEXIT): Likewise.
11198 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11199 (_G_HAVE_IO_FILE_OPEN): Likewise.
11200 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11201 (_G_int32_t): Likewise.
11202 (_G_uint16_t): Likewise.
11203 (_G_uint32_t): Likewise.
11204 (_G_HAVE_BOOL): Likewise.
11205 (_G_HAVE_ATEXIT): Likewise.
11206 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11207 (_G_HAVE_IO_FILE_OPEN): Likewise.
11208
11209 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11210
11211 * csu/libc-tls.c: Update copyright years.
11212
11213 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11214
11215 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11216 [!_G_USING_THUNKS]: Remove conditional code.
11217 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11218 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11219
11220 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11221 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11222 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11223 (_G_VTABLE_LABEL_PREFIX): Likewise.
11224 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11225 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11226 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11227 (_G_VTABLE_LABEL_PREFIX): Likewise.
11228 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11229 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11230 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11231 (_G_VTABLE_LABEL_PREFIX): Likewise.
11232 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11233
11234 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11235
11236 * libio/Makefile: Include ../Makeconfig before tests.
11237 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11238 only if $(build-shared) is yes.
11239
11240 * iconv/gconv_db.c: Update copyright years.
11241
11242 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11243
11244 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11245 unwind info if defined PIC. Fix special cases description.
11246 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11247
11248 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11249 DP_HI_MASK entry.
11250 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11251
11252 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11253
11254 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11255
11256 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11257 is NULL.
11258
11259 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11260 (LDLIBS-tst-chk4): This.
11261 (LDFLAGS-tst-chk5): Renamed to ...
11262 (LDLIBS-tst-chk5): This.
11263 (LDFLAGS-tst-chk6): Renamed to ...
11264 (LDLIBS-tst-chk6): This.
11265 (LDFLAGS-tst-lfschk4): Renamed to ...
11266 (LDLIBS-tst-lfschk4): This.
11267 (LDFLAGS-tst-lfschk5): Renamed to ...
11268 (LDLIBS-tst-lfschk5): This.
11269 (LDFLAGS-tst-lfschk6): Renamed to ...
11270 (LDLIBS-tst-lfschk6): This.
11271
11272 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11273 on $(common-objpfx)soversions.mk.
11274
11275 2012-09-07 Joseph Myers <joseph@codesourcery.com>
11276
11277 [BZ #10014]
11278 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11279 example host name.
11280
11281 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11282
11283 * malloc/arena.c (arena_get_retry): New function that gets
11284 another arena for the caller to try its request on.
11285 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11286 current arena cannot fulfill the request.
11287 (__libc_memalign): Likewise.
11288 (__libc_memalign): Likewise.
11289 (__libc_pvalloc): Likewise.
11290 (__libc_calloc): Likewise.
11291
11292 2012-09-05 John Tobey <john.tobey@gmail.com>
11293
11294 [BZ #13542]
11295 * manual/arith.texi (Operations on Complex): Fix description
11296 of carg branch cut.
11297
11298 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11299
11300 [BZ #10014]
11301 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11302 host name.
11303
11304 [BZ #10038]
11305 * manual/memory.texi (Memory): Make order of menu items match
11306 order of sections.
11307
11308 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11309
11310 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11311 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11312 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11313
11314 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 * csu/libc-tls.c (static_dtv): Renamed to ...
11317 (_dl_static_dtv): This. Make it global.
11318 (_dl_initial_dtv): Removed.
11319 (__libc_setup_tls): Updated.
11320 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11321 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11322 DL_INITIAL_DTV.
11323
11324 2012-09-06 Petr Machata <pmachata@redhat.com>
11325
11326 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11327 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11328 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11329 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11330
11331 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 [BZ #14545]
11334 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11335 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11336 freeing dtv[-1].
11337
11338 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 [BZ #14544]
11341 * Makeconfig (link-static-before-libc): Replace $(+prector)
11342 with $(+prectorT).
11343 (link-static-after-libc): Replace $(+postctor) with
11344 $(+postctorT).
11345 (link-bounded): Replace $(+prector)/$(+postctor) with
11346 $(+prectorT)/$(+postctorT).
11347 (+prectorT): New macro.
11348 (+postctorT): Likewise.
11349
11350 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11351
11352 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11353 (round_str): Handle values above the maximum for IBM long double
11354 as inexact.
11355 * stdlib/tst-strtod-round.c (tests): Regenerated.
11356
11357 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11358
11359 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11360 assembler flag.
11361 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11362 zarch_nohighgprs around the zarch optimized routines.
11363 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11364 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11365 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11366 for zarch.
11367
11368 2012-09-05 David S. Miller <davem@davemloft.net>
11369
11370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11371
11372 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11373 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11374 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11375 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11376 entries.
11377
11378 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11379
11380 * malloc/arena.c: Fold copyright years.
11381 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11382
11383 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11384
11385 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11386
11387 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11388
11389 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11390
11391 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11392
11393 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11394 change internal state upon failure.
11395
11396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11397
11398 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11399 * malloc/memusage.c (mmap): Likewise.
11400 (mmap64, mremap): Likewise. Adjust name in comment.
11401
11402 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11403
11404 * libio/fileops.c: Fix typos in comments.
11405 * libio/oldfileops.c: Likewise.
11406 * libio/wfileops.c: Likewise.
11407
11408 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11409
11410 [BZ #1349]
11411 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11412 (tst-malloc-usable-ENV): Set environment for test case.
11413 * malloc/hooks.c (malloc_check_get_size): New function to get
11414 requested size.
11415 * malloc/malloc.c (musable): Use malloc_check_get_size.
11416 * malloc/tst-malloc-usable.c: New test case.
11417
11418 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11419
11420 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11421
11422 2012-09-05 Allan McRae <allan@archlinux.org>
11423
11424 [BZ #13966]
11425 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11426 determine header location.
11427 * configure: Regenerated.
11428
11429 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11430
11431 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11432 float format.
11433 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11434 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11435 format.
11436 (test): Regenerate.
11437
11438 2012-09-04 David S. Miller <davem@davemloft.net>
11439
11440 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11441 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11442 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11443
11444 2012-09-04 Florian Weimer <fweimer@redhat.com>
11445
11446 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11447 failures.
11448
11449 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11450
11451 2012-09-04 Joseph Myers <joseph@codesourcery.com>
11452
11453 [BZ #9914]
11454 * libio/iogetdelim.c: Include <limits.h>.
11455 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11456 + len + 1 would overflow.
11457
11458 2012-09-03 Andreas Jaeger <aj@suse.de>
11459
11460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11461 * sysdeps/i386/fpu/libm-test-ulps: Update.
11462
11463 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11464
11465 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11466 Add s_sinf-sse2, s_conf-sse2.
11467
11468 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11469 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11470 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11471 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11472
11473 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11474 for using routine as __sinf_ia32.
11475 Use macro for function declaration and weak_alias.
11476 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11477 for using routine as __cosf_ia32.
11478 Use macro for function declaration and weak_alias.
11479
11480 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11481 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11482
11483 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11484 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11486
11487 * math/libm-test.inc (cos_test): Add more test cases.
11488 (sin_test): Likewise.
11489 (sincos_test): Likewise.
11490
11491 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11492
11493 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11494 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11495 hidden.
11496 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11497
11498 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11499
11500 [BZ #14538]
11501 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11502 first element of the GOT.
11503 (elf_machine_load_address): Return the difference between
11504 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11505
11506 2012-09-01 Allan McRae <allan@archlinux.org>
11507
11508 [BZ #13412]
11509 * configure.in (AWK): Require gawk version 3.0 or later.
11510 * configure: Regenerated.
11511
11512 2012-09-01 Joseph Myers <joseph@codesourcery.com>
11513
11514 * sysdeps/unix/sysv/linux/kernel-features.h
11515 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11517 [__NR_clock_getres]: Make code unconditional.
11518 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11519 (clock_getcpuclockid): Remove code left unreachable by removal of
11520 conditionals.
11521 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11522 code unconditional.
11523 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11524 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11525 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11526 Make code unconditional.
11527 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11529 * sysdeps/unix/sysv/linux/clock_settime.c
11530 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11531 conditional code.
11532 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11533 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11534
11535 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11536
11537 [BZ #14476]
11538 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11539 scripts/test-installation.pl.
11540
11541 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11542 and $ld_so_version if it is set.
11543
11544 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11545
11546 [BZ #14516]
11547 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11548 failure if reading from procfs failed.
11549 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11550
11551 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11552
11553 * sysdeps/unix/sysv/linux/kernel-features.h
11554 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11555 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11556 Remove conditional code.
11557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11558 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11559 Remove conditional code.
11560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11561 * sysdeps/unix/sysv/linux/i386/fxstat.c
11562 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11564 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11565 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11567 * sysdeps/unix/sysv/linux/i386/lxstat.c
11568 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11570 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11571 Remove conditional code.
11572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11573 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11574 Remove conditional code.
11575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11576 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11577 <kernel-features.h>.
11578 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11579 Remove.
11580 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11581 Remove conditional code.
11582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11583 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11584 Remove conditional.
11585
11586 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11587
11588 [BZ #5400]
11589 * NEWS: Add fixed bug number.
11590
11591 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11592
11593 [BZ #14519]
11594 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11595 underflowing exponent in case of negative sign.
11596 * stdlib/tst-strtod-round-data: Add more tests.
11597 * stdlib/tst-strtod-round.c (tests): Regenerated.
11598
11599 [BZ #3479]
11600 * stdlib/strtod_l.c (NDIG): Remove.
11601 (HEXNDIG): Likewise.
11602 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11603 smallest representable value.
11604 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11605 lie within an exact representation of 1/2 ulp of the result.
11606 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11607 unconditionally.
11608 (TENS_P9_IDX): Define unconditionally.
11609 (TENS_P9_SIZE): Likewise.
11610 (TENS_P10_IDX): Likewise.
11611 (TENS_P10_SIZE): Likewise.
11612 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11613 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11614 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11615 entries for 10^2^13 and 10^2^14.
11616 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11617 (TENS_P13_IDX): Define.
11618 (TENS_P13_SIZE): Likewise.
11619 (TENS_P14_IDX): Likewise.
11620 (TENS_P14_SIZE): Likewise.
11621 (_fpioconst_pow10): Change array size to
11622 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11623 unconditional.
11624 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11625 1024]: Add entries for 10^2^13 and 10^2^14.
11626 [LAST_POW10 > _LAST_POW10]: Remove #error.
11627 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11628 (_fpioconst_pow10): Change array size to
11629 FPIOCONST_POW10_ARRAY_SIZE.
11630 * stdlib/gen-fpioconst.c: New file.
11631 * stdlib/gen-tst-strtod-round.c: Likewise.
11632 * stdlib/tst-strtod-round-data: Likewise.
11633 * stdlib/tst-strtod-round.c: Likewise.
11634 * stdlib/Makefile (tests): Add tst-strtod-round.
11635
11636 [BZ #14459]
11637 * stdlib/strtod_l.c: Include <stdint.h>.
11638 (NDEBUG): Do not define.
11639 (round_and_return): Change EXPONENT parameter to type intmax_t.
11640 Rearrange calculations to avoid internal overflow possibilities.
11641 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11642 Rearrange calculations to avoid internal overflow possibilities.
11643 Assert that number fits inside MPNSIZE limbs.
11644 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11645 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11646 calculations and add assertions to avoid internal overflow
11647 possibilities. Add casts to avoid signed/unsigned operations.
11648 * stdlib/tst-strtod-overflow.c: New file.
11649 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11650
11651 2012-08-25 Marek Polacek <polacek@redhat.com>
11652
11653 * time/time.h: Fix some typos in comments.
11654
11655 2012-08-23 Roland McGrath <roland@hack.frob.com>
11656
11657 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11658 * posix/tst-rfc3484-2.c: Likewise.
11659 * posix/tst-rfc3484-3.c: Likewise.
11660
11661 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11662
11663 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11664 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11665
11666 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11667
11668 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11669 #include of fxstatat64.c.
11670
11671 2012-08-22 Roland McGrath <roland@hack.frob.com>
11672
11673 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11674 * shadow/getspent_r.c: Likewise.
11675 * shadow/getspnam.c: Likewise.
11676 * shadow/getspnam_r.c: Likewise.
11677 * gshadow/getsgent.c: Likewise.
11678 * gshadow/getsgent_r.c: Likewise.
11679 * gshadow/getsgnam.c: Likewise.
11680 * gshadow/getsgnam_r.c: Likewise.
11681 * inet/getnetbyad.c: Likewise.
11682 * inet/getnetbyad_r.c: Likewise.
11683 * inet/getnetbynm.c: Likewise.
11684 * inet/getnetbynm_r.c: Likewise.
11685 * inet/getnetent.c: Likewise.
11686 * inet/getnetent_r.c: Likewise.
11687 * inet/getproto.c: Likewise.
11688 * inet/getproto_r.c: Likewise.
11689 * inet/getprtent.c: Likewise.
11690 * inet/getprtent_r.c: Likewise.
11691 * inet/getprtname.c: Likewise.
11692 * inet/getprtname_r.c: Likewise.
11693 * inet/getrpcbyname.c: Likewise.
11694 * inet/getrpcbyname_r.c: Likewise.
11695 * inet/getrpcbynumber.c: Likewise.
11696 * inet/getrpcbynumber_r.c: Likewise.
11697 * inet/getrpcent.c: Likewise.
11698 * inet/getrpcent_r.c: Likewise.
11699 * inet/getaliasent.c: Likewise.
11700 * inet/getaliasent_r.c: Likewise.
11701 * inet/getaliasname.c: Likewise.
11702 * inet/getaliasname_r.c: Likewise.
11703 * nscd/getgrgid_r.c: Likewise.
11704 * nscd/getgrnam_r.c: Likewise.
11705 * nscd/gethstbyad_r.c: Likewise.
11706 * nscd/gethstbynm3_r.c: Likewise.
11707 * nscd/getpwnam_r.c: Likewise.
11708 * nscd/getpwuid_r.c: Likewise.
11709 * nscd/getsrvbynm_r.c: Likewise.
11710 * nscd/getsrvbypt_r.c: Likewise.
11711 * nscd/gai.c: Likewise.
11712
11713 * configure.in (build_nscd): New substituted variable, set
11714 by --disable-build-nscd and defaults to $use_nscd.
11715 * configure: Regenerated.
11716 * config.make.in (build-nscd): New substituted variable.
11717 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11718 Change conditional to require [$(build-nscd) = yes] as well.
11719 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11720
11721 [BZ# 13696]
11722 * configure.in (use_nscd): New substituted variable, set by
11723 --disable-nscd. If enabled, define USE_NSCD.
11724 * configure: Regenerated.
11725 * config.h.in: Add USE_NSCD.
11726 * config.make.in (use-nscd): New substituted variable.
11727 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11728 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11729 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11730 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11731 (CFLAGS-getgrnam_r.c): Likewise.
11732 (CFLAGS-initgroups.c): Likewise.
11733 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11734 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11735 Variables removed.
11736 * inet/getnetgrent_r.c
11737 (nscd_setnetgrent): New function, broken out of ...
11738 (setnetgrent): ... here. Call it.
11739 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11740 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11741 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11742 * nscd/Makefile (routines, aux): Move definitions after include of
11743 Makeconfig. Conditionalize on [$(use-nscd) != no].
11744 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11745 Conditionalize on [USE_NSCD].
11746 (is_nscd, nscd_init_cb): Likewise.
11747 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11748 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11749 * nss/nss_db/db-init.c: Likewise.
11750 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11751 [USE_NSCD].
11752 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11753 (make_request): Use it.
11754 (cache_valid_p): New function.
11755 (__check_pf): Use it.
11756 * NEWS: Add item for --disable-nscd.
11757
11758 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11759
11760 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11761 to support sed >= 4.2.1-20-ga9bf076.
11762 * configure: Regenerated.
11763
11764 2012-08-22 Roland McGrath <roland@hack.frob.com>
11765
11766 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11767 Conditionalize whole body on [IREL].
11768
11769 2012-08-22 Jeff Law <law@redhat.com>
11770
11771 [BZ #14505]
11772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11773 if the family is PF_UNSPEC.
11774
11775 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11776
11777 * Makerules (lib-version): Rename from V.
11778 (install-lib-nosubdir): Change V to lib-version.
11779
11780 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11781
11782 [BZ #14252]
11783 * powerpc32/power6/wcschr.c: New file.
11784 * powerpc32/power6/wcscpy.c: New file.
11785 * powerpc32/power6/wcsrchr.c: New file.
11786 * powerpc64/power6/wcschr.c: New file.
11787 * powerpc64/power6/wcscpy.c: New file.
11788 * powerpc64/power6/wcsrchr.c: New file.
11789
11790 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11791
11792 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11793 (two_way_short_needle): Use it.
11794 * string/strstr.c (AVAILABLE1_USES_J): Define.
11795 * string/strcasestr.c: Likewise.
11796
11797 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11798 array references.
11799 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11800
11801 [BZ #11607]
11802 * NEWS: Add an entry.
11803 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11804 define their defaults.
11805 (two_way_short_needle): Detect end-of-string on-the-fly.
11806 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11807 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11808 * string/bug-strcasestr1.c: New test.
11809 * string/Makefile: Run it.
11810
11811 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11812
11813 [BZ #11607]
11814 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11815 the first character.
11816
11817 2012-08-21 Roland McGrath <roland@hack.frob.com>
11818
11819 * csu/elf-init.c (__libc_csu_irel): Function removed.
11820 * csu/libc-start.c (apply_irel): New function.
11821 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11822
11823 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11824
11825 * sysdeps/unix/sysv/linux/kernel-features.h
11826 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11827 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11828 <kernel-features.h>.
11829 [__NR_fadvise64_64]: Make code unconditional.
11830 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11831 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11832 !__NR_fadvise64_64)]: Likewise.
11833 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11834 !__NR_fadvise64_64))]: Likewise.
11835 [__NR_fadvise64]: Make code unconditional.
11836 [!__NR_fadvise64]: Remove conditional code.
11837 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11838 <kernel-features.h>.
11839 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11840 unconditional.
11841 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11842 conditional code.
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11844 not include <kernel-features.h>.
11845 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11846 unconditional.
11847 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11848 conditional code.
11849 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11850 include <kernel-features.h>.
11851 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11852 unconditional.
11853 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11854 conditional code.
11855
11856 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11857
11858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11859 slight instruction rearrangements per scrollpipe analysis.
11860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11861
11862 2012-08-20 Roland McGrath <roland@hack.frob.com>
11863
11864 * manual/syslog.texi (syslog; vsyslog, closelog):
11865 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11866 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11867
11868 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11869 DSOCAPS to match condition on defining it.
11870
11871 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11872
11873 * sysdeps/unix/sysv/linux/kernel-features.h
11874 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11876 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11877 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11879 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11880 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11882 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11883 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11884
11885 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11886 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11887
11888 * sysdeps/unix/sysv/linux/kernel-features.h
11889 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11890 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11891 unconditional.
11892 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11893 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11894 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11895 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11896 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11897 Make code unconditional.
11898 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11899 (__mmap64) [!__NR_mmap2]: Likewise.
11900 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11901 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11902 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11903 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11904 [__NR_mmap2]: Make code unconditional.
11905 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11906 (__mmap64) [!__NR_mmap2]: Likewise.
11907
11908 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11909
11910 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11911
11912 2012-08-18 Andreas Jaeger <aj@suse.de>
11913
11914 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11915
11916 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11917
11918 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11919 * include/unistd.h (__have_sock_cloexec): Likewise.
11920 (__have_pipe2): Likewise.
11921 (__have_dup3): Likewise.
11922
11923 2012-08-18 Mike Frysinger <vapier@gentoo.org>
11924
11925 [BZ #9685]
11926 * include/unistd.h (__have_pipe2): Change define into an extern int.
11927 (__have_dup3): Likewise.
11928 * socket/have_sock_cloexec.c: Include fcntl.h.
11929 (__have_pipe2): New variable.
11930 (__have_dup3): Likewise.
11931
11932 2012-08-17 Mike Frysinger <vapier@gentoo.org>
11933
11934 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11935
11936 2012-08-17 Marek Polacek <polacek@redhat.com>
11937
11938 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11939 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11940
11941 2012-08-17 Roland McGrath <roland@hack.frob.com>
11942
11943 * configure.in: Add AC_SUBST for sysheaders.
11944 * configure: Regenerated.
11945 * config.make.in (sysheaders): New substituted variable.
11946
11947 * sysdeps/unix/mkfifo.c: Moved ...
11948 * sysdeps/posix/mkfifo.c: ... here.
11949 * sysdeps/unix/mkfifoat.c: Moved ...
11950 * sysdeps/posix/mkfifoat.c: ... here.
11951
11952 * sysdeps/unix/utime.c: Moved ...
11953 * sysdeps/posix/utime.c: ... here.
11954
11955 * sysdeps/unix/time.c: Moved ...
11956 * sysdeps/posix/time.c: ... here.
11957 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11958 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
11959
11960 * sysdeps/unix/nice.c: Moved ...
11961 * sysdeps/posix/nice.c: ... here.
11962
11963 * sysdeps/unix/alarm.c: Moved ...
11964 * sysdeps/posix/alarm.c: ... here.
11965
11966 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11967
11968 2012-08-17 Jeff Law <law@redhat.com>
11969
11970 * intl/Makefile (codeset_mo): New variable.
11971 ($(codeset_mo)): New target.
11972 (tst-codeset.out): Depend on that. Remove explicit rule.
11973 (tst-gettext3.out, tst-gettext5.out): Likewise.
11974 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11975 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11976 * intl/tst-codeset.sh: Remove.
11977 * intl/tst-gettext3.sh: Likewise.
11978 * intl/tst-gettext5.sh: Likewise.
11979
11980 2012-08-17 Roland McGrath <roland@hack.frob.com>
11981
11982 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11983 * sysdeps/unix/syscalls.list: ... here.
11984
11985 * sysdeps/posix/getaddrinfo.c
11986 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11987 (gaiconf_init, gaiconf_reload): Use them.
11988 [!_STATBUF_ST_NSEC]
11989 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11990 Define using time_t rather than struct timespec.
11991
11992 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11993 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11994 Macros removed.
11995 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11996 [!NO_THREADS].
11997 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11998 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11999 Likewise.
12000
12001 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12002 __libc_cleanup_push argument.
12003
12004 * bits/param.h: New file.
12005 * misc/sys/param.h: New file.
12006 * include/sys/param.h: New file.
12007 * misc/Makefile (headers): Add bits/param.h.
12008 * sysdeps/generic/sys/param.h: File removed.
12009 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12010 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12011 * sysdeps/mach/hurd/bits/param.h: New file.
12012 * sysdeps/mach/hurd/sys/param.h: File removed.
12013
12014 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12015 last change.
12016
12017 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12018 [_IO_MTSAFE_IO].
12019 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12020 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12021 New macros.
12022
12023 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12024 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12025 rather than -D_IO_MTSAFE_IO conditionally.
12026 * stdio-common/Makefile (CPPFLAGS): Likewise.
12027 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12028 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12029 Use $(libio-mtsafe).
12030 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12031 of -D_IO_MTSAFE_IO.
12032 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12033 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12034 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12035 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12036 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12037 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12038 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12039 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12040 (CFLAGS-fread_u_chk.c): Likewise.
12041 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12042 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12043 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12044 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12045 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12046 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12047 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12048 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12049 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12050
12051 * libio/Makefile: Test [$(libc-reentrant) = yes]
12052 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12053
12054 * Makeconfig
12055 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12056 * sysdeps/pthread/configure: File removed.
12057 * sysdeps/pthread/Makeconfig: New file.
12058 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12059 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12060
12061 2012-08-16 Gary Benson <gbenson@redhat.com>
12062
12063 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12064 unmapping the first object in a namespace.
12065
12066 2012-08-16 Roland McGrath <roland@hack.frob.com>
12067
12068 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12069 (__internal_setnetgrent): ... this. Add internal_function to
12070 definition. Add libc_hidden_def.
12071 (setnetgrent): Update caller.
12072 (internal_endnetgrent): Renamed to ...
12073 (__internal_endnetgrent): ... this. Add internal_function to
12074 definition. Add libc_hidden_def.
12075 (endnetgrent): Update caller.
12076 (internal_getnetgrent_r): Renamed to ...
12077 (__internal_getnetgrent_r): ... this. Add internal_function to
12078 definition. Add libc_hidden_def.
12079 (__getnetgrent_r): Update caller.
12080 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12081
12082 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12083
12084 * stdlib/longlong.h: Update from GCC.
12085
12086 2012-08-16 Roland McGrath <roland@hack.frob.com>
12087
12088 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12089 on _QL, which is set by umul_ppmm but never used.
12090 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12091 variables, which are set by GMP macros but never used.
12092 * stdio-common/_itowa.c (_itowa): Likewise.
12093 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12094 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12095
12096 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12097
12098 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12099 struct La_sh_regs is not constant.
12100 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12101 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12102 and struct La_sparc64_regs are not constant.
12103
12104 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12105
12106 * sysdeps/unix/sysv/linux/kernel-features.h
12107 (__ASSUME_POSIX_TIMERS): Remove.
12108 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12110 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12111 Make code unconditional.
12112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12113 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12114 Make code unconditional.
12115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12116 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12117 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12119 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12120 Make code unconditional.
12121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12122 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12123 (__libc_missing_posix_timers): Remove.
12124
12125 2012-08-15 Roland McGrath <roland@hack.frob.com>
12126
12127 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12128 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12129
12130 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12131
12132 * elf/dl-sym.c: Include <stdlib.h>.
12133
12134 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12135 constants, which avoids warnings in 32-bit builds.
12136
12137 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12138 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12139
12140 * misc/lseek.c: File moved to ...
12141 * io/lseek.c: ... here.
12142
12143 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12144
12145 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12146 shifting LEN more than 31 bits at once.
12147
12148 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12149
12150 [BZ #14195]
12151 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12152 segmentation fault for a case of two empty input strings.
12153 * string/test-strncasecmp.c (check1): Renamed to...
12154 (bz12205): ...this.
12155 (bz14195): Add new testcase for two empty input strings and N > 0.
12156 (test_main): Call new testcase, adapt for renamed function.
12157
12158 2012-08-15 Andreas Jaeger <aj@suse.de>
12159
12160 [BZ #14090]
12161 * crypt/md5test2.c: New test, based on test supplied by Serge
12162 Belyshev <belyshev@depni.sinp.msu.ru>.
12163 * crypt/Makefile (xtests): Add md5test-giant..
12164 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12165
12166 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12167
12168 [BZ #14090]
12169 * crypt/md5.c (md5_process_block): Don't assume the buffer
12170 length is less than 2**32.
12171 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12172 length is less than 2**64.
12173
12174 2012-08-15 Roland McGrath <roland@hack.frob.com>
12175
12176 * string/str-two-way.h: Include <sys/param.h>.
12177 (MAX): Macro removed.
12178
12179 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12180 Move #define and #undef of memmove to just before and after
12181 including <string.h>.
12182
12183 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12184 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12185 and after including <string.h>. Move declarations of
12186 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12187 to before #include "string/memmove.c".
12188
12189 * include/dirent.h: Declare __getdirentries.
12190
12191 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12192 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12193
12194 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12195
12196 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12197 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12198 * sysdeps/i386/configure: Regenerated.
12199 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12200 STABS_CURRENT_FILE, and STABS_FUN.
12201 (END): Remove call to STABS_FUN_END.
12202 (STABS_CURRENT_FILE1): Delete.
12203 (STABS_CURRENT_FILE): Likewise.
12204 (STABS_FUN): Likewise.
12205 (STABS_FUN_END): Likewise.
12206 (STABS_FUN2): Likewise.
12207 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12208 * sysdeps/x86_64/configure: Regenerated.
12209
12210 2012-08-14 Roland McGrath <roland@hack.frob.com>
12211
12212 * elf/dl-open.c: Include <atomic.h>.
12213 * elf/dl-lookup.c: Likewise.
12214
12215 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12216
12217 * sysdeps/unix/sysv/linux/kernel-features.h
12218 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12219 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12220 unconditionally.
12221 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12222 unconditionally.
12223 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12224 condition on __ASSUME_CLONE_THREAD_FLAGS.
12225
12226 2012-08-14 Andreas Jaeger <aj@suse.de>
12227
12228 * sysdeps/i386/fpu/libm-test-ulps: Update.
12229
12230 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12231
12232 * include/atomic.h (atomic_exchange_and_add): Split into ...
12233 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12234 New atomic macros.
12235
12236 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12237
12238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12239
12240 2012-08-13 Jeff Law <law@redhat.com>
12241
12242 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12243 null byte in the output string.
12244
12245 2012-08-10 Joseph Myers <joseph@codesourcery.com>
12246
12247 * sysdeps/unix/sysv/linux/kernel-features.h
12248 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12249 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12250 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12251 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12252 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12253 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12254 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12255
12256 2012-08-09 Jeff Law <law@redhat.com>
12257
12258 [BZ #13939]
12259 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12260 When avoid_arena is set, don't retry in the that arena. Pick the
12261 next one, whatever it might be.
12262 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12263 (arena_lock): Pass in new parameter to arena_get2.
12264 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12265 arena_get2.
12266 (__libc_malloc): Unify retrying after main arena failure with
12267 __libc_memalign version.
12268 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12269
12270 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12271
12272 [BZ #14166]
12273 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12274 to __redirect_strstr.
12275 (__strstr_sse42): Use typeof __redirect_strstr.
12276 (__strstr_ia32): Likewise.
12277 (__libc_strstr): New prototype.
12278 (strstr): Renamed to ...
12279 (__libc_strstr): This.
12280 (strstr): New strong alias of __libc_strstr.
12281 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12282 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12283 __redirect_time.
12284 Include <time.h>.
12285 (__libc_time): New prototype.
12286 (time_ifunc): Replace time with __libc_time.
12287 (time): New strong alias and hidden definition of __libc_time.
12288 (__GI_time): Remove strong alias.
12289 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12290 Include <stddef.h>.
12291 (memmove): Redefined to __redirect_memmove.
12292 (__memmove_sse2): Use typeof __redirect_memmove.
12293 (__memmove_ssse3): Likewise.
12294 (__memmove_ssse3_back): Likewise.
12295 (__libc_memmove): New prototype.
12296 (memmove): Renamed to ...
12297 (__libc_memmove): This.
12298 (memmove): New strong alias of __libc_memmove.
12299
12300 2012-08-08 Mark Salter <msalter@redhat.com>
12301
12302 * elf/elf.h
12303 (R_MN10300_TLS_GD): Define.
12304 (R_MN10300_TLS_LD): Likewise.
12305 (R_MN10300_TLS_LDO): Likewise.
12306 (R_MN10300_TLS_GOTIE): Likewise.
12307 (R_MN10300_TLS_IE): Likewise.
12308 (R_MN10300_TLS_LE): Likewise.
12309 (R_MN10300_TLS_DTPMOD): Likewise.
12310 (R_MN10300_TLS_DTPOFF): Likewise.
12311 (R_MN10300_TLS_TPOFF): Likewise.
12312 (R_MN10300_SYM_DIFF): Likewise.
12313 (R_MN10300_ALIGN): Likewise.
12314 (R_MN10300_NUM): Update.
12315
12316 2012-08-08 Joseph Myers <joseph@codesourcery.com>
12317
12318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12319 Remove.
12320
12321 2012-08-08 Roland McGrath <roland@hack.frob.com>
12322
12323 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12324
12325 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12326 sysdeps/unix -> sysdeps/posix move.
12327 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12328
12329 2012-08-07 Allan McRae <allan@archlinux.org>
12330
12331 [BZ #14303]
12332 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12333 (SUNOS_CPP): Likewise.
12334 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12335 not found.
12336 (open_input): Call CPP using execvp.
12337
12338 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12339
12340 * sysdeps/unix/sysv/linux/kernel-features.h
12341 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12342 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12343 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12344 (__ASSUME_WAITID_SYSCALL): Likewise.
12345 * sysdeps/unix/sysv/linux/dl-execstack.c
12346 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12347 code unconditional.
12348 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12349 conditional code.
12350 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12351 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12352 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12353 code.
12354 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12355 unconditional.
12356 [__ASSUME_WAITID_SYSCALL]: Likewise.
12357 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12358
12359 2012-08-07 Roland McGrath <roland@hack.frob.com>
12360
12361 * sysdeps/unix/closedir.c: Renamed to ...
12362 * sysdeps/posix/closedir.c: ... here.
12363 * sysdeps/unix/dirfd.c: Renamed to ...
12364 * sysdeps/posix/dirfd.c: ... here.
12365 * sysdeps/unix/dirstream.h: Renamed to ...
12366 * sysdeps/posix/dirstream.h: ... here.
12367 * sysdeps/unix/fdopendir.c: Renamed to ...
12368 * sysdeps/posix/fdopendir.c: ... here.
12369 * sysdeps/unix/opendir.c: Renamed to ...
12370 * sysdeps/posix/opendir.c: ... here.
12371 * sysdeps/unix/readdir.c: Renamed to ...
12372 * sysdeps/posix/readdir.c: ... here.
12373 * sysdeps/unix/readdir_r.c: Renamed to ...
12374 * sysdeps/posix/readdir_r.c: ... here.
12375 * sysdeps/unix/rewinddir.c: Renamed to ...
12376 * sysdeps/posix/rewinddir.c: ... here.
12377 * sysdeps/unix/seekdir.c: Renamed to ...
12378 * sysdeps/posix/seekdir.c: ... here.
12379 * sysdeps/unix/telldir.c: Renamed to ...
12380 * sysdeps/posix/telldir.c: ... here.
12381 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12382 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12383 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12384 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12385
12386 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12387 * bits/fcntl.h: ... here.
12388
12389 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12390 not 0.
12391 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12392 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12393 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12394 (struct flock): Move l_start, l_len to the beginning.
12395 Use __pid_t for l_pid.
12396 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12397 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12398 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12399 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12400 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12401 [__USE_LARGEFILE64] (struct flock64): New type.
12402 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12403
12404 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12405 * bits/dirent.h: ... here.
12406
12407 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12408 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12409
12410 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12411
12412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12413 Change from 2.6.0 to 2.6.16.
12414 * sysdeps/unix/sysv/linux/configure: Regenerated.
12415 * sysdeps/unix/sysv/linux/kernel-features.h
12416 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12417 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12418 version.
12419 (__ASSUME_UTIMES): Likewise.
12420 (__ASSUME_CLONE_STOPPED): Remove.
12421 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12422 architectures, not kernel version.
12423 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12424 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12425 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12426 (__ASSUME_WAITID_SYSCALL): Likewise.
12427 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12428 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12429 * README: State 2.6.16 as minimum Linux kernel version. Do not
12430 refer to older versions.
12431
12432 2012-08-06 Roland McGrath <roland@hack.frob.com>
12433
12434 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12435 Define alphasort64 as an alias.
12436 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12437 Define versionsort64 as an alias.
12438 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12439 Define scandir64 as an alias.
12440 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12441 Define scandirat64 as an alias.
12442 * dirent/alphasort64.c (alphasort64):
12443 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12444 * dirent/versionsort64.c: Likewise.
12445 * dirent/scandir64.c: Likewise.
12446 * dirent/scandirat64.c: Likewise.
12447 * sysdeps/wordsize-64/alphasort.c: File removed.
12448 * sysdeps/wordsize-64/alphasort64.c: File removed.
12449 * sysdeps/wordsize-64/scandir.c: File removed.
12450 * sysdeps/wordsize-64/scandir64.c: File removed.
12451 * sysdeps/wordsize-64/scandirat.c: File removed.
12452 * sysdeps/wordsize-64/scandirat64.c: File removed.
12453 * sysdeps/wordsize-64/versionsort.c: File removed.
12454 * sysdeps/wordsize-64/versionsort64.c: File removed.
12455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12456 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12458 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12459 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12460 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12462 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12463
12464 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12466 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12468 [defined __arch64__ || defined __sparcv9]
12469 (__INO_T_MATCHES_INO64_T): New macro.
12470 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12471 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12472 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12473 * sysdeps/unix/sysv/linux/bits/dirent.h
12474 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12475 (_DIRENT_MATCHES_DIRENT64): New macro.
12476
12477 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12478 Define lockf64 as an alias.
12479 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12480 Define fseeko64 as an alias.
12481 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12482 Define ftello64 as an alias.
12483 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12484 Define _IO_fgetpos64 and fgetpos64 as aliases.
12485 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12486 Define _IO_fsetpos64 and fsetpos64 as aliases.
12487 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12488 Conditionalize body on this.
12489 * libio/fseeko64.c: Likewise.
12490 * libio/ftello64.c: Likewise.
12491 * libio/iofgetpos64.c: Likewise.
12492 * libio/iofsetpos64.c: Likewise.
12493 * sysdeps/wordsize-64/lockf.c: File removed.
12494 * sysdeps/wordsize-64/lockf64.c: File removed.
12495 * sysdeps/wordsize-64/fseeko.c: File removed.
12496 * sysdeps/wordsize-64/fseeko64.c: File removed.
12497 * sysdeps/wordsize-64/ftello.c: File removed.
12498 * sysdeps/wordsize-64/ftello64.c: File removed.
12499 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12500 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12501 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12502 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12503 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12504 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12505 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12506 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12507 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12508 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12509 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12510 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12512 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12513
12514 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12515 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12516 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12518 [defined __arch64__ || defined __sparcv9]
12519 (__OFF_T_MATCHES_OFF64_T): New macro.
12520 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12521 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12523 (__OFF_T_MATCHES_OFF64_T): New macro.
12524
12525 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12526
12527 * stdlib/secure-getenv.c (__secure_getenv): Replace
12528 GLIBC_2_16 with GLIBC_2_17.
12529
12530 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12534
12535 2012-08-03 David S. Miller <davem@davemloft.net>
12536
12537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12538
12539 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12540
12541 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12542 Remove.
12543 (__ASSUME_CORRECT_SI_PID): Likewise.
12544 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12545 (__ASSUME_TMPFS_NAME): Likewise.
12546 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12547 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12548 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12549 (HAVE_AUX_SECURE): Make definition unconditional.
12550 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12551 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12552
12553 2012-08-03 Roland McGrath <roland@hack.frob.com>
12554
12555 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12556 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12557 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12558 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12559 __eloop_threshold instead of SYMLOOP_MAX.
12560
12561 * sysdeps/generic/eloop-threshold.h: New file.
12562 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12563 of MAXSYMLINKS.
12564 * elf/chroot_canon.c (chroot_canon): Likewise.
12565
12566 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12567
12568 [BZ #13717]
12569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12570 Change to 2.6.0 everywhere.
12571 * sysdeps/unix/sysv/linux/configure: Regenerated.
12572 * sysdeps/unix/sysv/linux/kernel-features.h
12573 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12574 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12575 kernel versions.
12576 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12577 (__ASSUME_FUTEX_REQUEUE): Remove.
12578 (__ASSUME_STATFS64): Define unconditionally.
12579 (__ASSUME_AT_SECURE): Likewise.
12580 (__ASSUME_CORRECT_SI_PID): Likewise.
12581 (__ASSUME_TGKILL): Define without depending on kernel version for
12582 i386.
12583 (__ASSUME_UTIMES): Likewise.
12584 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12585 kernel version.
12586 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12587 (__ASSUME_TMPFS_NAME): Likewise.
12588 * README: Update reference to Linux kernel versions.
12589
12590 2012-08-02 Marek Polacek <polacek@redhat.com>
12591
12592 [BZ# 14150]
12593 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12594 libc_cv_asm_type_prefix with %.
12595 * configure: Regenerated.
12596 * include/libc-symbols.h: Remove comment about
12597 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12598 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12599 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12600 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12601 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12602 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12603 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12604 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12605 * elf/tst-unique2mod1.c: Likewise.
12606 * elf/tst-unique1mod2.c: Likewise.
12607 * elf/tst-unique1mod1.c: Likewise.
12608 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12609 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12610 Replace ASM_TYPE_DIRECTIVE with .type.
12611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12612 * sysdeps/i386/sysdep.h: Likewise.
12613 * sysdeps/x86_64/sysdep.h: Likewise.
12614 * sysdeps/sh/sysdep.h: Likewise.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12616 Do not define ASM_TYPE_DIRECTIVE.
12617 * sysdeps/powerpc/sysdep.h: Likewise.
12618 * sysdeps/powerpc/powerpc32/sysdep.h:
12619 Replace ASM_TYPE_DIRECTIVE with .type.
12620 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12621 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12622 * sysdeps/i386/fpu/e_powf.S: Likewise.
12623 * sysdeps/i386/fpu/e_expl.S: Likewise.
12624 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12625 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12626 * sysdeps/i386/fpu/e_pow.S: Likewise.
12627 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12628 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12629 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12630 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12631 * sysdeps/i386/fpu/e_log2.S: Likewise.
12632 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12633 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12634 * sysdeps/i386/fpu/e_powl.S: Likewise.
12635 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12636 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12637 * sysdeps/i386/fpu/e_logl.S: Likewise.
12638 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12643 * sysdeps/i386/fpu/e_log.S: Likewise.
12644 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12645 * sysdeps/i386/fpu/e_logf.S: Likewise.
12646 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12647 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12648 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12649 * sysdeps/i386/fpu/e_log10.S: Likewise.
12650 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12651 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12652 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12653 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12654 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12655 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12656 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12657 * sysdeps/i386/i686/strtok.S: Likewise.
12658 * sysdeps/i386/i386-mcount.S: Likewise.
12659 * sysdeps/i386/strtok.S: Likewise.
12660 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12664 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12665 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12666 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12667 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12668 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12669 * sysdeps/x86_64/_mcount.S: Likewise.
12670 * sysdeps/x86_64/strtok.S: Likewise.
12671 * sysdeps/sh/_mcount.S: Likewise.
12672
12673 2012-08-01 Roland McGrath <roland@hack.frob.com>
12674
12675 * libio/iofopen.c: Include <fcntl.h>.
12676 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12677 (_IO_fopen64, fopen64): Define as aliases.
12678 * libio/iofopen64.c: Include <fcntl.h>.
12679 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12680 Conditionalize body on this.
12681 * sysdeps/wordsize-64/iofopen.c: File removed.
12682 * sysdeps/wordsize-64/iofopen64.c: File removed.
12683
12684 2012-08-01 Marek Polacek <polacek@redhat.com>
12685
12686 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12687 Use dlfcn directly instead of a variable.
12688 (binfmt-subdir): Do not define.
12689 (dlfcn): Likewise.
12690
12691 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12692
12693 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12694 Remove all definitions.
12695 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12696 <kernel-features.h>.
12697 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12698 (miss_F_GETOWN_EX): Remove all definitions.
12699 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12700 macro definition.
12701 [!__ASSUME_FCNTL64]: Remove conditional code.
12702 [__ASSUME_FCNTL64]: Make code unconditional.
12703 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12704 <kernel-features.h>.
12705 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12706 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12707 (lockf64) [__NR_fcntl64]: Make code unconditional.
12708 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12709
12710 * sysdeps/unix/sysv/linux/kernel-features.h
12711 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12712 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12713 Make code unconditional.
12714 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12715 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12717 [__NR_vfork]: Make code unconditional.
12718 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12719 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12721 [__NR_vfork]: Make code unconditional.
12722 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12723 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12724
12725 2012-08-01 Roland McGrath <roland@hack.frob.com>
12726
12727 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12728 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12729
12730 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12731 Define mkstemp64 as an alias.
12732 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12733 Define mkstemps64 as an alias.
12734 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12735 Define mkostemp64 as an alias.
12736 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12737 Define mkostemps64 as an alias.
12738 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12739 Conditionalize body on this.
12740 * misc/mkostemp64.c: Likewise.
12741 * misc/mkostemps64.c: Likewise.
12742 * misc/mkstemps64.c: Likewise.
12743 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12744 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12745 * sysdeps/wordsize-64/mkostemp.c: File removed.
12746 * sysdeps/wordsize-64/mkstemp.c: File removed.
12747 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12751
12752 [BZ #14138]
12753 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12754 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12755 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12756 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12757
12758 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12759 compat_symbol macros from <shlib-compat.h> rather than the underlying
12760 default_symbol_version and symbol_version macros, so that DEFAULT
12761 lines in shlib-versions are respected.
12762 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12763
12764 2012-08-01 Florian Weimer <fweimer@redhat.com>
12765
12766 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12767 Declare with warn_unused_result.
12768 (setgid, setregid, setegid, setresgid): Likewise.
12769 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12770 Likewise.
12771 * WUR-REPORT: Remove set*id functions.
12772
12773 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12774
12775 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12776
12777 2012-07-31 Roland McGrath <roland@hack.frob.com>
12778
12779 [BZ #10191]
12780 * include/sys/socket.h (__libc_accept, __libc_accept4):
12781 Add attribute_hidden.
12782 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12783
12784 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12785 use of PTR_MANGLE.
12786 * inet/getnetgrent_r.c (setup): Likewise.
12787
12788 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12789
12790 2012-07-31 David S. Miller <davem@davemloft.net>
12791
12792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12793
12794 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12795
12796 [BZ #13629]
12797 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12798 value between 1.0 and 2.0 and smaller part has absolute value less
12799 than 1.0.
12800 * math/s_clog10.c (__clog10): Likewise.
12801 * math/s_clog10f.c (__clog10f): Likewise.
12802 * math/s_clog10l.c (__clog10l): Likewise.
12803 * math/s_clogf.c (__clogf): Likewise.
12804 * math/s_clogl.c (__clogl): Likewise.
12805 * math/libm-test.inc (clog_test): Add more tests.
12806 (clog10_test): Likewise.
12807 * sysdeps/i386/fpu/libm-test-ulps: Update.
12808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12809
12810 2012-07-31 Florian Weimer <fweimer@redhat.com>
12811
12812 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12813 Exit with zero in case no suitable GID is found, and write a
12814 message to standard error.
12815
12816 2012-07-30 Roland McGrath <roland@hack.frob.com>
12817
12818 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12819 rather than to 1.
12820 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12821 (MAXPATHLEN): Removed.
12822 (NOGROUP, NODEV): New macros.
12823 (setbit, clrbit, isset, isclr): New macros.
12824 (howmany, roundup, powerof2): New macros.
12825 (DEV_BSIZE): New macro.
12826
12827 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12828 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12829
12830 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12831 definition on [!__NO_LONG_DOUBLE_MATH].
12832
12833 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12834 PTR_MANGLE and PTR_DEMANGLE.
12835
12836 * socket/accept4.c (accept4): Rename to __libc_accept4.
12837 Define accept4 as a weak alias.
12838
12839 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12840 on [_DIRENT_HAVE_D_TYPE].
12841 * io/ftw.c (ftw_dir): Likewise.
12842
12843 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12844
12845 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12846
12847 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12848 Use the BSD numbers rather than the arbitrary ones we had.
12849 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12850 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12851 (SIGXCPU, SIGXFSZ): New macros.
12852 (_NSIG): Now 32.
12853
12854 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12855 initializer on [_LIBC_REENTRANT].
12856
12857 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12858 definitions inside [_POSIX_MAPPED_FILES].
12859
12860 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12861
12862 * dirent/opendir.c: Include <fcntl.h>.
12863
12864 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12865 (__libc_getspecific): Likewise.
12866 (__libc_key_create): Likewise.
12867
12868 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12869 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12870 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12871 (tmpfile64): Define as alias.
12872 * sysdeps/wordsize-64/tmpfile.c: File removed.
12873 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12874 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12875 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12876
12877 * stdio-common/vfscanf.c: Include <stdbool.h>.
12878 * nss/makedb.c: Likewise.
12879 * stdio-common/_i18n_number.h: Likewise.
12880 * argp/argp-help.c: Likewise.
12881 * posix/wordexp.c: Likewise.
12882 * sysdeps/posix/spawni.c: Likewise.
12883 * nss/nss_files/files-initgroups.c: Likewise.
12884 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12885 * nss/nss_files/files-initgroups.c: Likewise.
12886 * nss/nss_db/db-netgrp.c: Likewise.
12887 * nss/nss_db/db-initgroups.c: Likewise.
12888 * io/fchmodat.c: Include <sys/stat.h>.
12889
12890 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12891 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12892
12893 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12894 [HAVE_MMAP].
12895
12896 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12897 Add multiple inclusion protection.
12898
12899 2012-07-27 David S. Miller <davem@davemloft.net>
12900
12901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12902
12903 2012-07-27 Gary Benson <gbenson@redhat.com>
12904
12905 [BZ #14298]
12906 * elf/rtld.c: Include <stap-probe.h>.
12907 (dl_main): Added static probes "init_start" and "init_complete".
12908 * elf/dl-load.c: Include <stap-probe.h>.
12909 (lose): Take new parameter "nsid".
12910 Added static probe "map_failed".
12911 (_dl_map_object_from_fd): Pass namespace id to lose.
12912 Added static probe "map_start".
12913 (open_verify): Pass namespace id to lose.
12914 * elf/dl-open.c: Include <stap-probe.h>.
12915 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12916 and "reloc_complete".
12917 * elf/dl-close.c: Include <stap-probe.h>.
12918 (_dl_close_worker): Added static probes "unmap_start" and
12919 "unmap_complete".
12920 * elf/rtld-debugger-interface.txt: New file documenting the above.
12921
12922 2012-07-26 Roland McGrath <roland@hack.frob.com>
12923
12924 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12925 rather than a string variable.
12926 * sunrpc/rpc_main.c (h_output): Likewise.
12927 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12928
12929 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12930
12931 * inet/check_native.c: New file.
12932
12933 2012-07-26 Joseph Myers <joseph@codesourcery.com>
12934
12935 [BZ #13629]
12936 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12937 if larger part has absolute value 1.0.
12938 * math/s_clog10.c (__clog10): Likewise.
12939 * math/s_clog10f.c (__clog10f): Likewise.
12940 * math/s_clog10l.c (__clog10l): Likewise.
12941 * math/s_clogf.c (__clogf): Likewise.
12942 * math/s_clogl.c (__clogl): Likewise.
12943 * math/libm-test.inc (clog_test): Add more tests.
12944 (clog10_test): Likewise.
12945 * sysdeps/i386/fpu/libm-test-ulps: Update.
12946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12947
12948 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12949 (pltexit): Likewise.
12950 (La_regs): Likewise.
12951 (La_retval): Likewise.
12952 (int_retval): Likewise.
12953 Update #error for removed macros to refer only to definitions in
12954 tst-audit.h.
12955 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12956 macro.
12957 (pltexit): Likewise.
12958 (La_regs): Likewise.
12959 (La_retval): Likewise.
12960 (int_retval): Likewise.
12961 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12962 macro.
12963 (pltexit): Likewise.
12964 (La_regs): Likewise.
12965 (La_retval): Likewise.
12966 (int_retval): Likewise.
12967 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12968 macro.
12969 (pltexit): Likewise.
12970 (La_regs): Likewise.
12971 (La_retval): Likewise.
12972 (int_retval): Likewise.
12973 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12974 macro.
12975 (pltexit): Likewise.
12976 (La_regs): Likewise.
12977 (La_retval): Likewise.
12978 (int_retval): Likewise.
12979 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12980 macro.
12981 (pltexit): Likewise.
12982 (La_regs): Likewise.
12983 (La_retval): Likewise.
12984 (int_retval): Likewise.
12985 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12986 macro.
12987 (pltexit): Likewise.
12988 (La_regs): Likewise.
12989 (La_retval): Likewise.
12990 (int_retval): Likewise.
12991 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12992 macro definitions in tst-audit.h.
12993 * sysdeps/i386/tst-audit.h: New file.
12994 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12995 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12996 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12997 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12998 * sysdeps/sh/tst-audit.h: Likewise.
12999 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13000 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13001 * sysdeps/x86_64/tst-audit.h: Likewise.
13002
13003 2012-07-26 Andreas Jaeger <aj@suse.de>
13004
13005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13006 ptrace.
13007
13008 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13009 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13010 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13011 PTRACE_O_MASK.
13012 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13013 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13014 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13015
13016 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13017 value.
13018
13019 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13020 _sigsys.
13021 (si_call_addr, si_syscall, si_arch): Define new macro.
13022 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13023 _sigsys.
13024 (si_call_addr, si_syscall, si_arch): Define new marcro.
13025 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13026 _sigsys.
13027 (si_call_addr, si_syscall, si_arch): Define new macro.
13028 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13029 _sigsys.
13030 (si_call_addr, si_syscall, si_arch): Define new macro.
13031
13032 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13033
13034 [BZ #13717]
13035 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13036 Change to 2.4.21 where previously 2.4.1.
13037 * sysdeps/unix/sysv/linux/configure: Regenerated.
13038 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13039 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13040 Linux kernel version.
13041 (__ASSUME_STD_AUXV): Remove.
13042 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13043 kernel version.
13044 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13045 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13046 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13047 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13048 (__ASSUME_NETLINK_SUPPORT): Likewise.
13049 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13050 (__no_netlink_support): Remove conditional definition.
13051 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13052 Remove.
13053 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13054 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13055 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13056 (if_nameindex_ioctl): Remove.
13057 (if_nameindex_netlink): Do not handle __no_netlink_support.
13058 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13059 code.
13060 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13061 Remove conditional code.
13062 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13063 code.
13064 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13065 unconditional.
13066 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13067 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13068 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13069 Remove.
13070 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13071 [!__ASSUME_STD_AUXV]: Remove conditional code.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13073 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13074 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13076 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13077 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13078 code.
13079 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13081 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13082 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13083 conditional code.
13084 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13086 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13087 code.
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13089 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13090 conditional code.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13092 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13093 code unconditional.
13094 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13095 conditional code.
13096 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13097 unconditional.
13098 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13099 conditional code.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13101 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13102 unconditional.
13103 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13104 conditional code.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13106 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13107 code unconditional.
13108 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13109 conditional code.
13110 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13111 unconditional.
13112 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13113 conditional code.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13115 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13116 code unconditional.
13117 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13118 conditional code.
13119 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13120 unconditional.
13121 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13122 conditional code.
13123
13124 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13125
13126 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13127 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13128 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13129 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13130 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13131 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13132 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13133 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13134 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13135 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13136 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13137 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13138 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13139 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13140 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13141 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13142 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13143 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13144 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13146 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13147 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13148 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13149
13150 2012-07-25 Florian Weimer <fweimer@redhat.com>
13151
13152 * Versions.def: Add GLIBC_2.17.
13153 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13154 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13155 Introduce __libc_secure_getenv.
13156 * stdlib/Versions (2.17): Add secure_getenv
13157 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13158 * stdlib/secure-getenv.c: Rename __secure_getenv to
13159 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13160 symbol __secure_getenv for GLIBC_2.0.
13161 * stdlib/tst-secure-getenv.c: New.
13162 * stdlib/Makefile (tests): Add testcase.
13163 * manual/startup.texi (Environment Access): Document
13164 secure_getenv.
13165 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13166 __libc_secure_getenv.
13167 * inet/ruserpass.c (ruserpass): Likewise.
13168 * malloc/mtrace.c (mtrace): Likewise.
13169 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13170 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13171 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13172 * sysdeps/posix/tempname.c: Likewise. Evaluate
13173 HAVE_SECURE_GETENV.
13174 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13175 __secure_getenv to __libc_secure_getenv.
13176 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13178 Likewise.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13180 Likewise.
13181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13188
13189 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13190
13191 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13192 (struct La_i86_retval): Likewise.
13193 (struct La_x86_64_regs): Likewise.
13194 (struct La_x86_64_retval): Likewise.
13195 (struct La_x32_regs): Likewise.
13196 (struct La_x32_retval): Likewise.
13197 (struct La_ppc32_regs): Likewise.
13198 (struct La_ppc32_retval): Likewise.
13199 (struct La_ppc64_regs): Likewise.
13200 (struct La_ppc64_retval): Likewise.
13201 (struct La_sh_regs): Likewise.
13202 (struct La_sh_retval): Likewise.
13203 (struct La_s390_32_regs): Likewise.
13204 (struct La_s390_32_retval): Likewise.
13205 (struct La_s390_64_regs): Likewise.
13206 (struct La_s390_64_retval): Likewise.
13207 (struct La_sparc32_regs): Likewise.
13208 (struct La_sparc32_retval): Likewise.
13209 (struct La_sparc64_regs): Likewise.
13210 (struct La_sparc64_retval): Likewise.
13211 (struct audit_ifaces): Remove architecture-specific pltenter and
13212 pltexit members.
13213 * sysdeps/i386/ldsodefs.h: New file.
13214 * sysdeps/powerpc/ldsodefs.h: Likewise.
13215 * sysdeps/s390/ldsodefs.h: Likewise.
13216 * sysdeps/sh/ldsodefs.h: Likewise.
13217 * sysdeps/sparc/ldsodefs.h: Likewise.
13218 * sysdeps/x86_64/ldsodefs.h: Likewise.
13219
13220 2012-07-25 Marek Polacek <polacek@redhat.com>
13221
13222 [BZ #6808]
13223 * math/libm-test.inc (yn_test): Add another test.
13224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13225 to ERANGE when the result is +-Inf.
13226 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13227 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13228 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13229 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13230
13231 2012-07-24 Joseph Myers <joseph@codesourcery.com>
13232
13233 * conform/data/time.h-data (NULL): Use macro-constant. Require
13234 equal to 0.
13235 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13236 clock_t.
13237 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13238
13239 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13240
13241 * configure.in <sysdeps resolving>: Correct printing
13242 Implies_before.
13243 * configure: Regenerate.
13244
13245 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13246
13247 * math/w_ilogb.c: Include <limits.h>.
13248 * math/w_ilogbl.c: Likewise.
13249
13250 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13251
13252 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13253 va_copy. Document allowing for unavailable va_copy only as
13254 pre-C99 compatibility.
13255 * manual/string.texi (Copying and Concatenation): Use va_copy
13256 instead of __va_copy in concat example.
13257
13258 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13259
13260 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13261 (__sendto): Use create_address_port. Initialize APORT and deallocate
13262 it if not null.
13263
13264 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13265 with O_NOLINK passed to __file_name_lookup.
13266
13267 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13268 with O_NOLINK passed to __file_name_lookup.
13269
13270 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13271 negative N or less than NGIDS.
13272
13273 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13274 type to string_t. Set ERANGE as errno and return it if NAME is not big
13275 enough. Use memcpy instead of strncpy.
13276
13277 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13278
13279 * elf/Makefile (check-data): Remove.
13280 (localplt.data): New vpath directive.
13281 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13282 instead of $(check-data).
13283 * scripts/data/localplt-generic.data: Move to ...
13284 * sysdeps/generic/localplt.data: ... here.
13285 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13286 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13287 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13289 ... here.
13290 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13292 ... here.
13293 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13295 ... here.
13296 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13298 ... here.
13299 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13301 ... here.
13302 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13304 ... here.
13305
13306 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13307
13308 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13309 PPC32 and PPC64 files.
13310 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13311 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13312
13313 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13314
13315 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13316 __makecontext_ret to ...
13317 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13318 ... here and call exit if uc_link is NULL. New file.
13319 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13320 __makecontext_ret.S.
13321 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13322 __makecontext_ret to ...
13323 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13324 ... here and call exit if uc_link is NULL. New file.
13325 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13326 __makecontext_ret.S.
13327
13328 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13329
13330 * elf/elf.h (R_390_IRELATIVE): New definition.
13331 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13332 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13333 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13334 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13335 (elf_machine_lazy_rel): Likewise.
13336 * sysdeps/s390/dl-irel.h: New file.
13337 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13338 * sysdeps/s390/s390-64/memset.S: New asm code.
13339 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13340 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13341 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13342 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13343 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13344 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13345 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13346 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13347 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13348 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13349 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13350 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13351 * sysdeps/s390/s390-32/memset.S: New asm code.
13352 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13353
13354 2012-07-17 Marek Polacek <polacek@redhat.com>
13355
13356 [BZ #14349]
13357 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13358 * sysdeps/s390/s390-64/configure.in: Likewise.
13359 * sysdeps/sparc/configure.in: Likewise.
13360 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13361 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13362 * sysdeps/i386/configure.in: Likewise.
13363 * sysdeps/x86_64/configure.in: Likewise.
13364 * sysdeps/sh/configure.in: Likewise.
13365 * sysdeps/s390/s390-32/configure: Regenerated.
13366 * sysdeps/s390/s390-64/configure: Likewise.
13367 * sysdeps/x86_64/configure: Likewise.
13368 * sysdeps/sh/configure: Likewise.
13369 * sysdeps/powerpc/powerpc64/configure: Likewise.
13370 * sysdeps/powerpc/powerpc32/configure: Likewise.
13371 * sysdeps/sparc/configure: Likwise.
13372 * sysdeps/i386/configure: Likewise.
13373
13374 * elf/dl-open.c: Comment fixes.
13375
13376 2012-07-17 Joseph Myers <joseph@codesourcery.com>
13377
13378 * Makefile [CXX] (check-data): Remove.
13379 [CXX] (c++-types.data): New vpath directive.
13380 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13381 vpath. Do not allow for C++ type data being missing.
13382 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13383 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13384 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13385 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13386 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13387 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13388 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13390 ... here.
13391 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13393 ... here.
13394 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13396 ... here.
13397 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13399 ... here.
13400 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13402 ... here.
13403 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13405 ... here.
13406 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13408 ... here.
13409 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13411
13412 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13413 definitions to architecture-specific files.
13414 (TLS_IE): Likewise.
13415 (TLS_LD): Likewise.
13416 (TLS_GD): Likewise.
13417 * sysdeps/i386/tls-macros.h: New file.
13418 * sysdeps/powerpc/tls-macros.h: Likewise.
13419 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13420 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13421 * sysdeps/sh/tls-macros.h: Likewise.
13422 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13423 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13424 * sysdeps/x86_64/tls-macros.h: Likewise.
13425
13426 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13427
13428 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13429 zero value for regular exit case.
13430
13431 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13432 (__start_context): Preserve zero value for regular exit case.
13433
13434 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13435 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13436
13437 * manual/setjmp.texi (setcontext): Clarify normal process
13438 termination when uc_link is the null pointer.
13439 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13440 exit call.
13441
13442 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13443
13444 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13445 preprocessor. Test for each exception mask separately.
13446
13447 2012-07-16 Andreas Jaeger <aj@suse.de>
13448
13449 * po/ru.po: Update from translation team.
13450
13451 2012-07-15 Joseph Myers <joseph@codesourcery.com>
13452
13453 * conform/data/string.h-data (NULL): Use macro-constant. Require
13454 equal to 0.
13455 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13456 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13457 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13458 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13460
13461 2012-07-13 Andreas Jaeger <aj@suse.de>
13462
13463 * po/fr.po: Update from translation team.
13464
13465 2012-07-12 Marek Polacek <polacek@redhat.com>
13466
13467 [BZ #14173]
13468 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13469 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13470 loop condition.
13471
13472 2012-07-12 Joseph Myers <joseph@codesourcery.com>
13473
13474 [BZ #13717]
13475 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13476 Change to 2.4.1 where previously 2.4.0.
13477 * sysdeps/unix/sysv/linux/configure: Regenerated.
13478 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13479 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13480 version.
13481 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13482 (__ASSUME_AT_CLKTCK): Remove.
13483 (__ASSUME_AT_PAGESIZE): Likewise.
13484 (__ASSUME_AT_XID): Likewise.
13485 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13486 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13487 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13488 unconditionally.
13489 (HAVE_AUX_PAGESIZE): Likewise.
13490 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13491 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13492 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13493
13494 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13495
13496 [BZ #14307]
13497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13498 the temporary buffer used to invoke __gethostbyname2_r,
13499 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13500 host_data / struct gaih_addrtuple.
13501 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13502 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13503 header file nss/nsswitch.h.
13504 * nss/nsswitch.h (global scope): Add definition of implementation
13505 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13506 resolv/nss_dns/dns-host.c).
13507
13508 2012-07-11 Andreas Jaeger <aj@suse.de>
13509
13510 * po/fr.po: Update from translation team.
13511
13512 * po/sv.po: Update from translation team
13513 * po/fr.po: Another update from translation team.
13514
13515 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13516
13517 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13518 for subnormals or multiply small sinh result by itself.
13519 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13521
13522 2012-07-11 David S. Miller <davem@davemloft.net>
13523
13524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13525
13526 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13527
13528 [BZ #14347]
13529 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13530 (INTERNAL_MARK): Shift it here.
13531
13532 2012-07-10 Marek Polacek <polacek@redhat.com>
13533
13534 [BZ #14151]
13535 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13536 libc_cv_asm_global_directive with .globl.
13537 * configure: Regenerated.
13538 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13539 with .globl.
13540 * sysdeps/i386/configure: Regenerated.
13541 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13542 with .globl.
13543 * sysdeps/x86_64/configure: Regenerated.
13544 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13545 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13546 * elf/tst-unique2mod2.c: Likewise.
13547 * elf/tst-unique2mod1.c: Likewise.
13548 * elf/tst-unique1mod2.c: Likewise.
13549 * elf/tst-unique1mod1.c: Likewise.
13550 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13551 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13553 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13554 * sysdeps/mach/sysdep.h: Likewise.
13555 * sysdeps/i386/sysdep.h: Likewise.
13556 * sysdeps/i386/i386-mcount.S: Likewise.
13557 * sysdeps/x86_64/_mcount.S: Likewise.
13558 * sysdeps/x86_64/sysdep.h: Likewise.
13559 * sysdeps/sh/_mcount.S: Likewise.
13560 * sysdeps/sh/sysdep.h: Likewise.
13561 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13562 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13563 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13564 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13565 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13566 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13567 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13568 * locale/localeinfo.h: Likewise.
13569 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13570 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13571
13572 2012-07-09 Roland McGrath <roland@hack.frob.com>
13573
13574 [BZ #14336]
13575 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13576 system".
13577 * manual/message.texi (The Uniforum approach): Likewise.
13578 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13579 (glibc iconv Implementation): Likewise.
13580
13581 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13582
13583 [BZ #14337]
13584 * math/s_clog.c (__clog): Avoid scaling a value down where that
13585 could result in underflow.
13586 * math/s_clog10.c (__clog10): Likewise.
13587 * math/s_clog10f.c (__clog10f): Likewise.
13588 * math/s_clog10l.c (__clog10l): Likewise.
13589 * math/s_clogf.c (__clogf): Likewise.
13590 * math/s_clogl.c (__clogl): Likewise.
13591 * math/libm-test.inc (clog_test): Add more tests.
13592 (clog10_test): Likewise.
13593 * sysdeps/i386/fpu/libm-test-ulps: Update.
13594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595
13596 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13597
13598 [BZ #14283]
13599 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13600 by 7 not 8 to examine high bit of fractional part.
13601
13602 [BZ #14042]
13603 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13604 for call to __mcount_internal.
13605 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13606 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13607 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13608
13609 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13610
13611 [BZ #14154]
13612 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13613 approximation for values within 0x1p-13f of an odd multiple of
13614 pi/4.
13615 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13616 exception. Add more tests.
13617 * sysdeps/i386/fpu/libm-test-ulps: Update.
13618
13619 [BZ #6778]
13620 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13621 inputs and return -1 for them. Do not check for +Inf in case not
13622 reachable for +Inf.
13623 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13624 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13626 and return -1 for them. Do not check for +Inf in case not
13627 reachable for +Inf.
13628 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13629 define.
13630 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13631 and return -1 for them. Do not check for +Inf in case not
13632 reachable for +Inf.
13633 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13634 spurious underflow.
13635 * sysdeps/i386/fpu/libm-test-ulps: Update.
13636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13637
13638 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13639
13640 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13641
13642 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13643
13644 [BZ #14157]
13645 [BZ #14331]
13646 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13647 could result in spurious underflow. Scale down values above
13648 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13649 * math/s_csqrtf.c (__csqrtf): Likewise.
13650 * math/s_csqrtl.c (__csqrtl): Likewise.
13651 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13652 spurious underflow.
13653 * sysdeps/i386/fpu/libm-test-ulps: Update.
13654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13655
13656 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13657
13658 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13659 xopen-msg.sed.
13660 * catgets/xopen-msg.awk: New file.
13661 * catgets/xopen-msg.sed: Removed.
13662
13663 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13664 po2text.sed.
13665 * intl/po2test.awk: New file.
13666 * intl/po2test.sed: Removed.
13667
13668 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13669
13670 [BZ #14328]
13671 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13672 or multiply small sinh result by itself.
13673 * math/s_ctanf.c (__ctanf): Likewise.
13674 * math/s_ctanh.c (__ctanh): Likewise.
13675 * math/s_ctanhf.c (__ctanhf): Likewise.
13676 * math/s_ctanhl.c (__ctanhl): Likewise.
13677 * math/s_ctanl.c (__ctanl): Likewise.
13678 * math/libm-test.inc (ctan_test_tonearest): New function.
13679 (ctan_test_towardzero): Likewise.
13680 (ctan_test_downward): Likewise.
13681 (ctan_test_upward): Likewise.
13682 (ctanh_test_tonearest): Likewise.
13683 (ctanh_test_towardzero): Likewise.
13684 (ctanh_test_downward): Likewise.
13685 (ctanh_test_upward): Likewise.
13686 (main): Call these new functions.
13687 * sysdeps/i386/fpu/libm-test-ulps: Update.
13688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13689
13690 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13691
13692 * .gitignore: Delete /ports entry.
13693
13694 2012-07-03 Andreas Jaeger <aj@suse.de>
13695
13696 * po/bg.po: Update from translation team.
13697 * po/cs.po: Likewise.
13698 * po/de.po: Likewise.
13699 * po/hr.po: Likewise.
13700 * po/nl.pl: Likewise.
13701 * po/pl.po: Likewise.
13702 * po/vi.po: Likewise.
13703
13704 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13705
13706 * Makeconfig [!+link] (+link-before-libc): New variable.
13707 [!+link] (+link-after-libc): Likewise.
13708 [!+link] (+link-tests): Likewise.
13709 [!+link] (+link): Define in terms of $(+link-before-libc) and
13710 $(+link-after-libc).
13711 [!+link-static] (+link-static-before-libc): New variable.
13712 [!+link-static] (+link-static-after-libc): Likewise.
13713 [!+link-static] (+link-static-tests): Likewise.
13714 [!+link-static] (+link-static): Define in terms of
13715 $(+link-static-before-libc) and $(+link-static-after-libc).
13716 [build-shared] (link-libc-before-gnulib): New variable.
13717 [build-shared] (link-libc-tests): Likewise.
13718 [build-shared] (link-libc): Define in terms of
13719 $(link-libc-before-gnulib).
13720 [!build-shared] (link-libc-tests): New variable.
13721 (link-libc-static-tests): New variable.
13722 [!gnulib] (gnulib-arch): New variable.
13723 [!gnulib] (gnulib-tests): Likewise.
13724 [!gnulib] (static-gnulib-arch): Likewise.
13725 [!gnulib] (static-gnulib-tests): Likewise.
13726 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13727 Define with "=" instead of ":=".
13728 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13729 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13730 * Rules (binaries-all-notests): New variable.
13731 (binaries-all-tests): Likewise.
13732 (binaries-static-notests): Likewise.
13733 (binaries-static-tests): Likewise.
13734 (binaries-all): Define using $(binaries-all-notests) and
13735 $(binaries-all-tests).
13736 (binaries-static): Define using $(binaries-static-notests) and
13737 $(binaries-static-tests).
13738 (binaries-shared-tests): New variable.
13739 (binaries-shared-notests): Likewise.
13740 (binaries-shared): Remove variable.
13741 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13742 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13743 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13744 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13745 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13746 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13747 * elf/Makefile (sln-modules): New variable.
13748 (extra-objs): Add $(sln-modules:=.o).
13749 (ldconfig-modules): Add static-stubs.
13750 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13751 * elf/static-stubs.c: New file.
13752
13753 [BZ #14283]
13754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13755 by 7 not 8 to examine high bit of fractional part. Use volatile
13756 variables when splitting into final array of floats if
13757 __FLT_EVAL_METHOD__ != 0.
13758 * math/libm-test.inc (cos_test): Add another test.
13759 (sin_test): Likewise.
13760 * sysdeps/i386/fpu/libm-test-ulps: Update.
13761
13762 [BZ #14273]
13763 * math/libm-test.inc (cosh_test): Add more tests.
13764
13765 * version.h (RELEASE): Set to "development".
13766 (VERSION): Set to "2.16.90".
13767
13768 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13769
13770 * NEWS: Update copyright. Remove last-updated date.
13771 Mention math library bug fixes and timezone data changes.
13772 * README: Mention GNU/Hurd, x32, and HPPA support status.
13773
13774 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13775
13776 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13777
13778 2012-06-27 Andreas Jaeger <aj@suse.de>
13779
13780 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13781
13782 2012-06-25 Andreas Jaeger <aj@suse.de>
13783
13784 * sysdeps/s390/fpu/libm-test-ulps: Update.
13785
13786 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13787 Thomas Schwinge <thomas@codesourcery.com>
13788
13789 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13790 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13792 fanotify_mark.
13793
13794 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13795
13796 * sysdeps/mach/start.c: Remove file.
13797 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13798 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13799 * sysdeps/sh/init-first.c: Likewise.
13800
13801 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13802 registers for frame unwinding purposes, add CFI directives.
13803 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13804 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13805 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13806 Likewise.
13807
13808 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13809 __fortify_fail returning.
13810 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13811
13812 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13813 sysdeps/sh/____longjmp_chk.S.
13814 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13815 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13816 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13817 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13818
13819 * sysdeps/sh/abort-instr.h: New file.
13820 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13821 process in case exit returns.
13822
13823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13824 initialize the GOT register before use.
13825
13826 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13827 calculation of ARGC > 4.
13828
13829 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13830 meaningful names to some local labels.
13831
13832 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13833 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13834
13835 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13836 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13837 (__arch_compare_and_exchange_val_16_acq): Likewise.
13838 (__arch_compare_and_exchange_val_32_acq): Likewise.
13839 (atomic_exchange_and_add): Fix gUSA sequence.
13840 (atomic_add): Likewise.
13841 (atomic_add_negative): Likewise.
13842 (atomic_add_zero): Likewise.
13843 (atomic_bit_test_set): Likewise.
13844
13845 2012-06-22 Andreas Schwab <schwab@redhat.com>
13846
13847 [BZ #13579]
13848 * include/link.h (struct link_map): Add l_free_initfini.
13849 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13850 l_initfini.
13851 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13852 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13853 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13854 set.
13855
13856 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13857
13858 * configure.in: Use AC_LANG_SOURCE.
13859 * configure: Regenerate.
13860
13861 2012-06-22 Roland McGrath <roland@hack.frob.com>
13862
13863 * configure.in (libc_cv_localstatedir): New substituted variable.
13864 * configure: Regenerated.
13865 * config.make.in (localstatedir): New variable, substituted from
13866 libc_cv_localstatedir.
13867 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13868 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13869 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13870 * sysdeps/gnu/configure: Regenerated.
13871
13872 2012-06-21 Jeff Law <law@redhat.com>
13873
13874 [BZ #14277]
13875 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13876 free. Simplify list management for _LIBC case.
13877
13878 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13879
13880 [BZ #14273]
13881 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13882 Clear sign bit of 64-bit integer value before comparing against
13883 overflow value.
13884
13885 * sysdeps/mach/configure: Regenerated.
13886
13887 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 [BZ #14278]
13890 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13891
13892 2012-06-21 Jeff Law <law@redhat.com>
13893
13894 [BZ #13882]
13895 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13896 uint16_t for elements in the "seen" array to avoid char overflows.
13897 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13898 * elf/dl-open.c (dl_open_worker): Likewise.
13899
13900 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13901
13902 * scripts/list-sources.sh: Scan PORTS for translations.
13903 * po/libc.pot: Regenerated.
13904
13905 2012-06-21 Andreas Jaeger <aj@suse.de>
13906
13907 [BZ #12194]
13908 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13909 warning.
13910 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13911 * bits/byteswap-16.h (__bswap_16): Likewise.
13912 * bits/byteswap.h (__bswap_constant_16): Likewise.
13913
13914 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13915
13916 [BZ #14117]
13917 * sysdeps/i386/fpu_control.h: Removed.
13918 * sysdeps/x86_64/fpu_control.h: Moved to ...
13919 * sysdeps/x86/fpu_control.h: Here.
13920
13921 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13922 (_FPU_SETCW): Likewise.
13923
13924 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 [BZ #14117]
13927 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13928 * sysdeps/x86/fpu/bits/mathinline.h: This.
13929 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13930
13931 [BZ #14050]
13932 [BZ #14117]
13933 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13934 functions if __x86_64__ is defined.
13935
13936 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13937
13938 * string/endian.h: Add !__ASSEMBLER__ condition for including
13939 conversion interfaces.
13940
13941 2012-06-15 Joseph Myers <joseph@codesourcery.com>
13942
13943 [BZ #14241]
13944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13945 of ABS(x) in calculating zero to negative powers other than odd
13946 integers.
13947 * math/libm-test.inc (pow_test): Add more tests.
13948
13949 2012-06-15 Andreas Jaeger <aj@suse.de>
13950
13951 * manual/contrib.texi (Contributors): Update entry of Liubov
13952 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13953 Machado Filho.
13954
13955 2012-06-15 Cyril Hrubis <metan@ucw.cz>
13956
13957 * string/string.h: Add __wur to GNU version of strerror_r.
13958
13959 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13960
13961 [BZ #14229]
13962 * string/Makefile (tests): Add tst-strtok_r.
13963 * string/tst-strtok_r.c: New file.
13964 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13965 RAX_LP/RDX_LP on SAVE_PTR.
13966
13967 2012-06-14 Roland McGrath <roland@hack.frob.com>
13968
13969 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13970
13971 2012-06-14 Joseph Myers <joseph@codesourcery.com>
13972
13973 * libm_test.inc (csqrt_test): Allow more spurious underflow
13974 exceptions.
13975 (j0_test): Likewise.
13976 (j1_test): Likewise.
13977 (y0_test): Likewise.
13978 (y1_test): Likewise.
13979
13980 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13981
13982 * po/Makefile (libc.pot): Use UTF-8 charset.
13983
13984 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13985
13986 [BZ #14210]
13987 Suppress sign-conversion warning from FD_SET.
13988 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13989 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13990 not unsigned long int.
13991 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13992
13993 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 [BZ #14050]
13996 [BZ #14117]
13997 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13998 __extern_always_inline instead of __extern_inline.
13999 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14000 (__signbit): Likewise.
14001 (__signbitl): Support C++ namespace.
14002 (lrintf): New inline function.
14003 (lrint): Likewise.
14004 (llrintf): Likewise.
14005 (llrint): Likewise.
14006 (fmaxf): Likewise.
14007 (fmax): Likewise.
14008 (fminf): Likewise.
14009 (fmin): Likewise.
14010 (rint): Likewise.
14011 (rintf): Likewise.
14012 (ceil): Likewise.
14013 (ceilf): Likewise.
14014 (floor): Likewise.
14015 (floorf): Likewise.
14016 (nearbyint): Likewise.
14017 (nearbyintf): Likewise.
14018
14019 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14020
14021 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14022 non-default versions.
14023
14024 2012-06-11 Roland McGrath <roland@hack.frob.com>
14025
14026 [BZ #14218]
14027 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14028
14029 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14030
14031 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14032 (FE_UPWARD, FE_DOWNWARD): Don't define.
14033 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14034 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14035
14036 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14037 reading it.
14038 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14039 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14040
14041 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14042
14043 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14045 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14046 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14047
14048 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14049
14050 [BZ #14117]
14051 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14052 * sysdeps/i386/fpu/Implies: New file.
14053 * sysdeps/x86_64/fpu/Implies: Likewise.
14054 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14055 * sysdeps/x86/fpu/bits/fenv.h: This.
14056
14057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14058 __SSE_MATH__.
14059
14060 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14061
14062 [BZ #14134]
14063 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14064 character 0xffff that matches the last element of the
14065 conversion table.
14066
14067 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14068
14069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14070 fmodl commit.
14071
14072 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14073
14074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14075 values higher than 25.6283.
14076
14077 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14078
14079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14080 subnormal exponent extraction and add some __builtin_expect.
14081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14082 Fix for subnormal mantissa calculation.
14083
14084 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14085
14086 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14087 cpu2 is -1 and errno is not ENOSYS.
14088
14089 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14090
14091 [BZ #14117]
14092 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14093 * sysdeps/x86/bits/string.h: This.
14094 * sysdeps/x86_64/bits/string.h: Removed.
14095
14096 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14097 if not compiling for x86-64, but compiling for >= i486.
14098
14099 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14100 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14101
14102 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14103 New macro from Linux kernel 3.4.0.
14104 (FP_XSTATE_MAGIC2): Likewise.
14105 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14106 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14107 (struct _fpx_sw_bytes): New struct.
14108 (struct _xsave_hdr): Likewise.
14109 (struct _ymmh_state): Likewise.
14110 (struct _xstate): Likewise.
14111
14112 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14113 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14114 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14115 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14116 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14117 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14118
14119 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14120 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14121 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14122 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14123 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14124 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14125
14126 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14127
14128 [BZ #13743]
14129 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14130 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14131 (sysdep_headers): Include sys/platform/ppc.h.
14132 * sysdeps/powerpc/test-gettimebase.c: Test for
14133 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14134 * manual/Makefile (appendices): Include platform.texi.
14135 * manual/contrib.texi (Contributors): Update @node pointers.
14136 * manual/maint.texi (Maintenance): Likewise.
14137 (Platform): New node.
14138 * manual/platform.texi: New file. Document the new features.
14139
14140 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14141 Jakub Jelinek <jakub@redhat.com>
14142
14143 [BZ #14188]
14144 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14145 where __builtin_expect is unavailable.
14146
14147 2012-06-03 David S. Miller <davem@davemloft.net>
14148
14149 * stdlib/longlong.h: Updated from GCC.
14150
14151 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14152
14153 [BZ #14042]
14154 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14155 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14156 __mcount_internal.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14158 (GLIBC_2.16): Likewise.
14159
14160 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14161
14162 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14163
14164 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14165
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14167 (default-abi): New variable.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14169 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14170 variable.
14171 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14172 Likewise.
14173 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14174 Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14176 Likewise.
14177
14178 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14179 definition. Document in comment.
14180
14181 2012-06-01 David S. Miller <davem@davemloft.net>
14182
14183 * stdlib/longlong.h: Updated from GCC.
14184
14185 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14186
14187 [BZ #14117]
14188 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14189 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14190 sys/debugreg.h sys/io.h here.
14191 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14192 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14193 sys/io.h.
14194 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14195 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14196 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14197 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14198 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14199 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14200
14201 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14202 Define only if __x86_64__ is defined.
14203
14204 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14205
14206 [BZ #14048]
14207 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14208 Use int64_t for variable i.
14209 * math/libm-test.inc (fmod_test): Add more tests.
14210
14211 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14212 z computation is not scheduled after fetestexcept.
14213 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14214 Use math_force_eval instead of asm to ensure calculation scheduled
14215 before exception test.
14216 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14217 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14218
14219 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14220
14221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14222 computation is not scheduled after fetestexcept.
14223
14224 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14225
14226 [BZ #14117]
14227 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14228 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14229
14230 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14231
14232 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14233 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14234
14235 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14236
14237 [BZ #14117]
14238 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14239 <bits/wordsize.h>.
14240 (__WCHAR_MIN): Support __WORDSIZE == 64.
14241 (__WCHAR_MAX): Likewise.
14242
14243 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14245
14246 [BZ #14183]
14247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14248 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14249
14250 [BZ #14117]
14251 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14252 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14253
14254 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14255 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14256
14257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14258 Defined to 1 if __x86_64__ isn't defined.
14259 (_STAT_VER_LINUX_OLD): New.
14260 (st_atime): Remove duplicate.
14261 (st_mtime): Likewise.
14262 (st_ctime): Likewise.
14263
14264 2012-05-31 David S. Miller <davem@davemloft.net>
14265
14266 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14267 entries.
14268
14269 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14270
14271 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14272 gen-libm-test.pl.
14273
14274 [BZ #14132]
14275 * elf/dl-reloc.c: Include <_itoa.h>.
14276 (_dl_reloc_bad_type): Remove use of INTUSE.
14277 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14278 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14279 * stdio-common/psiginfo.c (psiginfo): Likewise.
14280 * stdio-common/psignal.c (psignal): Likewise.
14281 * string/strsignal.c (strsignal): Likewise.
14282 * include/signal.h (_sys_siglist): Declare hidden proto.
14283 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14284 INTVARDEF with libc_hidden_data_def.
14285 * stdio-common/itoa-udigits.c: Likewise.
14286 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14287 (_itoa_lower_digits_internal): Remove declaration.
14288 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14289 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14290 (_sys_sigabbrev_internal): Remove aliases.
14291 (_sys_siglist): Define hidden alias.
14292
14293 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14294
14295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14296 bits/sysctl.h.
14297
14298 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14299
14300 [BZ #14117]
14301 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14302 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14303
14304 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14305 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14306 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14307 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14308 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14309 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14310
14311 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14312 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14313 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14314
14315 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14316 with __addr.
14317 (insw): Likewise.
14318 (insl): Likewise.
14319 (outsb): Likewise.
14320 (outsw): Likewise.
14321 (outsl): Likewise.
14322
14323 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14324 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14325 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14326
14327 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14328 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14330 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14331 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14332 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14333
14334 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14335 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14336
14337 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14338 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14339
14340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14342 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14343
14344 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14345 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14346 to ...
14347 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14348
14349 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14350 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14351 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14352
14353 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14354 for x86-64.
14355 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14356
14357 2012-05-31 Joseph Myers <joseph@codesourcery.com>
14358
14359 * math/math.h (M_El): Use two more decimal places.
14360 (M_LOG2El): Likewise.
14361 (M_LOG10El): Likewise.
14362 (M_LN2l): Likewise.
14363 (M_LN10l): Likewise.
14364 (M_PIl): Likewise.
14365 (M_PI_2l): Likewise.
14366 (M_PI_4l): Likewise.
14367 (M_1_PIl): Likewise.
14368 (M_2_PIl): Likewise.
14369 (M_2_SQRTPIl): Likewise.
14370 (M_SQRT2l): Likewise.
14371 (M_SQRT1_2l): Likewise.
14372
14373 2012-05-31 David S. Miller <davem@davemloft.net>
14374
14375 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14376 values between float registers.
14377 * sysdeps/sparc/sparc64/memset.S: Likewise.
14378 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14379
14380 2012-05-31 Mike Frysinger <vapier@gentoo.org>
14381
14382 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14383 -D_FORTIFY_SOURCE=1.
14384 (CPPFLAGS-tst-longjmp_chk.c): Define.
14385 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14386 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14387 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14388 CFLAGS-tst-wchar-h.c.
14389
14390 2012-05-31 Marek Polacek <polacek@redhat.com>
14391
14392 [BZ #14132]
14393 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14394 __endmntent_internal): Remove declaration.
14395 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14396 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14397 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14398
14399 2012-05-30 David S. Miller <davem@davemloft.net>
14400
14401 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14402 (___Q_simulate_exceptions): Use real FP ops rather than writing
14403 into the %fsr.
14404 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14405 Likewise.
14406
14407 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 [BZ #14117]
14410 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14411 * sysdeps/x86/bits/xtitypes.h: This.
14412
14413 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14414 * sysdeps/x86/bits/wordsize.h: This.
14415
14416 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14417 * sysdeps/x86/bits/huge_vall.h: This.
14418
14419 * sysdeps/i386/bits/select.h: Removed.
14420 * sysdeps/x86_64/bits/select.h: Renamed to ...
14421 * sysdeps/x86/bits/select.h: This.
14422
14423 * sysdeps/i386/bits/setjmp.h: Removed.
14424 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14425 * sysdeps/x86/bits/setjmp.h: This.
14426
14427 * sysdeps/i386/bits/mathdef.h: Removed.
14428 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14429 * sysdeps/x86/bits/mathdef.h: This.
14430
14431 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14432
14433 [BZ #14132]
14434 * include/sys/socket.h (__connect_internal)
14435 (__libc_sa_len_internal): Remove declaration.
14436 (__connect, __libc_sa_len): Declare hidden_proto.
14437 (SA_LEN): Remove use of INTUSE.
14438 * socket/connect.c: Add libc_hidden_def.
14439 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14440 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14441 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14442 alias.
14443 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14445 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14446 of adding _internal alias.
14447
14448 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14449
14450 [BZ #14117]
14451 * sysdeps/i386/bits/link.h: Removed.
14452 * sysdeps/i386/bits/linkmap.h: Likewise.
14453 * sysdeps/x86_64/bits/link.h: Renamed to ...
14454 * sysdeps/x86/bits/link.h: This.
14455 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14456 * sysdeps/x86/bits/linkmap.h: This.
14457
14458 * sysdeps/i386/bits/endian.h: Removed.
14459 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14460 * sysdeps/x86/bits/endian.h: This.
14461
14462 * sysdeps/i386/bits/byteswap.h: Removed.
14463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14464 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14465 * sysdeps/x86/bits/byteswap.h: This.
14466 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14467 * sysdeps/x86/bits/byteswap-16.h: This.
14468 * sysdeps/i386/Implies: Add x86.
14469 * sysdeps/x86_64/Implies: Likewise.
14470
14471 2012-05-30 David S. Miller <davem@davemloft.net>
14472
14473 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14474 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14475 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14476 (FP_TRAPPING_EXCEPTIONS): Define.
14477 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14478 (FP_TRAPPING_EXCEPTIONS): Define.
14479 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14480 subnormals only when inexact has been signalled or underflow
14481 exceptions are enabled.
14482 (_FP_PACK_CANONICAL): Likewise.
14483
14484 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14485
14486 [BZ #14183]
14487 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14488 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14489
14490 2012-05-30 Richard Henderson <rth@twiddle.net>
14491
14492 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14493 with #ifndef NOT_IN_libc.
14494
14495 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14496 marked to avoid plt entry.
14497
14498 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14499
14500 [BZ #14112]
14501 * Makeconfig (default-abi): New macro.
14502 (abi-includes): Likewise.
14503 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14504 $(abi-$(default-abi)-lib-soname) for soname if defined.
14505 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14506 abi-variants.
14507 * Makefile (installed-stubs): Likewise.
14508 * include/stubs-biarch.h: Removed.
14509 * scripts/lib-names.awk: Only handle one library at a time.
14510 * scripts/soversions.awk: Remove WORDSIZE support.
14511 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14512 entries.
14513 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14514 Removed.
14515 (syscall-list-default-condition): Likewise.
14516 (syscall-list-default-condition): Likewise.
14517 (syscall-list-includes): Likewise.
14518 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14519 syscall-list-* with abi-*. Handle undefined abi-variants.
14520 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14521 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14522 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14523 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14524 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14525 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14526 Removed.
14527 (syscall-list-32-options): Likewise.
14528 (syscall-list-32-condition): Likewise.
14529 (syscall-list-64-options): Likewise.
14530 (syscall-list-64-condition): Likewise.
14531 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14532 macro.
14533 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14534 Renamed to ...
14535 (abi-*): This.
14536 (abi-64-ld-soname): New macro.
14537 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14538 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14539 Renamed to ...
14540 (abi-*): This.
14541 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14542 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14543
14544 2012-05-30 Joseph Myers <joseph@codesourcery.com>
14545
14546 * sysdeps/unix/sysv/linux/kernel-features.h
14547 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14548 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14549 include <kernel-features.h>.
14550 [!__NR_ftruncate64]: Remove conditional code.
14551 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14552 [__NR_ftruncate64]: Make code unconditional.
14553 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14554 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14555 include <kernel-features.h>.
14556 [!__NR_ftruncate64]: Remove conditional code.
14557 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14558 [__NR_ftruncate64]: Make code unconditional.
14559 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14561 include <kernel-features.h>.
14562 [!__NR_ftruncate64]: Remove conditional code.
14563 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14564 [__NR_ftruncate64]: Make code unconditional.
14565 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14567 include <kernel-features.h>.
14568 [!__NR_ftruncate64]: Remove conditional code.
14569 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14570 [__NR_ftruncate64]: Make code unconditional.
14571 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14572
14573 * configure.in (libc_cv_fpie): Weaken to a compile test using
14574 LIBC_TRY_CC_OPTION.
14575 * configure: Regenerated.
14576
14577 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14578
14579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14583 Refreshed.
14584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14590 Refreshed.
14591
14592 2012-05-27 David S. Miller <davem@davemloft.net>
14593
14594 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14595 (___Q_zero): New.
14596 (__Q_simulate_exceptions): Return void. Change to simulate
14597 exceptions by writing into the %fsr.
14598 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14599 (__Qp_handle_exceptions): Likewise.
14600 (numbers): Delete.
14601 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14602 __Qp_handle_exceptions.
14603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14604 __Qp_handle_exceptions.
14605 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14606 as unused and give dummy FP_RND_NEAREST initializer.
14607 (FP_INHIBIT_RESULTS): Define.
14608 (___Q_simulate_exceptions): Update declaration.
14609 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14610 formatting.
14611 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14612 as unused and give dummy FP_RND_NEAREST initializer.
14613 (__Qp_handle_exceptions): Update declaration.
14614 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14615 formatting.
14616
14617 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14618
14619 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14620 the temporary FPU control word.
14621 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14622 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14623 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14624 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14625 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14626 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14627 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14628 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14629 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14630 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14631 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14632
14633 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14634
14635 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14636 fields.
14637
14638 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14639
14640 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14641 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14642 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14643 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14644 Likewise.
14645 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14646 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14647 Likewise.
14648
14649 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14650
14651 * po/h.po: Update from translation team.
14652
14653 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14654
14655 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14656
14657 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14658 handling of denormals.
14659 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14660 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14662 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14666 Likewise.
14667
14668 2012-05-26 Marek Polacek <polacek@redhat.com>
14669
14670 [BZ #14152]
14671 * math/libm-test.inc (fma_test): Don't always expect underflow
14672 exception.
14673
14674 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14675
14676 [BZ #12416]
14677 * elf/tst-execstack.c: Include stackinfo.h.
14678 (do_test): Adjust test case to ensure that pthread_getattr_np
14679 behaviour remains the same after marking stack executable.
14680
14681 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14682
14683 * sysdeps/unix/sysv/linux/kernel-features.h
14684 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14685 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14686 kernel-features.h.
14687 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14688 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14689 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14690 kernel-features.h.
14691 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14692 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14693
14694 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 * configure.in: Define the default includes to being none.
14697 * configure: Regenerated.
14698
14699 2012-05-25 Roland McGrath <roland@hack.frob.com>
14700
14701 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14702 * sysdeps/x86_64/setjmp.S: Likewise.
14703 * sysdeps/i386/bsd-setjmp.S: Likewise.
14704 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14705 * sysdeps/i386/setjmp.S: Likewise.
14706 * sysdeps/i386/__longjmp.S: Likewise.
14707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14708 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14709
14710 * include/stap-probe.h: New file.
14711 * configure.in: Handle --enable-systemtap.
14712 * configure: Regenerated.
14713 * config.h.in (USE_STAP_PROBE): New #undef.
14714 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14715 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14716 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14717
14718 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14719
14720 [BZ #13717]
14721 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14722 to 2.4.0 where earlier.
14723 * sysdeps/unix/sysv/linux/configure: Regenerated.
14724 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14725 <kernel-features.h>.
14726 [__ASSUME_32BITUIDS]: Make code unconditional.
14727 [!__ASSUME_32BITUIDS]: Remove conditional code.
14728 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14729 <kernel-features.h>.
14730 [__ASSUME_32BITUIDS]: Make code unconditional.
14731 [!__ASSUME_32BITUIDS]: Remove conditional code.
14732 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14733 [__ASSUME_32BITUIDS]: Make code unconditional.
14734 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14735 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14736 <kernel-features.h>.
14737 [__ASSUME_32BITUIDS]: Make code unconditional.
14738 [!__ASSUME_32BITUIDS]: Remove conditional code.
14739 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14740 <kernel-features.h>.
14741 [__ASSUME_32BITUIDS]: Make code unconditional.
14742 [!__ASSUME_32BITUIDS]: Remove conditional code.
14743 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14744 <kernel-features.h>.
14745 [__ASSUME_32BITUIDS]: Make code unconditional.
14746 [!__ASSUME_32BITUIDS]: Remove conditional code.
14747 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14748 <kernel-features.h>.
14749 [__ASSUME_32BITUIDS]: Make code unconditional.
14750 [!__ASSUME_32BITUIDS]: Remove conditional code.
14751 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14752 <kernel-features.h>.
14753 [__ASSUME_32BITUIDS]: Make code unconditional.
14754 [!__ASSUME_32BITUIDS]: Remove conditional code.
14755 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14756 <kernel-features.h>.
14757 [__ASSUME_32BITUIDS]: Make code unconditional.
14758 [!__ASSUME_32BITUIDS]: Remove conditional code.
14759 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14760 <kernel-features.h>.
14761 [__ASSUME_32BITUIDS]: Make code unconditional.
14762 [!__ASSUME_32BITUIDS]: Remove conditional code.
14763 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14764 <kernel-features.h>.
14765 [__ASSUME_32BITUIDS]: Make code unconditional.
14766 [!__ASSUME_32BITUIDS]: Remove conditional code.
14767 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14768 <kernel-features.h>.
14769 [__ASSUME_32BITUIDS]: Make code unconditional.
14770 [!__ASSUME_32BITUIDS]: Remove conditional code.
14771 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14772 <kernel-features.h>.
14773 [__ASSUME_32BITUIDS]: Make code unconditional.
14774 [!__ASSUME_32BITUIDS]: Remove conditional code.
14775 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14776 <kernel-features.h>.
14777 [__NR_setresgid] (__setresgid): Do not declare.
14778 [__ASSUME_32BITUIDS]: Make code unconditional.
14779 [!__ASSUME_32BITUIDS]: Remove conditional code.
14780 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14781 <kernel-features.h>.
14782 [__NR_setresuid] (__setresuid): Do not declare.
14783 [__ASSUME_32BITUIDS]: Make code unconditional.
14784 [!__ASSUME_32BITUIDS]: Remove conditional code.
14785 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14786 <kernel-features.h>.
14787 [__ASSUME_32BITUIDS]: Make code unconditional.
14788 [!__ASSUME_32BITUIDS]: Remove conditional code.
14789 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14790 <kernel-features.h>.
14791 [__ASSUME_32BITUIDS]: Make code unconditional.
14792 [!__ASSUME_32BITUIDS]: Remove conditional code.
14793 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14794 <kernel-features.h>.
14795 [__ASSUME_32BITUIDS]: Make code unconditional.
14796 [!__ASSUME_32BITUIDS]: Remove conditional code.
14797 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14798 <kernel-features.h>.
14799 [__ASSUME_32BITUIDS]: Make code unconditional.
14800 [!__ASSUME_32BITUIDS]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14802 <kernel-features.h>.
14803 [__ASSUME_32BITUIDS]: Make code unconditional.
14804 [!__ASSUME_32BITUIDS]: Remove conditional code.
14805 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14806 <kernel-features.h>.
14807 [__ASSUME_32BITUIDS]: Make code unconditional.
14808 [!__ASSUME_32BITUIDS]: Remove conditional code.
14809 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14810 <kernel-features.h>.
14811 [__ASSUME_32BITUIDS]: Make code unconditional.
14812 [!__ASSUME_32BITUIDS]: Remove conditional code.
14813 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14814 <kernel-features.h>.
14815 [__ASSUME_32BITUIDS]: Make code unconditional.
14816 [!__ASSUME_32BITUIDS]: Remove conditional code.
14817 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14818 <kernel-features.h>.
14819 [__ASSUME_32BITUIDS]: Make code unconditional.
14820 [!__ASSUME_32BITUIDS]: Remove conditional code.
14821 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14822 <kernel-features.h>.
14823 [__ASSUME_32BITUIDS]: Make code unconditional.
14824 [!__ASSUME_32BITUIDS]: Remove conditional code.
14825 * sysdeps/unix/sysv/linux/kernel-features.h
14826 (__ASSUME_SETRESUID_SYSCALL): Remove.
14827 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14828 (__ASSUME_32BITUIDS): Likewise.
14829 (__ASSUME_LDT_WORKS): Likewise.
14830 (__ASSUME_O_DIRECTORY): Likewise.
14831 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14832 architecture but not kernel version.
14833 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14834 (__ASSUME_MMAP2_SYSCALL): Likewise.
14835 (__ASSUME_STAT64_SYSCALL): Likewise.
14836 (__ASSUME_IPC64): Likewise.
14837 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14838 <kernel-features.h>.
14839 [__ASSUME_32BITUIDS]: Make code unconditional.
14840 [!__ASSUME_32BITUIDS]: Remove conditional code.
14841 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14842 <kernel-features.h>.
14843 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14844 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14845 132096]: Remove conditional code.
14846 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14847 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14848 <kernel-features.h>.
14849 [__ASSUME_32BITUIDS]: Make code unconditional.
14850 [!__ASSUME_32BITUIDS]: Remove conditional code.
14851 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14852 <kernel-features.h>.
14853 [__ASSUME_32BITUIDS]: Make code unconditional.
14854 [!__ASSUME_32BITUIDS]: Remove conditional code.
14855 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14856 <kernel-features.h>.
14857 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14858 unconditional.
14859 (__setresgid): Do not declare.
14860 [__ASSUME_32BITUIDS]: Make code unconditional.
14861 [!__ASSUME_32BITUIDS]: Remove conditional code.
14862 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14863 <kernel-features.h>.
14864 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14865 unconditional.
14866 (__setresuid): Do not declare.
14867 [__ASSUME_32BITUIDS]: Make code unconditional.
14868 [!__ASSUME_32BITUIDS]: Remove conditional code.
14869 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14870 <kernel-features.h>.
14871 [__ASSUME_32BITUIDS]: Make code unconditional.
14872 [!__ASSUME_32BITUIDS]: Remove conditional code.
14873 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14874 <kernel-features.h>.
14875 [__ASSUME_32BITUIDS]: Make code unconditional.
14876 [!__ASSUME_32BITUIDS]: Remove conditional code.
14877
14878 2012-05-25 Richard Henderson <rth@twiddle.net>
14879
14880 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14881 dl_hwcap to ifunc resolver.
14882 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14883 elf_ifunc_invoke.
14884 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14885 dl_hwcap to ifunc resolver.
14886 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14887
14888 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14889
14890 [BZ #14153]
14891 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14892 for |x| <= 2**-26, not 2**-57.
14893 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14894 exception.
14895
14896 2012-05-24 Jeff Law <law@redhat.com>
14897
14898 * stdio-common/Makefile (tests): Add bug25.
14899 * stdio-common/bug25.c: New test.
14900
14901 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14902
14903 [BZ #13576]
14904 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14905 multiple of MALLOC_ALIGNMENT in size.
14906 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14907
14908 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14909
14910 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14911 Require >= 256.
14912 (FILENAME_MAX): Use macro-int-constant.
14913 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14914 (_IOFBF): Use macro-int-constant.
14915 (_IOLBF): Likewise.
14916 (_IONBF): Likewise.
14917 (SEEK_CUR): Likewise.
14918 (SEEK_END): Likewise.
14919 (SEEK_SET): Likewise.
14920 (TMP_MAX): Likewise.
14921 (EOF): Use macro-int-constant. Require < 0.
14922 (NULL): Use macro-constant. Require == 0.
14923 (stdin): Require type to be FILE *.
14924 (stdout): Likewise.
14925 (stderr): Likewise.
14926 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14927 macro-int-constant.
14928 (EXIT_SUCCESS): Likewise.
14929 (NULL): Use macro-constant. Require == 0.
14930 (RAND_MAX): Use macro-int-constant.
14931 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14932 [C99-based standards] (strtof): Require function.
14933 [C99-based standards] (strtold): Likewise.
14934 [C99-based standards] (strtoll): Likewise.
14935 [C99-based standards] (strtoull): Likewise.
14936 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14937 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14938 [ISO || ISO99 || ISO11] (math.h): Likewise.
14939 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14940 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14942
14943 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14944
14945 [BZ #14132]
14946 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14947 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14948 * intl/dgettext.c (DCGETTEXT): Likewise.
14949 * intl/gettext.c (DCGETTEXT): Likewise.
14950 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14951 * posix/regex_internal.h (gettext): Likewise.
14952 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14953 Remove declaration.
14954 * include/argz.h (__argz_count_internal)
14955 (__argz_stringify_internal): Remove declaration.
14956 (__argz_count, __argz_stringify): Declare hidden proto.
14957 * intl/dcgettext.c: Remove use of INTDEF.
14958 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14959 * string/argz-stringify.c: Likewise.
14960 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14961 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14962 Declare hidden proto.
14963 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14964 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14965 Declare hidden proto.
14966 * include/stdio.h (__asprintf_internal): Don't declare.
14967 (__asprintf): Don't define as macro. Declare hidden proto.
14968 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14969 (__fsetlocking): Declare hidden proto.
14970 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14971 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14972 hidden proto.
14973 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14974 (_IO_setlinebuf): Remove use of INTUSE.
14975 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14976 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14977 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14978 Remove declaration.
14979 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14980 (_IO_do_flush): Remove use of INTUSE.
14981 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14982 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14983 (_IO_adjust_column, _IO_least_wmarker)
14984 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14985 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14986 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14987 (_IO_default_doallocate, _IO_wdefault_doallocate)
14988 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14989 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14990 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14991 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14992 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14993 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14994 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14995 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14996 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14997 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14998 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14999 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15000 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15001 proto.
15002 (_IO_flush_all_internal, _IO_adjust_column_internal)
15003 (_IO_default_uflow_internal, _IO_default_finish_internal)
15004 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15005 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15006 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15007 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15008 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15009 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15010 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15011 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15012 (_IO_file_close_internal, _IO_file_close_it_internal)
15013 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15014 (_IO_file_init_internal, _IO_file_attach_internal)
15015 (_IO_file_fopen_internal, _IO_file_read_internal)
15016 (_IO_file_sync_internal, _IO_file_seek_internal)
15017 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15018 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15019 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15020 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15021 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15022 (_IO_list_all_internal, _IO_link_in_internal)
15023 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15024 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15025 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15026 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15027 (_IO_do_write_internal, _IO_padn_internal)
15028 (_IO_getline_info_internal, _IO_getline_internal)
15029 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15030 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15031 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15032 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15033 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15034 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15035 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15036 with libc_hidden_ver, remove use of INTUSE.
15037 * libio/genops.c: Likewise.
15038 * libio/freopen.c: Likewise.
15039 * libio/freopen64.c: Likewise.
15040 * libio/iofclose.c: Likewise.
15041 * libio/iofdopen.c: Likewise.
15042 * libio/iofflush.c: Likewise.
15043 * libio/iofflush_u.c: Likewise.
15044 * libio/iofgets.c: Likewise.
15045 * libio/iofgets_u.c: Likewise.
15046 * libio/iofopen.c: Likewise.
15047 * libio/iofopncook.c: Likewise.
15048 * libio/iofread.c: Likewise.
15049 * libio/iofread_u.c: Likewise.
15050 * libio/ioftell.c: Likewise.
15051 * libio/iofwrite.c: Likewise.
15052 * libio/iogetline.c: Likewise.
15053 * libio/iogets.c: Likewise.
15054 * libio/iogetwline.c: Likewise.
15055 * libio/iopadn.c: Likewise.
15056 * libio/iopopen.c: Likewise.
15057 * libio/ioseekoff.c: Likewise.
15058 * libio/ioseekpos.c: Likewise.
15059 * libio/iosetbuffer.c: Likewise.
15060 * libio/iosetvbuf.c: Likewise.
15061 * libio/ioungetc.c: Likewise.
15062 * libio/ioungetwc.c: Likewise.
15063 * libio/iovdprintf.c: Likewise.
15064 * libio/iovsprintf.c: Likewise.
15065 * libio/iovsscanf.c: Likewise.
15066 * libio/memstream.c: Likewise.
15067 * libio/obprintf.c: Likewise.
15068 * libio/oldfileops.c: Likewise.
15069 * libio/oldiofclose.c: Likewise.
15070 * libio/oldiofdopen.c: Likewise.
15071 * libio/oldiofopen.c: Likewise.
15072 * libio/oldiopopen.c: Likewise.
15073 * libio/oldstdfiles.c: Likewise.
15074 * libio/putc.c: Likewise.
15075 * libio/setbuf.c: Likewise.
15076 * libio/setlinebuf.c: Likewise.
15077 * libio/stdfiles.c: Likewise.
15078 * libio/strops.c: Likewise.
15079 * libio/vasprintf.c: Likewise.
15080 * libio/vscanf.c: Likewise.
15081 * libio/vsnprintf.c: Likewise.
15082 * libio/vswprintf.c: Likewise.
15083 * libio/wfiledoalloc.c: Likewise.
15084 * libio/wfileops.c: Likewise.
15085 * libio/wgenops.c: Likewise.
15086 * libio/wmemstream.c: Likewise.
15087 * libio/wstrops.c: Likewise.
15088 * libio/__fpurge.c: Likewise.
15089 * libio/__fsetlocking.c: Likewise.
15090 * assert/assert.c: Likewise.
15091 * debug/fgets_chk.c: Likewise.
15092 * debug/fgets_u_chk.c: Likewise.
15093 * debug/fread_chk.c: Likewise.
15094 * debug/fread_u_chk.c: Likewise.
15095 * debug/gets_chk.c: Likewise.
15096 * debug/obprintf_chk.c: Likewise.
15097 * debug/vasprintf_chk.c: Likewise.
15098 * debug/vdprintf_chk.c: Likewise.
15099 * debug/vsnprintf_chk.c: Likewise.
15100 * debug/vsprintf_chk.c: Likewise.
15101 * malloc/mtrace.c: Likewise.
15102 * misc/error.c: Likewise.
15103 * misc/syslog.c: Likewise.
15104 * stdio-common/asprintf.c: Likewise.
15105 * stdio-common/fxprintf.c: Likewise.
15106 * stdio-common/getw.c: Likewise.
15107 * stdio-common/isoc99_fscanf.c: Likewise.
15108 * stdio-common/isoc99_scanf.c: Likewise.
15109 * stdio-common/isoc99_vfscanf.c: Likewise.
15110 * stdio-common/isoc99_vscanf.c: Likewise.
15111 * stdio-common/isoc99_vsscanf.c: Likewise.
15112 * stdio-common/printf-prs.c: Likewise.
15113 * stdio-common/printf_fp.c: Likewise.
15114 * stdio-common/printf_fphex.c: Likewise.
15115 * stdio-common/printf_size.c: Likewise.
15116 * stdio-common/putw.c: Likewise.
15117 * stdio-common/scanf.c: Likewise.
15118 * stdio-common/sprintf.c: Likewise.
15119 * stdio-common/tmpfile.c: Likewise.
15120 * stdio-common/vfprintf.c: Likewise.
15121 * stdio-common/vfscanf.c: Likewise.
15122 * stdlib/strfmon_l.c: Likewise.
15123 * sunrpc/openchild.c: Likewise.
15124 * sunrpc/xdr_stdio.c: Likewise.
15125 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15126 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15127
15128 2012-05-24 Roland McGrath <roland@hack.frob.com>
15129
15130 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15131
15132 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15133 in the third column, to generate for the shared library an IFUNC
15134 that uses _dl_vdso_vsym.
15135 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15136 * Makeconfig (object-suffixes-noshared): New variable.
15137
15138 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15139 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15140 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15141 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15142
15143 [BZ #14132]
15144 * include/sys/time.h (__gettimeofday): Remove macro.
15145 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15146 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15147 Remove INTDEF.
15148 (__gettimeofday): Add libc_hidden_def.
15149 (gettimeofday): Add libc_hidden_weak.
15150 * sysdeps/mach/gettimeofday.c: Likewise.
15151 * sysdeps/posix/gettimeofday.c: Likewise.
15152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15155 (__gettimeofday_internal): Remove strong_alias.
15156 (__gettimeofday): Add libc_hidden_def.
15157 (gettimeofday): Add libc_hidden_weak.
15158 * sysdeps/unix/syscalls.list (gettimeofday):
15159 Remove __gettimeofday_internal alias.
15160
15161 2012-05-24 Daniel Jacobowitz <drow@false.org>
15162 H.J. Lu <hongjiu.lu@intel.com>
15163
15164 [BZ #12495]
15165 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15166 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15167 (largebin_index_32_big): New.
15168 (largebin_index): Use it for 16-byte alignment.
15169 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15170 correction with front_misalign.
15171
15172 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15176 Likewise.
15177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15178 Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15180 Likewise.
15181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15182 Likewise.
15183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15184 Likewise.
15185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15188 Likewise.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15190 Likewise.
15191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15192 Likewise.
15193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15194 Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15196 Likewise.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15198 Likewise.
15199
15200 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15201 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15202
15203 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15204
15205 [BZ #10846]
15206 [BZ #14036]
15207 * math/libm-test.inc (exp_test): Add test from bug 14036.
15208 (pow_test): Add test from bug 10846.
15209
15210 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15211 and other flags.
15212 (special_function): Do not include flags in test name.
15213 (parse_args): Likewise.
15214 * sysdeps/i386/fpu/libm-test-ulps: Update.
15215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15216 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15217 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15219
15220 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15221 exceptions.
15222 * math/libm-test.inc ("Philosophy"): Update comment about
15223 exception testing.
15224 (UNDERFLOW_EXCEPTION): New macro.
15225 (UNDERFLOW_EXCEPTION_OK): Likewise.
15226 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15227 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15228 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15229 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15230 (INVALID_EXCEPTION_OK): Update value.
15231 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15232 (OVERFLOW_EXCEPTION_OK): Likewise.
15233 (IGNORE_ZERO_INF_SIGN): Likewise.
15234 (test_exceptions): Handle underflow exceptions.
15235 (acos_test): Update for underflow exception expectations.
15236 (cexp_test): Likewise.
15237 (clog_test): Likewise.
15238 (clog10_test): Likewise.
15239 (csqrt_test): Likewise.
15240 (ctan_test): Likewise.
15241 (ctanh_test): Likewise.
15242 (exp_test): Likewise.
15243 (exp10_test): Likewise.
15244 (exp2_test): Likewise.
15245 (expm1_test): Likewise.
15246 (fma_test): Likewise.
15247 (j0_test): Likewise.
15248 (jn_test): Likewise.
15249 (nexttoward_test): Likewise.
15250 (pow_test): Likewise.
15251 (scalbn_test): Likewise.
15252 (scalbln_test): Likewise.
15253 (tan_test): Likewise.
15254 (y1_test): Likewise.
15255 * sysdeps/i386/fpu/libm-test-ulps: Update.
15256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15257
15258 2012-05-23 David S. Miller <davem@davemloft.net>
15259
15260 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15261 (__libc_sigaction): Remove unused local variables.
15262
15263 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15264
15265 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15266
15267 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15268
15269 mktime: avoid signed integer overflow
15270 * time/mktime.c (__mktime_internal): Do not mishandle the case
15271 where diff == INT_MIN.
15272
15273 mktime: simplify computation of average
15274 * time/mktime.c (ranged_convert): Use new time_t_avg function
15275 instead of rolling our own (probably-slower) code.
15276
15277 mktime: do not assume signed right shift propagates sign bit
15278 * time/mktime.c (isdst_differ): New static function.
15279 (__mktime_internal): No need to normalize tm_isdst now.
15280 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15281 tm_isdst values.
15282
15283 mktime: merge another wrapv change from gnulib
15284 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15285 from some compilers.
15286
15287 mktime: remove incorrect attempt at unusual arithmetics
15288 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15289 The code didn't really work on such machines anyway.
15290 (TYPE_MINIMUM): Assume two's complement.
15291 (twos_complement_arithmetic): Verify that long_int and time_t
15292 are two's complement (or unsigned, in the latter case).
15293
15294 mktime: check signed shifts on long_int and time_t, too
15295 * time/mktime.c (SHR): Check that shifts work as desired
15296 on the types long_int and time_t too, as SHR is used on
15297 such types.
15298
15299 mktime: do not assume 'long' is wide enough
15300 * time/mktime.c (verify): Move decl up.
15301 (long_int): New type.
15302 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15303 to remove assumption in the code that 'long' is wide enough to
15304 store year values. This assumption is not true on x32 and on
15305 some non-glibc platforms.
15306
15307 mktime: merge wrapv change from gnulib
15308 * time/mktime.c (WRAPV): New macro.
15309 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15310 (guess_time_tm, __mktime_internal): Do not assume that signed
15311 integer overflow wraps around; modern compilers generate code
15312 where this assumption is no longer valid.
15313
15314 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15315
15316 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15317 Replace "jmp L(pseudo_end)" with "ret".
15318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15319 Likewise.
15320
15321 2012-05-23 Andreas Jaeger <aj@suse.de>
15322
15323 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15324 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15325
15326 2012-05-23 Andreas Jaeger <aj@suse.de>
15327 Maximilian Attems <max@stro.at>
15328
15329 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15330 New macros.
15331
15332 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15333
15334 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15335 code so that pseudo_end is just ret and the stack pointer is
15336 correct also for static library in error case.
15337
15338 2012-05-23 Joseph Myers <joseph@codesourcery.com>
15339
15340 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15341 move to syscalls.list.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15346
15347 * manual/install.texi (Running make install): Do not mention Linux
15348 kernel version for which pt_chown is not needed.
15349 (Linux): Do not mention problems with nscd with 2.0 kernels.
15350 * INSTALL: Regenerated.
15351
15352 2012-05-23 Andreas Jaeger <aj@suse.de>
15353
15354 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15355 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15356 macro.
15357 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15358 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15359 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15360 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15361 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15362 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15364 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15365 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15366 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15367 * sysdeps/unix/sysv/linux/bits/in.h
15368 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15369
15370 2012-05-22 Roland McGrath <roland@hack.frob.com>
15371
15372 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15373 (PREPARE_VERSION): Just use assert instead, it will be elided
15374 under [NDEBUG] anyway.
15375
15376 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15377
15378 * sysdeps/unix/sysv/linux/Makefile: Include
15379 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15380 (sysdep_routines): Remove sysctl.
15381 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15382 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15383 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15384 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15385 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15386
15387 2012-05-22 Andreas Jaeger <aj@suse.de>
15388
15389 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15390 that pseudo_end is just ret and the stack pointer is correct also
15391 for static library in error case.
15392
15393 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15394
15395 [BZ #14122]
15396 * nss/nsswitch.c (defconfig_entries): New variable.
15397 (__nss_database_lookup): Don't leak defconfig entries.
15398 (nss_parse_service_list): Don't leak on error paths.
15399 (free_database_entries): New function.
15400 (free_defconfig): New function.
15401 (free_mem): Move common code to free_database_entries.
15402
15403 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15406 Add arch_prctl.
15407 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15408
15409 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15410 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15412 New macro.
15413 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15414 (INTERNAL_SYSCALL_TYPES): Likewise.
15415 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15416 (LOAD_REGS_TYPES_[1-6]): Likewise.
15417 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15418 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15419
15420 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15421
15422 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15423 copysignl for GLIBC_2_0.
15424 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15425 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15427 logbl for GLIBC_2_0.
15428 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15429 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15430
15431 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15432
15433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15434 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15435
15436 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15437 Use "neg %eax".
15438
15439 * time/mktime.c: Update copyright years.
15440
15441 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15442
15443 mktime: merge comment-quoting-style change from gnulib
15444 * time/mktime.c: Quote 'like this' in comments.
15445 The GNU coding standards suggest that we no longer quote `like this',
15446 as "`" and "'" are typically rendered asymmetrically nowadays.
15447 The typical gnulib style is to quote 'like this' when quoting
15448 code, and "like this" when quoting English.
15449
15450 * time/mktime.c (compile-command): Add "-I.".
15451
15452 mktime: merge mktime-internal.h change from gnulib
15453 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15454
15455 mktime: merge time_r change from gnulib
15456 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15457
15458 mktime: merge DEBUG change from gnulib
15459 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15460 case system <time.h> has a #define.
15461
15462 mktime: merge <sys/types.h> change from gnulib
15463 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15464 since <time.t> is now guaranteed to define time_t.
15465
15466 mktime: merge HAVE_CONFIG_H change from gnulib
15467 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15468
15469 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15470
15471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15472 Use "neg %eax".
15473
15474 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15475 __rlim_t cast.
15476 (struct rusage): Use anonymous union to pad each field to
15477 __syscall_slong_t.
15478
15479 2012-05-21 David S. Miller <davem@davemloft.net>
15480
15481 * Makefules (o-iterator): Remove .s cases.
15482 (compile-command.s): Delete.
15483 (COMPILE.s): Delete.
15484 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15485
15486 2012-05-21 Joseph Myers <joseph@codesourcery.com>
15487
15488 * configure.in (libc_cv_predef_stack_protector): Only consider
15489 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15490 * configure: Regenerated.
15491
15492 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15493
15494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15495 New macro. Use R*LP on int and pointer.
15496 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15497 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15498 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15499 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15500
15501 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15502 [__WORDSIZE_TIME64_COMPAT32] instead of
15503 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15504 (struct utmp): Likewise.
15505 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15506 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15507 Renamed to ...
15508 (__WORDSIZE_TIME64_COMPAT32): This.
15509 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15510 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15511 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15512 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15513 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15514 (__WORDSIZE_TIME64_COMPAT32): New macro.
15515
15516 2012-05-21 Andreas Jaeger <aj@suse.de>
15517
15518 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15519 only if [SHARED]. Add prototype for __wcschr_ia32.
15520
15521 2012-05-21 Roland McGrath <roland@hack.frob.com>
15522
15523 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15524 of %rbp unmolested in the jmp_buf while mangling the low bits.
15525 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15526 unmolested high bits of %rbp while demangling the low bits.
15527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15528
15529 2012-05-21 Andreas Jaeger <aj@suse.de>
15530
15531 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15532 * sunrpc/svc_simple.c: Use it for registerrpc.
15533 * sunrpc/xcrypt.c: Use it for passwd2des.
15534
15535 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15536
15537 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15538
15539 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15540 Don't define if [__SYSCALL_WORDSIZE != 32].
15541 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15542 New macro.
15543
15544 2012-05-21 Bruno Haible <bruno@clisp.org>
15545 Andreas Jaeger <aj@suse.de>
15546
15547 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15548 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15549 inptr and inend for must_buffer_ch.
15550 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15551 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15552 * stdio-common/Makefile (tests): Remove bug15.
15553 (bug15-ENV): Remove macro.
15554 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15555 anymore.
15556
15557 2012-05-19 Andreas Jaeger <aj@suse.de>
15558 Roland McGrath <roland@hack.frob.com>
15559
15560 * manual/contrib.texi: Completely rewritten. It contains now an
15561 alphabetical list of contributors and their contributions.
15562
15563 2012-05-21 Richard Henderson <rth@twiddle.net>
15564
15565 * misc/getauxval.c (__getauxval): Use unsigned long int.
15566 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15567 (getauxval): Use unsigned long int.
15568
15569 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15570
15571 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15572
15573 2012-05-21 Roland McGrath <roland@hack.frob.com>
15574
15575 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15576 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15577 __alignof__ (long double).
15578
15579 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15580
15581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15582
15583 2012-05-20 Richard Henderson <rth@twiddle.net>
15584
15585 * misc/getauxval.c: New file.
15586 * misc/sys/auxv.h: New file.
15587 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15588 (routines): Add getauxval.
15589 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15590 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15591 * elf/dl-sysdep.c (_dl_auxv): Remove.
15592 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15593 * elf/dl-support.c (_dl_auxv): New variable.
15594 (_dl_aux_init): Initialize it.
15595 * manual/startup.texi (Auxiliary Vector): New node.
15596 * sysdeps/generic/bits/hwcap.h: New file.
15597 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15598 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15599 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15600 * sysdeps/sparc/sysdep.h: ... here. Include it.
15601 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15602 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15604 Update.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15613
15614 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15615
15616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15617
15618 2012-05-19 David S. Miller <davem@davemloft.net>
15619
15620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15621
15622 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15623
15624 [BZ #14123]
15625 * math/s_ccosh.c: Include <float.h>
15626 (__ccosh): Avoid internal overflow calculating sinh and cosh
15627 values before multiplying by sin and cos values.
15628 * math/s_ccoshf.c: Likewise.
15629 * math/s_ccoshl.c: Likewise.
15630 * math/s_csin.c: Likewise.
15631 * math/s_csinf.c: Likewise.
15632 * math/s_csinl.c: Likewise.
15633 * math/s_csinh.c: Likewise.
15634 * math/s_csinhf.c: Likewise.
15635 * math/s_csinhl.c: Likewise.
15636 * math/libm-test.inc (ccos_test): Add more tests.
15637 (ccosh_test): Likewise.
15638 (csin_test): Likewise.
15639 (csinh_test): Likewise.
15640 * sysdeps/i386/fpu/libm-test-ulps: Update.
15641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15642
15643 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15644
15645 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15646 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15647
15648 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15649
15650 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15651
15652 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15653 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15654 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15655 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15656 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15657 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15658 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15659 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15660 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15661 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15662 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15663 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15664 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15665 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15666 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15667 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15668 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15669 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15670 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15671 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15672 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15673 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15674 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15675 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15676 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15677 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15678 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15679 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15680 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15681 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15682 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15683
15684 2012-05-18 Andreas Jaeger <aj@suse.de>
15685
15686 * csu/.gitignore: Delete.
15687
15688 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15689
15690 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15691 (timex): Use __syscall_slong_t.
15692
15693 2012-05-18 Andreas Jaeger <aj@suse.de>
15694 Carlos O'Donell <carlos_odonell@mentor.com>
15695
15696 * manual/install.texi (Configuring and compiling): Update
15697 description about files modified in the source directory.
15698 * INSTALL: Regenerated.
15699
15700 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15701
15702 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15703 value. Use "or" to set return value to -1.
15704 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15705 negate return value.
15706
15707 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15708
15709 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15710 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15711 failure if the compiler has Graphite support disabled.
15712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15713 Likewise.
15714 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15715 CFLAGS-memmove.c): Likewise.
15716 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15717 Likewise.
15718
15719 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 * sysdeps/x86_64/x32/_itoa.h: New file.
15722
15723 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15724 getdents system call only if kernel and user dirents have the
15725 same d_ino and d_off.
15726
15727 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15728 LLONG_MAX != LONG_MAX.
15729 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15730 (_fitoa_word): Likewise.
15731
15732 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15733 years.
15734 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15735 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15736 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15737
15738 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15739 include <bits/wordsize.h>. Check __x86_64__ instead of
15740 __WORDSIZE.
15741 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15742 if __x86_64__ is defined. Use anonymous union on fpstate.
15743
15744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15745 anonymous union.
15746
15747 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15748
15749 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15750 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15751 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15752 Refer to _rtld_local_ro instead of _rtld_global_ro.
15753 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15754 Likewise.
15755 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15756 Likewise.
15757 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15758 Likewise.
15759 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15760 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15761 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15762
15763 * sysdeps/powerpc/powerpc32/dl-machine.c
15764 (__elf_machine_runtime_setup) [PROF]: Don't reference
15765 _dl_prof_resolve.
15766
15767 2012-05-18 Andreas Jaeger <aj@suse.de>
15768
15769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15770 function only available for GCCs before 3.4 since GCC 3.4
15771 introduced a builtin.
15772 (lrint): Likewise.
15773 (llrintf): Likewise.
15774 (llrint): Likewise.
15775 (fmaxf): Likewise.
15776 (fmax): Likewise.
15777 (fminf): Likewise.
15778 (fmin): Likewise.
15779 (rint): Likewise.
15780 (rintf): Likewise.
15781 (nearbyint): Likewise.
15782 (nearbyintf): Likewise.
15783 (ceil): Likewise.
15784 (ceilf): Likewise.
15785 (floor): Likewise.
15786 (floorf): Likewise.
15787
15788 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15789
15790 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15791 on both fields and cast pointer to __syscall_ulong_t.
15792
15793 * bits/types.h (__fsword_t): New type.
15794 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15795 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15797 (__FSWORD_T_TYPE): Likewise.
15798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15799 (__FSWORD_T_TYPE): Likewise.
15800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15801 (__FSWORD_T_TYPE): Likewise.
15802 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15803 (__FSWORD_T_TYPE): Likewise.
15804 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15805 __SWORD_TYPE with __fsword_t.
15806 (statfs64): Likewise.
15807
15808 2012-05-17 David S. Miller <davem@davemloft.net>
15809
15810 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15811
15812 2012-05-17 Andreas Jaeger <aj@suse.de>
15813
15814 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15815 warning.
15816
15817 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15818
15819 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15820
15821 2012-05-17 Andreas Jaeger <aj@suse.de>
15822
15823 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15824 when it is used.
15825
15826 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15827
15828 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15829
15830 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15831
15832 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15833 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15834
15835 2012-05-17 Andreas Jaeger <aj@suse.de>
15836 Carlos O'Donell <carlos_odonell@mentor.com>
15837
15838 [BZ #14059]
15839 * sysdeps/x86_64/multiarch/init-arch.h
15840 (bit_YMM_Usable): Rename to...
15841 (bit_AVX_Usable): ... this.
15842 (bit_FMA4_Usable): New macro.
15843 (bit_XMM_state): New macro.
15844 (bit_YMM_state): New macro.
15845 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15846 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15847 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15848 (CPUID_OSXSAVE): New macro.
15849 (CPUID_AVX): New macro.
15850 (CPUID_FMA4): New macro.
15851 (index_YMM_Usable): Rename to...
15852 (index_AVX_Usable): ... this.
15853 (HAS_AVX): Use HAS_ARCH_FEATURE.
15854 (HAS_FMA4): Likewise.
15855 (HAS_YMM_USABLE): Remove.
15856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15857 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15858 are present.
15859 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15860 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15861 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15862 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15863 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15864
15865 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15866
15867 * math/libm-test.c: Support platforms without multiple rounding modes.
15868 * math/bug-nextafter.c: Support platforms without FP exceptions.
15869 * math/bug-nexttoward.c: Likewise.
15870 * math/test-fenv.c: Likewise.
15871 * math/test-misc.c: Likewise.
15872 * stdlib/bug-getcontext.c: Likewise.
15873
15874 2012-05-17 Andreas Jaeger <aj@suse.de>
15875
15876 * manual/examples/search.c (critter_cmp): Change signature to
15877 avoid warnings.
15878 * manual/string.texi (Collation Functions): Likewise.
15879
15880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15881
15882 * bits/types.h: Fold copyright years.
15883 * bits/typesizes.h: Likewise.
15884 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15888 * time/time.h: Likewise.
15889
15890 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15891
15892 [BZ #208]
15893 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15894 in instead of returning them. Return void.
15895 (__libc_mallinfo): Accumulate over all arenas.
15896 (__malloc_stats): Adjust for change in int_mallinfo interface.
15897
15898 2012-05-16 Roland McGrath <roland@hack.frob.com>
15899
15900 [BZ #10375]
15901 * configure.in (NM): Add AC_CHECK_TOOL for it.
15902 (libc_extra_cflags): New substituted variable.
15903 Check for -fstack-protector being used implicitly.
15904 * configure: Regenerated.
15905 * config.make.in (config-extra-cflags): New variable,
15906 gets @libc_extra_cflags@.
15907 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15908
15909 [BZ #10375]
15910 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15911 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15912 * configure: Regenerated.
15913 * config.make.in (CPPUNDEFS): New substituted variable.
15914 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15915 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15916 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15917
15918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15919
15920 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15921 (mq_attr): Use __syscall_slong_t.
15922
15923 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15924
15925 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15926 Check __x86_64__ instead of __WORDSIZE.
15927 (_STAT_VER_LINUX): Likewise.
15928 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15929 __syscall_ulong_t and __syscall_slong_t.
15930 (stat64): Likewise.
15931
15932 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15933
15934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15935
15936 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15939
15940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15941
15942 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15943 __syscall_ulong_t.
15944
15945 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15946 include <bits/wordsize.h>. Check __x86_64__ instead of
15947 __WORDSIZE.
15948 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15949 defined.
15950 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15951
15952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15953 include <bits/wordsize.h>. Check __x86_64__ instead of
15954 __WORDSIZE.
15955 (user_regs_struct): Use "__extension__ unsigned long long"
15956 instead of "unsigned long" if __x86_64__ is defined.
15957 (user): Likewise. Pad after pointer field if __ILP32__ is
15958 defined.
15959
15960 2012-05-16 Joseph Myers <joseph@codesourcery.com>
15961
15962 * configure.in (makeinfo): Require version 4.5 or later. Allow
15963 versions 5 to 9.
15964 * configure: Regenerated.
15965 * manual/install.texi (texinfo): Increase version requirement to
15966 4.5 or later.
15967 * INSTALL: Regenerated.
15968
15969 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15970
15971 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15972
15973 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15974
15975 * sysdeps/x86_64/x32/ffs.c: New file.
15976
15977 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15978 __syscall_ulong_t.
15979 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15980 defined. Use __syscall_ulong_t.
15981 (shminfo): Use __syscall_ulong_t.
15982 (shm_info): Likewise.
15983
15984 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15985 __syscall_ulong_t.
15986
15987 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15988 <bits/wordsize.h>.
15989 (msgqnum_t): Use __syscall_ulong_t.
15990 (msglen_t): Likewise.
15991 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15992 __syscall_ulong_t.
15993
15994 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15995 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15996
15997 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15998
15999 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16000 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16001
16002 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16003 __syscall_slong_t.
16004
16005 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16006 include <bits/wordsize.h>. Check __x86_64__ instead of
16007 __WORDSIZE.
16008
16009 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16010 "unsigned long long int" if __x86_64__ is defined.
16011 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16012
16013 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16014 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16015 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16016
16017 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16018 <stdint.h>.
16019 (GET_PC): Cast to uintptr_t first.
16020 (GET_FRAME): Likewise.
16021 (GET_STACK): Likewise.
16022
16023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16024 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16026 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16027 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16028 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16029 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16030 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16031 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16032 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16033 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16034 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16035 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16040 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16052
16053 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16054
16055 * Makerules (+depfiles): Also collect depfiles from .oS in
16056 $(extra-objs).
16057 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16058 .oS, $(libnldbl-routines)).
16059
16060 * Makerules (native-compile-mkdep-flags): Define.
16061 * sunrpc/Makefile (extra-objs): Add $(addprefix
16062 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16063 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16064 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16065 calling $(make-target-directory).
16066
16067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16068
16069 * bits/types.h (__snseconds_t): Removed.
16070 * time/time.h (struct timespec): Replace __snseconds_t with
16071 __syscall_slong_t.
16072 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16073 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16074 Likewise.
16075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16076 (__SNSECONDS_T_TYPE): Likewise.
16077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16078 (__SNSECONDS_T_TYPE): Likewise.
16079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16080 (__SNSECONDS_T_TYPE): Likewise.
16081
16082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16083
16084 * sysdeps/mach/hurd/bits/typesizes.h
16085 (__SYSCALL_SLONG_TYPE): New macro.
16086 (__SYSCALL_ULONG_TYPE): Likewise.
16087
16088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16089
16090 * bits/types.h (__syscall_slong_t): New type.
16091 (__syscall_ulong_t): Likewise.
16092
16093 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16094 (__SYSCALL_ULONG_TYPE): Likewise.
16095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16096 (__SYSCALL_SLONG_TYPE): Likewise.
16097 (__SYSCALL_ULONG_TYPE): Likewise.
16098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16099 (__SYSCALL_SLONG_TYPE): Likewise.
16100 (__SYSCALL_ULONG_TYPE): Likewise.
16101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16102 (__SYSCALL_SLONG_TYPE): Likewise.
16103 (__SYSCALL_ULONG_TYPE): Likewise.
16104
16105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16106
16107 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16108 Add sigaltstack-offsets.sym.
16109 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16110 <sigaltstack-offsets.h>.
16111 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16112 longjmp_msg pointer.
16113 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16114 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16115 signal stack.
16116 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16117
16118 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16119
16120 * elf/stackguard-macros.h: Remove file.
16121 * sysdeps/generic/stackguard-macros.h: New file.
16122 * sysdeps/i386/stackguard-macros.h: Likewise.
16123 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16124 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16125 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16126 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16127 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16128 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16129 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16130 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16131 <elf/stackguard-macros.h>.
16132
16133 [BZ #14109]
16134 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16135 __aligned__ in attribute.
16136 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16137 (gregset_t): Likewise.
16138
16139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16140
16141 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16142 * sysdeps/x86_64/64/Implies-after: Here. New file.
16143 * sysdeps/x86_64/x32/Implies-after: New file.
16144
16145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16146
16147 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16148 and access return value for _dl_profile_fixup. Use R10_LP to
16149 load frame size.
16150
16151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16152
16153 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16154
16155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16156
16157 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16158 * sysdeps/x86_64/x32/sysdep.h: New file.
16159
16160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16161
16162 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16163 * sysdeps/x86_64/setjmp.S: Likewise.
16164
16165 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16166
16167 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16168 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16169 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16171 remove unused global constant.
16172
16173 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16174
16175 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16176 include of <not-cancel.h>.
16177
16178 2012-05-15 Roland McGrath <roland@hack.frob.com>
16179
16180 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16181
16182 2012-05-15 Jeff Law <law@redhat.com>
16183 Andreas Jaeger <aj@suse.de>
16184
16185 [BZ #13594]
16186 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16187 out from...
16188 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16189 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16190 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16191 code changing __hst_map_handle.map.
16192
16193 2012-05-15 Roland McGrath <roland@hack.frob.com>
16194
16195 * configure.in (sysnames): Look for Implies-before and Implies-after
16196 files.
16197 * configure: Regenerated.
16198
16199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16200
16201 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16202 8-byte data alignment with LP_SIZE alignment.
16203
16204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16205
16206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16207 into R10_LP.
16208
16209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16210
16211 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16212
16213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16214
16215 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16216 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16217 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16218 Likewise.
16219 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16220
16221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16222
16223 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16224 (stackinfo_sub_sp): Likewise.
16225
16226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16229 RAX_LP.
16230
16231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16232
16233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16234 into R*_LP.
16235
16236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16237
16238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16239 sizes into R*_LP.
16240
16241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16244
16245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16246
16247 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16248 into R11_LP and load __x86_64_shared_cache_size_half into
16249 R8_LP.
16250
16251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16252
16253 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16254 R8_LP.
16255
16256 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257
16258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16259 logb for POWER7.
16260 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16261 logbf for POWER7.
16262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16263 logbl for POWER7.
16264 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16265 powerpc32/power7/fpu/s_logb.c via #include.
16266 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16267 powerpc32/power7/fpu/s_logbf.c via #include.
16268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16269 powerpc32/power7/fpu/s_logbl.c via #include.
16270
16271 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16272
16273 * README.libm: Remove file.
16274
16275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16278 count for x32. Use R*_LP and omit operand-size suffix.
16279
16280 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16281
16282 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16283 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16284 * sysdeps/x86_64/x32/shlib-versions: New file.
16285
16286 2012-05-14 Roland McGrath <roland@hack.frob.com>
16287
16288 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16289 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16290 Use _dl_fatal_printf instead.
16291
16292 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16293
16294 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16295 set if not set by the user. Do not allow for being unset.
16296 * sysdeps/unix/sysv/linux/configure: Regenerated.
16297
16298 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16299
16300 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16301 the `q' suffix from lea and replace .quad with ASM_ADDR.
16302
16303 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16304
16305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16306 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16307 instead of $17.
16308 (PTR_DEMANGLE): Likewise.
16309
16310 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16311
16312 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16313 (LP_OP): Likewise.
16314 (ASM_ADDR): Likewise.
16315 (RAX_LP): Likewise.
16316 (RBP_LP): Likewise.
16317 (RBX_LP): Likewise.
16318 (RCX_LP): Likewise.
16319 (RDI_LP): Likewise.
16320 (RSI_LP): Likewise.
16321 (RSP_LP): Likewise.
16322 (R8_LP): Likewise.
16323 (R9_LP): Likewise.
16324 (R10_LP): Likewise.
16325 (R10_LP): Likewise.
16326 (R11_LP): Likewise.
16327 (R12_LP): Likewise.
16328 (R13_LP): Likewise.
16329 (R14_LP): Likewise.
16330 (R15_LP): Likewise.
16331
16332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16333
16334 * sysdeps/x86_64/x32/dl-machine.h: New file.
16335
16336 2012-05-14 Andreas Jaeger <aj@suse.de>
16337
16338 * manual/Makefile (subdir): Remove export of subdir.
16339 (all): Remove target.
16340 (.PHONY): Remove all from list.
16341 (mkinstalldirs): Remove.
16342 (.PHONY): Remove installdirs from list.
16343 ($(inst_infodir)/libc.info): Use make-target-directory.
16344 (installdirs): Remove.
16345 (subdir_%): Remove.
16346 (glibc-targets): Remove.
16347 (lib): Remove.
16348 (stubs): Remove.
16349 ($(objpfx)stubs ../po/manual.pot): Remove.
16350 ($(objpfx)stamp%): Remove.
16351 (make-target-directory): Remove.
16352 (subdir_install): Remove.
16353 (routines): Remove.
16354 (aux): Remove.
16355 (sources): Remove.
16356 (objects): Remove.
16357 (headers): Remove.
16358
16359 [BZ #13750]
16360 * manual/.gitignore: Remove, it's not needed anymore.
16361 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16362 all files in it.
16363 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16364 directory.
16365 (texis): Renamed to $(objpfx)texis.
16366 (texis-path): New, contains path to generated files.
16367 (chapters.%): Use texis-path for complete path, add extra argument
16368 libc-texinfo.sh.
16369 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16370 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16371 (summary,texi, stamp-summary): Use complete path of
16372 files. Generate files in build dir.
16373 (dir-add.texi): Build in build dir.
16374 (libm-err.texi,stamp-libm-err): Likewise.
16375 (version.texi, stamp-version): Likewise.
16376 (.%c.texi): Likewise.
16377 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16378 (mostlyclean): Remove target.
16379 (realclean): Remove target.
16380 (generated): Add new variable with contents from mostlyclean and
16381 realclean, remove entries duplicated in common-mostlyclean, add
16382 stamp-libm-err and stamp-version.
16383 (generated-dirs): Add libc directory.
16384 ($(inst_infodir)/libc.info): Install files from build dir.
16385
16386 * manual/install.texi (Configuring and compiling): Adjust since
16387 the info files are not part of the tar ball anymore.
16388
16389 2012-05-14 Andreas Jaeger <aj@suse.de>
16390
16391 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16392 variable.
16393
16394 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16395
16396 [BZ #13717]
16397 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16398 to 2.2.0 where earlier.
16399 * sysdeps/unix/sysv/linux/configure: Regenerated.
16400 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16401 Remove conditional code.
16402 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16403 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16404 Remove conditional code.
16405 [!__NR_lchown]: Likewise.
16406 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16407 [__NR_lchown]: Likewise.
16408 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16409 comment referencing __ASSUME_LCHOWN_SYSCALL.
16410 * sysdeps/unix/sysv/linux/i386/sigaction.c
16411 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16412 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16413 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16414 Remove conditional code.
16415 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16416 (__protocol_available): Remove #if 0 code.
16417 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16418 conditional code.
16419 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16420 * sysdeps/unix/sysv/linux/kernel-features.h
16421 (__ASSUME_GETCWD_SYSCALL): Don't define.
16422 (__ASSUME_REALTIME_SIGNALS): Likewise.
16423 (__ASSUME_PREAD_SYSCALL): Likewise.
16424 (__ASSUME_PWRITE_SYSCALL): Likewise.
16425 (__ASSUME_POLL_SYSCALL): Likewise.
16426 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16427 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16428 non-SPARC.
16429 (__ASSUME_SIOCGIFNAME): Don't define.
16430 (__ASSUME_MSG_NOSIGNAL): Likewise.
16431 (__ASSUME_SENDFILE): Define unconditionally.
16432 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16433 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16434 conditional code.
16435 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16436 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16437 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16438 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16439 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16440 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16441 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16466 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16467 Remove conditional code.
16468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16469 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16470 Remove conditional code.
16471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16472 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16473 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16474 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16475 Remove conditional code.
16476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16477 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16478 Remove conditional code.
16479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16480 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16481 Remove conditional code.
16482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16483 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16484 Remove conditional code.
16485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16486 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16487 Remove conditional code.
16488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16489 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16492 * sysdeps/unix/sysv/linux/sigaction.c
16493 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16494 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16495 * sysdeps/unix/sysv/linux/sigpending.c
16496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16498 * sysdeps/unix/sysv/linux/sigprocmask.c
16499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/sigsuspend.c
16502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16505 (__libc_missing_rt_sigs): Remove.
16506 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16507 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16508 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16509 Remove conditional code.
16510 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16511 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16512 return 1.
16513 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16514 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16515 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16516 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16517
16518 2012-05-14 Andreas Jaeger <aj@suse.de>
16519
16520 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16521 it's not used in glibc.
16522 (__coshm1): Likewise.
16523 (__acosh1p): Likewise.
16524 (__sgn): Likewise.
16525
16526 * manual/string.texi (Copying and Concatenation): Add missing
16527 variable in concat example.
16528 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16529
16530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16531
16532 [BZ #14103]
16533 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16534 __builtin_clzl with __builtin_clzll.
16535
16536 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16537
16538 [BZ #14104]
16539 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16540 libc_freeres_ptr.
16541
16542 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16543
16544 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16545 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16546 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16547 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16548
16549 2012-05-14 Mike Frysinger <vapier@gentoo.org>
16550
16551 * NEWS: Update ia64 info.
16552
16553 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16554
16555 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16556 used as bcopy.
16557
16558 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16559
16560 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16561 * sysdeps/unix/syscalls.list (dup3): Likewise.
16562 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16563 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16564
16565 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16566
16567 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16568 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16569
16570 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16571
16572 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16573 thread pointer.
16574 (TLS_IE): Use mov/add instead of movq/addq to load thread
16575 pointer.
16576 (TLS_GD_PREFIX): New.
16577 (TLS_GD): Use it.
16578
16579 2012-05-11 David S. Miller <davem@davemloft.net>
16580
16581 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16582 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16583 (_FPU_SETCW): Likewise.
16584
16585 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16586
16587 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16588 is 32-byte aligned.
16589
16590 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16591
16592 [BZ #11837]
16593 * iconvdata/gb18030.c: Update tables.
16594 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16595 characters specially.
16596 (BODY for TO_LOOP): Add encoding of missing ranges.
16597
16598 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16599
16600 [BZ #13673]
16601 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16602 * sysdeps/mach/hurd/dup3.c: Likewise.
16603 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16604 * sysdeps/powerpc/memmove.c:: Likewise.
16605
16606 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16609 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16610
16611 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16612
16613 * elf/elf.h (R_X86_64_RELATIVE64): New.
16614 (R_X86_64_NUM): Updated.
16615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16616 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16617 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16618 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16619 tst-quad1pie tst-quad2pie
16620 (modules-names): Add tst-quadmod1 tst-quadmod2.
16621 ($(objpfx)tst-quad1): New dependency.
16622 ($(objpfx)tst-quad2): Likewise.
16623 ($(objpfx)tst-quad1pie): Likewise.
16624 ($(objpfx)tst-quad2pie): Likewise.
16625 * sysdeps/x86_64/tst-quad1.c: New file.
16626 * sysdeps/x86_64/tst-quad1pie.c: New file.
16627 * sysdeps/x86_64/tst-quad2.c: Likewise.
16628 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16629 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16630 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16631 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16632 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16633
16634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16635
16636 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16637 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16638 * streams/stropts.h (t_scalar_t): Define type.
16639
16640 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16641 (_PATH_PRESERVE): Set to "/var/lib".
16642 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16643
16644 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16645 instead of int.
16646
16647 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16648 if __dir_mkfile succeeded.
16649
16650 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16651 checking for _hurd_dtablesize. Unlock it right after having
16652 finished _hurd_dtable allocation.
16653
16654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16655
16656 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16657 * sysdeps/mach/hurd/configure: Regenerated.
16658 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16659 special-casing to...
16660 * sysdeps/gnu/configure.in: ... this new file.
16661 * sysdeps/unix/sysv/linux/configure: Regenerated.
16662 * sysdeps/gnu/configure: New generated file.
16663
16664 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16665 for Linux: use nsec instead of usec, as well as:
16666 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16667 members of type struct timespec.
16668 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16669 New macros.
16670 (struct stat64): Likewise.
16671 (_STATBUF_ST_NSEC): New macro.
16672 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16673
16674 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16675 __strtoul_internal rather than strtoul.
16676
16677 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16678
16679 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16680 and reject them.
16681
16682 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16683
16684 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16685 which preserves existing values.
16686 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16687
16688 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16689
16690 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16691 TIMEOUT values. Return EINVAL for NFDS values either negative or
16692 greater than FD_SETSIZE.
16693
16694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16695
16696 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16697 allocated, call __vm_protect to finish enabling the existing space, and
16698 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16699 allocate the remainder.
16700
16701 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16702
16703 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16704 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16705
16706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16707
16708 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16709 sysdeps/mach/hurd/readlink.c.
16710
16711 * posix/tst-sysconf.c (posix_options): Only use
16712 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16713 _POSIX_SYNCHRONIZED_IO when they are defined
16714 * sysdeps/mach/hurd/bits/posix_opt.h:
16715 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16716 (_XOPEN_REALTIME): Undefine macro.
16717 (_XOPEN_REALTIME_THREADS): Undefine macro.
16718 (_XOPEN_SHM): Undefine macro.
16719 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16720 macro to -1.
16721 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16722 macro to -1.
16723 (_POSIX_ASYNC_IO): Undefine macro.
16724 (_POSIX_PRIORITIZED_IO): Undefine macro.
16725 (_POSIX_SPIN_LOCKS): Define macro to -1.
16726
16727 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16728 SA_NODEFER, SA_RESETHAND.
16729 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16730 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16731 F_DUPFD_CLOEXEC.
16732
16733 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16734
16735 * elf/Makefile (pldd-modules): Define unconditionally.
16736
16737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16738
16739 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16740
16741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16742
16743 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16744 Return ENOENT when name is empty.
16745 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16746
16747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16748
16749 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16750
16751 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16752
16753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16754
16755 Fix mlock in all cases except non-readable pages.
16756 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16757 instead of VM_PROT_ALL as parameter to __vm_wire function.
16758
16759 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16760 (__mkdir): When path is `/', just fail with EEXIST.
16761 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16762
16763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16764
16765 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16766 <sys/uio.h> (for writev).
16767 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16768 and <sys/param.h> (for MIN).
16769
16770 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16771
16772 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16773 REQUESTED_TIME. Properly set the remaining time and return EINTR
16774 if interrupted.
16775
16776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16777
16778 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16779 Depend on against $(link-rpcuserlibs).
16780
16781 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16782
16783 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16784 (__libc_stack_end): Do not use attribute_relro.
16785 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16786 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16787 to libthread-provided value.
16788 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16789 attribute_relro.
16790
16791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16792
16793 [BZ #3748]
16794 * bits/libc-lock.h (__libc_once_get): New macro.
16795 * sysdeps/mach/bits/libc-lock.h: Likewise.
16796 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16798 instead of using implementation details.
16799
16800 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16801 * libio/freopen.c: Likewise.
16802 * libio/freopen64.c: Likewise.
16803 * misc/syslog.c: Likewise.
16804 * nscd/connections.c: Likewise.
16805 * nscd/netgroupcache.c: Likewise.
16806 * sysdeps/posix/getcwd.c: Likewise.
16807
16808 2012-05-10 Roland McGrath <roland@hack.frob.com>
16809
16810 * math/w_ilogbf.c: Add #include <limits.h>.
16811
16812 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16813
16814 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16815 path instead of returning without unlocking.
16816
16817 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16818 immediate-write ioctls.
16819 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16820
16821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16822
16823 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16824 __builtin_frame_address instead of making assumptions about the
16825 location of the return address relative to DATA. Force early load of
16826 the return address.
16827 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16828 __builtin_frame_address.
16829
16830 dup3 for GNU Hurd.
16831 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16832 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16833 implement dup3 and do some further code clean-ups.
16834 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16835 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16836
16837 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16838
16839 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16840
16841 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16842 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16843 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16844 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16845 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16846 d->port.lock.
16847
16848 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16849 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16850 when handler == SIG_ERR, not when handler != SIG_ERR.
16851
16852 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16853
16854 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16855 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16856 definitions.
16857
16858 accept4 for GNU Hurd.
16859 * include/sys/socket.h (__libc_accept4): New prototype.
16860 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16861 to implement __libc_accept4.
16862 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16863 __libc_accept4.
16864 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16865
16866 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16867 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16868 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16869 signal-defines.sym.
16870
16871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16872
16873 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16874
16875 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16876
16877 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16878 assertion on O_CLOEXEC flag.
16879 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16880 * hurd/intern-fd.c: Likewise.
16881 * hurd/port2fd.c: Likewise.
16882
16883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16884
16885 [BZ #3906]
16886 * bits/in.h (IPV6_PKTINFO): Define new macro.
16887 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16888
16889 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890
16891 [BZ #13954]
16892 [BZ #13955]
16893 [BZ #13956]
16894 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16896 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16897 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16899 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16900 * math/libm-test.inc (logb_test) : Additional logb tests.
16901
16902 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16903 Andreas Jaeger <aj@suse.de>
16904
16905 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16906 * configure: Regenerated.
16907 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16908 * config.make.in (link-obsolete-rpc): New substituted variable.
16909 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16910 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16911 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16912 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16913 so that libc.a contains the symbols.
16914 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16915 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16916 * sunrpc/auth_none.c: Likewise.
16917 * sunrpc/auth_unix.c: Likewise.
16918 * sunrpc/authdes_prot.c: Likewise.
16919 * sunrpc/authuxprot.c: Likewise.
16920 * sunrpc/clnt_gen.c: Likewise.
16921 * sunrpc/clnt_perr.c: Likewise.
16922 * sunrpc/clnt_raw.c: Likewise.
16923 * sunrpc/clnt_simp.c: Likewise.
16924 * sunrpc/clnt_tcp.c: Likewise.
16925 * sunrpc/clnt_udp.c: Likewise.
16926 * sunrpc/clnt_unix.c: Likewise.
16927 * sunrpc/des_crypt.c: Likewise.
16928 * sunrpc/des_soft.c: Likewise.
16929 * sunrpc/get_myaddr.c: Likewise.
16930 * sunrpc/key_call.c: Likewise.
16931 * sunrpc/key_prot.c: Likewise.
16932 * sunrpc/netname.c: Likewise.
16933 * sunrpc/pm_getmaps.c: Likewise.
16934 * sunrpc/pm_getport.c: Likewise.
16935 * sunrpc/pmap_clnt.c: Likewise.
16936 * sunrpc/pmap_prot.c: Likewise.
16937 * sunrpc/pmap_prot2.c: Likewise.
16938 * sunrpc/pmap_rmt.c: Likewise.
16939 * sunrpc/publickey.c: Likewise.
16940 * sunrpc/rpc_cmsg.c: Likewise.
16941 * sunrpc/rpc_common.c: Likewise.
16942 * sunrpc/rpc_dtable.c: Likewise.
16943 * sunrpc/rpc_prot.c: Likewise.
16944 * sunrpc/rpc_thread.c: Likewise.
16945 * sunrpc/rtime.c: Likewise.
16946 * sunrpc/svc.c: Likewise.
16947 * sunrpc/svc_auth.c: Likewise.
16948 * sunrpc/svc_raw.c: Likewise.
16949 * sunrpc/svc_run.c: Likewise.
16950 * sunrpc/svc_tcp.c: Likewise.
16951 * sunrpc/svc_udp.c: Likewise.
16952 * sunrpc/svc_unix.c: Likewise.
16953 * sunrpc/svcauth_des.c: Likewise.
16954 * sunrpc/xcrypt.c: Likewise.
16955 * sunrpc/xdr.c: Likewise.
16956 * sunrpc/xdr_array.c: Likewise.
16957 * sunrpc/xdr_float.c: Likewise.
16958 * sunrpc/xdr_intXX_t.c: Likewise.
16959 * sunrpc/xdr_mem.c: Likewise.
16960 * sunrpc/xdr_rec.c: Likewise.
16961 * sunrpc/xdr_ref.c: Likewise.
16962 * sunrpc/xdr_sizeof.c: Likewise.
16963 * sunrpc/xdr_stdio.c: Likewise.
16964
16965 2012-05-10 Roland McGrath <roland@hack.frob.com>
16966
16967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16968 change. Update copyright years.
16969
16970 2012-05-10 Joseph Myers <joseph@codesourcery.com>
16971
16972 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16973
16974 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16975 Joseph Myers <joseph@codesourcery.com>
16976 Paul Pluzhnikov <ppluzhnikov@google.com>
16977
16978 [BZ #14012]
16979 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16980 requiring rpcgen.
16981 [cross-compiling] (extra-libs): Likewise.
16982 [cross-compiling] (extra-libs-others): Likewise.
16983 [cross-compiling] (librpcsvc-routines): Likewise.
16984 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16985 [cross-compiling] (omit-deps): Likewise.
16986 (sunrpc-CPPFLAGS): New variable.
16987 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16988 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16989 (cross-rpcgen-objs): New variable.
16990 (extra-objs): Append $(cross-rpcgen-objs).
16991 ($(cross-rpcgen-objs)): New rule.
16992 ($(objpfx)cross-rpcgen): Likewise.
16993 (rpcgen-cmd): Define to use $(built-program-file). Expand
16994 comment.
16995 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16996 ($(objpfx)x%.stmp): Likewise.
16997 * sunrpc/proto.h [IS_IN_build] (_): Define.
16998 [IS_IN_build] (_libc_intl_domainname): Likewise.
16999
17000 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17001
17002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17003 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17004 and R_X86_64_TPOFF64.
17005
17006 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17007
17008 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17009 sysdeps/unix/sysv/syscalls.list.
17010 (stime): Likewise.
17011 (utime): Likewise.
17012 * sysdeps/unix/sysv/syscalls.list: Remove file.
17013
17014 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17015
17016 [BZ #3440]
17017 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17018 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17019 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17020 (__LC_IDENTIFICATION): Make these macros useful in #if
17021 expressions, as required by C99.
17022
17023 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17024
17025 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17026 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17027 after this.
17028
17029 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 * stdlib/longlong.h: Updated from GCC.
17032
17033 2012-05-09 Andreas Jaeger <aj@suse.de>
17034
17035 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17036 default is first entry.
17037 (run_mode): Set type.
17038 (main): Remove informal message about syslog.
17039 (options): Fix typo.
17040
17041 [BZ #14053]
17042 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17043 to asm.
17044 (lrint): Likewise.
17045 (llrintf): Likewise.
17046 (llrint): Likewise.
17047 (rint): Likewise.
17048 (rintf): Likewise.
17049 (nearbyint): Likewise.
17050 (nearbyintf): Likewise.
17051
17052 2012-05-09 Andreas Jaeger <aj@suse.de>
17053 Pedro Alves <palves@redhat.com>
17054
17055 * nscd/nscd.c (run_mode): Use enum.
17056 (main): Cleanup coding style issue.
17057
17058 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17059 Andreas Jaeger <aj@suse.de>
17060
17061 * nscd/nscd.c (go_background): Replaced with...
17062 (run_mode): ... this.
17063 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17064 (options): Add -F --foreground.
17065 (main): Implement it.
17066 (parse_opt): Parse it.
17067
17068 2012-05-09 Andreas Jaeger <aj@suse.de>
17069
17070 [BZ #14083]
17071 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17072 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17073 -Wconversion warning.
17074 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17075 Likewise.
17076
17077 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17078
17079 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17080 == 0.
17081 (LC_ALL): Use macro-int-constant.
17082 (LC_COLLATE): Likewise.
17083 (LC_CTYPE): Likewise.
17084 (LC_MESSAGES): Likewise.
17085 (LC_MONETARY): Likewise.
17086 (LC_NUMERIC): Likewise.
17087 (LC_TIME): Likewise.
17088 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17089 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17091 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17092 Specify type.
17093 [C99-based standards] (float_t): Expect type.
17094 [C99-based standards] (double_t): Expect type.
17095 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17096 type.
17097 [C99-based standards] (HUGE_VALL): Likewise.
17098 [C99-based standards] (INFINITY): Likewise.
17099 [C99-based standards] (NAN): Likewise.
17100 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17101 [C99-based standards] (FP_NAN): Likewise.
17102 [C99-based standards] (FP_NORMAL): Likewise.
17103 [C99-based standards] (FP_SUBNORMAL): Likewise.
17104 [C99-based standards] (FP_ZERO): Likewise.
17105 [C99-based standards] (FP_FAST_FMA): Use
17106 optional-macro-int-constant. Specify type. Require == 1.
17107 [C99-based standards] (FP_FAST_FMAF): Likewise.
17108 [C99-based standards] (FP_FAST_FMAL): Likewise.
17109 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17110 [C99-based standards] (FP_ILOGBNAN): Likewise.
17111 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17112 Specify type.
17113 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17114 [C99-based standards] (math_errhandling): Specify type.
17115 [ISO99 || ISO11] (signgam): Do not allow.
17116 [non-C99-based standards] (copysignf): Do not allow.
17117 [non-C99-based standards] (exp2f): Likewise.
17118 [non-C99-based standards] (log2f): Likewise.
17119 [non-C99-based standards] (modff): Allow.
17120 [non-C99-based standards] (erff): Do not allow.
17121 [non-C99-based standards] (erfcf): Likewise.
17122 [non-C99-based standards] (gammaf): Likewise.
17123 [non-C99-based standards] (hypotf): Likewise.
17124 [non-C99-based standards] (j0f): Likewise.
17125 [non-C99-based standards] (j1f): Likewise.
17126 [non-C99-based standards] (jnf): Likewise.
17127 [non-C99-based standards] (lgammaf): Likewise.
17128 [non-C99-based standards] (tgammaf): Likewise.
17129 [non-C99-based standards] (y0f): Likewise.
17130 [non-C99-based standards] (y1f): Likewise.
17131 [non-C99-based standards] (ynf): Likewise.
17132 [non-C99-based standards] (isnanf): Likewise.
17133 [non-C99-based standards] (acoshf): Likewise.
17134 [non-C99-based standards] (asinhf): Likewise.
17135 [non-C99-based standards] (atanhf): Likewise.
17136 [non-C99-based standards] (cbrtf): Likewise.
17137 [non-C99-based standards] (expm1f): Likewise.
17138 [non-C99-based standards] (ilogbf): Likewise.
17139 [non-C99-based standards] (log1pf): Likewise.
17140 [non-C99-based standards] (logbf): Likewise.
17141 [non-C99-based standards] (nextafterf): Likewise.
17142 [non-C99-based standards] (remainderf): Likewise.
17143 [non-C99-based standards] (rintf): Likewise.
17144 [non-C99-based standards] (scalbf): Likewise.
17145 [non-C99-based standards] (copysignl): Likewise.
17146 [non-C99-based standards] (exp2l): Likewise.
17147 [non-C99-based standards] (log2l): Likewise.
17148 [non-C99-based standards] (modfl): Allow.
17149 [non-C99-based standards] (erfl): Do not allow.
17150 [non-C99-based standards] (erfcl): Likewise.
17151 [non-C99-based standards] (gammal): Likewise.
17152 [non-C99-based standards] (hypotl): Likewise.
17153 [non-C99-based standards] (j0l): Likewise.
17154 [non-C99-based standards] (j1l): Likewise.
17155 [non-C99-based standards] (jnl): Likewise.
17156 [non-C99-based standards] (lgammal): Likewise.
17157 [non-C99-based standards] (tgammal): Likewise.
17158 [non-C99-based standards] (y0l): Likewise.
17159 [non-C99-based standards] (y1l): Likewise.
17160 [non-C99-based standards] (ynl): Likewise.
17161 [non-C99-based standards] (isnanl): Likewise.
17162 [non-C99-based standards] (acoshl): Likewise.
17163 [non-C99-based standards] (asinhl): Likewise.
17164 [non-C99-based standards] (atanhl): Likewise.
17165 [non-C99-based standards] (cbrtl): Likewise.
17166 [non-C99-based standards] (expm1l): Likewise.
17167 [non-C99-based standards] (ilogbl): Likewise.
17168 [non-C99-based standards] (log1pl): Likewise.
17169 [non-C99-based standards] (logbl): Likewise.
17170 [non-C99-based standards] (nextafterl): Likewise.
17171 [non-C99-based standards] (remainderl): Likewise.
17172 [non-C99-based standards] (rintl): Likewise.
17173 [non-C99-based standards] (scalbl): Likewise.
17174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17175 [non-C99-based standards] (FP_*): Do not allow.
17176 [C99-based standards] (FP_*): Change to
17177 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17178 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17179 allow.
17180 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17181 (SIG_ERR): Likewise.
17182 [X/Open-based standards] (SIG_HOLD): Likewise.
17183 (SIG_IGN): Likewise.
17184 (SIGABRT): Use macro-int-constant. Specify type. Require
17185 positive value.
17186 (SIGFPE): Likewise.
17187 (SIGILL): Likewise.
17188 (SIGINT): Likewise.
17189 (SIGSEGV): Likewise.
17190 (SIGTER): Likewise.
17191 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17192 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17193 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17194 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17195 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17196 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17197 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17198 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17199 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17200 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17201 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17202 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17203 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17204 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17205 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17206 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17207 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17208 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17209 [X/Open-based standards] (SIGTRAP): Likewise.
17210 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17211 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17212 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17213 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17214 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17215 allow.
17216
17217 2012-05-08 Ian Wienand <ianw@vmware.com>
17218
17219 [BZ #14080]
17220 * time/tzset.c (__tzset_parse_tz): Update default rules for
17221 daylight time changes in the Energy Policy Act of 2005.
17222
17223 2012-05-09 Andreas Jaeger <aj@suse.de>
17224
17225 [BZ #13983]
17226 * elf/ldconfig.c (parse_conf): Change string to make clear that
17227 ldconfig only issued a warning if ld.so.conf does not exist.
17228
17229 2012-05-08 David S. Miller <davem@davemloft.net>
17230
17231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17232 movxtod instead of popping the value on the stack.
17233
17234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17235
17236 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17237
17238 * config.h.in: Add HAVE_ARM_PCS_VFP.
17239
17240 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
17241
17242 [BZ #13979]
17243 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17244 checking but the checks are disabled for any reason.
17245
17246 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17247
17248 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17249 and ELF64_R_TYPE with ELFW(R_TYPE).
17250
17251 2012-05-08 Joseph Myers <joseph@codesourcery.com>
17252
17253 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17254 (ulimit): Likewise.
17255
17256 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17257 (settimeofday): Likewise.
17258
17259 2012-05-08 Mike Frysinger <vapier@gentoo.org>
17260
17261 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17262 a struct th_u2 inside the union, and move tu_block/tu_code into
17263 a new th_u3 union of tu_block/tu_code inside of that. Move
17264 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17265 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17266 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17267 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17268 (th_stuff): Change to th_u1.tu_stuff.
17269 (th_data): Define.
17270 (th_msg): Change to th_u1.th_u2.tu_data.
17271
17272 2012-05-07 David S. Miller <davem@davemloft.net>
17273
17274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17275
17276 [BZ #14074]
17277 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17278 (SETUP_PIC_REG): Use it.
17279 (SETUP_PIC_REG_LEAF): Use it.
17280
17281 2012-05-07 Joseph Myers <joseph@codesourcery.com>
17282
17283 [BZ #13885]
17284 [BZ #13923]
17285 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17286 USE_AS_EXPM1L.
17287 (EXPL_FINITE): Likewise.
17288 (FLDLOG): Likewise.
17289 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17290 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17291 e_expl.S.
17292 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17293 USE_AS_EXPM1L.
17294 (EXPL_FINITE): Likewise.
17295 (FLDLOG): Likewise.
17296 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17297 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17298 e_expl.S.
17299 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17300 test of -max_value argument for long double.
17301 * sysdeps/i386/fpu/libm-test-ulps: Update.
17302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17303
17304 2012-05-06 David S. Miller <davem@davemloft.net>
17305
17306 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17307 quad soft-float symbols whose references which are compiler
17308 generated.
17309 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17310
17311 2012-05-06 Joseph Myers <joseph@codesourcery.com>
17312
17313 [BZ #13884]
17314 [BZ #13914]
17315 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17316 USE_AS_EXP10L.
17317 (EXPL_FINITE): Likewise.
17318 (FLDLOG): Likewise.
17319 (c0): Likewise.
17320 (c1): Likewise.
17321 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17322 Adjust comments for base varying.
17323 (__expl_finite): Change alias to EXPL_FINITE.
17324 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17325 e_expl.S.
17326 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17327 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17329 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17330 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17331 USE_AS_EXP10L.
17332 (EXPL_FINITE): Likewise.
17333 (FLDLOG): Likewise.
17334 (c0): Likewise.
17335 (c1): Likewise.
17336 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17337 Adjust comments for base varying.
17338 (__expl_finite): Change alias to EXPL_FINITE.
17339 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17340 tests for bugs.
17341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17342
17343 [BZ #14064]
17344 * math/libm-test.inc (check_float_internal): Correct ulp
17345 calculation for subnormal expected results.
17346
17347 2012-05-06 Andreas Jaeger <aj@suse.de>
17348
17349 * Makeconfig (+math-flags): New, set to -frounding-math.
17350 (+cflags): Add +math-flags so that all of glibc gets compiled with
17351 it.
17352
17353 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17354
17355 2012-05-05 Joseph Myers <joseph@codesourcery.com>
17356
17357 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17358 Disable one test.
17359
17360 [BZ #13787]
17361 [BZ #13922]
17362 [BZ #14036]
17363 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17364 (__ieee754_expl): Allow for and saturate large arguments.
17365 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17366 (u_threshold): Likewise.
17367 (__exp): Call __ieee754_exp before checking for overflow and
17368 underflow.
17369 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17370 (u_threshold): Likewise.
17371 (__expf): Call __ieee754_expf before checking for overflow and
17372 underflow.
17373 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17374 (u_threshold): Likewise.
17375 (__expl): Call __ieee754_expl before checking for overflow and
17376 underflow.
17377 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17378 (__ieee754_expl): Allow for and saturate large arguments.
17379 * math/libm-test.inc (exp_test): Add another test. Do not allow
17380 missing overflow exception on overflow.
17381 (expm1_test): Do not allow missing overflow exception on overflow.
17382
17383 * sysdeps/i386/fpu/e_expl.c: Move to ...
17384 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17385 rather than using inline asm.
17386 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17387 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17388 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17389
17390 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17391 (nice): Likewise.
17392 (poll): Likewise.
17393 (signal): Likewise.
17394 (time): Likewise.
17395 (times): Likewise.
17396
17397 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17398
17399 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17400 sysdeps/unix/common/syscalls.list.
17401 (fchmod): Likewise.
17402 (fchown): Likewise.
17403 (ftruncate): Likewise.
17404 (getrusage): Likewise.
17405 (gettimeofday): Likewise.
17406 (setpgid): Likewise.
17407 (setregid): Likewise.
17408 (setreuid): Likewise.
17409 (sigaction): Likewise.
17410 (truncate): Likewise.
17411 (vhangup): Likewise.
17412 * sysdeps/unix/common/syscalls.list: Remove file.
17413 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17414 * sysdeps/unix/sysv/linux/Implies: Likewise.
17415
17416 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17417
17418 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17420 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17421 Moved to ...
17422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17423 Here.
17424 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17425 to ...
17426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17427 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17428 to ...
17429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17430 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17431 to ...
17432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17433 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17434 to ...
17435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17436 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17437 to ...
17438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17439 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17440 to ...
17441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17442 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17443 to ...
17444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17445 Here.
17446 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17447 to ...
17448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17449 Here.
17450 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17451 to ...
17452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17453 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17454 Moved to ...
17455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17456 Here.
17457 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17458 to ...
17459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17460
17461 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17462
17463 * sysdeps/unix/common/bits/dirent.h: Remove file.
17464 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17465
17466 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17467 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17468 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17469 * sysdeps/unix/bsd/isatty.c: Likewise.
17470 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17471 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17472 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17473
17474 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17475
17476 [BZ #13563]
17477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17478 long double comparison inaccuracies.
17479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17481
17482 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17483
17484 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17485 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17486
17487 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17488
17489 [BZ #14049]
17490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17491 nonzero digits before rounding a hex value.
17492 * stdlib/tst-strtod.c (tests): Add another test.
17493
17494 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17495
17496 * sysdeps/s390/fpu/libm-test-ulps: Update.
17497
17498 2012-05-03 Andreas Jaeger <aj@suse.de>
17499
17500 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17501 does not get optimized out.
17502 (malloc_opt_barrier): New.
17503
17504 2012-05-03 Andreas Jaeger <aj@suse.de>
17505 Roland McGrath <roland@hack.frob.com>
17506
17507 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17508 intermediate file deletion.
17509 (generated): Add .symlist files.
17510
17511 2012-05-03 Joseph Myers <joseph@codesourcery.com>
17512
17513 [BZ #13775]
17514 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17515 Redirect under this condition.
17516 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17517 [__USE_GNU] (__dprintf_chk): Not under this condition.
17518 [__USE_GNU] (__vdprintf_chk): Likewise.
17519 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17520 under this condition.
17521 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17522 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17523 [__USE_XOPEN2K8] (vdprintf): Likewise.
17524 [__USE_GNU] (__dprintf_chk): Not under this condition.
17525 [__USE_GNU] (__vdprintf_chk): Likewise.
17526 [__USE_GNU] (dprintf): Likewise.
17527 [__USE_GNU] (vdprintf): Likewise.
17528
17529 2012-05-03 Roland McGrath <roland@hack.frob.com>
17530
17531 * elf/Makefile (common-generated): Set this instead of generated for
17532 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17533 $(all-built-dso)-derived lists.
17534
17535 2012-05-03 Andreas Jaeger <aj@suse.de>
17536
17537 * sysdeps/i386/fpu/libm-test-ulps: Update.
17538
17539 * FAQ: Removed.
17540 * FAQ.in: Likewise.
17541 * scripts/gen-FAQ.pl: Likewise.
17542 * manual/install.texi (Installation): Point to online location of
17543 FAQ.
17544 * Makefile (files-for-dist): Remove FAQ.
17545 (FAQ): Remove.
17546
17547 2012-05-02 Allan McRae <allan@archlinux.org>
17548
17549 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17550 (LDFLAGS-reldepmod5.so): Likewise.
17551 (LDFLAGS-reldep6mod1.so): Likewise.
17552 (LDFLAGS-reldep6mod4.so): Likewise.
17553 (LDFLAGS-reldep8mod3.so): Likewise.
17554 (LDFLAGS-unload4mod1.so): Likewise.
17555 (LDFLAGS-unload4mod2.so): Likewise.
17556 (LDFLAGS-tst-initorder): Likewise.
17557 (LDFLAGS-tst-initordera2.so): Likewise.
17558 (LDFLAGS-tst-initordera3.so): Likewise.
17559 (LDFLAGS-tst-initordera4.so): Likewise.
17560 (LDFLAGS-tst-initorderb2.so): Likewise.
17561 (LDFLAGS-noload): Likewise.
17562 (LDFLAGS-next): Likewise.
17563 (LDFLAGS-order2mod1.so): Likewise.
17564 (LDFLAGS-order2mod2.so): Likewise.
17565 (LDFLAGS-tst-initorder2): Likewise.
17566 (LDFLAGS-tst-initorder2a.so): Likewise.
17567 (LDFLAGS-tst-initorder2b.so): Likewise.
17568 (LDFLAGS-tst-initorder2c.so): Likewise.
17569 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17570
17571 2012-05-02 David S. Miller <davem@davemloft.net>
17572
17573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17574
17575 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17576
17577 [BZ #14055]
17578 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17579
17580 2012-05-02 Andreas Jaeger <aj@suse.de>
17581
17582 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17583 since we manipulate rounding mode.
17584 (CPPFLAGS-test-idouble.c): Likewise.
17585 (CPPFLAGS-test-ifloat.c): Likewise.
17586 (CFLAGS-test-ldouble.c): Likewise.
17587 (CFLAGS-test-double.c): Likewise.
17588 (CFLAGS-test-float.c): Likewise.
17589 (CFLAGS-test-misc.c): Likewise.
17590 (CFLAGS-test-test-fenv.c): Likewise.
17591
17592 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17593
17594 [BZ #2550]
17595 [BZ #2570]
17596 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17597 comparisons to determine direction to adjust input.
17598
17599 2012-05-01 Roland McGrath <roland@hack.frob.com>
17600
17601 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17602 output to the target.
17603
17604 * scripts/localplt.awk: New file.
17605 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17606 (check-localplt-CFLAGS): Variable removed.
17607 ($(all-built-dso:=.jmprel)): New static pattern rule.
17608 (generated): Add those targets.
17609 (localplt-built-dso): New variable.
17610 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17611
17612 * elf/check-localplt.c: File removed.
17613
17614 * scripts/check-execstack.awk: New file.
17615 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17616 (check-execstack-CFLAGS): Variable removed.
17617 ($(objpfx)check-execstack.h): Target removed.
17618 ($(objpfx)execstack-default): New target.
17619 (generated): Add that instead of check-execstack.h.
17620 ($(all-built-dso:=.phdr)): New static pattern rule.
17621 (generated): Add those targets.
17622 * elf/check-execstack.c: File removed.
17623
17624 * scripts/check-textrel.awk: New file.
17625 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17626 (check-textrel-CFLAGS): Variable removed.
17627 (all-built-dso): Use := to define.o
17628 ($(all-built-dso:=.dyn)): New static pattern rule.
17629 (generated): Add those targets.
17630 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17631 * config.make.in (READELF): New substituted variable.
17632 * elf/check-textrel.c: File removed.
17633
17634 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17635
17636 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17637 allow.
17638 * conform/data/ctype.h-data [C99-based standards] (isblank):
17639 Expect function.
17640 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17641 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17643 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17644 Specify type. Require positive value.
17645 (EILSEQ): Likewise.
17646 (ERANGE): Likewise.
17647 [ISO || POSIX] (EILSEQ): Do not expect.
17648 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17649 Specify type. Require positive value.
17650 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17651 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17652 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17653 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17654 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17655 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17656 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17657 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17658 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17659 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17662 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17724 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17725 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17726 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17727 Require >= 2.
17728 (FLT_ROUNDS): Expect as macro, not constant.
17729 (FLT_MANT_DIG): Use macro-int-constant.
17730 (DBL_MANT_DIG): Likewise.
17731 (LDBL_MANT_DIG): Likewise.
17732 (FLT_DIG): Likewise.
17733 (DBL_DIG): Likewise.
17734 (LDBL_DIG): Likewise.
17735 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17736 (DBL_MIN_EXP): Likewise.
17737 (LDBL_MIN_EXP): Likewise.
17738 (FLT_MAX_EXP): Use macro-int-constant.
17739 (DBL_MAX_EXP): Likewise.
17740 (LDBL_MAX_EXP): Likewise.
17741 (FLT_MAX_10_EXP): Likewise.
17742 (DBL_MAX_10_EXP): Likewise.
17743 (LDBL_MAX_10_EXP): Likewise.
17744 (FLT_MAX): Use macro-constant.
17745 (DBL_MAX): Likewise.
17746 (LDBL_MAX): Likewise.
17747 (FLT_EPSILON): Use macro-constant. Give upper bound.
17748 (DBL_EPSILON): Likewise.
17749 (LDBL_EPSILON): Likewise.
17750 (FLT_MIN): Likewise.
17751 (DBL_MIN): Likewise.
17752 (LDBL_MIN): Likewise.
17753 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17754 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17755 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17756 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17757 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17758 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17759 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17760 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17761 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17762 [ISO11] (FLT_TRUE_MIN): Likewise.
17763 [ISO11] (LDBL_TRUE_MIN): Likewise.
17764 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17765 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17766 (SCHAR_MIN): Use macro-int-constant. Specify type.
17767 (SCHAR_MAX): Likewise.
17768 (UCHAR_MAX): Likewise.
17769 (CHAR_MIN): Likewise.
17770 (CHAR_MAX): Likewise.
17771 (MB_LEN_MAX): Use macro-int-constant.
17772 (SHRT_MIN): Use macro-int-constant. Specify type.
17773 (SHRT_MAX): Likewise.
17774 (USHRT_MAX): Likewise.
17775 (INT_MAX): Likewise.
17776 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17777 bound negative.
17778 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17779 bound with "U".
17780 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17781 bound with "L".
17782 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17783 bound negative. Suffix upper bound with "L".
17784 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17785 bound with "UL".
17786 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17787 Specify type.
17788 [C99-based standards] (LLONG_MAX): Likewise.
17789 [C99-based standards] (ULLONG_MAX): Likewise.
17790 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17791 == 0.
17792 [ISO11] (max_align_t): Require type.
17793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17794
17795 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17796 from $CFLAGS, without defining away __attribute__ calls.
17797 (checknamespace): Use $CFLAGS_namespace.
17798
17799 * conform/conformtest.pl (@keywords): Only include C99 keywords
17800 for standards based on C99 or C11.
17801
17802 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17803 Disable tests.
17804 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17805 UNIX98]: Likewise.
17806
17807 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17808 usability of symbols in #if.
17809
17810 * conform/conformtest.pl: If macro or constant types start
17811 "promoted:", expect the symbol to be of the following type
17812 promoted by the integer promotions.
17813
17814 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17815 in one place. Also handle "macro-constant".
17816
17817 * conform/conformtest.pl: Only accept expected macro values with
17818 "==". Parse all "macro" lines in one place.
17819 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17820
17821 * conform/conformtest.pl: Handle braced types on "constant" lines
17822 instead of handling "typed-constant".
17823 * conform/data/signal.h-data: Use "constant" instead of
17824 "typed-constant".
17825
17826 * conform/conformtest.pl: Handle "optional-" at start of lines in
17827 one place rather than duplicating several cases. Handle each
17828 format of "macro" line with initial "optional-".
17829
17830 * conform/conformtest.pl: Only accept expected constant or
17831 optional-constant values with "==". Parse all "constant" lines in
17832 one place. Parse all "optional-constant" lines in one place.
17833 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17834 * conform/data/fmtmsg.h-data: Likewise.
17835 * conform/data/netinet/in.h-data: Likewise.
17836 * conform/data/tar.h-data: Likewise.
17837 * conform/data/limits.h-data: Use "==" form on "constant" and
17838 "optional-constant" lines.
17839
17840 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17841 Use -std=c99 for XOPEN2K.
17842 (@knownproblems): Remove.
17843 (newtoken): Don't check %isknown.
17844
17845 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17846 Do not expect macro.
17847 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17848 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17849 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17850 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17851 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17852 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17853 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17854 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17855 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17856 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17857 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17858 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17859 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17860 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17861 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17862 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17863 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17864 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17865 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17866 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17867 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17868 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17869 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17870 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17871 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17872 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17873 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17877 [XPG3] (acosh): Likewise.
17878 [XPG3] (asinh): Likewise.
17879 [XPG3] (atanh): Likewise.
17880 [XPG3] (cbrt): Likewise.
17881 [XPG3] (expm1): Likewise.
17882 [XPG3] (ilogb): Likewise.
17883 [XPG3] (log1p): Likewise.
17884 [XPG3] (logb): Likewise.
17885 [XPG3] (nextafter): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17888 [XPG3] (remainder): Likewise.
17889 [XPG3] (rint): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17891 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17892 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17894 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17897 [UNIX98 || XOPEN2K] (scalb): Expect.
17898 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17899 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17900 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17901 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17905 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17906 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17909 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17910 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17911 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17914 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17915 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18035
18036 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18037 _XOPEN_SOURCE_EXTENDED for XPG4.
18038
18039 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18040
18041 * Makeconfig (localtime): Remove variable.
18042 (inst_localtime-file): Likewise.
18043
18044 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18045
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18047 Update.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18049 Update.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18051 Update.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18053 Update.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18055 Update.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18057 Update.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18059 Update.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18061 Update.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18063 Update.
18064
18065 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18066
18067 [BZ #2550]
18068 [BZ #2570]
18069 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18070 comparisons to determine direction to adjust input.
18071 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18072 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18073 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18074 Likewise.
18075 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18076 Likewise.
18077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18078 Likewise.
18079 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18080 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18081 Likewise.
18082 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18083 Likewise.
18084 * math/libm-test.inc (nexttoward_test): Add more tests.
18085
18086 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18087
18088 [BZ #14040]
18089 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18090 in version GLIBC_2.1, not GLIBC_2.0.
18091 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18092 Likewise.
18093
18094 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18095
18096 [BZ #13942]
18097 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18098 (1 - x) * (1 + x).
18099 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18100 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18101 * math/libm-test.inc (acos_test): Add more tests.
18102 (asin_test): Likewise.
18103 * sysdeps/i386/fpu/libm-test-ulps: Update.
18104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105
18106 [BZ #14034]
18107 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18108 of square root.
18109 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18110 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18111 * math/libm-test.inc (acos_test_tonearest): New function.
18112 (acos_test_towardzero): Likewise.
18113 (acos_test_downward): Likewise.
18114 (acos_test_upward): Likewise.
18115 (asin_test_tonearest): Likewise.
18116 (asin_test_towardzero): Likewise.
18117 (asin_test_downward): Likewise.
18118 (asin_test_upward): Likewise.
18119 (main): Call the new functions.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18122
18123 [BZ #13884]
18124 [BZ #13924]
18125 * math/e_exp10.c: Include <float.h>.
18126 (__ieee754_exp10): Handle underflow here rather than multiplying
18127 large negative argument by M_LN10.
18128 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18129 of __ieee754_expf.
18130 * math/e_exp10l.c: Include <float.h>.
18131 (__ieee754_exp10l): Handle underflow here rather than multiplying
18132 large negative argument by M_LN10l.
18133 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18134 spurious overflow exception on underflow.
18135
18136 2012-04-29 Marek Polacek <polacek@redhat.com>
18137
18138 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18139 (__fortify_function): New macro.
18140 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18141 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18142 __extern_always_inline.
18143 * libio/bits/stdio2.h: Likewise.
18144 * libio/bits/stdio.h: Likewise.
18145 * string/string.h: Likewise.
18146 * string/bits/string3.h: Likewise.
18147 * include/stdio.h: Likewise.
18148 * stdlib/bits/stdlib.h: Likewise.
18149 * stdlib/stdlib.h: Likewise.
18150 * rt/bits/mqueue2.h: Likewise.
18151 * rt/mqueue.h: Likewise.
18152 * posix/bits/unistd.h: Likewise.
18153 * posix/unistd.h: Likewise.
18154 * io/bits/poll2.h: Likewise.
18155 * io/bits/fcntl2.h: Likewise.
18156 * io/fcntl.h: Likewise.
18157 * io/sys/poll.h: Likewise.
18158 * misc/bits/syslog.h: Likewise.
18159 * misc/bits/syslog-ldbl.h: Likewise.
18160 * misc/sys/syslog.h: Likewise.
18161 * socket/bits/socket2.h: Likewise.
18162 * socket/sys/socket.h: Likewise.
18163 * debug/tst-chk1.c: Likewise.
18164 * wcsmbs/bits/wchar2.h: Likewise.
18165 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18166 * wcsmbs/wchar.h: Likewise.
18167
18168 2012-04-29 Andreas Jaeger <aj@suse.de>
18169
18170 * Makerules (tests): Remove enable-check-abi protection.
18171 (check-abi-warn): Remove.
18172 (check-abi-%): Remove check-abi-warn usage.
18173
18174 * configure.in: Remove check-abi configure option.
18175 * configure: Regenerated.
18176 * config.make.in (enable-check-abi): Remove.
18177
18178 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18179
18180 [BZ #14033]
18181 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18182 double functions to double *_finite functions.
18183
18184 [BZ #13941]
18185 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18186 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18187 LDBL_MIN_EXP.
18188 * stdio-common/Makefile (tests): Add tst-sprintf3.
18189 * stdio-common/tst-sprintf3.c: New file.
18190
18191 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18192 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18193
18194 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18195
18196 * conform/conformtest.pl: Remove duplicate typed-constant
18197 handling.
18198
18199 2012-04-28 David S. Miller <davem@davemloft.net>
18200
18201 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18202 (check-abi-%): Remove AWK script prerequisite and explicit
18203 abilist directory.
18204 (check-abi): Rewrite to just diff the symlist with the abilist.
18205 (config-tls, config-abi-config): Delete, no longer used.
18206 (update-abi-%): Remove AWK script and explicit abilist directory.
18207 (update-abi): Rewrite to simply compare and conditionally copy the
18208 symlist and the sysdep abilist file. Remove update-abi-config
18209 checks.
18210 * abilist/ld.abilist: Remove.
18211 * abilist/libBrokenLocale.abilist: Remove.
18212 * abilist/libanl.abilist: Remove.
18213 * abilist/libcrypt.abilist: Remove.
18214 * abilist/libdl.abilist: Remove.
18215 * abilist/librt.abilist: Remove.
18216 * abilist/libthread_db.abilist: Remove.
18217 * abilist/libutil.abilist: Remove.
18218 * scripts/extract-abilist.awk: Remove.
18219 * scripts/merge-abilist.awk: Remove.
18220 * sysdeps/generic/libcidn.abilist: New file.
18221 * sysdeps/generic/libnss_compat.abilist: New file.
18222 * sysdeps/generic/libnss_db.abilist: New file.
18223 * sysdeps/generic/libnss_dns.abilist: New file.
18224 * sysdeps/generic/libnss_files.abilist: New file.
18225 * sysdeps/generic/libnss_hesiod.abilist: New file.
18226 * sysdeps/generic/libnss_nis.abilist: New file.
18227 * sysdeps/generic/libnss_nisplus.abilist: New file.
18228 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18229 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18230 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18231 file.
18232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18233 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18234 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18235 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18236 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18237 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18238 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18239 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18240 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18241 file.
18242 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18243 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18244 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18245 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18246 file.
18247 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18248 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18249 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18250 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18251 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18252 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18253 file.
18254 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18255 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18256 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18257 file.
18258 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18260 New file.
18261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18262 New file.
18263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18264 New file.
18265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18266 New file.
18267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18268 New file.
18269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18270 New file.
18271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18272 New file.
18273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18274 New file.
18275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18276 New file.
18277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18278 New file.
18279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18280 New file.
18281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18282 New file.
18283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18284 New file.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18286 file.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18288 New file.
18289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18290 New file.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18292 file.
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18294 New file.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18296 New file.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18298 file.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18300 New file.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18302 New file.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18304 New file.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18306 New file.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18308 New file.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18310 New file.
18311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18313 file.
18314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18315 New file.
18316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18317 file.
18318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18319 file.
18320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18321 file.
18322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18323 file.
18324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18325 file.
18326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18327 New file.
18328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18329 file.
18330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18331 file.
18332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18333 New file.
18334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18335 file.
18336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18338 file.
18339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18340 New file.
18341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18342 file.
18343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18344 file.
18345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18346 file.
18347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18348 file.
18349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18350 file.
18351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18352 New file.
18353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18354 file.
18355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18356 file.
18357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18358 New file.
18359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18360 file.
18361 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18362 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18363 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18364 file.
18365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18366 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18367 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18368 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18369 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18370 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18371 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18372 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18373 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18374 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18377 file.
18378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18379 New file.
18380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18381 file.
18382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18383 file.
18384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18385 file.
18386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18387 file.
18388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18389 file.
18390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18391 New file.
18392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18393 New file.
18394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18395 file.
18396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18397 New file.
18398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18399 file.
18400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18402 file.
18403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18404 New file.
18405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18406 file.
18407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18408 file.
18409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18410 file.
18411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18412 file.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18414 file.
18415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18416 New file.
18417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18418 New file.
18419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18420 file.
18421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18422 New file.
18423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18424 file.
18425
18426 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18427
18428 * conform/conformtest.pl: Fix typo in handling typed-constant from
18429 allow-header.
18430
18431 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18432
18433 * README: Cut down references to pre-2.6 Linux kernels and
18434 Linuxthreads. Update lists of configurations in libc and ports
18435 and sort alphabetically. Say "or newer" with Linux kernel version
18436 requirements.
18437
18438 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18439
18440 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18441
18442 [BZ #887]
18443 * math/libm-test.inc (logb_test_downward): New test to expose
18444 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18445 rounding mode.
18446
18447 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18448
18449 [BZ #14027]
18450 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18451 to be done.
18452 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18453 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18454
18455 2012-04-26 Joseph Myers <joseph@codesourcery.com>
18456
18457 * sysdeps/unix/i386/brk.S: Remove file.
18458 * sysdeps/unix/i386/dl-brk.S: Likewise.
18459 * sysdeps/unix/i386/pipe.S: Likewise.
18460 * sysdeps/unix/i386/sigreturn.S: Likewise.
18461 * sysdeps/unix/i386/syscall.S: Likewise.
18462 * sysdeps/unix/i386/vfork.S: Likewise.
18463 * sysdeps/unix/i386/wait.S: Likewise.
18464
18465 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18466 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18467
18468 * configure.in (arm*-none*): Do not allow without
18469 --enable-hacker-mode.
18470 (netbsd*): Remove case setting base_os.
18471 (386bsd*): Likewise.
18472 (freebsd*): Likewise.
18473 (bsdi*): Likewise.
18474 (osf*): Likewise.
18475 (sunos*): Likewise.
18476 (ultrix*): Likewise.
18477 (newsos*): Likewise.
18478 (dynix*): Likewise.
18479 (*bsd*): Likewise.
18480 (sysv*): Likewise.
18481 (isc*): Likewise.
18482 (esix*): Likewise.
18483 (sco*): Likewise.
18484 (minix*): Likewise.
18485 (irix4*): Likewise.
18486 (irix6*): Likewise.
18487 (solaris[2-9]*): Likewise.
18488 (none): Likewise.
18489 * configure: Regenerated.
18490
18491 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18492
18493 [BZ #11521]
18494 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18495 overflow or cancellation in calculating denominator.
18496 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18498 down expression to avoid unexpected rounding in newer GCCs.
18499 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18500
18501 2012-04-26 David S. Miller <davem@davemloft.net>
18502
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18504 long-double compat symbols.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18518
18519 2012-04-25 David S. Miller <davem@davemloft.net>
18520
18521 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18522 HWCAP_* values only after the memory barriers have been defined.
18523 (atomic_full_barrier): Define.
18524 (atomic_read_barrier): Define.
18525 (atomic_write_barrier): Define.
18526
18527 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18528
18529 * shlib-versions: Add libgcc_s version information.
18530 * sysdeps/generic/libgcc_s.h: Remove.
18531 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18532 libgcc_s.h.
18533 * sysdeps/gnu/unwind-resume.c: Likewise.
18534 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18535
18536 2012-04-25 David S. Miller <davem@davemloft.net>
18537
18538 * sysdeps/unix/sparc/brk.S: Delete.
18539 * sysdeps/unix/sparc/dl-brk.S: Delete.
18540 * sysdeps/unix/sparc/pipe.S: Delete.
18541 * sysdeps/unix/sparc/sysdep.S: Delete.
18542 * sysdeps/unix/sparc/sysdep.h: Delete.
18543 * sysdeps/unix/sparc/vfork.S: Delete.
18544 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18545 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18546 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18547 ret_ERRVAL, r0, r1, MOVE): Define.
18548 (JUMPTARGET): Remove.
18549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18550 sysdeps/unix/sparc/sysdep.h
18551 (ENTRY, END): Remove.
18552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18553
18554 2012-04-25 Joseph Myers <joseph@codesourcery.com>
18555
18556 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18557 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18558 -DIS_IN_build.
18559
18560 * timezone/README: Update upstream location and email address for
18561 tzcode and tzdata.
18562 * timezone/zdump.c: Update from tzcode 2012b.
18563 * timezone/zic.c: Likewise.
18564
18565 * configure.in (libc_cv_as_needed): Remove test.
18566 * configure: Regenerated.
18567 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18568 conditional definition.
18569 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18570 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18571 * config.make.in (have-as-needed): Remove variable.
18572
18573 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18574 Paul Pluzhnikov <ppluzhnikov@google.com>
18575
18576 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18577 strings correctly.
18578
18579 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18580
18581 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18582 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18583 * sysdeps/sh/strlen.S: Likewise.
18584
18585 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18586
18587 * sysdeps/unix/fork.S: Remove file.
18588 * sysdeps/unix/i386/fork.S: Likewise.
18589 * sysdeps/unix/sparc/fork.S: Likewise.
18590
18591 * sysdeps/unix/system.c: Remove file.
18592 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18593
18594 * sysdeps/unix/getegid.S: Remove file.
18595 * sysdeps/unix/geteuid.S: Likewise.
18596
18597 2012-04-24 Roland McGrath <roland@hack.frob.com>
18598
18599 * scripts/check-localplt.awk: New file.
18600 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18601 of diff.
18602 * scripts/data/localplt-generic.data: Add a comment.
18603
18604 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18605 NODE when __dir_mkfile failed.
18606 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18607 Reported by Ludovic Courtès <ludo@gnu.org>.
18608
18609 2012-04-24 Andreas Jaeger <aj@suse.de>
18610
18611 * Makerules (common-clean): Also remove gen-as-const-headers
18612 files.
18613
18614 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18615
18616 * Makerules (native-compile): Do not change working directory for
18617 build. Use $(OUTPUT_OPTION) in command.
18618 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18619
18620 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18621
18622 [BZ #13886]
18623 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18624 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18625 * math/libm-test.inc (floor_test): Add more tests.
18626 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18627
18628 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18629
18630 * sysdeps/unix/getdents.c: Remove file.
18631 * sysdeps/unix/sysv/getdents.c: Likewise.
18632 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18633
18634 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18635 sysdeps/unix/mman/syscalls.list.
18636 (mmap): Likewise.
18637 (mprotect): Likewise.
18638 (msync): Likewise.
18639 (munmap): Likewise.
18640 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18641 * sysdeps/unix/mman/syscalls.list: Remove.
18642 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18643
18644 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18645 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18646 * configure: Regenerated.
18647 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18648 $(libgcc_s_suffix).
18649 * config.make.in (libgcc_s_suffix): Remove variable.
18650
18651 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18652
18653 * sysdeps/unix/sysv/gethostname.c: Move to ...
18654 * sysdeps/posix/gethostname.c: ... here.
18655
18656 * sysdeps/unix/execve.S: Remove file.
18657
18658 * sysdeps/unix/_exit.S: Remove file.
18659
18660 2012-04-23 Andreas Jaeger <aj@suse.de>
18661
18662 [BZ #13739]
18663 * manual/Makefile: Remove make dist support, there's no
18664 need for a stand-alone documentation tar ball.
18665 (TEXI2DVI): Define always, it's not in Makeconfig.
18666 (dist): Removed.
18667 (tar-it): Removed.
18668 (edition): Removed.
18669 (glibc-doc-$(edition).tar): Removed
18670 (%.Z): Removed.
18671 (%.gz): Removed.
18672 (%.uu): Removed.
18673 (ETAGS): Remove, it's in Makeconfig.
18674 (move-if-change): Remove, it's in Makeconfig.
18675
18676 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18677
18678 [BZ #13970]
18679 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18680 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18681 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18682 (strtod_l, strtof_l, strtold_l): Remove __wur.
18683 It is not necessarily an error to ignore strtol's return value.
18684 One can reliably look at the stored endptr to decide whether
18685 the number had valid syntax.
18686
18687 2012-04-21 Andreas Jaeger <aj@suse.de>
18688
18689 [BZ #13739]
18690 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18691
18692 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18693
18694 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18695 * sysdeps/unix/sysv/Versions: Remove file.
18696
18697 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18698
18699 [BZ #13927]
18700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18701
18702 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18703
18704 [BZ #7064]
18705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18706 version from __vm86.
18707
18708 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18709
18710 * sysdeps/unix/common/lxstat.c: Remove file.
18711 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18712
18713 * sysdeps/unix/sysv/Makefile: Remove file.
18714
18715 * sysdeps/unix/sysv/direct.h: Remove file.
18716
18717 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18718 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18719 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18720 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18721 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18722 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18723 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18724
18725 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18726
18727 * sysdeps/unix/xmknod.c: Remove file.
18728 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18729
18730 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18731
18732 * sysdeps/unix/sysv/i386/time.S: Remove file.
18733
18734 * sysdeps/unix/fxstat.c: Remove file.
18735 * sysdeps/unix/xstat.c: Likewise.
18736 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18737
18738 * sysdeps/unix/sysv/sigaction.c: Remove file.
18739
18740 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18741 (sysdep_headers): Remove variable.
18742 [termio.h not in sysdep_headers] (generated): Likewise.
18743 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18744 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18745 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18746 * sysdeps/unix/sysv/tcflow.c: Likewise.
18747 * sysdeps/unix/sysv/tcflush.c: Likewise.
18748 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18749 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18750 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18751 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18752 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18753
18754 * sysdeps/unix/siglist.c: Remove file.
18755
18756 * sysdeps/unix/getppid.S: Remove file.
18757
18758 * sysdeps/unix/mkdir.c: Remove file.
18759 * sysdeps/unix/rmdir.c: Likewise.
18760
18761 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18762
18763 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18764 ERR_MAX value.
18765 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18766 errlist-compat value.
18767
18768 2012-04-18 David S. Miller <davem@davemloft.net>
18769
18770 * sysdeps/generic/memcopy.h (reg_char): Delete.
18771 * debug/strcat_chk.c: Use char, not reg_char.
18772 * debug/strcpy_chk.c: Likewise.
18773 * debug/strncat_chk.c: Likewise.
18774 * debug/strncpy_chk.c: Likewise.
18775 * string/memchr.c: Likewise.
18776 * string/memrchr.c: Likewise.
18777 * string/rawmemchr.c: Likewise.
18778 * string/strcat.c: Likewise.
18779 * string/strchr.c: Likewise.
18780 * string/strchrnul.c: Likewise.
18781 * string/strcmp.c: Likewise.
18782 * string/strcpy.c: Likewise.
18783 * string/strncat.c: Likewise.
18784 * string/strncmp.c: Likewise.
18785 * string/strncpy.c: Likewise.
18786
18787 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18788
18789 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18790 __builtin_memcopy is called when src and dest ranges are known to not
18791 overlap.
18792
18793 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18794
18795 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18796 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18797 fwd_align_merge macro call.
18798 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18799 bwd_align_merge macro call.
18800 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18801
18802 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18803
18804 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18805 bwd_align_merge macros.
18806 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18807 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18808 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18809
18810 2012-04-18 David S. Miller <davem@davemloft.net>
18811
18812 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18813
18814 2012-04-18 Andreas Jaeger <aj@suse.de>
18815
18816 [BZ# 6794]
18817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18818 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18819 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18820
18821 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18822 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18823 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18824
18825 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18826 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18827 Adjust for changed ldbl-128 files.
18828
18829 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18830 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18831 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18832
18833 2012-04-17 David S. Miller <davem@davemloft.net>
18834
18835 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18836
18837 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18838
18839 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18840 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18841 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18842 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18843 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18844 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18845
18846 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18847
18848 [BZ #6794]
18849 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18850 * math/libm-test.inc: Add ilogb errno and exception tests.
18851 * math/w_ilogb.c: New file: ilogb wrapper.
18852 * math/w_ilogbf.c: New file: ilogbf wrapper.
18853 * math/w_ilogbl.c: New file: ilogbl wrapper.
18854 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18855 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18856 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18857 exception being thrown with 0.0 as argument.
18858 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18859 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18860 exception being thrown with 0.0 as argument.
18861 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18862 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18863 exception being thrown with 0.0 as argument.
18864 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18865 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18866 exception being thrown with 0.0 as argument.
18867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18868 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18869 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18870 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18871 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18872 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18873 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18874 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18875 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18876
18877 2012-04-17 Petr Baudis <pasky@ucw.cz>
18878
18879 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18880 with altivec.
18881
18882 2012-04-16 Marek Polacek <polacek@redhat.com>
18883
18884 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18885
18886 2012-04-16 Marek Polacek <polacek@redhat.com>
18887
18888 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18889 operands of fdivp instruction.
18890
18891 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18894 * elf/tst-auditmod3b.c: Likewise.
18895 * elf/tst-auditmod4b.c: Likewise.
18896 * elf/tst-auditmod5b.c: Likewise.
18897 * elf/tst-auditmod6b.c: Likewise.
18898 * elf/tst-auditmod6c.c: Likewise.
18899 * elf/tst-auditmod7b.c: Likewise.
18900 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18901 * sysdeps/x86_64/preconfigure.in: Likewise.
18902 * sysdeps/x86_64/preconfigure: Regenerated.
18903
18904 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18907 __ILP32__.
18908
18909 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
18910
18911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18912 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18913
18914 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18915
18916 [BZ #13973]
18917 * locale/iso-639.def: Fix gl language name. Spotted by
18918 Yaron Shahrabani.
18919
18920 2012-04-12 Roland McGrath <roland@hack.frob.com>
18921
18922 [BZ #2074]
18923 * libio/libio.h (__io_write_fn): Update comment.
18924
18925 2012-04-12 Petr Baudis <pasky@ucw.cz>
18926
18927 [BZ #2074]
18928 * stdio.texi (Hook Functions): The user provided writer function
18929 is not allowed to return -1.
18930
18931 2012-04-11 David S. Miller <davem@davemloft.net>
18932
18933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18934
18935 2012-04-11 Mike Frysinger <vapier@gentoo.org>
18936
18937 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18938 Add a leading slash to rtkaio.
18939
18940 2012-04-11 Jim Meyering <meyering@redhat.com>
18941
18942 [BZ #11959]
18943 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18944 It is not necessarily an error to ignore fwrite's return
18945 value. One can reliably use ferror to test for errors after
18946 the fact.
18947
18948 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18949
18950 * bits/types.h (__snseconds_t): New type.
18951 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18952
18953 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18955 (__SNSECONDS_T_TYPE): Likewise.
18956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18957 (__SNSECONDS_T_TYPE): Likewise.
18958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18959 (__SNSECONDS_T_TYPE): Likewise.
18960
18961 2012-04-10 Andreas Jaeger <aj@suse.de>
18962
18963 [BZ #2636]
18964 * manual/time.texi (Processor Time): Return type of times is
18965 elapsed real time since an arbitrary point in the past.
18966 (CPU Time): Move CLK_TCK from here...
18967 (Processor Time): ...to here. Correct description.
18968 * manual/conf.texi (Constants for Sysconf): Correct description of
18969 _SC_CLK_TCK.
18970
18971 2012-04-10 David S. Miller <davem@davemloft.net>
18972
18973 [BZ #13967]
18974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18975 where the is a gap between DT_REL(A) and DT_JMPREL.
18976
18977 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18978
18979 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18980 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18981 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18982
18983 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18984
18985 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18986 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18987 (dl_main): Handle --inhibit-cache.
18988 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18989 _dl_inhibit_cache.
18990 * elf/dl-load.c (_dl_map_object): Use it.
18991 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18992
18993 2012-04-09 Joseph Myers <joseph@codesourcery.com>
18994
18995 [BZ #13872]
18996 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18997 (__ieee754_powl): Saturate large exponents rather than testing for
18998 overflow of y*log2(x).
18999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19000 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19001 exceptions.
19002
19003 [BZ #11521]
19004 * math/s_ctan.c: Include <float.h>.
19005 (__ctan): Avoid internal overflow or cancellation in calculating
19006 denominator.
19007 * math/s_ctanf.c: Likewise.
19008 * math/s_ctanl.c: Likewise.
19009 * math/s_ctanh.c: Likewise.
19010 * math/s_ctanhf.c: Likewise.
19011 * math/s_ctanhl.c: Likewise.
19012 * math/libm-test.inc (ctan_test): Add more tests.
19013 (ctanh_test): Likewise.
19014 * sysdeps/i386/fpu/libm-test-ulps: Update.
19015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19016
19017 2012-04-09 Andreas Jaeger <aj@suse.de>
19018
19019 [BZ #6894]
19020 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19021 is an optional BSD extension.
19022
19023 [BZ #10254]
19024 * manual/stdio.texi (Opening Streams): Document additional fopen
19025 parameters.
19026
19027 2012-04-09 Roland McGrath <roland@hack.frob.com>
19028
19029 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19030 %eax without telling the compiler.
19031
19032 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19033
19034 [BZ # 13963]
19035 * manual/install.texi: Use sourceware.org.
19036
19037 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19038
19039 [BZ #13873]
19040 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19041 (__ieee754_pow): Generate overflow and underflow using huge*huge
19042 and tiny*tiny rather than just returning constant infinity or zero
19043 for large exponents.
19044 * math/libm-test.inc (pow_test): Require overflow exceptions for
19045 applicable cases of large exponents.
19046
19047 [BZ #706]
19048 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19049 (__ieee754_pow): Use iterative multiplication algorithm only for
19050 integer exponents with absolute value below 1024. Check for odd
19051 integer exponents when using algorithm for real exponents.
19052 * math/libm-test.inc (pow_test): Add more tests.
19053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19054
19055 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19056
19057 [BZ #13705]
19058 * math/libm-test.inc (exp_test): Do not allow overflow exception
19059 on underflow test.
19060
19061 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19062
19063 [BZ #13705]
19064 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19065 instead of __kernel_standard_f.
19066
19067 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19068
19069 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19070 * sysdeps/x86_64/memset_chk.S: Likewise.
19071
19072 2012-04-08 Andreas Jaeger <aj@suse.de>
19073
19074 [BZ #10153]
19075 * manual/startup.texi (Environment Access): Describe return value
19076 for putenv and setenv.
19077
19078 [BZ #6895]
19079 * manual/filesys.texi (Directory Entries): Add description for
19080 DT_LNK.
19081
19082 [BZ #6890]
19083 * manual/filesys.texi (Directory Entries): Clarify that it's file
19084 system not operating system in the description of DT_UNKNOWN.
19085
19086 [BZ #6578]
19087 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19088
19089 2012-04-08 Stephen Compall <s11@member.fsf.org>
19090
19091 [BZ #6649]
19092 * manual/llio.texi (Opening and Closing Files): Add cross
19093 reference to explain mode argument.
19094
19095 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19096
19097 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19098 * sysdeps/x86_64/memset_chk.S: Likewise.
19099
19100 2012-04-07 David S. Miller <davem@davemloft.net>
19101
19102 * elf/elf.h (R_SPARC_WDISP10): Define.
19103 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19104 R_SPARC_SIZE32.
19105 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19106 R_SPARC_SIZE64 and R_SPARC_H34.
19107
19108 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19109
19110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19111 conditions and remove no longer applicable assertion.
19112
19113 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 * bits/byteswap.h: Include <features.h>.
19116 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19117 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19118
19119 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19120
19121 * bits/byteswap.h (__bswap_16): Removed.
19122 Include <bits/byteswap-16.h> to get __bswap_16.
19123 * sysdeps/i386/bits/byteswap.h: Likewise.
19124 * sysdeps/s390/bits/byteswap.h: Likewise.
19125 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19126 * bits/byteswap-16.h: New file.
19127 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19128 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19129 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19130 * string/Makefile (headers): Add bits/byteswap-16.h.
19131
19132 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19133
19134 [BZ #13895]
19135 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19136 extra indirection.
19137 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19138 * nss/tst-nss-static.c: New.
19139
19140 2012-04-06 Robert Millan <rmh@gnu.org>
19141
19142 [BZ #6486]
19143 * manual/llio.texi (File Position Primitive): lseek
19144 refers to WHENCE when it really means OFFSET.
19145
19146 2012-04-06 Andreas Jaeger <aj@suse.de>
19147
19148 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19149 strncmp declarations.
19150
19151 * abilist/libc.abilist: Add __poll and __ppoll.
19152
19153 2012-04-05 David S. Miller <davem@davemloft.net>
19154
19155 * scripts/check-local-headers.sh: Accept a host triplet in the
19156 path matched by the exclude regexp.
19157
19158 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19159 definition.
19160 * sysdeps/powerpc/powerpc32/dl-machine.h
19161 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19162 * sysdeps/s390/s390-32/dl-machine.h
19163 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19164 * sysdeps/sparc/sparc32/dl-machine.h
19165 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19166 * sysdeps/sparc/sparc64/dl-machine.h
19167 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19168
19169 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19170 lazy binding.
19171 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19172 undefined symbol errors.
19173
19174 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19175 DT_NEEDED entries.
19176
19177 2012-04-05 Michael Matz <matz@suse.de>
19178
19179 [BZ #13592]
19180 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19181
19182 2012-04-05 Andreas Jaeger <aj@suse.de>
19183
19184 [BZ #13908]
19185 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19186 comment.
19187
19188 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19189
19190 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19191 which ROUND is no valid rounding mode.
19192
19193 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19194
19195 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19196 read again.
19197 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19198
19199 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19200
19201 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19202 an exception using FPU order intentionally.
19203
19204 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19205
19206 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19207 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19208 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19209 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19210
19211 2012-04-05 Simon Josefsson <simon@josefsson.org>
19212
19213 [BZ #12340]
19214 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19215 EINVAL when BUFLEN is too smal.
19216
19217 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19218
19219 [BZ #13553]
19220 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19221 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19222
19223 2012-04-03 Andreas Jaeger <aj@suse.de>
19224
19225 [BZ #13938]
19226 * manual/setjmp.texi (System V contexts): Fix sentence.
19227
19228 [BZ #13926]
19229 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19230 New macro for this case.
19231 [!__GNUC__] (__bswap_64): New inline function for this case.
19232 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19233 * bits/byteswap.h: Likewise.
19234 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19235 ull, guard with __GLIBC_HAVE_LONG_LONG.
19236
19237 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19238 __GLIBC_HAVE_LONG_LONG.
19239
19240 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19241 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19242
19243 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19244
19245 [BZ #13691]
19246 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19247 inptr and inend, rather than using last_ch.
19248
19249 2012-04-02 David S. Miller <davem@davemloft.net>
19250
19251 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19252 * stdio-common/printf-parse.h (read_int): Change return type to
19253 'int', return -1 on INT_MAX overflow.
19254 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19255 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19256 overflows INT_MAX. Check for overflow of in-format-string precision
19257 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19258 SIZE_MAX not INT_MAX for integer overflow test.
19259 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19260 skip the construct in the format string but do not record anything.
19261 * stdio-common/bug22.c: Adjust to test both width/prevision
19262 INT_MAX overflow as well as total length INT_MAX overflow. Check
19263 explicitly for proper errno values.
19264
19265 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19266
19267 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19268 CHAR_MAX.
19269 * string/test-strcmp.c [! WIDE]: Likewise.
19270 * time/tst-mktime2.c: Likewise for INT_MAX.
19271 * string/test-string.h: #include <sys/param.h> for MIN.
19272
19273 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19274 * sysdeps/i386/init-first.c (init): Likewise.
19275 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19276 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19277 * sysdeps/sh/init-first.c (init): Likewise.
19278
19279 2012-04-01 Ulrich Drepper <drepper@gmail.com>
19280
19281 * po/ru.po: Update from translation team.
19282 * po/vi.po: Likewise.
19283
19284 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19285
19286 * resolv/nss_dns/dns-host.c: Merge copyright years.
19287
19288 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19289
19290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19291 Optimize memcpy with prefetch if
19292 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19293 src, dst pointers have unequal 16 byte alignments.
19294
19295 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19296
19297 [BZ #13928]
19298 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19299 from a CNAME entry and return the minimum ttl for the query.
19300 (gaih_getanswer_slice): Likewise.
19301
19302 2012-03-30 Jeff Law <law@redhat.com>
19303
19304 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19305 due to long keys.
19306 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19307 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19308
19309 * resolv/nss_dns/dns-host.c: Update copyright year.
19310
19311 2012-03-30 Ulrich Drepper <drepper@gmail.com>
19312
19313 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19314 requests to save a system call. Fix check that all bytes are sent.
19315
19316 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19317 comments for sendmmsg.
19318
19319 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19320
19321 [BZ #13691]
19322 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19323 with only 1 character between 0x0041 and 0x01b0.
19324 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19325 * wcsmbs/tst-mbsnrtowcs.c: New file.
19326
19327 2012-03-29 David S. Miller <davem@davemloft.net>
19328
19329 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19330 small copies by hand.
19331
19332 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19333
19334 [BZ #13761]
19335 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19336 _nss_compat_initgroups_dyn): Fall back to malloc/free
19337 for large group memberships.
19338
19339 2012-03-28 David S. Miller <davem@davemloft.net>
19340
19341 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19342 that branches into memcpy.
19343 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19346 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19347 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19348 bits.
19349 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19350 implementation too.
19351 * sysdeps/sparc/mempcpy.S: New file.
19352
19353 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19354 the IFUNC routine in the libc case.
19355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19356
19357 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19358 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19359 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19360 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19361 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19362 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19363 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19364 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19365
19366 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19367 loop to 256 bytes instead of 64 bytes and fix test signedness.
19368
19369 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19370 * sysdeps/sparc/sparc32/Makefile: rather than here...
19371 * sysdeps/sparc/sparc64/Makefile: and here.
19372
19373 2012-03-28 Ulrich Drepper <drepper@gmail.com>
19374
19375 * malloc/mallocbug.c: Avoid warnings about unused variables.
19376
19377 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19378
19379 [BZ #13760]
19380 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19381 in the right place. Discard and retry query if response is
19382 larger than input buffer size.
19383
19384 2012-03-28 Joseph Myers <joseph@codesourcery.com>
19385
19386 [BZ #369]
19387 [BZ #2678]
19388 [BZ #3866]
19389 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19390 x for large integer exponent.
19391 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19392 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19393 sign of result as needed afterwards.
19394 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19396 result for underflowing pow the same as for overflow.
19397 (__kernel_standard_l): Handle powl overflow and underflow here
19398 rather than calling __kernel_standard.
19399 * math/libm-test.inc (pow_test): Add more tests.
19400
19401 [BZ #3868]
19402 [BZ #13879]
19403 [BZ #13910]
19404 [BZ #13911]
19405 [BZ #13912]
19406 [BZ #13913]
19407 [BZ #13915]
19408 [BZ #13916]
19409 [BZ #13917]
19410 [BZ #13918]
19411 [BZ #13919]
19412 [BZ #13920]
19413 [BZ #13921]
19414 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19415 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19416 (__kernel_standard_l): New function.
19417 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19418 __kernel_standard.
19419 * math/w_acosl.c (__acosl): Likewise.
19420 * math/w_asinl.c (__asinl): Likewise.
19421 * math/w_atan2l.c (__atan2l): Likewise.
19422 * math/w_atanhl.c (__atanhl): Likewise.
19423 * math/w_coshl.c (__coshl): Likewise.
19424 * math/w_exp10l.c (__exp10l): Likewise.
19425 * math/w_exp2l.c (__exp2l): Likewise.
19426 * math/w_fmodl.c (__fmodl): Likewise.
19427 * math/w_hypotl.c (__hypotl): Likewise.
19428 * math/w_j0l.c (__j0l, __y0l): Likewise.
19429 * math/w_j1l.c (__j1l, __y1l): Likewise.
19430 * math/w_jnl.c (__jnl, __ynl): Likewise.
19431 * math/w_lgammal.c (__lgammal): Likewise.
19432 * math/w_log10l.c (__log10l): Likewise.
19433 * math/w_log2l.c (__log2l): Likewise.
19434 * math/w_logl.c (__logl): Likewise.
19435 * math/w_powl.c (__powl): Likewise.
19436 * math/w_remainderl.c (__remainderl): Likewise.
19437 * math/w_scalbl.c (sysv_scalbl): Likewise.
19438 * math/w_sinhl.c (__sinhl): Likewise.
19439 * math/w_sqrtl.c (__sqrtl): Likewise.
19440 * math/w_tgammal.c (__tgammal): Likewise.
19441 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19442 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19443 * math/libm-test.inc (acos_test): Add more tests.
19444 (acosh_test): Likewise.
19445 (asin_test): Likewise.
19446 (atanh_test): Likewise.
19447 (exp_test): Likewise.
19448 (exp10_test): Likewise.
19449 (exp2_test): Likewise.
19450 (expm1_test): Likewise.
19451 (lgamma_test): Likewise.
19452 (log_test): Likewise.
19453 (log10_test): Likewise.
19454 (log1p_test): Likewise.
19455 (log2_test): Likewise.
19456 (pow_test): Do not allow some spurious overflow exceptions.
19457 (sqrt_test): Add more tests.
19458 (tgamma_test): Likewise.
19459 (y0_test): Likewise.
19460 (y1_test): Likewise.
19461 (yn_test): Likewise.
19462
19463 2012-03-27 Anton Blanchard <anton@samba.org>
19464
19465 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19466 MAP_HUGETLB.
19467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19470
19471 2012-03-27 David S. Miller <davem@davemloft.net>
19472
19473 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19474
19475 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19476 have-as-vis3 check.
19477
19478 2012-03-27 Andreas Jaeger <aj@suse.de>
19479
19480 * sysdeps/x86_64/elf/configure.in: Moved to ...
19481 * sysdeps/x86_64/configure.in: ... here.
19482 * sysdeps/x86_64/elf/start.S: Moved to ...
19483 * sysdeps/x86_64/start.S: ... here.
19484 * sysdeps/x86_64/elf/configure: Delete.
19485
19486 * sysdeps/x86_64/configure.in: Merge contents from
19487 sysdeps/i386/configure.in (without i686 check).
19488
19489 * sysdeps/i386/elf/Versions: Merge into ...
19490 * sysdeps/i386/Versions: ... this.
19491 * sysdeps/i386/elf/Versions: Delete file.
19492 * sysdeps/i386/elf/start.S: Moved to ...
19493 * sysdeps/i386/start.S: ...here.
19494 * sysdeps/i386/elf/configure.in: Merge into...
19495 * sysdeps/i386/configure.in: ...here.
19496 * sysdeps/i386/elf/configure.in: Delete file.
19497 * sysdeps/i386/elf/configure: Delete file.
19498
19499 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19500 * debug/backtracesyms.c: ... here.
19501 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19502 * debug/backtracesymsfd.c: ... here.
19503 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19504 * sysdeps/generic/ifunc-sel.h: ... here.
19505
19506 * sysdeps/unix/i386/start.c: Delete file.
19507 * sysdeps/unix/sparc/start.c: Delete file.
19508 * sysdeps/unix/start.c: Delete file.
19509
19510 * sysdeps/sh/elf/configure.in: Moved to ...
19511 * sysdeps/sh/configure.in: ... here.
19512 * sysdeps/sh/elf/start.S: Moved to ...
19513 * sysdeps/sh/start.S: ... here.
19514 * sysdeps/sh/elf/configure: Delete file.
19515
19516 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19517 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19518 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19519 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19520 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19521 * sysdeps/powerpc/powerpc64/start.S: here.
19522 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19523 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19524 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19525 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19526 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19527
19528 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19529 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19530 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19531 * sysdeps/powerpc/powerpc32/start.S: ... here.
19532 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19533 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19534 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19535
19536 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19537 * sysdeps/powerpc/ifunc-sel.h: ... here.
19538 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19539 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19540
19541 * sysdeps/sparc/elf/configure.in: Moved to ...
19542 * sysdeps/sparc/configure.in: ... here.
19543 * sysdeps/sparc/elf/configure: Delete file.
19544 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19545 * sysdeps/sparc/sparc32/start.S: ... here.
19546 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19547 * sysdeps/sparc/sparc64/start.S: ... here.
19548 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19549 * sysdeps/sparc/sparc32/Makefile: ... this.
19550 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19551 * sysdeps/sparc/sparc64/Makefile: ... this.
19552
19553 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19554 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19555 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19556 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19557 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19558 * sysdeps/s390/s390-32/setjmp.S: ... here.
19559 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19560 * sysdeps/s390/s390-32/configure.in: ... here.
19561 * sysdeps/s390/s390-32/elf/configure: Delete file.
19562 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19563 * sysdeps/s390/s390-32/start.S: ... here.
19564
19565 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19566 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19567 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19568 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19569 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19570 * sysdeps/s390/s390-64/setjmp.S: ... here.
19571 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19572 * sysdeps/s390/s390-64/configure.in: ... here
19573 * sysdeps/s390/s390-64/elf/configure: Delete file.
19574 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19575 * sysdeps/s390/s390-64/start.S: ... here.
19576 * sysdeps/s390/s390-64/elf/configure: Delete.
19577
19578 * configure.in: Remove support for elf directories in sysdeps.
19579
19580 * configure: Regenerated.
19581 * sysdeps/i386/configure: Regenerated.
19582 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19583 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19584 * sysdeps/s390/s390-32/configure: Regenerated.
19585 * sysdeps/s390/s390-64/configure: Regenerated.
19586 * sysdeps/sh/configure: Regenerated.
19587 * sysdeps/sparc/configure: Regenerated.
19588 * sysdeps/x86_64/configure: Regenerated.
19589
19590 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19591
19592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19593
19594 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19595 denormal result into account.
19596
19597 2012-03-25 Roland McGrath <roland@hack.frob.com>
19598
19599 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19600 Reported by Allan McRae <allan@archlinux.org>.
19601
19602 2012-03-23 Jeff Law <law@redhat.com>
19603
19604 * nss/getnssent.c (__nss_getent): Fix typo.
19605
19606 2012-03-23 David S. Miller <davem@davemloft.net>
19607
19608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19609
19610 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19613 to pad to uint64_t for each field.
19614 (dl_tls_index): Replace unsigned long with uint64_t.
19615
19616 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19617 Paul Pluzhnikov <ppluzhnikov@google.com>
19618
19619 [BZ #6528]
19620 * grp/Makefile (otherlibs): Don't set it.
19621 * inet/Makefile (otherlibs): Likewise.
19622 * login/Makefile (otherlibs): Likewise.
19623 * nscd/Makefile (otherlibs): Likewise.
19624 * posix/Makefile (otherlibs): Likewise.
19625 * pwd/Makefile (otherlibs): Likewise.
19626 * rt/Makefile (otherlibs): Likewise.
19627 * sunrpc/Makefile (otherlibs): Likewise.
19628 * nss/Makefile (otherlibs): Likewise.
19629 Add libnss_files to routines and static-only-routines.
19630 ($(objpfx)getent): Remove rule.
19631 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19632 static-only-routines.
19633
19634 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19635
19636 [BZ #13892]
19637 * math/s_cexp.c: Include <float.h>.
19638 (__cexp): Handle exp result overflowing not necessarily
19639 overflowing both real and imaginary parts of result.
19640 * math/s_cexpf.c: Likewise.
19641 * math/s_cexpl.c: Likewise.
19642 * math/libm-test.inc (cexp_test): Add more tests.
19643 * sysdeps/i386/fpu/libm-test-ulps: Update.
19644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19645
19646 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19647
19648 * include/link.h (ELFW): New macro.
19649 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19650 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19651
19652 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19653
19654 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19655 with uint64_t.
19656
19657 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19658
19659 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19660 declaration.
19661 (struct La_x32_retval): Likewise.
19662
19663 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19664
19665 * sysdeps/x86_64/preconfigure.in: New file.
19666 * sysdeps/x86_64/preconfigure: New generated file.
19667
19668 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19669
19670 [BZ #13824]
19671 * math/e_exp2l.c: Include <float.h>.
19672 (__ieee754_exp2l): Handle overflow and underflow cases
19673 separately. Only pass fractional part of argument to
19674 __ieee754_expl.
19675 * math/libm-test.inc (exp2_test): Add more tests.
19676
19677 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19678 negating x to take absolute value.
19679 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19680 Likewise.
19681 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19682 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19683 Likewise.
19684 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19685 computing low part if x was negated.
19686 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19687
19688 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19689
19690 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19691 la_x32_gnu_pltexit.
19692 (pltexit): Cast int_retval to ptrdiff_t.
19693 * elf/tst-auditmod3b.c: Likewise.
19694 * elf/tst-auditmod4b.c: Likewise.
19695 * elf/tst-auditmod5b.c: Likewise.
19696 * elf/tst-auditmod6b.c: Likewise.
19697 * elf/tst-auditmod6c.c: Likewise.
19698 * elf/tst-auditmod7b.c: Likewise.
19699
19700 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19701 and x32_gnu_pltexit.
19702
19703 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19704 __ELF_NATIVE_CLASS.
19705 (La_x32_regs): New macro.
19706 (La_x32_retval): Likewise.
19707 (la_x32_gnu_pltenter): New function prototype.
19708 (la_x32_gnu_pltexit): Likewise.
19709
19710 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19711
19712 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19713 exponent.
19714
19715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19716
19717 * configure.in (libc_cv_cc_nofma): Check for option to disable
19718 generation of FMA instructions.
19719 * configure: Regenerate.
19720 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19721 * sysdeps/ieee754/dbl-64/Makefile: New file.
19722 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19723 Remove brandred-fma4.
19724 (CFLAGS-brandred-fma4.c): Remove.
19725 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19726 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19727 define.
19728 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19729 define.
19730
19731 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19732
19733 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19734 LLONG_MAX != LONG_MAX.
19735 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19736 (_fitoa_word): Likewise.
19737 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19738 LLONG_MAX != LONG_MAX.
19739 * stdio-common/_itowa.h: Include <_itoa.h>.
19740 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19741 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19742 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19743 only if not defined.
19744 (_ITOA_WORD_TYPE): Likewise.
19745 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19746 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19747
19748 2012-03-21 David S. Miller <davem@davemloft.net>
19749
19750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19751
19752 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19753
19754 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19755 of x86_64 when setting libc_cv_slibdir, libdir and
19756 libc_cv_localedir.
19757 * sysdeps/unix/sysv/linux/configure: Regenerated.
19758
19759 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19760
19761 * manual/lang.texi (Old Varargs): Remove section.
19762 (How Variadic): Update menu.
19763 (va_start): Do not mention varargs.h.
19764
19765 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19766 Joseph Myers <joseph@codesourcery.com>
19767
19768 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19769 link test.
19770 * configure: Regenerated.
19771
19772 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19773
19774 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19775 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19776 conformtest.pl
19777
19778 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19779
19780 * NOTES: Remove.
19781 * Makefile (files-for-dist): Remove NOTES.
19782 (NOTES): Remove rule.
19783 * README: Don't refer to NOTES.
19784 * manual/creature.texi: Don't include macros.texi.
19785 * manual/intro.texi (creature.texi): Remove comment referring to
19786 NOTES.
19787
19788 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19789 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19790 * configure: Regenerated.
19791 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19792 LIBC_TRY_CC_OPTION.
19793 (libc_cv_as_i686): Likewise.
19794 (libc_cv_cc_avx): Likewise.
19795 (libc_cv_cc_sse2avx): Likewise.
19796 (libc_cv_cc_fma4): Likewise.
19797 (libc_cv_cc_novzeroupper): Likewise.
19798 * sysdeps/i386/configure: Regenerated.
19799
19800 [BZ #13883]
19801 * sysdeps/i386/fpu/s_cexp.S: Remove.
19802 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19803 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19804 * math/libm-test.inc (cexp_test): Add more tests.
19805 * sysdeps/i386/fpu/libm-test-ulps: Update.
19806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19807
19808 2012-03-21 Allan McRae <allan@archlinux.org>
19809
19810 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19811
19812 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19813
19814 [BZ #13871]
19815 * math/w_exp2.c: Do not include <float.h>.
19816 (o_threshold, u_threshold): Remove.
19817 (__exp2): Calculate result before checking finiteness and calling
19818 __kernel_standard.
19819 * math/w_exp2f.c: Likewise.
19820 * math/w_exp2l.c: Likewise.
19821 * math/libm-test.inc (exp2_test): Require overflow exception for
19822 1e6 input.
19823
19824 [BZ #3866]
19825 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19826 range of signed 64-bit integers before using fistpll. Remove
19827 checks for whether integers fit in mantissa bits.
19828 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19829 the range of signed 32-bit integers before using fistpl. Remove
19830 checks for whether integers fit in mantissa bits.
19831 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19832 (__ieee754_powl): Test for y outside the range of signed 64-bit
19833 integers before using fistpll. Reduce 64-bit values to 63-bit
19834 ones as needed.
19835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19836 divide-by-zero is raised for zero to large negative powers.
19837 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19838 (__ieee754_powl): Test for y outside the range of signed 64-bit
19839 integers before using fistpll. Reduce 64-bit values to 63-bit
19840 ones as needed.
19841 * math/libm-test.inc (pow_test): Add more tests.
19842
19843 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19844
19845 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19846 <stdio-common/_itoa.h>.
19847 * debug/segfault.c: Likewise.
19848 * elf/dl-cache.c: Likewise.
19849 * elf/dl-minimal.c: Likewise.
19850 * elf/dl-misc.c: Likewise.
19851 * elf/dl-sysdep.c: Likewise.
19852 * elf/dl-version.c: Likewise.
19853 * elf/rtld.c: Likewise.
19854 * hurd/hurdsock.c: Likewise.
19855 * hurd/lookup-retry.c: Likewise.
19856 * malloc/malloc.c: Likewise.
19857 * malloc/mtrace.c: Likewise.
19858 * nscd/nscd_getgr_r.c: Likewise.
19859 * nscd/nscd_getpw_r.c: Likewise.
19860 * nscd/nscd_getserv_r.c: Likewise.
19861 * posix/getopt_init.c: Likewise.
19862 * posix/wordexp.c: Likewise.
19863 * stdio-common/_itoa.c: Likewise.
19864 * stdio-common/printf_fphex.c: Likewise.
19865 * stdio-common/vfprintf.c: Likewise.
19866 * string/_strerror.c: Likewise.
19867 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19868 * sysdeps/i386/i686/hp-timing.h: Likewise.
19869 * sysdeps/mach/_strerror.c: Likewise.
19870 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19871 * sysdeps/mach/hurd/sethostid.c: Likewise.
19872 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19873 * sysdeps/mach/xpg-strerror.c: Likewise.
19874 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19875 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19876 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19877 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19878 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19879 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19880 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19881 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19882 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19883 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19884 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19885 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19886 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19887 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19888 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19889 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19890 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19891 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19892 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19893 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19894 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19895
19896 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19897
19898 * stdio-common/_itoa.h: Moved to ...
19899 * sysdeps/generic/_itoa.h: Here.
19900
19901 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19902
19903 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19904 instead of "_itoa.h" and "_itowa.h".
19905 * stdio-common/vfprintf.: Likewise.
19906
19907 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19908
19909 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19910 <bits/wordsize.h>.
19911 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19912 (__signbit): Likwise.
19913 (llrintf): Likwise.
19914 (llrint): Likwise.
19915
19916 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19917
19918 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19919 __WORDSIZE != 64.
19920
19921 2012-03-20 Joseph Myers <joseph@codesourcery.com>
19922
19923 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19924 OVERFLOW_EXCEPTION_OK.
19925 * math/libm-test.inc ("Philosophy"): Update comment about
19926 exception testing.
19927 (OVERFLOW_EXCEPTION): Define.
19928 (OVERFLOW_EXCEPTION_OK): Likewise.
19929 (INVALID_EXCEPTION_OK): Renumber.
19930 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19931 (IGNORE_ZERO_INF_SIGN): Likewise.
19932 (test_exceptions): Handle FE_OVERFLOW.
19933 (exp10_test): Expect overflow exceptions.
19934 (exp2_test): Likewise.
19935 (expm1_test): Likewise.
19936 (nextafter_test): Likewise.
19937 (pow_test): Likewise.
19938 (scalbn_test): Likewise.
19939 (scalbln_test): Likewise.
19940
19941 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19942
19943 * sysdeps/x86_64/bits/atomic.h
19944 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19945 64bit integer.
19946 (atomic_exchange_acq): Likewise.
19947 (__arch_exchange_and_add_body): Likewise.
19948 (__arch_add_body): Likewise.
19949 (atomic_add_negative): Likewise.
19950 (atomic_add_zero): Likewise.
19951
19952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19953
19954 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
19955 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19956
19957 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19958
19959 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19960 Check __x86_64__ instead of __WORDSIZE.
19961
19962 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19963
19964 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19965
19966 2012-03-19 David S. Miller <davem@davemloft.net>
19967
19968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19969
19970 * sysdeps/sparc/fpu/fenv_private.h: New file.
19971 * sysdeps/sparc/fpu/math_private.h: Use it.
19972 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19973 Remove.
19974 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19975 (libc_feholdexcept_setroundl): Remove.
19976 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19977 Remove.
19978 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19979 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19980
19981 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19982
19983 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19984 int64_t instead of long int.
19985 (INSERT_WORDS64): Likwise.
19986
19987 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19988
19989 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19990 _Unwind_GetCFA return to _Unwind_Ptr first.
19991
19992 2012-03-19 Joseph Myers <joseph@codesourcery.com>
19993
19994 [BZ #13629]
19995 * math/s_clog.c: Include <float.h>.
19996 (__clog): Scale large or subnormal inputs.
19997 * math/s_clogf.c: Likewise.
19998 * math/s_clogl.c: Likewise.
19999 * math/s_clog10.c: Include <float.h>.
20000 (M_LOG10_2): Define.
20001 (__clog10): Scale large or subnormal inputs.
20002 * math/s_clog10f.c: Likewise.
20003 * math/s_clog10l.c: Likewise.
20004 * math/libm-test.inc (clog_test): Add more tests.
20005 (clog10_test): Likewise.
20006 * sysdeps/i386/fpu/libm-test-ulps: Update.
20007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20008
20009 [BZ #11451]
20010 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20011 x and y.
20012 * math/libm-test.inc (atan2_test): Add another test.
20013
20014 * Makerules (common-objdir-compile): Remove.
20015 * sysdeps/unix/Makefile (config-generated): Do not add
20016 $(unix-generated) to variable.
20017 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20018 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20019 Remove rule.
20020 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20021 Likewise.
20022 [generic bits/local_lim.h] (before-compile): Do not append to
20023 variable.
20024 [generic bits/local_lim.h] (common-generated): Likewise.
20025 [generic sys/param.h] (before-compile): Do not append to variable.
20026 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20027 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20028 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20029 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20030 include.
20031 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20032 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20033 [generic sys/param.h] ($(addprefix
20034 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20035 [generic sys/param.h] (common-generated): Do not append to
20036 variable.
20037 [generic sys/param.h] (sysdep_headers): Likewise.
20038 [generic bits/errno.h] (before-compile): Do not append to
20039 variable.
20040 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20041 rule.
20042 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20043 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20044 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20045 [generic bits/errno.h] (common-generated): Do not append to
20046 variable.
20047 [generic bits/ioctls.h] (before-compile): Do not append to
20048 variable.
20049 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20050 rule.
20051 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20052 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20053 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20054 rule.
20055 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20056 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20057 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20058 [generic bits/ioctls.h] (common-generated): Do not append to
20059 variable.
20060 [generic sys/syscall.h] (syscall.h): Remove variable.
20061 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20062 rule.
20063 [generic sys/syscall.h] (before-compile): Do not append to
20064 variable.
20065 [generic sys/syscall.h] (common-generated): Likewise.
20066 * sysdeps/unix/errnos-tmpl.c: Remove file.
20067 * sysdeps/unix/errnos.awk: Likewise.
20068 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20069 * sysdeps/unix/ioctls.awk: Likewise.
20070 * sysdeps/unix/mk-local_lim.c: Likewise.
20071 * sysdeps/unix/snarf-ioctls: Likewise.
20072
20073 2012-03-19 Richard Henderson <rth@twiddle.net>
20074
20075 * sysdeps/i386/fpu/fenv_private.h: New file.
20076 * sysdeps/i386/fpu/math_private.h: Use it.
20077 (math_opt_barrier, math_force_eval): Remove.
20078 (libc_feholdexcept_setround_53bit): Remove.
20079 (libc_feupdateenv_53bit): Remove.
20080 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20081 (math_opt_barrier, math_force_eval): Remove.
20082 (libc_feholdexcept): Remove.
20083 (libc_feholdexcept_setround): Remove.
20084 (libc_fetestexcept, libc_fesetenv): Remove.
20085 (libc_feupdateenv_test): Remove.
20086 (libc_feupdateenv, libc_feholdsetround): Remove.
20087 (libc_feresetround): Remove.
20088
20089 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20090 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20091
20092 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20093 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20094 (libc_feupdateenv_testl): New.
20095 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20096 (libc_feupdateenv_testf): New.
20097 (libc_feupdateenv): Use libc_feupdateenv_test.
20098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20099 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20100
20101 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20102 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20103 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20104 (libc_feresetround_noex): New.
20105 (libc_feresetround_noexf): New.
20106 (libc_feresetround_noexl): New.
20107 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20108 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20109 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20110 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20111 SET_RESTORE_ROUND.
20112 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20114 (__cos): Likewise.
20115 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20116 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20117 SET_RESTORE_ROUND_NOEX.
20118 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20119 SET_RESTORE_ROUND_NOEXF.
20120 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20121 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20122 (libc_feholdsetroundf): New.
20123 (libc_feresetround, libc_feresetroundf): New.
20124
20125 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20126 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20127 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20128
20129 * sysdeps/generic/math_private.h: Include <fenv.h>.
20130 (default_libc_feholdexcept): New.
20131 (default_libc_feholdexcept_setround): New.
20132 (default_libc_fesetenv, default_libc_feupdateenv): New.
20133 (libc_feholdexcept): Only define if undefined.
20134 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20135 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20136 (libc_feholdexcept_setroundl): Likewise.
20137 (libc_feholdexcept_setround_53bit): Likewise.
20138 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20139 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20140 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20141 (libc_feupdateenv_53bit): Likewise.
20142 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20143 (libc_feholdexcept): Convert from macro to inline function.
20144 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20145 (libc_fesetenv, libc_feupdateenv): Likewise.
20146
20147 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20148 not previously defined.
20149 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20150 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20151 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20152 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20153 * sysdeps/ieee754/flt-32/math_private.h: New file.
20154 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20155 math_private.h below SET_FLOAT_WORD.
20156 (__isnan, __isinf_ns, __finite): Remove.
20157 (__isnanf, __isinf_nsf, __finitef): Remove.
20158
20159 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20160
20161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20162
20163 2012-03-17 David S. Miller <davem@davemloft.net>
20164
20165 [BZ #6471]
20166 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20167 for 2.16.
20168
20169 2012-03-16 David S. Miller <davem@davemloft.net>
20170
20171 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20172 warnings.
20173
20174 [BZ #6471]
20175 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20176 properly.
20177 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20178 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20179 sysdep_routines when subdir is sysvipc.
20180 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20181 __getshmlba helper.
20182
20183 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20184
20185 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20186
20187 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20188 [__LP64__].
20189
20190 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20191
20192 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20193 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20194 (__lround): Renamed to ...
20195 (__llround): This. Replace long int with long long int.
20196 Define lround functions as aliases of llround functions.
20197 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20198
20199 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20200
20201 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20202 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20203 adresses to uintptr_t. Replace "long int" and "unsigned long
20204 int" with "greg_t" on va_arg.
20205
20206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20207
20208 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20209 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20210
20211 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20212 Move e_machine check before EI_CLASS check. Handle x32
20213 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20214 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20215 SKIP_EM_IA_64 and include
20216 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20217
20218 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20219 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20220 (add_system_dir): New macro.
20221
20222 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20223 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20224
20225 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20226
20227 [BZ #2551]
20228 [BZ #2552]
20229 [BZ #2553]
20230 [BZ #2554]
20231 [BZ #2562]
20232 [BZ #2563]
20233 [BZ #2565]
20234 [BZ #2566]
20235 [BZ #2576]
20236 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20237 (y0): Likewise.
20238 * math/w_j0f.c (j0f): Likewise.
20239 (y0f): Likewise.
20240 * math/w_j0l.c (__j0l): Likewise.
20241 (__y0l): Likewise.
20242 * math/w_j1.c (j1): Likewise.
20243 (y1): Likewise.
20244 * math/w_j1f.c (j1f): Likewise.
20245 (y1f): Likewise.
20246 * math/w_j1l.c (__j1l): Likewise.
20247 (__y1l): Likewise.
20248 * math/w_jn.c (jn): Likewise.
20249 (yn): Likewise.
20250 * math/w_jnf.c (jnf): Likewise.
20251 (ynf): Likewise.
20252 * math/w_jnl.c (__jnl): Likewise.
20253 (__ynl): Likewise.
20254 * math/libm-test.inc (j0_test): Add more tests.
20255 (j1_test): Likewise.
20256 (jn_test): Likewise. Add trailing semicolon to existing test.
20257 (y0_test): Likewise.
20258 (y1_test): Likewise.
20259 * sysdeps/i386/fpu/libm-test-ulps: Update.
20260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20261
20262 [BZ #13851]
20263 [BZ #13854]
20264 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20265 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20266 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20267 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20268 (__tanl): Set errno for infinite argument.
20269 * sysdeps/i386/fpu/mptan.c: Remove.
20270 * sysdeps/i386/fpu/s_tan.S: Likewise.
20271 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20272 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20273 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20274 * math/libm-test.inc (tan_test): Add more tests and enable more
20275 tests for double and long double.
20276 * sysdeps/i386/fpu/libm-test-ulps: Update.
20277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278
20279 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20280
20281 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20282 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20283
20284 2012-03-16 Roland McGrath <roland@hack.frob.com>
20285
20286 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20287 * configure.in: Use it for both main tree and add-ons.
20288 * configure: Regenerated.
20289
20290 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20291
20292 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20293
20294 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20295
20296 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20297 in comment.
20298
20299 [BZ #13851]
20300 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20301 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20304 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20305 infinite argument.
20306 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20308 != 0 for prec == 2.
20309 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20310 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20311 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20312 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20313 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20314 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20315 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20316 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20317 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20318 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20319 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20320 * math/libm-test.inc (cos_test): Add more tests and enable more
20321 tests for long double.
20322 (sin_test): Likewise.
20323 (sincos_test): Likewise.
20324 * sysdeps/i386/fpu/libm-test-ulps: Update.
20325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20326
20327 2012-03-16 David S. Miller <davem@davemloft.net>
20328
20329 * sysdeps/sparc/fpu/math_private.h: New file.
20330
20331 2012-03-15 David S. Miller <davem@davemloft.net>
20332
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20334 file.
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20337 file.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20344 sysdep routines.
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20346
20347 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20348 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20349
20350 * sysdeps/sparc/sparc-ifunc.h: New file.
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20352 sparc-ifunc.h
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20355 Likewise.
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20357 Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20362 Likewise.
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20368 Likewise.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20370 Likewise.
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20378 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20395
20396 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20397
20398 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20399 scaling.
20400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20401
20402 2012-03-15 Andreas Jaeger <aj@suse.de>
20403
20404 [BZ #13852]
20405 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20406 ieee754/flt-32 implementation for sin, cos and sincos.
20407 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20408 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20409 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20410 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20411 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20412 ieee754/flt-32 implementation for tan.
20413
20414 * math/libm-test.inc (cos_test): Enable some large input tests for
20415 float as well
20416 (sin_test): Likewise.
20417 (sincos_test): Likewise.
20418 (tan_test): Add tests for large input.
20419
20420 * sysdeps/i386/fpu/libm-test-ulps: Update.
20421
20422 2012-03-15 Andreas Jaeger <aj@suse.de>
20423
20424 [BZ #13658]
20425 * math/libm-test.inc (cos_test): Add more test cases.
20426 (sin_test): Likewise.
20427 (sincos_test): Likewise.
20428
20429 2012-03-15 Andreas Jaeger <aj@suse.de>
20430
20431 [BZ #13837]
20432 * math/libm-test.inc (cos_test): Add a test case for large input
20433 value.
20434 (sin_test): Likewise.
20435 (sincos_test): Likewise.
20436
20437 2012-03-15 Andreas Jaeger <aj@suse.de>,
20438 Joseph Myers <joseph@codesourcery.com>
20439
20440 [BZ #13658]
20441 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20442 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20443 * sysdeps/i386/fpu/branred.c: Likewise.
20444 * sysdeps/i386/fpu/dosincos.c: Likewise.
20445 * sysdeps/i386/fpu/mpa.c: Likewise.
20446 * sysdeps/i386/fpu/s_cos.S: Likewise.
20447 * sysdeps/i386/fpu/s_sin.S: Likewise.
20448 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20449 * sysdeps/i386/fpu/sincos32.c: Likewise.
20450
20451 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20452 Define.
20453 (libc_feupdateenv_53bit): Define.
20454 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20455 Define.
20456 (libc_feupdateenv_53bit): Define.
20457
20458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20459 53 bit (without extend i386 double precision).
20460
20461 * math/libm-test.inc (sincos_test): Add tests for large input.
20462 (sin): Likewise.
20463 (cos): Likewise.
20464
20465 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20466
20467 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20468
20469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20470
20471 2012-03-15 David S. Miller <davem@davemloft.net>
20472
20473 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20474 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20475 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20476 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20489 file.
20490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20492 file.
20493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20495 file.
20496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20498 file.
20499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20501 fmin/fmax sysdep routines.
20502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20503
20504 2012-03-14 David S. Miller <davem@davemloft.net>
20505
20506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20511 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20512 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20535 routines.
20536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20537 file.
20538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20540 file.
20541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20543 file.
20544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20546 file.
20547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20549 file.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20552 file.
20553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20554 file.
20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20556 file.
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20558 file.
20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20560 New file.
20561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20562 file.
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20564 file.
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20567 file.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20570 file.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20573 file.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20576 VIS3 routines.
20577
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20579 New file.
20580
20581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20582
20583 * sysdeps/sparc/configure.in: New file.
20584 * sysdeps/sparc/configure: Generate.
20585 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20586 * configure: Regenerate.
20587 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20588 * config.make.in (have-as-vis3): New.
20589 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20590 available use -Av9d instead of -Av9a.
20591 * sysdeps/sparc/sparc64/Makefile: Likewise.
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20594 New file.
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20596 file.
20597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20598 New file.
20599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20600 file.
20601 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20604 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20606
20607 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20608 fzeros/fnegs to load 0x80000000 into a float register instead of
20609 using the stack.
20610 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20611
20612 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20613
20614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20615 bits/syscall.h.
20616 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20617 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20618 ($(inst_includedir)/bits/syscall.h): Remove rule.
20619 ($(objpfx)bits/syscall.d): Include instead of
20620 $(objpfx)syscall-list.d.
20621 (generated): Change syscall-list.h and syscall-list.d to
20622 bits/syscall.h and bits/syscall.d.
20623
20624 2012-03-14 Roland McGrath <roland@hack.frob.com>
20625
20626 [BZ #13846]
20627 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20628
20629 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20630
20631 [BZ #13841]
20632 * math/s_csqrt.c: Include <float.h>.
20633 (__csqrt): Scale large or subnormal inputs.
20634 * math/s_csqrtf.c: Likewise.
20635 * math/s_csqrtl.c: Likewise.
20636 * math/libm-test.inc (csqrt_test): Add more tests.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20639
20640 [BZ #13840]
20641 * math/libm-test.inc (hypot_test): Add more tests.
20642
20643 2012-03-13 David S. Miller <davem@davemloft.net>
20644
20645 [BZ #13840]
20646 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20647 double-precision for the calculation instead of scaling.
20648
20649 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20650
20651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20652 manipulate bits before adding and subtracting TWO52[sx].
20653 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20654 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20655 Likewise.
20656 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20657
20658 2012-03-13 David S. Miller <davem@davemloft.net>
20659
20660 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20661 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20663 rtld-global-offsets.h
20664 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20665
20666 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20667 large parameters.
20668
20669 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20670
20671 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20672 'err' in the ifdef scope in which it is actually used.
20673
20674 * nss/nss_db/db-init.c: Include string.h
20675
20676 2012-03-12 David S. Miller <davem@davemloft.net>
20677
20678 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20679 masking out of the most significant byte of random value used.
20680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20681 Fix coding style in previous change.
20682
20683 * sysdeps/unix/sysv/linux/kernel-features.h
20684 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20685 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20686 expression.
20687 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20688 later.
20689
20690 2012-03-11 David S. Miller <davem@davemloft.net>
20691
20692 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20693 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20694 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20695 for 'resultvar' otherwise things get truncated on 64-bit.
20696
20697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20698 Fix masking out of the most significant byte of random value used.
20699
20700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20701
20702 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20703
20704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20705
20706 2012-03-09 David S. Miller <davem@davemloft.net>
20707
20708 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20709 variables with appropriate CPP guards.
20710 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20711 frame pointer, not the stack pointer. Correct layout comments. Fix test
20712 on resulting framesize and the management of the outregs buffer for pltexit.
20713 Preserve floating point return values across _dl_call_pltexit call.
20714 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20715 framesize and the management of the outregs buffer for pltexit.
20716 Preserve floating point return values across _dl_call_pltexit
20717 call.
20718 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20719 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20720 (print_exit): Fix format string for return register value.
20721
20722 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20723
20724 * sunrpc/Makefile (others): Add rpcgen.
20725 ($(objpfx)rpcgen): Remove special build rule and dependency on
20726 libc.
20727 * sunrpc/rpcgen.c: New file.
20728
20729 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20730
20731 [BZ #13673]
20732 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20733 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20734 * sysdeps/i386/crti.S: Likewise.
20735 * sysdeps/i386/crtn.S: Likewise.
20736 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20737 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20738 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20739 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20740 * sysdeps/sh/crti.S: Likewise.
20741 * sysdeps/sh/crtn.S: Likewise.
20742 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20743
20744 [BZ #13673]
20745 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20746 with URL.
20747 * locale/programs/locfile-kw.gperf: Likewise.
20748 * locale/programs/charmap-kw.h: Regenerated.
20749 * locale/programs/locfile-kw.h: Likewise.
20750
20751 [BZ #13673]
20752 * intl/plural.y: Replace FSF snail mail address with URL.
20753 * intl/plural.c: Regenerated.
20754
20755 2012-03-09 Richard Henderson <rth@twiddle.net>
20756
20757 * include/math_private.h: Remove file.
20758 * math/math_private.h: Move file ...
20759 * sysdeps/generic/math_private.h: ... here.
20760
20761 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20762 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20763 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20764
20765 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20766 and <math_private.h>.
20767 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20768 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20769 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20770 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20771 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20772 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20773 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20775 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20781 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20782 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20783 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20855 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20856 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20857 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20858 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20861 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20862 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20864 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20865 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20866 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20867 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20868 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20869 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20870 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20871 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20872 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20873 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20874 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20876 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20877 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20878 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20879 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20880 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20881 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20884 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20885 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20886 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20887 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20889 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20891 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20893 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20895 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20896 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20898 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20916 * sysdeps/ieee754/k_standard.c: Likewise.
20917 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20919 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20920 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20921 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20922 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20924 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20925 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21077 * sysdeps/ieee754/s_lib_version.c: Likewise.
21078 * sysdeps/ieee754/s_matherr.c: Likewise.
21079 * sysdeps/ieee754/s_signgam.c: Likewise.
21080 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21081 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21082 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21083 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21084 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21085 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21086 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21087 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21088 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21089 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21090 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21091 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21092 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21093 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21094 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21095 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21097 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21098 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21101
21102 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21103
21104 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21105 * sunrpc/rpc_main.c: Likewise.
21106 * sunrpc/rpc_svcout.c: Likewise.
21107
21108 2012-03-09 David S. Miller <davem@davemloft.net>
21109
21110 * include/math_private.h: New file.
21111
21112 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21113
21114 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21115 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21116 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21117 from <bits/socket_type.h>.
21118 (enum __socket_type): Don't define here.
21119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21121 bits/socket_type.h.
21122
21123 [BZ #13566]
21124 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21125 checking __USE_GNU.
21126
21127 * Makerules ($(inst_includedir)/%.h): New rule.
21128 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21129 (install-others): Remove variable setting.
21130 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21131
21132 2012-03-08 Richard Henderson <rth@twiddle.net>
21133
21134 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21135 from macro to inline function; merge with the
21136 !__LIBC_INTERNAL_MATH_INLINES version.
21137 (__ieee754_sqrtf): Likewise.
21138
21139 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21140 to inline function.
21141 (__rintf, __floor, __floorf): Likewise.
21142
21143 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21144 macro to inline function.
21145 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21146
21147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21148 not <math/math_private.h>.
21149
21150 2012-03-08 David S. Miller <davem@davemloft.net>
21151
21152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21153 copyright year.
21154 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21155
21156 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21157
21158 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21159 normalization.
21160 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21161 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21162
21163 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21164
21165 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21166 be defined individually, they must be defined as a block. Define
21167 S for printing a string instead of hidint the different by using a
21168 macro for adding the 'l'.
21169 * stdio-common/tst-fphex-wide.c: Adjust.
21170
21171 2012-03-07 Marek Polacek <polacek@redhat.com>
21172
21173 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21174
21175 2012-03-08 Marek Polacek <polacek@redhat.com>
21176
21177 [BZ #13806]
21178 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21179 * stdio-common/tst-fphex.c: Define a few macros to make the
21180 test reusable. Use them.
21181 * stdio-common/tst-fphex-wide.c: New file.
21182
21183 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21184
21185 [BZ #6911]
21186 * manual/macros.texi (gnusystems): New macro.
21187 (nongnusystems): Likewise.
21188 (gnulinuxhurdsystems): Likewise.
21189 (gnuhurdsystems): Likewise..
21190 (gnulinuxsystems): Likewise.
21191 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21192 variants of the GNU system, not "GNU system".
21193 * manual/conf.texi: Likewise.
21194 * manual/errno.texi: Likewise. Update example of errno macro
21195 expansion.
21196 * manual/filesys.texi: Likewise.
21197 (getumask): Document as specific to GNU/Hurd.
21198 * manual/install.texi: Likewise. Reword some references to
21199 GNU/Linux.
21200 * manual/intro.texi: Likewise.
21201 * manual/io.texi: Likewise.
21202 (File Name Portability): Detail which constraints are inapplicable
21203 to all GNU systems and which are only inapplicable to GNU/Hurd.
21204 * manual/job.texi: Likewise.
21205 * manual/llio.texi: Likewise.
21206 (O_NOCTTY): Document as present on GNU/Linux.
21207 * manual/maint.texi: Likewise.
21208 * manual/memory.texi: Likewise.
21209 * manual/pattern.texi: Likewise.
21210 * manual/pipe.texi: Likewise.
21211 * manual/process.texi: Likewise.
21212 * manual/resource.texi: Likewise.
21213 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21214 child on GNU/Hurd.
21215 * manual/setjmp.texi: Likewise.
21216 * manual/signal.texi: Likewise.
21217 * manual/startup.texi: Likewise.
21218 * manual/stdio.texi: Likewise.
21219 * manual/terminal.texi: Likewise.
21220 (ONLCR): Document as POSIX.
21221 (OXTABS): Document availability on GNU/Linux as XTABS.
21222 (ONOEOT): Document availability separately from other bits.
21223 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21224 * manual/time.texi: Likewise.
21225 * manual/users.texi: Likewise.
21226 * INSTALL: Regenerated.
21227 * sysdeps/gnu/errlist.c: Regenerated.
21228
21229 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21230 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21231 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21232 puts.
21233 * configure: Regenerated.
21234
21235 2012-03-07 Joseph Myers <joseph@codesourcery.com>
21236
21237 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21238 default includes instead of AC_HEADER_CHECK.
21239 * sysdeps/i386/configure: Regenerated.
21240
21241 [BZ #10716]
21242 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21243 * math/s_cacoshf.c (__cacoshf): Likewise.
21244 * math/s_cacoshl.c (__cacoshl): Likewise.
21245 * math/s_casinh.c (__casinh): Set signs of result from argument.
21246 * math/s_casinhf.c (__casinhf): Likewise.
21247 * math/s_casinhl.c (__casinhl): Likewise.
21248 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21249 (casinh_test): Add more tests.
21250 * sysdeps/i386/fpu/libm-test-ulps: Update.
21251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21252
21253 2012-03-07 Ulrich Drepper <drepper@gmail.com>
21254
21255 * po/zh_TW.po: Update from translation team.
21256
21257 * login/Makefile (distribute): Remove variable.
21258 * catgets/Makefile: Likewise.
21259 * mach/Makefile: Likewise.
21260 * malloc/Makefile: Likewise.
21261 * misc/Makefile: Likewise.
21262 * iconv/Makefile: Likewise.
21263 * nscd/Makefile: Likewise.
21264 * hurd/Makefile: Likewise.
21265 * manual/Makefile: Likewise.
21266 * locale/Makefile: Likewise.
21267 * intl/Makefile: Likewise.
21268 * conform/Makefile: Likewise.
21269 * nss/Makefile: Likewise.
21270 * time/Makefile: Likewise.
21271 * soft-fp/Makefile: Likewise.
21272 * dirent/Makefile: Likewise.
21273 * gmon/Makefile: Likewise.
21274 * po/Makefile: Likewise.
21275 * rt/Makefile: Likewise.
21276 * socket/Makefile: Likewise.
21277 * math/Makefile: Likewise.
21278 * signal/Makefile: Likewise.
21279 * debug/Makefile: Likewise.
21280 * elf/Makefile: Likewise.
21281 * timezone/Makefile: Likewise.
21282 * stdlib/Makefile: Likewise.
21283 * iconvdata/Makefile: Likewise.
21284 * sunrpc/Makefile: Likewise.
21285 * io/Makefile: Likewise.
21286 * argp/Makefile: Likewise.
21287 * inet/Makefile: Likewise.
21288 * hesiod/Makefile: Likewise.
21289 * grp/Makefile: Likewise.
21290 * csu/Makefile: Likewise.
21291 * wctype/Makefile: Likewise.
21292 * crypt/Makefile: Likewise.
21293 * libio/Makefile: Likewise.
21294 * string/Makefile: Likewise.
21295 * nis/Makefile: Likewise.
21296 * resolv/Makefile: Likewise.
21297 * stdio-common/Makefile: Likewise.
21298 * wcsmbs/Makefile: Likewise.
21299 * dlfcn/Makefile: Likewise.
21300 * posix/Makefile: Likewise.
21301
21302 [BZ #6959]
21303 * timezone/Makefile: Don't install timezone files, just the programs
21304 and scripts.
21305
21306 2012-03-06 Ulrich Drepper <drepper@gmail.com>
21307
21308 * nss/databases.def: Add missing gshadow entry.
21309
21310 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21311
21312 2012-03-06 Marek Polacek <polacek@redhat.com>
21313
21314 [BZ #13726]
21315 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21316 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21317 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21318 * stdio-common/tst-long-dbl-fphex.c: New file.
21319
21320 2012-03-06 David S. Miller <davem@davemloft.net>
21321
21322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21323 (set_obp_int): New function.
21324 (get_obp_int): New function.
21325 (__get_clockfreq_via_dev_openprom): Likewise.
21326 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21327 Avoid unused variable warnings on 'val' and use builtin_expect.
21328 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21329 __builtin_expect.
21330 (INLINE_CLONE_SYSCALL): Likewise.
21331
21332 2012-03-05 David S. Miller <davem@davemloft.net>
21333
21334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21335
21336 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21337
21338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21339
21340 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21341 only for |x| >= 40.
21342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21343
21344 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
21345
21346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21347 Replace gettimeofday with __vdso_gettimeofday.
21348
21349 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21350 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21351 __vdso_clock_gettime and __vdso_getcpu.
21352
21353 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21354 time with __vdso_time.
21355
21356 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21357
21358 * manual/lang.texi (size_t): Note types to which size_t may be
21359 equivalent with the GNU C Library, but do not describe when
21360 differences between them are significant.
21361
21362 2012-03-05 Andreas Jaeger <aj@suse.de>
21363
21364 * sysdeps/i386/fpu/libm-test-ulps: Update.
21365
21366 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21367
21368 [BZ #3976]
21369 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21370 (__ieee754_pow): Save and restore rounding mode and use
21371 round-to-nearest for main computations.
21372 * math/libm-test.inc (pow_test_tonearest): New function.
21373 (pow_test_towardzero): Likewise.
21374 (pow_test_downward): Likewise.
21375 (pow_test_upward): Likewise.
21376 (main): Call the new functions.
21377 * sysdeps/i386/fpu/libm-test-ulps: Update.
21378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379
21380 [BZ #3976]
21381 * math/libm-test.inc (cosh_test_tonearest): New function.
21382 (cosh_test_towardzero): Likewise.
21383 (cosh_test_downward): Likewise.
21384 (cosh_test_upward): Likewise.
21385 (sinh_test_tonearest): Likewise.
21386 (sinh_test_towardzero): Likewise.
21387 (sinh_test_downward): Likewise.
21388 (sinh_test_upward): Likewise.
21389 (main): Call the new functions.
21390 * sysdeps/i386/fpu/libm-test-ulps: Update.
21391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21392
21393 2012-03-05 Tom de Vries <tom@codesourcery.com>
21394
21395 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21396 default stack guard is set in last bytes.
21397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21398
21399 2012-03-05 Kees Cook <keescook@chromium.org>
21400
21401 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21402
21403 [BZ #13656]
21404 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21405 possibly allocate from heap instead of stack.
21406 * stdio-common/bug-vfprintf-nargs.c: New file.
21407 * stdio-common/Makefile (tests): Add nargs overflow test.
21408
21409 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21410
21411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21412
21413 2012-03-03 Marek Polacek <polacek@redhat.com>
21414
21415 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21416 * math/math_private.h: Likewise.
21417 * stdlib/tst-strtod.c: Likewise.
21418 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21419 * sysdeps/x86_64/bits/atomic.h: Likewise.
21420
21421 2012-03-02 David S. Miller <davem@davemloft.net>
21422
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21427 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21428 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21429 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21430 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21431
21432 2012-03-02 Roland McGrath <roland@hack.frob.com>
21433
21434 [BZ #13792]
21435 * manual/examples/README: New file, says the example source files
21436 can be used under GPL>=2.
21437 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21438 line containing just "*/".
21439 * manual/examples/add.c: Add copyright header (GPL>=2).
21440 * manual/examples/argp-ex1.c: Likewise.
21441 * manual/examples/argp-ex2.c: Likewise.
21442 * manual/examples/argp-ex3.c: Likewise.
21443 * manual/examples/argp-ex4.c: Likewise.
21444 * manual/examples/atexit.c: Likewise.
21445 * manual/examples/db.c: Likewise.
21446 * manual/examples/dir.c: Likewise.
21447 * manual/examples/dir2.c: Likewise.
21448 * manual/examples/execinfo.c: Likewise.
21449 * manual/examples/filecli.c: Likewise.
21450 * manual/examples/filesrv.c: Likewise.
21451 * manual/examples/fmtmsgexpl.c: Likewise.
21452 * manual/examples/genpass.c: Likewise.
21453 * manual/examples/inetcli.c: Likewise.
21454 * manual/examples/inetsrv.c: Likewise.
21455 * manual/examples/isockad.c: Likewise.
21456 * manual/examples/longopt.c: Likewise.
21457 * manual/examples/memopen.c: Likewise.
21458 * manual/examples/memstrm.c: Likewise.
21459 * manual/examples/mkfsock.c: Likewise.
21460 * manual/examples/mkisock.c: Likewise.
21461 * manual/examples/mygetpass.c: Likewise.
21462 * manual/examples/pipe.c: Likewise.
21463 * manual/examples/popen.c: Likewise.
21464 * manual/examples/rprintf.c: Likewise.
21465 * manual/examples/search.c: Likewise.
21466 * manual/examples/select.c: Likewise.
21467 * manual/examples/setjmp.c: Likewise.
21468 * manual/examples/sigh1.c: Likewise.
21469 * manual/examples/sigusr.c: Likewise.
21470 * manual/examples/stpcpy.c: Likewise.
21471 * manual/examples/strdupa.c: Likewise.
21472 * manual/examples/strftim.c: Likewise.
21473 * manual/examples/strncat.c: Likewise.
21474 * manual/examples/subopt.c: Likewise.
21475 * manual/examples/swapcontext.c: Likewise.
21476 * manual/examples/termios.c: Likewise.
21477 * manual/examples/testopt.c: Likewise.
21478 * manual/examples/testpass.c: Likewise.
21479 * manual/examples/timeval_subtract.c: Likewise.
21480
21481 [BZ #13792]
21482 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21483 function to ...
21484 * manual/timeval_subtract.c.texi: ... here, new file.
21485
21486 2012-03-02 David S. Miller <davem@davemloft.net>
21487
21488 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21489
21490 2012-03-02 Joseph Myers <joseph@codesourcery.com>
21491
21492 [BZ #3976]
21493 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21494 (__sin): Save and restore rounding mode and use round-to-nearest
21495 for all computations.
21496 (__cos): Save and restore rounding mode and use round-to-nearest
21497 for all computations.
21498 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21499 <fenv.h>.
21500 (tan): Save and restore rounding mode and use round-to-nearest for
21501 all computations.
21502 * math/libm-test.inc (cos_test_tonearest): New function.
21503 (cos_test_towardzero): Likewise.
21504 (cos_test_downward): Likewise.
21505 (cos_test_upward): Likewise.
21506 (sin_test_tonearest): Likewise.
21507 (sin_test_towardzero): Likewise.
21508 (sin_test_downward): Likewise.
21509 (sin_test_upward): Likewise.
21510 (tan_test_tonearest): Likewise.
21511 (tan_test_towardzero): Likewise.
21512 (tan_test_downward): Likewise.
21513 (tan_test_upward): Likewise.
21514 (main): Call the new functions.
21515 * sysdeps/i386/fpu/libm-test-ulps: Update.
21516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21517
21518 [BZ #10135]
21519 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21520 small n, then large n, before computing and testing k+n.
21521 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21523 Likewise.
21524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21525 Likewise.
21526 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21527 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21528 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21529 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21532 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21533 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21534 * math/libm-test.inc (scalbn_test): Add more tests.
21535 (scalbln_test): Likewise.
21536
21537 * manual/filesys.texi (mode_t): Describe constraints on size and
21538 signedness, not exact equivalence to a particular type.
21539 (ino_t): Likewise.
21540 (ino64_t): Likewise.
21541 (dev_t): Likewise.
21542 (nlink_t): Likewise.
21543 (blkcnt_t): Likewise.
21544 (blkcnt64_t): Likewise.
21545 * manual/llio.texi (off_t): Likewise.
21546
21547 [BZ #3976]
21548 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21549 (__ieee754_exp): Save and restore rounding mode and use
21550 round-to-nearest for all computations.
21551 * math/libm-test.inc (exp_test_tonearest): New function.
21552 (exp_test_towardzero): Likewise.
21553 (exp_test_downward): Likewise.
21554 (exp_test_upward): Likewise.
21555 (main): Call the new functions.
21556 * sysdeps/i386/fpu/libm-test-ulps: Update.
21557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558
21559 2012-03-01 Chris Demetriou <cgd@google.com>
21560
21561 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21562 have predictable order.
21563
21564 2012-03-01 David S. Miller <davem@davemloft.net>
21565
21566 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21567
21568 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21569 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21570 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21571 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21572
21573 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21574 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21575 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21577 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21578 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21579 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21580 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21581 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21582
21583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21584
21585 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21586 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21587 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21588
21589 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21590 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21591 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21592 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21593 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21596 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21597 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21598 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21599 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21602 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21603 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21605 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21606 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21607 * sysdeps/sparc/elf/configure: Regenerated.
21608
21609 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21610
21611 * configure.in (AS, LD): Require binutils 2.20 or later.
21612 * configure: Regenerated.
21613 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21614 as required minimum version.
21615 * INSTALL: Regenerated.
21616
21617 [BZ #2541]
21618 [BZ #4108]
21619 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21620 before squaring exponent.
21621 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21622 bottom long double and 27 bits of top long double before squaring
21623 exponent.
21624 * math/libm-test.inc (erfc_test): Add more tests.
21625 * sysdeps/i386/fpu/libm-test-ulps: Update.
21626 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21628
21629 2012-03-01 Kai Tietz <ktietz@redhat.com>
21630
21631 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21632 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21633 containing bit-fields.
21634 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21635 * soft-fp/single.h (_FP_UNION_S): Likewise.
21636 * soft-fp/double.h (_FP_UNION_D): Likewise.
21637
21638 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21639
21640 [BZ #13786]
21641 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21642 not include ../strcmp.S.
21643 [USE_AS_STRNCASECMP_L]: Likewise.
21644 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21645 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21646 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21647 (__strncasecmp_l_ia32): Define as alias to
21648 __strncasecmp_l_nonascii.
21649
21650 [BZ #5794]
21651 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21652 * sysdeps/i386/fpu/libm-test-ulps: Update.
21653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21654
21655 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21657
21658 2012-02-29 Jeff Law <law@redhat.com>
21659
21660 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21661 out of bounds read.
21662
21663 2012-02-29 Marek Polacek <polacek@redhat.com>
21664
21665 [BZ #13706]
21666 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21667 * elf/Makefile: Add rules to run tst-unused-dep.out.
21668
21669 2012-02-28 David S. Miller <davem@davemloft.net>
21670
21671 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21672 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21675 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21676 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21677
21678 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21679
21680 * math/libm-test.inc (llround_test): Move one test from
21681 lround_test. Use TEST_f_L in moved test.
21682 (lround_test): Move misplaced test to llround_test. Add testcase
21683 from bug 2561.
21684
21685 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21686
21687 * sysdeps/x86_64/fpu/e_expf.S: New file.
21688 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21689
21690 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21691
21692 [BZ #13637]
21693 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21694 of remain_len that may cause incomplete multi-byte character and
21695 false match.
21696 * posix/bug-regex33.c: New file.
21697 * posix/Makefile (tests): Add bug-regex33.
21698
21699 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21700
21701 * manual/macros.texi: New file.
21702 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21703 * manual/libc.texinfo: Include macros.texi.
21704 * manual/creatute.texi: Likewise.
21705 * manual/install.texi: Likewise.
21706 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21707 @glibcadj{} in references to the GNU C Library.
21708 * manual/charset.texi: Likewise.
21709 * manual/conf.texi: Likewise.
21710 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21711 when not using those macros.
21712 * manual/creature.texi: Likewise.
21713 * manual/crypt.texi: Likewise.
21714 * manual/errno.texi: Likewise.
21715 * manual/filesys.texi: Likewise.
21716 * manual/header.texi: Likewise.
21717 * manual/install.texi: Likewise.
21718 * manual/intro.texi: Likewise.
21719 * manual/io.texi: Likewise.
21720 * manual/job.texi: Likewise.
21721 * manual/lang.texi: Likewise.
21722 * manual/libc.texiinfo: Likewise.
21723 * manual/llio.texi: Likewise.
21724 * manual/locale.texi: Likewise.
21725 * manual/maint.texi: Likewise.
21726 * manual/math.texi: Likewise.
21727 * manual/memory.texi: Likewise.
21728 * manual/message.texi: Likewise.
21729 * manual/nss.texi: Likewise.
21730 * manual/pattern.texi: Likewise.
21731 * manual/process.texi: Likewise.
21732 * manual/resource.texi: Likewise.
21733 * manual/search.texi: Likewise.
21734 * manual/setjmp.texi: Likewise.
21735 * manual/signal.texi: Likewise.
21736 * manual/socket.texi: Likewise.
21737 * manual/startup.texi: Likewise.
21738 * manual/stdio.texi: Likewise.
21739 * manual/string.texi: Likewise.
21740 * manual/sysinfo.texi: Likewise.
21741 * manual/syslog.texi: Likewise.
21742 * manual/terminal.texi: Likewise.
21743 * manual/time.texi: Likewise.
21744 * manual/users.texi: Likewise.
21745 * INSTALL: Regenerated.
21746 * NOTES: Regenerated.
21747 * sysdeps/gnu/errlist.c: Regenerated.
21748
21749 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21750
21751 * include/dirent.h: Include <dirstream.h> before
21752 <dirent/dirent.h>.
21753
21754 2012-02-28 David S. Miller <davem@davemloft.net>
21755
21756 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21757 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21758 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21759 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21760
21761 2012-02-27 David S. Miller <davem@davemloft.net>
21762
21763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21765 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21766 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21767
21768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21769 frame pointer instead of stack pointer relative arg slot.
21770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21771 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21772 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21773
21774 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21775
21776 [BZ #3992]
21777 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21778
21779 2012-02-27 David S. Miller <davem@davemloft.net>
21780
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21785 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21786 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21787 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21788 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21789
21790 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21791
21792 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21793 later. Allow versions 5-9.
21794 * configure: Regenerated.
21795 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21796 required minimum version and 4.6 as recommended version. Do not
21797 mention bugs in GCC 2.7 and 2.8.
21798 * INSTALL: Regenerated.
21799
21800 2012-02-27 David S. Miller <davem@davemloft.net>
21801
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21808 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21809 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21810
21811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21812 manipulate bits before adding and subtracting TWO112[sx].
21813 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21814
21815 2012-02-27 Roland McGrath <roland@hack.frob.com>
21816
21817 [BZ #13775]
21818 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21819 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21820 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21821 being in POSIX, because they are in 1003.1-2008.
21822
21823 * rt/tst-aio.c: Include <fcntl.h>.
21824 * rt/tst-aio7.c: Likewise.
21825 * rt/tst-aio64.c: Likewise.
21826
21827 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21828
21829 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21830
21831 * manual/install.texi (--with-headers): Describe headers as
21832 interface headers, not private headers.
21833 (Specific advice for GNU/Linux systems): Describe use of headers
21834 from "make headers_install", not private headers from older
21835 kernels.
21836 * INSTALL: Regenerated.
21837 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21838 Change to 2.6.19.
21839 * sysdeps/unix/sysv/linux/configure: Regenerated.
21840
21841 * manual/llio.texi (fclean): Remove documentation.
21842
21843 * manual/Makefile (libc-texi-generated): New variable. Include
21844 version.texi.
21845 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21846 $(libc-texi-generated), not duplicated list of files.
21847 (version.texi, stamp-version): New rules.
21848 (realclean): Remove $(libc-texi-generated), not individual files
21849 from that list. Do not remove dir-add.texinfo.
21850 * manual/libc.texinfo: Comment out uses of edition numbers and
21851 references to printed manual. Remove last-updated dates.
21852 (EDITION): Comment out.
21853 (ISBN): Likewise.
21854 (VERSION, UPDATED): Remove.
21855 (version.texi): Include.
21856
21857 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21858
21859 * sysdeps/posix/spawni.c: Include <signal.h>.
21860 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21861 * sysdeps/pthread/aio_fsync.c: Likewise.
21862
21863 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21864
21865 * conform/Makefile (tests): Run only when not cross-compiling and
21866 when fast-check is not defined.
21867
21868 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21869 * conform/data/limits.h-data: Fixes for POSIX2008.
21870 * conform/run-conformtest.sh: Run all tests.
21871 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21872 headers.
21873 * include/bits/dlfcn.h: Likewise.
21874 * include/langinfo.h: Likewise.
21875 * include/monetary.h: Likewise.
21876 * include/sys/poll.h: Likewise.
21877
21878 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21879 for __USE_GNU.
21880 * posix/spawn.h: Define __need_sigset_t.
21881 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21882 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21883 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21884 to get sigevent_t only.
21885 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21886 only for __USE_GNU.
21887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21888 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21889 process_vm_writev only for __USE_GNU.
21890 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21891
21892 * conform/Makefile: For now ignore errors from run-conformtest.
21893 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21894 POSIX to avoid namespace pollution. Don't prepend headers.
21895 * conform/data/aio.h-data: Fixes for POSIX testing.
21896 * conform/data/fcntl.h-data: Likewise.
21897 * conform/data/glob.h-data: Likewise.
21898 * conform/data/grp.h-data: Likewise.
21899 * conform/data/pthread.h-data: Likewise.
21900 * conform/data/pwd.h-data: Likewise.
21901 * conform/data/signal.h-data: Likewise.
21902 * conform/data/spawn.h-data: Likewise.
21903 * conform/data/stdio.h-data: Likewise.
21904 * conform/data/stdlib.h-data: Likewise.
21905 * conform/data/stropts.h-data: Likewise.
21906 * conform/data/sys/mman.h-data: Likewise.
21907 * conform/data/sys/stat.h-data: Likewise.
21908 * conform/data/sys/types.h-data: Likewise.
21909 * conform/data/sys/wait.h-data: Likewise.
21910 * conform/data/time.h-data: Likewise.
21911 * conform/data/unistd.h-data: Likewise.
21912 * conform/data/utime.h-data: Likewise.
21913
21914 * io/sys/stat.h: fchmod was always in POSIX.
21915 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21916 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21917 * rt/aio.h: Define __need_timespec before including <time.h>.
21918 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21919 struct. Add forward declaration of pthread_attr_t and use it in
21920 sigevent.
21921 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21923 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21924 always remove CLK_TCK definition.
21925
21926 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21927
21928 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21929
21930 2012-02-25 Ulrich Drepper <drepper@gmail.com>
21931
21932 * conform/run-conformtest.sh: New file.
21933 * conform/Makefile: Run run-conformtest for tests.
21934 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21935 support.
21936
21937 * conform/data/uchar.h-data: New file.
21938 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21939 * conform/data/arpa/inet.h-data: Likewise.
21940 * conform/data/assert.h-data: Likewise.
21941 * conform/data/complex.h-data: Likewise.
21942 * conform/data/cpio.h-data: Likewise.
21943 * conform/data/ctype.h-data: Likewise.
21944 * conform/data/dirent.h-data: Likewise.
21945 * conform/data/dlfcn.h-data: Likewise.
21946 * conform/data/errno.h-data: Likewise.
21947 * conform/data/fcntl.h-data: Likewise.
21948 * conform/data/float.h-data: Likewise.
21949 * conform/data/fmtmsg.h-data: Likewise.
21950 * conform/data/fnmatch.h-data: Likewise.
21951 * conform/data/ftw.h-data: Likewise.
21952 * conform/data/glob.h-data: Likewise.
21953 * conform/data/grp.h-data: Likewise.
21954 * conform/data/iconv.h-data: Likewise.
21955 * conform/data/inttypes.h-data: Likewise.
21956 * conform/data/langinfo.h-data: Likewise.
21957 * conform/data/libgen.h-data: Likewise.
21958 * conform/data/limits.h-data: Likewise.
21959 * conform/data/locale.h-data: Likewise.
21960 * conform/data/math.h-data: Likewise.
21961 * conform/data/monetary.h-data: Likewise.
21962 * conform/data/mqueue.h-data: Likewise.
21963 * conform/data/ndbm.h-data: Likewise.
21964 * conform/data/net/if.h-data: Likewise.
21965 * conform/data/netdb.h-data: Likewise.
21966 * conform/data/netinet/in.h-data: Likewise.
21967 * conform/data/nl_types.h-data: Likewise.
21968 * conform/data/poll.h-data: Likewise.
21969 * conform/data/pthread.h-data: Likewise.
21970 * conform/data/pwd.h-data: Likewise.
21971 * conform/data/regex.h-data: Likewise.
21972 * conform/data/sched.h-data: Likewise.
21973 * conform/data/search.h-data: Likewise.
21974 * conform/data/semaphore.h-data: Likewise.
21975 * conform/data/setjmp.h-data: Likewise.
21976 * conform/data/signal.h-data: Likewise.
21977 * conform/data/spawn.h-data: Likewise.
21978 * conform/data/stdarg.h-data: Likewise.
21979 * conform/data/stdio.h-data: Likewise.
21980 * conform/data/stdlib.h-data: Likewise.
21981 * conform/data/string.h-data: Likewise.
21982 * conform/data/strings.h-data: Likewise.
21983 * conform/data/stropts.h-data: Likewise.
21984 * conform/data/sys/ipc.h-data: Likewise.
21985 * conform/data/sys/mman.h-data: Likewise.
21986 * conform/data/sys/msg.h-data: Likewise.
21987 * conform/data/sys/resource.h-data: Likewise.
21988 * conform/data/sys/select.h-data: Likewise.
21989 * conform/data/sys/sem.h-data: Likewise.
21990 * conform/data/sys/shm.h-data: Likewise.
21991 * conform/data/sys/socket.h-data: Likewise.
21992 * conform/data/sys/stat.h-data: Likewise.
21993 * conform/data/sys/statvfs.h-data: Likewise.
21994 * conform/data/sys/time.h-data: Likewise.
21995 * conform/data/sys/timeb.h-data: Likewise.
21996 * conform/data/sys/times.h-data: Likewise.
21997 * conform/data/sys/types.h-data: Likewise.
21998 * conform/data/sys/uio.h-data: Likewise.
21999 * conform/data/sys/un.h-data: Likewise.
22000 * conform/data/sys/utsname.h-data: Likewise.
22001 * conform/data/sys/wait.h-data: Likewise.
22002 * conform/data/syslog.h-data: Likewise.
22003 * conform/data/tar.h-data: Likewise.
22004 * conform/data/termios.h-data: Likewise.
22005 * conform/data/utime.h-data: Likewise.
22006 * conform/data/utmpx.h-data: Likewise.
22007 * conform/data/varargs.h-data: Likewise.
22008 * conform/data/wchar.h-data: Likewise.
22009 * conform/data/wctype.h-data: Likewise.
22010 * conform/data/wordexp.h-data: Likewise.
22011
22012 * include/stropts.h: New file.
22013 * include/uchar.h: New file.
22014 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22015 * include/assert.h: Likewise.
22016 * include/ctype.h: Likewise.
22017 * include/dirent.h: Likewise.
22018 * include/dlfcn.h: Likewise.
22019 * include/fcntl.h: Likewise.
22020 * include/fnmatch.h: Likewise.
22021 * include/glob.h: Likewise.
22022 * include/grp.h: Likewise.
22023 * include/libio.h: Likewise.
22024 * include/locale.h: Likewise.
22025 * include/math.h: Likewise.
22026 * include/net/if.h: Likewise.
22027 * include/netdb.h: Likewise.
22028 * include/netinet/in.h: Likewise.
22029 * include/pthread.h: Likewise.
22030 * include/pwd.h: Likewise.
22031 * include/regex.h: Likewise.
22032 * include/sched.h: Likewise.
22033 * include/search.h: Likewise.
22034 * include/setjmp.h: Likewise.
22035 * include/signal.h: Likewise.
22036 * include/stdio.h: Likewise.
22037 * include/stdlib.h: Likewise.
22038 * include/string.h: Likewise.
22039 * include/sys/cdefs.h: Likewise.
22040 * include/sys/mman.h: Likewise.
22041 * include/sys/msg.h: Likewise.
22042 * include/sys/resource.h: Likewise.
22043 * include/sys/select.h: Likewise.
22044 * include/sys/socket.h: Likewise.
22045 * include/sys/stat.h: Likewise.
22046 * include/sys/statvfs.h: Likewise.
22047 * include/sys/time.h: Likewise.
22048 * include/sys/times.h: Likewise.
22049 * include/sys/uio.h: Likewise.
22050 * include/sys/utsname.h: Likewise.
22051 * include/sys/wait.h: Likewise.
22052 * include/termios.h: Likewise.
22053 * include/time.h: Likewise.
22054 * include/ulimit.h: Likewise.
22055 * include/unistd.h: Likewise.
22056 * include/utime.h: Likewise.
22057 * include/wchar.h: Likewise.
22058 * include/wctype.h: Likewise.
22059 * include/wordexp.h: Likewise.
22060
22061 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22062
22063 * time/time.h: TIME_UTC must be a macro.
22064 Make timespec_get available for ISO C11 only as well.
22065
22066 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22067
22068 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22069 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22070
22071 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22072
22073 * configure.in: Use -o not -a in test for unsupported multi-arch.
22074
22075 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22076
22077 * manual/texinfo.tex: Update to version 2012-01-19.16.
22078
22079 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22080
22081 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22082
22083 2012-02-24 Roland McGrath <roland@hack.frob.com>
22084
22085 [BZ #13738]
22086 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22087 * manual/fdl-1.3.texi: New file.
22088 * manual/fdl-1.1.texi: File removed.
22089
22090 [BZ #13738]
22091 * manual/libc.texinfo (FDL_VERSION): New @set.
22092 Use it for mention of FDL in cover text.
22093 (Documentation License): Use it in @include file name.
22094
22095 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22096 Roland McGrath <roland@hack.frob.com>
22097
22098 [BZ #5461]
22099 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22100 not LONG_LONG_MAX and LONG_LONG_MIN.
22101 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22102 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22103 name.
22104 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22105
22106 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22107
22108 [BZ #2547]
22109 [BZ #11365]
22110 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22111 manipulate bits before adding and subtracting TWO23[sx].
22112 * math/libm-test.inc (nearbyint_test): Add more tests.
22113
22114 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22115
22116 [BZ #2548]
22117 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22118 bits before adding and subtracting TWO23[sx].
22119 * math/libm-test.inc (rint_test): Add more tests.
22120 (rint_test_tonearest): Likewise.
22121 (rint_test_towardzero): Likewise.
22122 (rint_test_downward): Likewise.
22123 (rint_test_upward: Likewise.
22124
22125 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22126
22127 [BZ #10110]
22128 * include/stdc-predef.h: New file. Extracted from features.h.
22129 * include/features.h: Include stdc-predef.h.
22130 * Makefile (headers): Add stdc-predef.h.
22131 * CONFORMANCE (Compiler limitations): Update.
22132
22133 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22134
22135 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22136
22137 2012-02-21 David S. Miller <davem@davemloft.net>
22138
22139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22140 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22141
22142 2012-02-20 David S. Miller <davem@davemloft.net>
22143
22144 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22145 using a normal save/restore sequence, rather than allocating a
22146 dummy stack frame just to store a frame pointer and restore.
22147 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22148
22149 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22150
22151 * manual/install.texi: Fix stray word in line-wrapped comment.
22152
22153 2012-02-20 David S. Miller <davem@davemloft.net>
22154
22155 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22156 both binutils and gcc support GOTDATA.
22157
22158 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22159 "rd %pc" in the PIC register setup sequences.
22160
22161 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22162 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22163 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22164 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22165 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22170 (SYSCALL_ERROR_HANDLER): Likewise.
22171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22174 (SYSCALL_ERROR_HANDLER): Likewise.
22175
22176 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22177 (HAVE_GCC_GOTDATA): New.
22178 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22179 relocation support in both binutils and gcc.
22180 * sysdeps/sparc/elf/configure: Regenerate.
22181
22182 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22183 * sysdeps/sparc/sparc32/elf/configure: Delete.
22184 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22185 * sysdeps/sparc/sparc64/elf/configure: Delete.
22186 * sysdeps/sparc/elf/configure.in: New file.
22187 * sysdeps/sparc/elf/configure: Generate.
22188
22189 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22190 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22191 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22192 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22193 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22194
22195 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22196
22197 * manual/install.texi: Do not mention specific glibc version
22198 numbers.
22199 * manual/libc.texinfo (VERSION, UPDATED): Update.
22200 (@copying): Use @copyright{} and range of years.
22201
22202 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22203
22204 [BZ #13695]
22205 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22206 [crti.S not in sysdirs] (generated): Do not append.
22207 [crti.S not in sysdirs] (omit-deps): Likewise.
22208 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22209 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22210 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22211 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22212 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22213 Likewise.
22214 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22215 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22216 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22217 * csu/defs.awk: Remove file.
22218 * sysdeps/generic/initfini.c: Likewise.
22219 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22220 variable.
22221 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22222 Likewise.
22223
22224 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22225
22226 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22227 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22228 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22229 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22230 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22231 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22232 <bits/epoll.h>.
22233 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22234 (__EPOLL_PACKED): Define to empty if not defined by
22235 <bits/epoll.h>.
22236 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22238 bits/epoll.h.
22239
22240 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22241
22242 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22243 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22244 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22245 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22246 <bits/timerfd.h>.
22247 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22249 bits/timerfd.h.
22250
22251 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22252
22253 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22254 in C locale.
22255 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22256 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22259
22260 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22261
22262 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22263 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22264
22265 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22266
22267 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22268 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22269 defined.
22270 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22271 Likewise.
22272 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22273 entry for 2.16.
22274
22275 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22276
22277 * math/w_acos.c: Use non-signaling floating-point comparisons.
22278 * math/w_acosf.c: Likewise.
22279 * math/w_acosh.c: Likewise.
22280 * math/w_acoshf.c: Likewise.
22281 * math/w_acoshl.c: Likewise.
22282 * math/w_acosl.c: Likewise.
22283 * math/w_asin.c: Likewise.
22284 * math/w_asinf.c: Likewise.
22285 * math/w_asinl.c: Likewise.
22286 * math/w_atanh.c: Likewise.
22287 * math/w_atanhf.c: Likewise.
22288 * math/w_atanhl.c: Likewise.
22289 * math/w_exp2.c: Likewise.
22290 * math/w_exp2f.c: Likewise.
22291 * math/w_exp2l.c: Likewise.
22292 * math/w_j0.c: Likewise.
22293 * math/w_j0f.c: Likewise.
22294 * math/w_j0l.c: Likewise.
22295 * math/w_j1.c: Likewise.
22296 * math/w_j1f.c: Likewise.
22297 * math/w_j1l.c: Likewise.
22298 * math/w_jn.c: Likewise.
22299 * math/w_jnf.c: Likewise.
22300 * math/w_log.c: Likewise.
22301 * math/w_log10.c: Likewise.
22302 * math/w_log10f.c: Likewise.
22303 * math/w_log10l.c: Likewise.
22304 * math/w_log2.c: Likewise.
22305 * math/w_log2f.c: Likewise.
22306 * math/w_log2l.c: Likewise.
22307 * math/w_logf.c: Likewise.
22308 * math/w_logl.c: Likewise.
22309 * math/w_sqrt.c: Likewise.
22310 * math/w_sqrtf.c: Likewise.
22311 * math/w_sqrtl.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22314 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22315 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22316 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22317
22318 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22319
22320 [BZ #9739]
22321 * manual/string.texi (strnlen): Use correct parameter name in
22322 equivalent expression.
22323
22324 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22325
22326 [BZ #11174]
22327 * manual/users.texi (seteuid): Consistently use neweuid for
22328 argument name.
22329
22330 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22331
22332 [BZ #13704]
22333 * manual/nss.texi (Services in the NSS configuration): Correct
22334 list of services in example configuration file.
22335
22336 2012-02-19 Nick Bowler <nbowler@draconx.ca>
22337
22338 [BZ #11322]
22339 * manual/arith.texi: Remove statements about negative zero
22340 behaving identically to zero.
22341
22342 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22343
22344 [BZ #5993]
22345 * manual/install.texi: Do not document upgrading from libc5.
22346
22347 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22348
22349 [BZ #4596]
22350 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22351
22352 2012-02-18 David S. Miller <davem@davemloft.net>
22353
22354 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22355 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22356 %o7 across the call.
22357 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22358 instead.
22359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22360 SETUP_PIC_REG_LEAF.
22361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22362 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22363 * sysdeps/sparc/crtn.S: Likewise.
22364
22365 2012-02-17 Ulrich Drepper <drepper@gmail.com>
22366
22367 * aout/Makefile: Remove.
22368
22369 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22370
22371 [BZ #13058]
22372 * manual/examples/argp-ex1.c (main): Format definition in GNU
22373 style.
22374 * manual/examples/argp-ex2.c (main): Likewise.
22375 * manual/examples/argp-ex3.c (main): Likewise.
22376 * manual/examples/argp-ex4.c (main): Likewise.
22377 * manual/examples/longopt.c (main): Use new-style prototype
22378 definition.
22379 * manual/examples/strncat.c (main): Specify return type and use
22380 (void) for arguments.
22381 * manual/examples/subopt.c (main): Use char **argv argument.
22382
22383 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22384
22385 [BZ #5077]
22386 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22387 rounding modes.
22388
22389 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22390
22391 [BZ #6907]
22392 * manual/string.texi (strchr): Change when strchrnul is
22393 recommended.
22394
22395 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22396
22397 [BZ #174]
22398 * manual/locale.texi (setlocale): Document LOCPATH.
22399
22400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22401
22402 [BZ #10210]
22403 * manual/process.texi (execle): Move @dots{} before last argument.
22404
22405 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
22406
22407 [BZ #12047]
22408 * manual/charset.texi (Generic Charset Conversion): Fix typo
22409 (LC_TYPE -> LC_CTYPE).
22410
22411 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22412
22413 [BZ #5805]
22414 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22415 (scalbnf): Likewise.
22416 (scalbnl): Likewise.
22417 (scalbln): Likewise.
22418 (scalblnf): Likewise.
22419 (scalblnl): Likewise.
22420 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22421 (vwarnx): Likewise.
22422 (verr): Likewise.
22423 (verrx): Likewise.
22424 * manual/filesys.texi (telldir): Use braces around return type.
22425 * manual/llio.texi (mmap): Add space after comma.
22426 (mmap64): Likewise.
22427 * manual/math.texi (jn): Use @var{} on parameter names.
22428 (jnf): Likewise.
22429 (jnl): Likewise.
22430 (yn): Likewise.
22431 (ynf): Likewise.
22432 (ynl): Likewise.
22433 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22434 line.
22435 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22436 "...".
22437 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22438 (sched_get_priority_max): Likewise.
22439 * manual/signal.texi (sigvec): Add space after comma.
22440 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22441 names.
22442 (if_indextoname): Likewise.
22443 (if_freenameindex): Likewise.
22444 (sendto): Use ',' instead of '.' in prototype.
22445 * manual/startup.texi (syscall): Use @dots{} instead of literal
22446 "...".
22447 * manual/stdio.texi (__fpending): Separate initial words of
22448 paragraph from @deftypefun line.
22449 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22450 "...".
22451 (vsyslog): Use @var{} on parameter names.
22452 * manual/terminal.texi (stty): Use @var{} on parameter names.
22453 * manual/users.texi (getutmp): Use @var{} on parameter names.
22454 (getutmpx): Likewise.
22455
22456 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22457
22458 [BZ #6884]
22459 * manual/stdio.texi (fopen): Fix typos in description of
22460 ",ccs=STRING".
22461
22462 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22463
22464 [BZ #4026]
22465 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22466 get clock_id definition.
22467
22468 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
22469
22470 [BZ #4822]
22471 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22472 (madvise): Cast every argument to void on its own.
22473
22474 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22475
22476 [BZ #9902]
22477 * manual/startup.texi (Exit Status): Fix typo.
22478
22479 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22480
22481 [BZ #10140]
22482 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22483 * manual/examples/argp-ex2.c: Likewise.
22484 * manual/examples/argp-ex3.c: Likewise.
22485
22486 2012-02-16 Richard Henderson <rth@redhat.com>
22487
22488 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22489 * sysdeps/s390/s390-32/initfini.c: Remove.
22490 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22491 * sysdeps/s390/s390-64/initfini.c: Remove.
22492
22493 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22494
22495 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22496 compiler output for sysdeps/generic/initfini.c.
22497 * sysdeps/sh/elf/initfini.c: Remove file.
22498
22499 2012-02-16 David S. Miller <davem@davemloft.net>
22500
22501 [BZ #11494]
22502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22503
22504 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22505 * sysdeps/sparc/crti.S: New file.
22506 * sysdeps/sparc/crtn.S: New file.
22507 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22508 * sysdeps/sparc/sparc64/Makefile: Likewise.
22509
22510 2012-02-15 Mike Frysinger <vapier@gentoo.org>
22511
22512 [BZ #3335]
22513 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22514
22515 2012-02-15 Roland McGrath <roland@hack.frob.com>
22516
22517 [BZ #4822]
22518 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22519
22520 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22521 (write, read, close): Likewise.
22522 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22523
22524 2012-02-15 Joseph Myers <joseph@codesourcery.com>
22525
22526 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22527 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22528 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22529 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22530 <bits/signalfd.h>.
22531 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22533 bits/signalfd.h.
22534
22535 2012-02-14 Marek Polacek <polacek@redhat.com>
22536
22537 * sysdeps/x86_64/crti.S: New file.
22538 * sysdeps/x86_64/crtn.S: New file.
22539 * sysdeps/x86_64/elf/initfini.c: Remove file.
22540
22541 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22542
22543 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22544 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22545 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22546 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22547 <bits/inotify.h>.
22548 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22550 bits/inotify.h.
22551
22552 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22553
22554 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22555 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22556 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22557 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22558 <bits/eventfd.h>.
22559 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22561 bits/eventfd.h.
22562
22563 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22564
22565 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22566 __feraiseexcept instead of feraiseexcept.
22567
22568 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22569 nanosleep invocations.
22570 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22571 strings, and add error checking for a nanosleep invocations.
22572
22573 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22574
22575 Replace FSF snail mail address with URLs, as per GNU coding standards.
22576 Most of the snail mail addresses were wrong anyway, and omitting
22577 them makes the source code easier to maintain. Almost all of the
22578 changes are to license notices and to locale LC_IDENTIFICATION
22579 addresses, except for this one:
22580 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22581 not its snail mail address.
22582
22583 2012-02-09 Richard Henderson <rth@twiddle.net>
22584
22585 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22586 of kernel-features.h.
22587
22588 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22589
22590 2012-02-08 Marek Polacek <polacek@redhat.com>
22591
22592 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22593 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22594 * sysdeps/gnu/_G_config.h: Likewise.
22595 * sysdeps/generic/_G_config.h: Likewise.
22596
22597 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22598
22599 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22600 tests.
22601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22602
22603 * sysdeps/powerpc/powerpc32/crti.S: New file.
22604 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22605 * sysdeps/powerpc/powerpc64/crti.S: New file.
22606 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22607
22608 * Makeconfig (have-initfini): Don't set.
22609 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22610 * configure.in (nopic_initfini): Don't substitute.
22611 * config.h.in (HAVE_INITFINI): Don't #undef.
22612 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22613 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22614
22615 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22616
22617 Support crti.S and crtn.S provided directly by architectures.
22618 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22619 [crti.S in sysdirs] (omit-deps): Likewise.
22620 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22621 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22622 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22623 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22624 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22625 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22626 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22627 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22628 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22629 compiler output for sysdeps/generic/initfini.c.
22630 * sysdeps/i386/elf/Makefile: Remove file.
22631 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22632
22633 2012-02-07 Marek Polacek <polacek@redhat.com>
22634
22635 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22636 * sysdeps/gnu/_G_config.h: Likewise.
22637 * sysdeps/mach/hurd/_G_config.h: Likewise.
22638
22639 2012-02-07 Marek Polacek <polacek@redhat.com>
22640
22641 * math/Makefile (tests): Add tst-CMPLX2.
22642 * math/tst-CMPLX2.c: New file.
22643
22644 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22645
22646 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22647
22648 * math/libm-test.inc (jn_test): Add missing L suffix.
22649
22650 2012-02-06 Marek Polacek <polacek@redhat.com>
22651
22652 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22653 * sysdeps/i386/fpu/e_powf.S: Likewise.
22654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22655 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22656 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22657 * sysdeps/i386/fpu/e_pow.S: Likewise.
22658 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22659 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22660 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22661 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22662 * sysdeps/i386/fpu/e_log2.S: Likewise.
22663 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22664 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22665 * sysdeps/i386/fpu/e_powl.S: Likewise.
22666 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22668 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22669 * sysdeps/i386/fpu/e_logl.S: Likewise.
22670 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22671 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22672 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22673 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22674 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22675 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22676 * sysdeps/i386/fpu/e_log.S: Likewise.
22677 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22678 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22679 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22680 * sysdeps/i386/fpu/e_logf.S: Likewise.
22681 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22682 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22683 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22684 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22685 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22686 * sysdeps/i386/fpu/e_log10.S: Likewise.
22687 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22688 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22689 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22690 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22692 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22693 * sysdeps/i386/asm-syntax.h: Likewise.
22694 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22696 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22697 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22698 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22699 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22700 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22701 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22702 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22703 * sysdeps/powerpc/sysdep.h: Likewise.
22704 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22705 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22706
22707 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22708
22709 [BZ #411]
22710 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22711
22712 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22713
22714 * sysdeps/i386/sysdep.h: Include <features.h>.
22715 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22716 version.
22717
22718 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22719
22720 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22721 Define.
22722 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22723 LOAD_PIC_REG_STR.
22724
22725 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22726
22727 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22728 (SETUP_PIC_REG): Use GET_PC_THUNK.
22729 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22730 macro.
22731
22732 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22733
22734 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22735 for non-PIC compilation.
22736 (SETUP_PIC_REG): Add .p2align directive.
22737 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22738 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22739 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22740 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22741 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22742 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22743 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22744 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22745 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22746 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22747 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22748 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22749 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22750 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22752 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22753 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22754 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22755 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22756 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22757 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22758 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22759 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22778
22779 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22780
22781 * math/tst-CMPLX.c: Include <stdio.h>.
22782
22783 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22784
22785 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22786 float.
22787 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22788 * sysdeps/sparc/bits/mathdef.h: Likewise.
22789
22790 2012-01-31 Marek Polacek <polacek@redhat.com>
22791
22792 * libio/libio.h: Don't define _PARAMS.
22793 * locale/programs/config.h: Don't define PARAMS.
22794 * stdlib/strtol_l.c: Likewise.
22795 (__strtol_l): Remove PARAMS from the prototype.
22796
22797 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22798
22799 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22800 names. Just use the correct names. Remove unnecessary wrapper
22801 functions.
22802 * malloc/arena.c: Likewise.
22803 * malloc/hooks.c: Likewise.
22804
22805 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22806 ARENA_TEST says not to. Simplify test for creation of a new arena.
22807 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22808
22809 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22810
22811 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22812 into tail calls.
22813 (update_get_addr): New function.
22814 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22815 GET_ADDR_MODULE parameter.
22816
22817 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22818
22819 * crypt/cert.c: Remove __STDC__ conditionals.
22820 * crypt/crypt-entry.c: Likewise.
22821 * crypt/crypt_util.c: Likewise.
22822 * libio/filedoalloc.c: Likewise.
22823 * libio/fileops.c: Likewise.
22824 * libio/genops.c: Likewise.
22825 * libio/iofclose.c: Likewise.
22826 * libio/iofdopen.c: Likewise.
22827 * libio/iofopen.c: Likewise.
22828 * libio/iofopen64.c: Likewise.
22829 * libio/iogetdelim.c: Likewise.
22830 * libio/iopopen.c: Likewise.
22831 * libio/obprintf.c: Likewise.
22832 * libio/oldfileops.c: Likewise.
22833 * libio/oldiofclose.c: Likewise.
22834 * libio/oldiofdopen.c: Likewise.
22835 * libio/oldiofopen.c: Likewise.
22836 * libio/oldiopopen.c: Likewise.
22837 * libio/wfiledoalloc.c: Likewise.
22838 * libio/wgenops.c: Likewise.
22839 * locale/programs/xmalloc.c: Likewise.
22840 * misc/syslog.c: Likewise.
22841 * stdio-common/xbug.c: Likewise.
22842 * string/memchr.c: Likewise.
22843 * string/memcmp.c: Likewise.
22844 * string/memrchr.c: Likewise.
22845 * string/rawmemchr.c: Likewise.
22846 * sysdeps/posix/getcwd.c: Likewise.
22847 * time/strftime_l.c: Likewise.
22848
22849 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22850
22851 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22852 * config.make.in (config-cflags-sse2avx): Define.
22853 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22854 Fix typo.
22855
22856 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22857
22858 * scripts/config.guess: Update from upstream config git repository.
22859 * scripts/config.sub: Likewise.
22860
22861 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22862
22863 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22864 (EM_NUM): Update.
22865 (R_TILEPRO_*, R_TILEGX_*): New macros.
22866
22867 * scripts/firstversions.awk: Fix bug in version range handling.
22868
22869 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22870
22871 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22872
22873 * include/sys/epoll.h: New file.
22874 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22875 libc_hidden_def.
22876
22877 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22878
22879 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22880 Avoid unnecessary __WORDSIZE == 64 test.
22881 (fmaxf): Use VEX format if possible.
22882 (fmax): Likewise.
22883 (fminf): Likewise.
22884 (fmin): Likewise.
22885
22886 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22887 * math/math_private.h: Remove libc_fegetround* and
22888 libc_fesetround*.
22889 * sysdeps/i386/configure.in: Check for -msse2avx.
22890 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22891 also if SSE2AVX is defined.
22892 Remove libc_fegetround* and libc_fesetround*.
22893 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22894 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22896 of HAS_YMM_USABLE.
22897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22898 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22899 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22902
22903 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22904
22905 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22906
22907 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22908 size is not set.
22909 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22910
22911 2012-01-27 Ulrich Drepper <drepper@gmail.com>
22912
22913 [BZ #13618]
22914 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22915 relocation.
22916 * Makeconfig (libm): Define.
22917 * elf/Makefile: Add rules to build and run tst-relsort1.
22918 * elf/tst-relsort1.c: New file.
22919 * elf/tst-relsort1mod1.c: New file.
22920 * elf/tst-relsort1mod2.c: New file.
22921
22922 2012-01-27 Joseph Myers <joseph@codesourcery.com>
22923
22924 * math/s_ldexp.c: Remove __STDC__ conditionals.
22925 * math/s_ldexpf.c: Likewise.
22926 * math/s_ldexpl.c: Likewise.
22927 * math/s_nextafter.c: Likewise.
22928 * math/s_nexttowardf.c: Likewise.
22929 * math/s_significand.c: Likewise.
22930 * math/s_significandf.c: Likewise.
22931 * math/s_significandl.c: Likewise.
22932 * math/w_jnl.c: Likewise.
22933 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22934 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22935 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22936 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22937 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22938 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22939 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22940 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22945 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22946 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22947 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22948 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22949 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22950 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22952 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22953 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22954 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22955 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22956 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22957 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22958 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22959 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22960 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22961 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22962 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22963 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22964 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22965 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22966 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22967 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22969 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22972 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22973 * sysdeps/ieee754/k_standard.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22976 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23035 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23040 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23049 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23053 * sysdeps/ieee754/s_matherr.c: Likewise.
23054 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23055 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23058
23059 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23060
23061 * crypt/md5.h: Remove __STDC__ conditionals.
23062 * libio/libioP.h: Likewise.
23063 * locale/programs/config.h: Likewise.
23064 * sysdeps/generic/sysdep.h: Likewise.
23065 * sysdeps/i386/asm-syntax.h: Likewise.
23066 * sysdeps/s390/asm-syntax.h: Likewise.
23067 * sysdeps/unix/sysdep.h: Likewise.
23068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23070
23071 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23072
23073 * libio/libio.h: Remove __STDC__ conditionals.
23074 * malloc/obstack.h: Likewise.
23075 * math/complex.h: Likewise.
23076 * math/math.h: Likewise.
23077 * sysdeps/generic/_G_config.h: Likewise.
23078 * sysdeps/gnu/_G_config.h: Likewise.
23079 * sysdeps/mach/hurd/_G_config.h: Likewise.
23080 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23081 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23082 * sysdeps/sparc/bits/mathdef.h: Likewise.
23083
23084 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23085
23086 [BZ #13583]
23087 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23088 Clean up HAS_* macros.
23089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23090 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23091 possible.
23092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23093 HAS_AVX.
23094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23099
23100 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23101
23102 * elf/tst-unique3.cc (gets): Remove declaration.
23103 * elf/tst-unique3lib.cc (gets): Likewise.
23104 * elf/tst-unique3lib2.cc (gets): Likewise.
23105 * elf/tst-unique4.cc (gets): Likewise.
23106
23107 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23108
23109 * include/stdio.h: Add C++ protection. Add gets declarations and
23110 definitions.
23111 * debug/tst-chk1.c: Don't declare gets here.
23112 * stdio-common/tst-gets.c: Likewise.
23113
23114 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23115
23116 * posix/glob: Remove directory.
23117
23118 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23119
23120 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23121
23122 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23123
23124 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23125 of the non-standard EPFNOSUPPORT.
23126
23127 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23128
23129 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23130 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23131 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23132
23133 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23134
23135 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23136
23137 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23138
23139 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23140 transient errors.
23141 * nscd/grpcache.c (cache_addgr): Likewise.
23142 * nscd/hstcache.c (cache_addhst): Likewise.
23143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23144 * nscd/pwdcache.c (cache_addpw): Likewise.
23145 * nscd/servicescache.c (cache_addserv): Likewise.
23146
23147 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23148
23149 * malloc/malloc.c: Various cleanups.
23150 * malloc/hooks.c: Likewise.
23151
23152 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23153 * stdlib/bug-fmtmsg1.c: New file.
23154
23155 * stdlib/fmtmsg.c (init): Add missing unlock.
23156 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23157
23158 2012-01-12 Marek Polacek <polacek@redhat.com>
23159
23160 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23161 and _GNU_SOURCE.
23162
23163 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23164
23165 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23166 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23167 macro to ensure uniqueness of label name.
23168 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23169 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23170
23171 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23172
23173 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23174
23175 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23176 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23179
23180 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23181
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23183
23184 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23185 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23186 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23187
23188 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23189
23190 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23191 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23192 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23194
23195 * math/bits/math-finite.h: Add ldexp support.
23196
23197 2012-01-10 Marek Polacek <polacek@redhat.com>
23198
23199 * locale/programs/localedef.h (show_archive_content): Add noreturn
23200 attribute.
23201
23202 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23203
23204 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23205
23206 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23207
23208 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23209
23210 * io/Makefile (headers): Add bits/poll2.h.
23211
23212 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23213
23214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23215 typo #include statement.
23216
23217 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23218
23219 * include/sys/cdefs.h: Define __attribute_alloc_size.
23220 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23221 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23222 * elf/pldd.c: Likewise.
23223 * iconv/iconv_charmap.c: Likewise.
23224 * iconv/iconvconfig.c: Likewise.
23225 * iconv/strtab.c: Likewise.
23226 * locale/programs/locale.c: Likewise.
23227 * locale/programs/localedef.h: Likewise.
23228 * locale/programs/simple-hash.c: Likewise.
23229 * nscd/nscd.h: Likewise.
23230 * nss/makedb.c: Likewise.
23231 * sysdeps/generic/ldconfig.h: Likewise.
23232 * locale/programs/localedef.c: Remove xmalloc prototype.
23233 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23234
23235 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23236
23237 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23238 appropriate.
23239
23240 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23241
23242 * math/Makefile (tests): Add tst-CMPLX.
23243 * math/tst-CMPLX.c: New file.
23244
23245 * math/complex.h (CMPLXL): Fix typo.
23246
23247 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23248 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23249 GLIBC_2.16.
23250 * debug/tst-chk1.c: Add poll and ppoll tests.
23251 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23252 * include/sys/poll.h: Add hidden proto for ppoll.
23253 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23254 * sysdeps/mach/hurd/ppoll.c: Likewise.
23255 * io/ppoll.c: Likewise.
23256 * debug/poll_chk.c: New file.
23257 * debug/ppoll_chk.c: New file.
23258 * include/bits/poll2.h: New file.
23259 * io/bits/poll2.h: New file.
23260
23261 [BZ #1350]
23262 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23263
23264 * configure.in: static is always set to yes. Remove.
23265 * config.make.in: Don't set build-static.
23266 * Makeconfig: Remove use of build-static.
23267 * dlfcn/Makefile: Likewise.
23268 * elf/Makefile: Likewise.
23269 * math/Makefile: Likewise.
23270 * misc/Makefile: Likewise.
23271 * nptl/Makefile: Likewise.
23272 * sysdeps/mach/hurd/Makefile: Likewise.
23273
23274 * configure.in: PWD_P is not used anymore.
23275 * config.make.in: Remove PWD_P entry.
23276
23277 * configure.in: Remove last remnants of RANLIB.
23278 No need to check for signed size_t anymore.
23279 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23280 and IA-64.
23281 Remove __builtin_expect test because we require at least gcc 3.4.
23282 * aclocal.m4: Likewise.
23283
23284 * wcsmbs/mbrtoc16.c: Implement using towc function.
23285 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23286 * wcsmbs/wcsmbsload.c: Likewise.
23287 * iconv/gconv_simple.c: Likewise.
23288 * iconv/gconv_int.h: Likewise.
23289 * iconv/gconv_builtin.h: Likewise.
23290 * iconv/iconv_prog.c: Remove CHAR16 handling.
23291
23292 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23293
23294 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23295
23296 * configure.in: Remove --with-elf and --enable-bounded options.
23297 Dont set base_machine for ia64. More non-ELF conditions removed.
23298 Remove testing and setting of leading underscore information.
23299 * config.make.in (build-bounded): Set to no.
23300 * config.h.in: Remove NO_UNDERSCORES entry.
23301 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23302 them.
23303 * csu/start.c: Remove !NO_UNDERSCORE code.
23304 * locale/localeinfo.h: Likewise.
23305 * sysdeps/generic/machine-gmon.h: Likewise.
23306 * sysdeps/generic/sysdep.h: Likewise.
23307 * sysdeps/i386/sysdep.h: Likewise.
23308 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23309 * sysdeps/mach/sysdep.h: Likewise.
23310 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23311 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23312 * sysdeps/sh/sysdep.h: Likewise.
23313 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23314 * sysdeps/unix/i386/sysdep.S: Likewise.
23315 * sysdeps/unix/sparc/start.c: Likewise.
23316 * sysdeps/unix/sparc/sysdep.S: Likewise.
23317 * sysdeps/unix/sparc/sysdep.h: Likewise.
23318 * sysdeps/unix/start.c: Likewise.
23319 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23320 * sysdeps/x86_64/sysdep.h: Likewise.
23321
23322 2012-01-07 Ulrich Drepper <drepper@gmail.com>
23323
23324 [BZ #13553]
23325 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23326 for non-gcc.
23327 * argp/argp-fmtstream.h: Use const instead __const.
23328 * argp/argp.h: Likewise.
23329 * assert/assert.h: Likewise.
23330 * bits/fenv.h: Likewise.
23331 * bits/sched.h: Likewise.
23332 * bits/sigset.h: Likewise.
23333 * bits/sigthread.h: Likewise.
23334 * catgets/nl_types.h: Likewise.
23335 * conform/data/pthread.h-data: Likewise.
23336 * crypt/crypt-private.h: Likewise.
23337 * crypt/crypt.h: Likewise.
23338 * crypt/crypt_util.c: Likewise.
23339 * ctype/ctype.h: Likewise.
23340 * debug/execinfo.h: Likewise.
23341 * debug/mbsnrtowcs_chk.c: Likewise.
23342 * debug/mbsrtowcs_chk.c: Likewise.
23343 * debug/wcsnrtombs_chk.c: Likewise.
23344 * debug/wcsrtombs_chk.c: Likewise.
23345 * debug/wcstombs_chk.c: Likewise.
23346 * dirent/dirent.h: Likewise.
23347 * dlfcn/dlfcn.h: Likewise.
23348 * elf/neededtest4.c: Likewise.
23349 * grp/grp.h: Likewise.
23350 * gshadow/gshadow.h: Likewise.
23351 * iconv/gconv.h: Likewise.
23352 * iconv/gconv_int.h: Likewise.
23353 * iconv/gconv_simple.c: Likewise.
23354 * iconv/iconv.h: Likewise.
23355 * iconv/loop.c: Likewise.
23356 * iconv/skeleton.c: Likewise.
23357 * include/aio.h: Likewise.
23358 * include/aliases.h: Likewise.
23359 * include/argz.h: Likewise.
23360 * include/arpa/inet.h: Likewise.
23361 * include/assert.h: Likewise.
23362 * include/dirent.h: Likewise.
23363 * include/dlfcn.h: Likewise.
23364 * include/execinfo.h: Likewise.
23365 * include/fcntl.h: Likewise.
23366 * include/fenv.h: Likewise.
23367 * include/glob.h: Likewise.
23368 * include/grp.h: Likewise.
23369 * include/libintl.h: Likewise.
23370 * include/mntent.h: Likewise.
23371 * include/netdb.h: Likewise.
23372 * include/pwd.h: Likewise.
23373 * include/rpc/netdb.h: Likewise.
23374 * include/sched.h: Likewise.
23375 * include/search.h: Likewise.
23376 * include/shadow.h: Likewise.
23377 * include/signal.h: Likewise.
23378 * include/stdio.h: Likewise.
23379 * include/stdlib.h: Likewise.
23380 * include/string.h: Likewise.
23381 * include/sys/socket.h: Likewise.
23382 * include/sys/stat.h: Likewise.
23383 * include/sys/statfs.h: Likewise.
23384 * include/sys/statvfs.h: Likewise.
23385 * include/sys/syslog.h: Likewise.
23386 * include/sys/time.h: Likewise.
23387 * include/sys/uio.h: Likewise.
23388 * include/time.h: Likewise.
23389 * include/unistd.h: Likewise.
23390 * include/utmp.h: Likewise.
23391 * include/wchar.h: Likewise.
23392 * include/wctype.h: Likewise.
23393 * inet/aliases.h: Likewise.
23394 * inet/arpa/inet.h: Likewise.
23395 * inet/netinet/ether.h: Likewise.
23396 * inet/netinet/in.h: Likewise.
23397 * intl/libintl.h: Likewise.
23398 * io/bits/fcntl2.h: Likewise.
23399 * io/fcntl.h: Likewise.
23400 * io/ftw.h: Likewise.
23401 * io/sys/poll.h: Likewise.
23402 * io/sys/stat.h: Likewise.
23403 * io/sys/statfs.h: Likewise.
23404 * io/sys/statvfs.h: Likewise.
23405 * io/utime.h: Likewise.
23406 * libio/bits/stdio.h: Likewise.
23407 * libio/bits/stdio2.h: Likewise.
23408 * libio/libio.h: Likewise.
23409 * libio/libioP.h: Likewise.
23410 * libio/stdio.h: Likewise.
23411 * locale/lc-ctype.c: Likewise.
23412 * locale/locale.h: Likewise.
23413 * login/utmp.h: Likewise.
23414 * malloc/arena.c: Likewise.
23415 * malloc/malloc.c: Likewise.
23416 * malloc/malloc.h: Likewise.
23417 * malloc/mcheck.c: Likewise.
23418 * malloc/mtrace.c: Likewise.
23419 * math/bits/mathcalls.h: Likewise.
23420 * math/fenv.h: Likewise.
23421 * math/math_private.h: Likewise.
23422 * misc/bits/error.h: Likewise.
23423 * misc/bits/syslog.h: Likewise.
23424 * misc/err.h: Likewise.
23425 * misc/error.h: Likewise.
23426 * misc/fstab.h: Likewise.
23427 * misc/mntent.h: Likewise.
23428 * misc/regexp.h: Likewise.
23429 * misc/search.h: Likewise.
23430 * misc/sgtty.h: Likewise.
23431 * misc/sys/mman.h: Likewise.
23432 * misc/sys/syslog.h: Likewise.
23433 * misc/sys/uio.h: Likewise.
23434 * misc/sys/xattr.h: Likewise.
23435 * misc/ttyent.h: Likewise.
23436 * nis/rpcsvc/ypclnt.h: Likewise.
23437 * nss/nss.h: Likewise.
23438 * posix/bits/unistd.h: Likewise.
23439 * posix/fnmatch.h: Likewise.
23440 * posix/glob.h: Likewise.
23441 * posix/sched.h: Likewise.
23442 * posix/spawn.h: Likewise.
23443 * posix/sys/wait.h: Likewise.
23444 * posix/unistd.h: Likewise.
23445 * posix/wordexp.h: Likewise.
23446 * pwd/pwd.h: Likewise.
23447 * resolv/netdb.h: Likewise.
23448 * resource/sys/resource.h: Likewise.
23449 * rt/aio.h: Likewise.
23450 * rt/bits/mqueue2.h: Likewise.
23451 * rt/mqueue.h: Likewise.
23452 * shadow/shadow.h: Likewise.
23453 * signal/signal.h: Likewise.
23454 * socket/send.c: Likewise.
23455 * socket/sendto.c: Likewise.
23456 * socket/sys/socket.h: Likewise.
23457 * stdio-common/printf.h: Likewise.
23458 * stdlib/bits/stdlib.h: Likewise.
23459 * stdlib/fmtmsg.h: Likewise.
23460 * stdlib/monetary.h: Likewise.
23461 * stdlib/stdlib.h: Likewise.
23462 * stdlib/ucontext.h: Likewise.
23463 * streams/stropts.h: Likewise.
23464 * string/argz.h: Likewise.
23465 * string/bits/string2.h: Likewise.
23466 * string/string.h: Likewise.
23467 * string/strings.h: Likewise.
23468 * sunrpc/rpc/auth.h: Likewise.
23469 * sunrpc/rpc/auth_des.h: Likewise.
23470 * sunrpc/rpc/clnt.h: Likewise.
23471 * sunrpc/rpc/netdb.h: Likewise.
23472 * sunrpc/rpc/pmap_clnt.h: Likewise.
23473 * sunrpc/rpc/xdr.h: Likewise.
23474 * sysdeps/generic/inttypes.h: Likewise.
23475 * sysdeps/generic/net/if.h: Likewise.
23476 * sysdeps/generic/sys/swap.h: Likewise.
23477 * sysdeps/gnu/net/if.h: Likewise.
23478 * sysdeps/gnu/utmpx.h: Likewise.
23479 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23480 * sysdeps/i386/i486/bits/string.h: Likewise.
23481 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23482 * sysdeps/s390/bits/string.h: Likewise.
23483 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23484 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23485 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23486 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23487 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23488 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23489 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23490 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23491 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23492 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23493 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23494 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23495 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23496 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23497 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23498 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23499 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23500 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23502 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23504 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23505 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23506 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23507 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23508 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23509 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23510 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23511 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23513 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23514 * sysvipc/sys/ipc.h: Likewise.
23515 * sysvipc/sys/msg.h: Likewise.
23516 * sysvipc/sys/sem.h: Likewise.
23517 * sysvipc/sys/shm.h: Likewise.
23518 * termios/termios.h: Likewise.
23519 * time/sys/time.h: Likewise.
23520 * time/time.h: Likewise.
23521 * wcsmbs/bits/wchar2.h: Likewise.
23522 * wcsmbs/uchar.h: Likewise.
23523 * wcsmbs/wchar.h: Likewise.
23524 * wctype/wctype.h: Likewise.
23525
23526 [BZ #13551]
23527 * Makeconfig: Remove all but ELF support including AIX support.
23528 * Makerules: Likewise.
23529 * config.h.in: Likewise.
23530 * config.make.in: Likewise.
23531 * configure: Likewise.
23532 * configure.in: Likewise.
23533 * csu/Makefile: Likewise.
23534 * csu/version.c: Likewise.
23535 * debug/Makefile: Likewise.
23536 * dlfcn/Makefile: Likewise.
23537 * elf/Makefile: Likewise.
23538 * extra-lib.mk: Likewise.
23539 * iconv/Makefile: Likewise.
23540 * include/libc-symbols.h: Likewise.
23541 * include/shlib-compat.h: Likewise.
23542 * resolv/Makefile: Likewise.
23543 * resolv/res_libc.c: Likewise.
23544 * rt/Makefile: Likewise.
23545 * sysdeps/i386/asm-syntax.h: Likewise.
23546 * sysdeps/i386/sysdep.h: Likewise.
23547 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23548 * sysdeps/mach/sysdep.h: Likewise.
23549 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23550 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23551 * sysdeps/s390/asm-syntax.h: Likewise.
23552 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23554 * sysdeps/sh/sysdep.h: Likewise.
23555 * sysdeps/unix/sparc/sysdep.h: Likewise.
23556 * sysdeps/wordsize-32/divdi3.c: Likewise.
23557 * sysdeps/x86_64/sysdep.h: Likewise.
23558
23559 * argp/Versions: Remove _argp_unlock_xxx.
23560
23561 [BZ #13559]
23562 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23563 * abilist/libBrokenLocale.abilist: Likewise.
23564 * abilist/libanl.abilist: Likewise.
23565 * abilist/libc.abilist: Likewise.
23566 * abilist/libcrypt.abilist: Likewise.
23567 * abilist/libdl.abilist: Likewise.
23568 * abilist/libm.abilist: Likewise.
23569 * abilist/libnsl.abilist: Likewise.
23570 * abilist/libpthread.abilist: Likewise.
23571 * abilist/libresolv.abilist: Likewise.
23572 * abilist/librt.abilist: Likewise.
23573 * abilist/libthread_db.abilist: Likewise.
23574 * abilist/libutil.abilist: Likewise.
23575 * abilist/libnss_db.abilist: New file.
23576
23577 * scripts/abilist.awk: Add support for indirect functions.
23578
23579 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23580
23581 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23582
23583 * shlib-versions: Remove entries for ports architectures.
23584
23585 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23586 files in ports.
23587 * elf/stackguard-macros.h: Remove support for IA-64.
23588 * elf/tst-auditmod1.c: Likewise.
23589 * sysdeps/generic/ldsodefs.h: Likewise.
23590
23591 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23592 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23593 configure files.
23594
23595 [BZ #13552]
23596 * configure.in: Remove --enable-omitfp support.
23597 * FAQ.in: Adjust.
23598 * config.make.in: Likewise.
23599 * Makeconfig: Likewise.
23600 * manual/install.texi: Likewise.
23601
23602 In case anyone cares, the IA-64 architecture could move to ports.
23603 * sysdeps/ia64/*: Removed.
23604 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23605 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23606
23607 [BZ #13555]
23608 * configure.in: Remove entries for unsupported architectures.
23609
23610 [BZ #13533]
23611 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23612 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23613 routines.
23614 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23615 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23616 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23617 fall back to using wcrtomb.
23618 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23619 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23620 renaming.
23621 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23622 * wcsmbs/tst-c16c32-1.c: New file.
23623
23624 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23625 local variable.
23626
23627 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23628
23629 * elf/tst-unique3.cc: Add explicit declaration of gets.
23630 * elf/tst-unique3lib.cc: Likewise.
23631 * elf/tst-unique3lib2.cc: Likewise.
23632 * elf/tst-unique4.cc: Likewise.
23633
23634 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23635
23636 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23637
23638 [BZ #13566]
23639 * assert/assert.h (static_assert): Don't define for C++.
23640 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23641 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23642
23643 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23644
23645 * iconv/loop.c (single loop): Fix assertion in storing of
23646 remaining bytes.
23647
23648 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23649
23650 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23651
23652 * posix/getconf.c: Update copyright year.
23653 * nss/getent.c: Likewise.
23654 * nss/makedb.c: Likewise.
23655 * iconv/iconvconfig.c: Likewise.
23656 * iconv/iconv_prog.c: Likewise.
23657 * elf/ldconfig.c: Likewise.
23658 * elf/pldd.c: Likewise.
23659 * elf/sotruss.ksh: Likewise.
23660 * catgets/gencat.c: Likewise.
23661 * csu/version.c: Likewise.
23662 * elf/ldd.bash.in: Likewise.
23663 * elf/sprof.c (print_version): Likewise.
23664 * locale/programs/locale.c: Likewise.
23665 * locale/programs/localedef.c: Likewise.
23666 * login/programs/pt_chown.c: Likewise.
23667 * nscd/nscd.c (print_version): Likewise.
23668 * debug/xtrace.sh: Likewise.
23669 * malloc/memusage.sh: Likewise.
23670 * malloc/mtrace.pl: Likewise.
23671 * debug/catchsegv.sh: Likewise.
23672
23673 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23674
23675 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23676 pure attribute.
23677
23678 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23679
23680 [BZ #13533]
23681 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23682 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23683 transformations.
23684 * iconv/gconv_int.h: Likewise.
23685 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23686 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23687 from libc for GLIBC_2.16.
23688 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23689 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23690 * wcsmbs/uchar.h: Really define mbstate_t.
23691 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23692 * wcsmbs/c16rtomb.c: New file.
23693 * wcsmbs/mbrtoc16.c: New file.
23694 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23695 for C/POSIX locale.
23696 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23697 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23698
23699 * wcsmbs/wchar.h: Add missing __restrict.
23700
23701 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23702
23703 [BZ #13532]
23704 * time/Makefile (routines): Add timespec_get.
23705 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23706 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23707 timespec for ISO C11.
23708 * time/timespec_get.c: New file.
23709 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23710 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23711
23712 [BZ #13531]
23713 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23714 * stdlib/stdlib.h: Declare aligned_alloc.
23715 * Versions.def: Add GLIBC_2.16 for libc.
23716 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23717
23718 [BZ 13527]
23719 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23720 ISO C11.
23721
23722 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23723 code.
23724
23725 [BZ #13528]
23726 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23727
23728 [BZ #13529]
23729 * assert/assert.h (static_assert): Define.
23730
23731 * version.h: Update for 2.16 development version.
23732
23733 [BZ #13526]
23734 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23735 _ISOC11_SOURCE.
23736
23737 * version.h (RELEASE): Bump for 2.15 release.
23738 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23739
23740 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23741 Patch by Marek Polacek <mpolacek@redhat.com>.
23742
23743 * bits/byteswap.h: Protect long long constants with __extension__.
23744 * sysdeps/i386/bits/byteswap.h: Likewise.
23745 * sysdeps/ia64/bits/byteswap.h: Likewise.
23746 * sysdeps/s390/bits/byteswap.h: Likewise.
23747 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23748
23749 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23750
23751 [BZ #13540]
23752 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23753 destination buffer.
23754 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23755
23756 2011-12-23 Marek Polacek <polacek@redhat.com>
23757
23758 * elf/dl-addr.c (determine_info): Add inline keyword.
23759 * elf/tst-auditmod4b.c (check_avx): Likewise.
23760 * elf/tst-auditmod6b.c (check_avx): Likewise.
23761 * elf/tst-auditmod6c.c (check_avx): Likewise.
23762 * elf/tst-auditmod7b.c (check_avx): Likewise.
23763
23764 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23765
23766 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23767 !__SSE_MATH__.
23768
23769 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23770
23771 [BZ #13540]
23772 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23773 processing for last bytes.
23774
23775 2011-08-06 Bruno Haible <bruno@clisp.org>
23776
23777 [BZ #13061]
23778 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23779 U+0385, not to U+1FEE.
23780
23781 [BZ #13062]
23782 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23783 entry for U+00A5 U+0301.
23784
23785 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23786
23787 [BZ #13166]
23788 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23789 buffer for the output is too small.
23790
23791 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23792 optimization.
23793
23794 [BZ #13185]
23795 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23796 SSE flags if possible.
23797
23798 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23799
23800 [BZ #13540]
23801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23802 processing for last bytes.
23803
23804 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23805
23806 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23807 (syscall-list-default-options, syscall-list-default-condition)
23808 (syscall-list-includes): Define.
23809 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23810 list of ABIs and options and #if conditions for each ABI. Do not
23811 handle common syscalls between ABIs specially.
23812 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23813 Remove.
23814 (syscall-list-variants, syscall-list-32bit-options)
23815 (syscall-list-32bit-condition, syscall-list-64bit-options)
23816 (syscall-list-64bit-condition): Define.
23817 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23818 (syscall-list-variants, syscall-list-32bit-options)
23819 (syscall-list-32bit-condition, syscall-list-64bit-options)
23820 (syscall-list-64bit-condition): Define.
23821 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23822 Remove.
23823 (syscall-list-variants, syscall-list-32bit-options)
23824 (syscall-list-32bit-condition, syscall-list-64bit-options)
23825 (syscall-list-64bit-condition): Define.
23826 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23827 Remove.
23828 (syscall-list-variants, syscall-list-32bit-options)
23829 (syscall-list-32bit-condition, syscall-list-64bit-options)
23830 (syscall-list-64bit-condition): Define.
23831
23832 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23833
23834 * locale/iso-639.def: Add brx entry.
23835
23836 [BZ #13328]
23837 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23838 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23839
23840 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23841 __feraiseexcept_renamed.
23842
23843 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23844
23845 [BZ #13538]
23846 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23847 EPOLLET with unsigned values.
23848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23849 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23850
23851 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23852 to large cancellation.
23853 * math/s_cacoshf.c: Likewise.
23854 * math/s_cacoshl.c: Likewise.
23855
23856 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23857
23858 [BZ #13305]
23859 [BZ #12786]
23860 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23861 * math/s_cacoshf.c: Likewise.
23862 * math/s_cacoshl.c: Likewise.
23863
23864 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23865
23866 [BZ #13439]
23867 * iconv/gconv.h: Define __GCONV_SWAP.
23868 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23869 * iconvdata/utf-16.c: Likewise.
23870 * iconvdata/utf-32.c: Likewise.
23871
23872 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23873
23874 [BZ #13524]
23875 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23876 numerator after shifting it by one limb.
23877
23878 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23879
23880 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23881 under [__USE_EXTERN_INLINES].
23882
23883 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23884
23885 [BZ #13446]
23886 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23887
23888 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23889
23890 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23891 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23892 optimized code.
23893 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23894 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23895 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23896 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23897 for strncasecmp/strncasecmp_l compilation.
23898 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23899 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23900
23901 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23902
23903 [BZ #13484]
23904 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23905 of __asm__.
23906
23907 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23908
23909 [BZ #13506]
23910 * time/tzfile.c (__tzfile_read): Check values from file header.
23911
23912 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23913
23914 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23915 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23916 * powerpc/powerpc32/dl-start.S: Likewise.
23917 * powerpc/powerpc32/elf/start.S: Likewise.
23918 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23919 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23920 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23921 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23922 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23923 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23924 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23925 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23926 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23927 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23928 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23929 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23930 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23931 * powerpc/powerpc32/memset.S: Likewise.
23932 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23933 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23934 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23935 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23936 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23937 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23938 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23939 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23940 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23941 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23942 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23943 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23944 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23945
23946 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23947
23948 * math/libm-test.inc: Added more nearbyint tests.
23949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23950 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23953
23954 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23955
23956 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23957 FD_CLOEXEC.
23958
23959 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23960
23961 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23962 Add wcscpy-ssse3 wcscpy-c.
23963 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23964 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23965 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23966 * sysdeps/x86_64/wcschr.S: New file.
23967 * sysdeps/x86_64/wcsrchr.S: New file.
23968 * string/test-strcmp.c: Remove checking of wcscmp function for
23969 wrong alignments.
23970 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23971 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23972 wcsrchr-sse2 wcsrchr-c.
23973 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23974 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23975 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23976 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23977 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23978 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23979 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23980 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23981 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23982 * wcsmbc/wcschr.c (WCSCHR): New macro.
23983
23984 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23985
23986 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23987 * wcsmbs/test-wcsrchr.c: New file.
23988 * string/test-strrchr.c: Add wcsrchr support.
23989 (WIDE): New macro.
23990 * wcsmbs/test-wcscpy.c: New file.
23991 * string/test-strcpy.c: Add wcscpy support.
23992 (WIDE): New macro.
23993
23994 2011-12-10 Ulrich Drepper <drepper@gmail.com>
23995
23996 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23997 the inner loop.
23998
23999 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24000
24001 [BZ #13472]
24002 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24003
24004 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24005
24006 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24007 Minor optimizations.
24008
24009 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24010 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24011 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24012
24013 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24014
24015 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24016 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24017 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24018 for gcc to avoid warnings.
24019 * inet/Makefile (tests): Add tst-checks.
24020 * inet/tst-checks.c: New file.
24021
24022 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24023 warning.
24024
24025 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24026 __wmemcmp_sse2.
24027
24028 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24029 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24030
24031 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24032
24033 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24034
24035 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24036 problem.
24037
24038 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24039
24040 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24041
24042 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24043 conditional on GCC version.
24044 (__arch_compare_and_exchange_val_8_acq)
24045 (__arch_compare_and_exchange_val_16_acq)
24046 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24047 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24048 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24049
24050 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24051
24052 * sysdeps/sh/backtrace.c: New file.
24053
24054 2011-12-02 Andreas Schwab <schwab@redhat.com>
24055
24056 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24057 parenthesis.
24058
24059 2011-12-01 Andreas Schwab <schwab@redhat.com>
24060
24061 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24062 falling back to utime.
24063
24064 2011-11-30 Andreas Schwab <schwab@redhat.com>
24065
24066 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24067 expectations for float.
24068
24069 2011-11-29 Andreas Schwab <schwab@redhat.com>
24070
24071 * locale/weight.h (findidx): Add parameter len.
24072 * locale/weightwc.h (findidx): Likewise.
24073 * posix/fnmatch_loop.c (FCT): Adjust caller.
24074 * posix/regcomp.c (build_equiv_class): Likewise.
24075 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24076 * posix/regexec.c (check_node_accept_bytes): Likewise.
24077 * string/strcoll_l.c (STRCOLL): Likewise.
24078 * string/strxfrm_l.c (STRXFRM): Likewise.
24079
24080 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24081
24082 * Makefile.in: Remove CVSOPT handling.
24083 * configure.in: Remove use of AC_REVISION.
24084 * iconvdata/Makefile (distribute): No need to filter out CVS.
24085 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24086 handling.
24087
24088 2011-11-16 Andreas Schwab <schwab@redhat.com>
24089
24090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24091 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24092 [USE_AS_STRNCASECMP_L]: Likewise.
24093 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24094 NO_TLS_DIRECT_SEG_REFS.
24095 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24096 Fix argument offsets for non-PIC.
24097 [USE_AS_STRNCASECMP_L]: Likewise.
24098 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24099 NO_TLS_DIRECT_SEG_REFS.
24100
24101 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24102
24103 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24104 O_CLOEXEC.
24105 * locale/loadlocale.c (_nl_load_locale): Likewise.
24106
24107 2011-11-15 Andreas Schwab <schwab@redhat.com>
24108
24109 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24110 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24111 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24112 (SYSCALL_GETTIME): Set errno on error.
24113
24114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24115 count references to noai6ai_cached.
24116
24117 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24118
24119 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24120
24121 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24122 FD_CLOEXEC for /proc/self/maps.
24123
24124 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24125 FD_CLOEXEC for /proc/meminfo.
24126
24127 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24128 gai.conf.
24129
24130 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24131 FD_CLOEXEC for given file.
24132
24133 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24134
24135 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24136 FD_CLOEXEC for /etc/hosts.
24137 (_gethtent): Likewise.
24138
24139 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24140
24141 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24142 cancellation and set FD_CLOEXEC for /etc/netgroup.
24143
24144 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24145 reading /etc/publickey.
24146
24147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24148 allow cancellation when reading /etc/group.
24149
24150 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24151 cancellation.
24152 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24153
24154 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24155 when using data file.
24156
24157 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24158
24159 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24160 (write_nis_obj): Use "c" and "e" in fopen.
24161
24162 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24163
24164 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24165
24166 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24167
24168 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24169
24170 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24171 locale.alias.
24172
24173 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24174
24175 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24176
24177 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24178
24179 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24180 file parsing and set FD_CLOEXEC.
24181
24182 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24183
24184 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24185
24186 2011-11-14 Andreas Schwab <schwab@redhat.com>
24187
24188 * malloc/arena.c (arena_get2): Don't call reused_arena when
24189 _int_new_arena failed.
24190
24191 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24192
24193 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24194 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24195 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24196 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24197 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24198 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24199 to compile strcasecmp and strncasecmp.
24200 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24201 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24202
24203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24204
24205 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24206
24207 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24208 locale-defines.sym to gen-as-const-headers.
24209 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24210 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24212 to compile strcasecmp and strncasecmp.
24213 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24214 strcasecmp_l and strncasecmp_l.
24215 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24216 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24217 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24218 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24219 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24220 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24221 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24222 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24223 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24224 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24225 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24226
24227 2011-11-12 Ulrich Drepper <drepper@gmail.com>
24228
24229 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24230 result of SYSDEP_GETTIME_CPU to retval.
24231 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24232 parameter list to macro. Remove trailing semicolon. Adjust users.
24233
24234 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24235 variable.
24236
24237 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24238 mantissa words.
24239 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24240
24241 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24242 from unused variable.
24243
24244 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24245 DWARF definitions.
24246 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24247 for assembling.
24248
24249 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24250 over namespaces.
24251
24252 * sunrpc/rpc_prot.c (rejected): Fix case value.
24253
24254 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24255 unsigned long long int to avoid warnings in shift.
24256
24257 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24258 of use of trans.
24259 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24260 variable tmp.
24261
24262 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24263 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24264 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24265
24266 * nis/nis_table.c (nis_list): Use variable of correct type for
24267 result of __follow_path call.
24268
24269 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24270
24271 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24272 of math functions ceil, trunc, floor, round, and sqrt, when
24273 avaliable on the platform.
24274 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24275 name clash.
24276 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24277 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24278 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24279
24280 2011-10-30 Marek Polacek <mpolacek@redhat.com>
24281
24282 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24283 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24284
24285 2011-11-11 Roland McGrath <roland@hack.frob.com>
24286
24287 * include/unistd.h: Fix __readlink return type.
24288 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24289
24290 2011-11-11 Ulrich Drepper <drepper@gmail.com>
24291
24292 * stdlib/ucontext.h: Undo last change for makecontext.
24293
24294 2011-11-11 Andreas Schwab <schwab@redhat.com>
24295
24296 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24297
24298 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24299 * setjmp/setjmp.h: Mark functions as non-leaf.
24300 * setjmp/bits/setjmp2.h: Likewise.
24301 * stdlib/ucontext.h: Likewise.
24302
24303 2011-11-10 Andreas Schwab <schwab@redhat.com>
24304
24305 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24306 (reused_arena): Don't check arena limit.
24307 (arena_get2): Atomically check arena limit.
24308
24309 2011-11-08 Ulrich Drepper <drepper@gmail.com>
24310
24311 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24312 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24313
24314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24315 instructions.
24316
24317 2011-11-07 Andreas Schwab <schwab@redhat.com>
24318
24319 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24320 handler when locking.
24321
24322 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24323 Fix size of allocated buffer.
24324
24325 2011-11-04 Andreas Schwab <schwab@redhat.com>
24326
24327 [BZ #10103]
24328 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24329 declarations for long double functions.
24330 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24331
24332 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24333
24334 2011-11-03 Andreas Schwab <schwab@redhat.com>
24335
24336 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24337 installed.
24338
24339 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24340 is disabled.
24341
24342 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24343
24344 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24345
24346 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24347
24348 * include/alloca.h (stackinfo_alloca_round): Define.
24349 (extend_alloca): Use it.
24350 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24351 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24352 here.
24353
24354 * scripts/check-local-headers.sh: Ignore libaudit.h.
24355
24356 * nscd/Makefile (extra-objs): Make recursively expanded.
24357
24358 2011-11-01 Ulrich Drepper <drepper@gmail.com>
24359
24360 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24361 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24362
24363 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24364 * posix/tst-rfc3484-2.c: Likewise.
24365 * posix/tst-rfc3484-3.c: Likewise.
24366
24367 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24368 process_vm_writev.
24369 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24370 process_vm_writev.
24371 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24372 process_vm_writev from libc using GLIBC_2.15 version.
24373
24374 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24375
24376 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24377
24378 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24379 stack usage.
24380
24381 2011-10-31 Ulrich Drepper <drepper@gmail.com>
24382
24383 [BZ #13367]
24384 * nss/getent.c (initgroups_keys): Show error message in case no group
24385 names are given.
24386
24387 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24388 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24389 __bump_nl_timestamp.
24390 * nscd/connections (nscd_init): When host database is served open
24391 netlink socket and request notification about configuration changes.
24392 (main_loop_poll): Track netlink file descriptor and bump timestamp
24393 in case data becomes available.
24394 (main_loop_epoll): Likewise.
24395 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24396 (database_pers_head): Add extra_data fileds.
24397 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24399 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24400 Adjust caller.
24401 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24402 in6ai data, call __free_in6ai.
24403 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24404 Add -DHAVE_NETLINK.
24405 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24406 interface information. Reuse previous data if netlink timestamp
24407 is not changed.
24408 (__bump_nl_timestamp): New function.
24409 (__free_in6ai): New function.
24410
24411 2011-10-30 Ulrich Drepper <drepper@gmail.com>
24412
24413 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24414 close_not_cancel_no_status here.
24415 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24416
24417 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24418
24419 [BZ #13276]
24420 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24421 return value.
24422
24423 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24424 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24425 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24426
24427 2011-07-03 Andreas Jaeger <aj@suse.de>
24428
24429 [BZ #10709]
24430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24431 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24432 * math/libm-test.inc (sin_test): Add test case.
24433
24434 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24435
24436 [BZ #13337]
24437 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24438 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24439
24440 * elf/chroot_canon.c (chroot_canon): Cleanups.
24441
24442 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24443
24444 [BZ #13335]
24445 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24446 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24447
24448 * string/test-strchr.c: Make usable for strchrnul testing.
24449 * string/test-strchrnul.c: New file.
24450 * string/Makefile (strop-tests): Add strchrnul.
24451
24452 * po/it.po: Update from translation team.
24453 * po/es.po: Likewise.
24454
24455 2011-10-28 Ulrich Drepper <drepper@gmail.com>
24456
24457 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24458 the three constants needed as parameters. Drop the others.
24459 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24460 __m128i_strloadu_tolower.
24461 Create and initialize variable zero and use it in all the places
24462 where _mm_setzero_si128 was used.
24463
24464 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24465 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24466 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24467 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24468 anymore.
24469 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24470 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24471 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24472 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24473 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24474 __mpranred, __mptan.
24475 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24476 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24477 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24478 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24479 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24480 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24481 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24482 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24483 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24484
24485 2011-10-28 Andreas Schwab <schwab@redhat.com>
24486
24487 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24488 redefine if SHARED.
24489 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24490
24491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24492 wide char related routines to wcsmbs subdir.
24493
24494 2011-10-27 Andreas Schwab <schwab@redhat.com>
24495
24496 [BZ #13344]
24497 * misc/sys/cdefs.h (__THROWNL): Define.
24498 * posix/unistd.h: Use __THREADNL instead of __THREAD
24499 for memory synchronization functions.
24500
24501 2011-10-26 Roland McGrath <roland@hack.frob.com>
24502
24503 [BZ #13349]
24504 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24505 doesn't exist.
24506 * manual/stdio.texi (Obstack Streams): Node removed.
24507
24508 2011-10-26 Andreas Schwab <schwab@redhat.com>
24509
24510 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24511 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24512 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24513
24514 * math/math_private.h (math_force_eval): Allow non-addressable
24515 arguments.
24516 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24517
24518 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24519
24520 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24521 file is not needed.
24522
24523 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24524 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24530 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24531 Add AVX variants.
24532 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24533 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24534 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24535 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24536 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24537 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24538 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24539 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24540 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24541 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24542 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24543 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24544 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24545 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24546 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24547 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24548 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24549 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24550 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24551
24552 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24553 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24554
24555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24556 place. Use VEX encoding when compiling for AVX.
24557
24558 2011-10-25 Andreas Schwab <schwab@redhat.com>
24559
24560 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24561 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24562
24563 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24564
24565 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24566
24567 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24568 useless if() expression.
24569 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24581 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24582 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24583 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24584 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24585 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24588
24589 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24590
24591 2011-10-25 Andreas Schwab <schwab@redhat.com>
24592
24593 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24594 condition.
24595 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24596
24597 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24598
24599 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24600 .text section. Avoid duplicate constants.
24601 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24611 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24613 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24616 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24618 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24624 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24625 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24626 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24627 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24628 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24629 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24630 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24631 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24632 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24633 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24634 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24635 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24636 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24637 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24638 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24639 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24640 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24641 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24642 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24643 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24645 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24646
24647 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24648
24649 * sysdeps/x86_64/dla.h: Move to ...
24650 * sysdeps/x86_64/fpu/dla.h: ...here.
24651 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24652 situations. Use __builtin_fma only for gcc 4.6 and up.
24653
24654 * config.make.in: Add have-mfma4 entry.
24655 * configure.in: Substitute libc_cv_cc_fma4.
24656 * math/Makefile (dbl-only-routines): Add sincostab.
24657 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24658 Use __sincostab not sincos.
24659 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24660 name is a macro.
24661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24665 using __copysign.
24666 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24667 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24668 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24669 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24670 and __inv.
24671 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24672 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24673 __copysign.
24674 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24675 define aliases when function name is a macro.
24676 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24677 sysdeps/ieee754/dbl-64/sincos.tbl.
24678 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24679 fma4-enabled routines.
24680 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24681 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24682 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24683 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24684 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24685 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24686 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24687 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24688 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24689 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24690 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24692 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24693 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24694 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24695 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24696 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24697 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24698 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24700 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24701 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24702 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24704 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24705 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24710
24711 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24712 rename.
24713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24721
24722 2011-10-24 Andreas Schwab <schwab@redhat.com>
24723
24724 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24725
24726 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24727
24728 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24729
24730 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24731 prediction.
24732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24733
24734 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24735 Remove unused variable magic_bits.
24736 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24737
24738 * string/strnlen.c: Define and use STRNLEN macro.
24739 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24740 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24741 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24742 * wcsmbs/wcslen.c: Define and use WCSLEN.
24743 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24744 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24745 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24746 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24747 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24748 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24749 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24750
24751 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24752
24753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24754 strnlen-sse2-no-bsf.
24755 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24757 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24758 Add strnlen support.
24759 (USE_AS_STRNLEN): New macro.
24760 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24761 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24762 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24763 * sysdeps/x86_64/wcslen.S: New file.
24764
24765 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24766
24767 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24768 XMM-moves are used for copying on small sizes.
24769
24770 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24771
24772 * wcsmbs/Makefile (strop-tests): Add wcschr.
24773 * wcsmbs/test-wcschr.c: New file.
24774 * string/test-strchr.c: Update.
24775 Add wcschr support.
24776 (WIDE): New macro.
24777
24778 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24779
24780 * wcsmbs/Makefile (strop-tests): Add wcslen.
24781 * wcsmbs/test-wcslen.c: New file.
24782 * string/test-strlen.c: Update.
24783 Add wcslen support.
24784 (WIDE): New macro.
24785
24786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24787
24788 * po/it.po: Update from translation team.
24789
24790 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24791
24792 * sysdeps/x86_64/wcscmp.S: Update.
24793 Fix wrong comparison semantics.
24794 wcscmp shall use signed comparison not unsigned.
24795 Don't use substraction to avoid overflow bug.
24796 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24797 * wcsmbc/wcscmp.c: Likewise.
24798 * string/test-strcmp.c: Likewise.
24799 Add new tests to check cases with negative values.
24800
24801 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24802
24803 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24804 * sysdeps/x86_64/dla.h: ...here. New file.
24805 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24814
24815 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24816
24817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24818 __ynl_finite aliases.
24819
24820 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24821
24822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24823
24824 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24825 define DLA_FMA.
24826 [DLA_FMA] (EMULV): Use DLA_FMA.
24827 [DLA_FMA] (MUL12): Use EMULV.
24828 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24829 that are not needed.
24830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24832 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24835 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24837
24838 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24839
24840 * math/s_nan.c: Undef __nan.
24841 * math/s_nanf.c: Undef __nanf.
24842 * math/s_nanl.c: Undef __nanl.
24843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24844 "math_private.h".
24845
24846 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24847
24848 * math/s_catan.c: Add branch predictions.
24849 * math/s_catanf.c: Likewise.
24850 * math/s_catanh.c: Likewise.
24851 * math/s_catanhf.c: Likewise.
24852 * math/s_catanhl.c: Likewise.
24853 * math/s_catanl.c: Likewise.
24854 * math/s_cexp.c: Likewise.
24855 * math/s_cexpf.c: Likewise.
24856 * math/s_cexpl.c: Likewise.
24857 * math/s_clog.c: Likewise.
24858 * math/s_clog10.c: Likewise.
24859 * math/s_clog10f.c: Likewise.
24860 * math/s_clog10l.c: Likewise.
24861 * math/s_clogf.c: Likewise.
24862 * math/s_clogl.c: Likewise.
24863 * math/s_csqrt.c: Likewise.
24864 * math/s_csqrtf.c: Likewise.
24865 * math/s_csqrtl.c: Likewise.
24866 * math/s_ctanf.c: Likewise.
24867 * math/s_ctanh.c: Likewise.
24868 * math/s_ctanhf.c: Likewise.
24869 * math/s_ctanhl.c: Likewise.
24870 * math/s_ctanl.c: Likewise.
24871
24872 * math/math_private.h: Define __nan, __nanf, __nanl.
24873 * math/s_cacosh.c: Include <math_private.h>.
24874 * math/s_cacoshl.c: Likewise.
24875 * math/s_casinh.c: Likewise.
24876 * math/s_casinhf.c: Likewise.
24877 * math/s_casinhl.c: Likewise.
24878 * math/s_ccos.c: Rely entire on ccosh.
24879 * math/s_ccosf.c: Rely entire on ccoshf.
24880 * math/s_ccosl.c: Rely entirely on ccoshl.
24881 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24882 Remove tests for FE_INVALID.
24883 * math/s_ccoshf.c: Likewise.
24884 * math/s_ccoshl.c: Likewise.
24885 * math/s_csin.c: Likewise.
24886 * math/s_csinf.c: Likewise.
24887 * math/s_csinh.c Likewise.
24888 * math/s_csinhf.c: Likewise.
24889 * math/s_csinhl.c: Likewise.
24890 * math/s_csinl.c: Likewise.
24891 * math/s_ctan.c: Likewise.
24892 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24893 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24894 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24895
24896 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24897
24898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24899 compilation problems.
24900
24901 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24902 __builtin_expect.
24903
24904 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24905
24906 * sysdeps/i386/configure.in: Test for -mfma4 option.
24907 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24908 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24909 COMMON_CPUID_INDEX_80000001.
24910 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24911 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24912 use it if FMA3 is not supported.
24913 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24914
24915 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24916 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24917
24918 2011-10-20 Andreas Schwab <schwab@redhat.com>
24919
24920 [BZ #12892]
24921 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24922 it would create a cycle with a link time dependency.
24923
24924 2011-10-19 Ulrich Drepper <drepper@gmail.com>
24925
24926 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24927 instruction.
24928 * string/Makefile (strop-tests): Add rawmemchr.
24929 * string/test-rawmemchr.c: New file.
24930
24931 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24932 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24933 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24934 when compiling str{,n}casecmp and when AVX is available. Hook up
24935 new optimized code in initializers.
24936
24937 2011-10-19 Andreas Schwab <schwab@redhat.com>
24938
24939 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24940 __feraiseexcept instead of feraiseexcept.
24941
24942 2011-10-18 Ulrich Drepper <drepper@gmail.com>
24943
24944 * math/math_private.h: Define defaults for libc_fetestexcept and
24945 libc_feupdateenv.
24946 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24947 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24948 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24949 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24950 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24951 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24952 libc_fetestexcept and libc_feupdateenv.
24953
24954 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24955 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24956 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24957 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24958 libc_feholdexcept_setround.
24959
24960 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24961 Add s_nearbyint-c and s_nearbyintf-c.
24962 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24963 nearbyintf inlines.
24964 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24965 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24966 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24967 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24968
24969 * math/math_private.h: Define defaults for libc_fegetround,
24970 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24971 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24972 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24973 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24974 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24975 standard functions.
24976 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24977 Remove comments and hacks for old compiler versions.
24978 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24979 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24980 libc_feholdexceptl.
24981
24982 2011-10-18 Andreas Schwab <schwab@redhat.com>
24983
24984 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
24985 (__feraiseexcept_renamed): Add __NTH.
24986 (feraiseexcept): Add __NTH. Rename local variables to fix
24987 namespace violations.
24988
24989 2011-10-17 Ulrich Drepper <drepper@gmail.com>
24990
24991 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24992
24993 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24994
24995 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24996 recently added interfaces.
24997 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24998
24999 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25000 about macro parameter expansion.
25001
25002 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25003 __NO_MATH_INLINES is defined. Cleanups.
25004
25005 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25006 and __floorf is target has SSE4.1.
25007 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25008 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25009 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25010 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25011
25012 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25013 name.
25014 (floorf): Likewise.
25015
25016 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25017
25018 2011-10-17 Andreas Schwab <schwab@redhat.com>
25019
25020 * misc/sys/cdefs.h: Fix last change.
25021
25022 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25023 database lookup.
25024
25025 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25026
25027 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25028
25029 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25035 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25036 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25037 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25038 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25039 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25040 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25041 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25042 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25043 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25044 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25045 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25046 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25047 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25048 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25049 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25050 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25051
25052 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25053 ceil, ceilf, floor, floorf.
25054
25055 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25056 Perform IRELATIVE relocations last.
25057
25058 * elf/do-rel.h: Add another parameter nrelative, replacing the
25059 local variable with the same name. Change name of the function
25060 to end in Rel or Rela (uppercase).
25061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25062 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25063 elf_dynamic_do_##reloc function.
25064
25065 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25066
25067 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25068 is sufficient, at least on modern CPUs.
25069
25070 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25071
25072 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25073 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25074
25075 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25076 __expl_finite.
25077 * math/bits/math-finite.h: Add entries for exp.
25078 * math/e_expl.c: Add __*_finite alias.
25079 * sysdeps/i386/fpu/e_exp.S: Likewise.
25080 * sysdeps/i386/fpu/e_expf.S: Likewise.
25081 * sysdeps/i386/fpu/e_expl.c: Likewise.
25082 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25083 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25086 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25087 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25089
25090 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25091 is sufficient, at least on modern CPUs.
25092
25093 * ctype/ctype-info.c (__ctype_init): Define.
25094 * include/ctype.h (__ctype_init): Declare.
25095 (__ctype_b_loc): The variable is always initialized.
25096 (__ctype_toupper_loc): Likewise.
25097 (__ctype_tolower_loc): Likewise.
25098 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25099 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25100
25101 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25102
25103 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25104
25105 * configure.in: Also look in $cxxmachine/include for C++ system
25106 headers.
25107
25108 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25109
25110 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25111 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25112 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25113 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25114 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25115 (USE_AS_WMEMCMP): New macro.
25116 Fixing indents.
25117 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25118 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25119 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25120 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25122 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25123 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25124 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25125 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25126 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25127 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25128 (USE_AS_WMEMCMP): New macro.
25129 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25130 * sysdeps/string/test-memcmp.c: Update.
25131 Fix simple_wmemcmp.
25132 Add new tests.
25133 * wcsmbs/wmemcmp.c: Update.
25134 (WMEMCMP): New macro.
25135 Fix overflow bug.
25136
25137 2011-10-12 Andreas Jaeger <aj@suse.de>
25138
25139 [BZ #13268]
25140 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25141
25142 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25143
25144 * libio/iofwide.c (do_length): Avoid warning.
25145
25146 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25147
25148 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25149
25150 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25151
25152 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25153 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25154 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25155 * sysdeps/i386/i686/fpu/e_log.S: New file.
25156 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25157 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25158
25159 * ctype/ctype.h: Add support for inlined isXXX functions when
25160 compiling C++ code.
25161
25162 2011-10-14 Andreas Schwab <schwab@redhat.com>
25163
25164 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25165
25166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25167
25168 2011-10-13 Roland McGrath <roland@hack.frob.com>
25169
25170 [BZ #13291]
25171 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25172
25173 2011-10-13 Andreas Schwab <schwab@redhat.com>
25174
25175 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25176 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25177 feraiseexcept.
25178
25179 * sysdeps/x86_64/memrchr.S: Check for zero size.
25180
25181 * string/stratcliff.c: Add memrchr tests.
25182
25183 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25184
25185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25186 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25187 rawmemchr-sse2 rawmemchr-sse2-bsf.
25188 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25189 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25190 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25191 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25192 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25193 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25194 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25195 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25196 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25197 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25198 * string/memrchr.c (MEMRCHR): New macro.
25199
25200 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25201
25202 Add integration with gcc's -ffinite-math-only and optimize wrapper
25203 functions in libm.
25204 * Versions.def: Define GLIBC_2.15 version for libm.
25205 * math/Makefile (headers): Add bits/math-finite.h.
25206 * math/bits/math-finite.h: New file.
25207 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25208 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25209 * math/e_acoshl.c: Add __*_finite alias.
25210 * math/e_acosl.c: Likewise.
25211 * math/e_asinl.c: Likewise.
25212 * math/e_atan2l.c: Likewise.
25213 * math/e_atanhl.c: Likewise.
25214 * math/e_coshl.c: Likewise.
25215 * math/e_exp10.c: Likewise.
25216 * math/e_exp10f.c: Likewise.
25217 * math/e_exp10l.c: Likewise.
25218 * math/e_exp2l.c: Likewise.
25219 * math/e_fmodl.c: Likewise.
25220 * math/e_gammal_r.c: Likewise.
25221 * math/e_hypotl.c: Likewise.
25222 * math/e_j0l.c: Likewise.
25223 * math/e_j1l.c: Likewise.
25224 * math/e_jnl.c: Likewise.
25225 * math/e_lgammal_r.c: Likewise.
25226 * math/e_log10l.c: Likewise.
25227 * math/e_log2l.c: Likewise.
25228 * math/e_logl.c: Likewise.
25229 * math/e_powl.c: Likewise.
25230 * math/e_sinhl.c: Likewise.
25231 * math/e_sqrtl.c: Likewise.
25232 * math/e_scalb.c: Completely rewritten and optimized.
25233 * math/e_scalbf.c: Likewise.
25234 * math/e_scalbl.c: Likewise.
25235 * math/w_acos.c: Likewise.
25236 * math/w_acosf.c: Likewise.
25237 * math/w_acosl.c: Likewise.
25238 * math/w_acosh.c: Likewise.
25239 * math/w_acoshf.c: Likewise.
25240 * math/w_acoshl.c: Likewise.
25241 * math/w_asin.c: Likewise.
25242 * math/w_asinf.c: Likewise.
25243 * math/w_asinl.c: Likewise.
25244 * math/w_atan2.c: Likewise.
25245 * math/w_atan2f.c: Likewise.
25246 * math/w_atan2l.c: Likewise.
25247 * math/w_atanh.c: Likewise.
25248 * math/w_atanhf.c: Likewise.
25249 * math/w_atanhl.c: Likewise.
25250 * math/w_exp10.c: Likewise.
25251 * math/w_exp10f.c: Likewise.
25252 * math/w_exp10l.c: Likewise.
25253 * math/w_fmod.c: Likewise.
25254 * math/w_fmodf.c: Likewise.
25255 * math/w_fmodl.c: Likewise.
25256 * math/w_j0.c: Likewise.
25257 * math/w_j0f.c: Likewise.
25258 * math/w_j0l.c: Likewise.
25259 * math/w_j1.c: Likewise.
25260 * math/w_j1f.c: Likewise.
25261 * math/w_j1l.c: Likewise.
25262 * math/w_jn.c: Likewise.
25263 * math/w_jnf.c: Likewise.
25264 * math/w_log.c: Likewise.
25265 * math/w_logf.c: Likewise.
25266 * math/w_logl.c: Likewise.
25267 * math/w_log10.c: Likewise.
25268 * math/w_log10f.c: Likewise.
25269 * math/w_log10l.c: Likewise.
25270 * math/w_log2.c: Likewise.
25271 * math/w_log2f.c: Likewise.
25272 * math/w_log2l.c: Likewise.
25273 * math/w_pow.c: Likewise.
25274 * math/w_powf.c: Likewise.
25275 * math/w_powl.c: Likewise.
25276 * math/w_remainder.c: Likewise.
25277 * math/w_remainderf.c: Likewise.
25278 * math/w_remainderl.c: Likewise.
25279 * math/w_scalb.c: Likewise.
25280 * math/w_scalbf.c: Likewise.
25281 * math/w_scalbl.c: Likewise.
25282 * math/w_sqrt.c: Likewise.
25283 * math/w_sqrtf.c: Likewise.
25284 * math/w_sqrtl.c: Likewise.
25285 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25286 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25287 used.
25288 * math/math_private.h: Declare __kernel_standard_f.
25289 * math/w_cosh.c: Remove cruft and optimize a bit.
25290 * math/w_coshf.c: Likewise.
25291 * math/w_coshl.c: Likewise.
25292 * math/w_exp2.c: Likewise.
25293 * math/w_exp2f.c: Likewise.
25294 * math/w_exp2l.c: Likewise.
25295 * math/w_hypot.c: Likewise.
25296 * math/w_hypotf.c: Likewise.
25297 * math/w_hypotl.c: Likewise.
25298 * math/w_lgamma.c: Likewise.
25299 * math/w_lgamma_r.c: Likewise.
25300 * math/w_lgammaf.c: Likewise.
25301 * math/w_lgammaf_r.c: Likewise.
25302 * math/w_lgammal.c: Likewise.
25303 * math/w_lgammal_r.c: Likewise.
25304 * math/w_sinh.c: Likewise.
25305 * math/w_sinhf.c: Likewise.
25306 * math/w_sinhl.c: Likewise.
25307 * math/w_tgamma.c: Likewise.
25308 * math/w_tgammaf.c: Likewise.
25309 * math/w_tgammal.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25311 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25312 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25313 Minor optimizations. Pretty printing. Remove cruft.
25314 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25315 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25316 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25317 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25318 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25319 * sysdeps/i386/fpu/e_asin.S: Likewise.
25320 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25321 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25322 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25323 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25324 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25326 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25327 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25328 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25329 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25330 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25331 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25332 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25333 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25334 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25335 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25336 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25337 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25338 * sysdeps/i386/fpu/e_log.S: Likewise.
25339 * sysdeps/i386/fpu/e_log10.S: Likewise.
25340 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25341 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25342 * sysdeps/i386/fpu/e_log2.S: Likewise.
25343 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25344 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25345 * sysdeps/i386/fpu/e_logf.S: Likewise.
25346 * sysdeps/i386/fpu/e_logl.S: Likewise.
25347 * sysdeps/i386/fpu/e_pow.S: Likewise.
25348 * sysdeps/i386/fpu/e_powf.S: Likewise.
25349 * sysdeps/i386/fpu/e_powl.S: Likewise.
25350 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25351 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25352 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25353 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25354 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25356 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25357 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25358 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25380 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25381 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25382 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25383 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25384 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25385 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25386 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25387 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25388 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25389 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25390 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25391 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25392 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25393 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25394 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25395 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25396 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25397 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25400 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25439 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25442 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25444 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25445 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25450 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25451 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25452 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25456 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25457 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25458 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25459 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25460 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25461 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25462 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25463 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25465 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25466 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25467 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25468 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25469 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25470 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25471 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25472 (__isnanf): Likewise.
25473 (__isinf_ns): Likewise.
25474 (__isinf_nsf): Likewise.
25475 (__finite): Likewise.
25476 (__finitef): Likewise.
25477 (__ieee754_sqrt): Define as macro.
25478 (__ieee754_sqrtf): Define as macro.
25479 (__ieee754_sqrtl): Define as macro.
25480 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25481 inlined copy.
25482 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25483 __FINITE_MATH_ONLY__ consistent.
25484 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25485
25486 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25487
25488 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25489 of rawmemchr.
25490
25491 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25492
25493 2011-10-09 Ulrich Drepper <drepper@gmail.com>
25494
25495 * po/ja.po: Update from translation team.
25496
25497 2011-10-08 Roland McGrath <roland@hack.frob.com>
25498
25499 * locale/programs/locarchive.c (prepare_address_space): New function.
25500 (create_archive, enlarge_archive, open_archive): Use it.
25501
25502 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25503 inside [SHARED], where it is used.
25504
25505 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25506
25507 * nss/getent.c (netgroup_keys): Remove unused variable.
25508 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25509
25510 2011-10-08 Ulrich Drepper <drepper@gmail.com>
25511
25512 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25513 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25515 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25516 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25517 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25518 * math/Makefile (libm-calls): Add s_isinf_ns.
25519 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25520 * math/multc3.c: Likewise.
25521 * math/s_casin.c: Likewise.
25522 * math/s_casinf.c: Likewise.
25523 * math/s_casinl.c: Likewise.
25524 * math/s_ccos.c: Likewise.
25525 * math/s_ccosf.c: Likewise.
25526 * math/s_ccosl.c: Likewise.
25527 * math/s_ctan.c: Likewise.
25528 * math/s_ctanf.c: Likewise.
25529 * math/s_ctanh.c: Likewise.
25530 * math/s_ctanhf.c: Likewise.
25531 * math/s_ctanhl.c: Likewise.
25532 * math/s_ctanl.c: Likewise.
25533 * math/w_fmod.c: Likewise.
25534 * math/w_fmodf.c: Likewise.
25535 * math/w_fmodl.c: Likewise.
25536 * math/w_remainder.c: Likewise.
25537 * math/w_remainderf.c: Likewise.
25538 * math/w_remainderl.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25540 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25543 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25544 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25545 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25546 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25547
25548 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25549 of the number.
25550 * stdio-common/printf_fphex.c: Likewise.
25551 * stdio-common/printf_size.c: Likewise.
25552
25553 * math/e_exp10.c: Include math_private.h using <...> not "...".
25554 * math/e_exp10f.c: Likewise.
25555 * math/e_exp10l.c: Likewise.
25556 * math/e_exp2l.c: Likewise.
25557 * math/e_j0l.c: Likewise.
25558 * math/e_j1l.c: Likewise.
25559 * math/e_jnl.c: Likewise.
25560 * math/e_lgammal_r.c: Likewise.
25561 * math/e_rem_pio2l.c: Likewise.
25562 * math/e_scalb.c: Likewise.
25563 * math/e_scalbf.c: Likewise.
25564 * math/e_scalbl.c: Likewise.
25565 * math/k_cosl.c: Likewise.
25566 * math/k_sinl.c: Likewise.
25567 * math/k_tanl.c: Likewise.
25568 * math/s_cacoshf.c: Likewise.
25569 * math/s_catan.c: Likewise.
25570 * math/s_catanf.c: Likewise.
25571 * math/s_catanh.c: Likewise.
25572 * math/s_catanhf.c: Likewise.
25573 * math/s_catanhl.c: Likewise.
25574 * math/s_catanl.c: Likewise.
25575 * math/s_ccosh.c: Likewise.
25576 * math/s_ccoshf.c: Likewise.
25577 * math/s_ccoshl.c: Likewise.
25578 * math/s_cexp.c: Likewise.
25579 * math/s_cexpf.c: Likewise.
25580 * math/s_cexpl.c: Likewise.
25581 * math/s_clog.c: Likewise.
25582 * math/s_clog10.c: Likewise.
25583 * math/s_clog10f.c: Likewise.
25584 * math/s_clog10l.c: Likewise.
25585 * math/s_clogf.c: Likewise.
25586 * math/s_clogl.c: Likewise.
25587 * math/s_csin.c: Likewise.
25588 * math/s_csinf.c: Likewise.
25589 * math/s_csinh.c: Likewise.
25590 * math/s_csinhf.c: Likewise.
25591 * math/s_csinhl.c: Likewise.
25592 * math/s_csinl.c: Likewise.
25593 * math/s_csqrt.c: Likewise.
25594 * math/s_csqrtf.c: Likewise.
25595 * math/s_csqrtl.c: Likewise.
25596 * math/s_ctan.c: Likewise.
25597 * math/s_ctanf.c: Likewise.
25598 * math/s_ctanh.c: Likewise.
25599 * math/s_ctanhf.c: Likewise.
25600 * math/s_ctanhl.c: Likewise.
25601 * math/s_ctanl.c: Likewise.
25602 * math/s_ldexp.c: Likewise.
25603 * math/s_ldexpf.c: Likewise.
25604 * math/s_ldexpl.c: Likewise.
25605 * math/s_significand.c: Likewise.
25606 * math/s_significandf.c: Likewise.
25607 * math/s_significandl.c: Likewise.
25608 * math/w_acos.c: Likewise.
25609 * math/w_acosf.c: Likewise.
25610 * math/w_acosh.c: Likewise.
25611 * math/w_acoshf.c: Likewise.
25612 * math/w_acoshl.c: Likewise.
25613 * math/w_acosl.c: Likewise.
25614 * math/w_asin.c: Likewise.
25615 * math/w_asinf.c: Likewise.
25616 * math/w_asinl.c: Likewise.
25617 * math/w_atan2.c: Likewise.
25618 * math/w_atan2f.c: Likewise.
25619 * math/w_atan2l.c: Likewise.
25620 * math/w_atanh.c: Likewise.
25621 * math/w_atanhf.c: Likewise.
25622 * math/w_atanhl.c: Likewise.
25623 * math/w_cosh.c: Likewise.
25624 * math/w_coshf.c: Likewise.
25625 * math/w_coshl.c: Likewise.
25626 * math/w_dremf.c: Likewise.
25627 * math/w_exp10.c: Likewise.
25628 * math/w_exp10f.c: Likewise.
25629 * math/w_exp10l.c: Likewise.
25630 * math/w_exp2.c: Likewise.
25631 * math/w_exp2f.c: Likewise.
25632 * math/w_fmod.c: Likewise.
25633 * math/w_fmodf.c: Likewise.
25634 * math/w_fmodl.c: Likewise.
25635 * math/w_hypot.c: Likewise.
25636 * math/w_hypotf.c: Likewise.
25637 * math/w_hypotl.c: Likewise.
25638 * math/w_j0.c: Likewise.
25639 * math/w_j0f.c: Likewise.
25640 * math/w_j0l.c: Likewise.
25641 * math/w_j1.c: Likewise.
25642 * math/w_j1f.c: Likewise.
25643 * math/w_j1l.c: Likewise.
25644 * math/w_jn.c: Likewise.
25645 * math/w_jnf.c: Likewise.
25646 * math/w_jnl.c: Likewise.
25647 * math/w_lgamma.c: Likewise.
25648 * math/w_lgamma_r.c: Likewise.
25649 * math/w_lgammaf.c: Likewise.
25650 * math/w_lgammaf_r.c: Likewise.
25651 * math/w_lgammal.c: Likewise.
25652 * math/w_lgammal_r.c: Likewise.
25653 * math/w_log.c: Likewise.
25654 * math/w_log10.c: Likewise.
25655 * math/w_log10f.c: Likewise.
25656 * math/w_log10l.c: Likewise.
25657 * math/w_log2.c: Likewise.
25658 * math/w_log2f.c: Likewise.
25659 * math/w_log2l.c: Likewise.
25660 * math/w_logf.c: Likewise.
25661 * math/w_logl.c: Likewise.
25662 * math/w_pow.c: Likewise.
25663 * math/w_powf.c: Likewise.
25664 * math/w_powl.c: Likewise.
25665 * math/w_remainder.c: Likewise.
25666 * math/w_remainderf.c: Likewise.
25667 * math/w_remainderl.c: Likewise.
25668 * math/w_scalb.c: Likewise.
25669 * math/w_scalbf.c: Likewise.
25670 * math/w_scalbl.c: Likewise.
25671 * math/w_sinh.c: Likewise.
25672 * math/w_sinhf.c: Likewise.
25673 * math/w_sinhl.c: Likewise.
25674 * math/w_sqrt.c: Likewise.
25675 * math/w_sqrtf.c: Likewise.
25676 * math/w_sqrtl.c: Likewise.
25677 * math/w_tgamma.c: Likewise.
25678 * math/w_tgammaf.c: Likewise.
25679 * math/w_tgammal.c: Likewise.
25680
25681 * po/ja.po: Update from translation team.
25682
25683 2011-09-29 Andreas Jaeger <aj@suse.de>
25684
25685 [BZ #13179]
25686 * sunrpc/netname.c (netname2host): Fix logic.
25687
25688 [BZ #6779]
25689 [BZ #6783]
25690 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25691 correctly.
25692 * math/w_remainder.c (__remainder): Likewise.
25693 * math/w_remainderf.c (__remainderf): Likewise.
25694 * math/libm-test.inc (remainder_test): Add test cases.
25695
25696 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25697
25698 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25699 sdiv_qrnnd.
25700
25701 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25702
25703 * string/test-memcmp.c: Avoid unncessary #defines.
25704 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25705
25706 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25707
25708 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25709 Use new sse2 version for core i3 - i7 as it's faster
25710 than sse42 version.
25711 (bit_Prefer_PMINUB_for_stringop): New.
25712 * sysdeps/x86_64/rawmemchr.S: Update.
25713 Replace with faster SSE2 version.
25714 * sysdeps/x86_64/memrchr.S: New file.
25715 * sysdeps/x86_64/memchr.S: Update.
25716 Replace with faster SSE2 version.
25717
25718 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25719
25720 * elf/dl-load.c (lose): Add cast to avoid warning.
25721
25722 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25723
25724 * po/ca.po: Update from translation team.
25725
25726 * inet/getnetgrent_r.c: Hook up nscd.
25727 * nscd/Makefile (routines): Add nscd_netgroup.
25728 (nscd-modules): Add netgroupcache.
25729 (CFLAGS-netgroupcache.c): Define.
25730 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25731 (cache_search): Add const to second parameter.
25732 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25733 INNETGR.
25734 (dbs): Add netgrdb entry.
25735 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25736 (verify_persistent_db): Handle netgrdb.
25737 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25738 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25739 GETFDNETGR.
25740 (netgroup_response_header): Define.
25741 (innetgroup_response_header): Define.
25742 (datahead): Add netgroup_response_header and innetgroup_response_header
25743 elements.
25744 * nscd/nscd.conf: Add entries for netgroup cache.
25745 * nscd/nscd.h (dbtype): Add netgrdb.
25746 (_PATH_NSCD_NETGROUP_DB): Define.
25747 (netgroup_iov_disabled): Declare.
25748 (xmalloc, xcalloc, xrealloc): Move declarations here.
25749 (cache_search): Adjust prototype.
25750 Add netgroup-related prototypes.
25751 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25752 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25753 (__nscd_innetgr): Declare.
25754 * nscd/selinux.c (perms): Use access_vector_t as element type and
25755 add netgroup-related initializers.
25756 * nscd/netgroupcache.c: New file.
25757 * nscd/nscd_netgroup.c: New file.
25758 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25759 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25760 For four parameters use innetgr.
25761 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25762 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25763 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25764 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25765
25766 * nscd/connections.c (register_traced_file): Don't register file
25767 for disabled databases.
25768
25769 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25770
25771 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25772
25773 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25774 from tree and freeing node.
25775
25776 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25777
25778 * nss/nsswitch.c (__nss_database_lookup): Handle
25779 nss_parse_service_list out of memory case.
25780
25781 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25782
25783 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25784 out of memory case.
25785
25786 2011-10-04 Andreas Schwab <schwab@redhat.com>
25787
25788 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25789 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25790 pass it down.
25791 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25792 elf_machine_rela, elf_machine_lazy_rel.
25793 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25794 (ELF_DYNAMIC_DO_REL): Likewise.
25795 (ELF_DYNAMIC_DO_RELA): Likewise.
25796 (ELF_DYNAMIC_RELOCATE): Likewise.
25797 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25798 to ELF_DYNAMIC_DO_REL.
25799 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25800 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25801 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25802 elf_machine_rela.
25803 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25804 skip_ifunc, don't call ifunc function if non-zero.
25805 (elf_machine_rela): Likewise.
25806 (elf_machine_lazy_rel): Likewise.
25807 (elf_machine_lazy_rela): Likewise.
25808 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25809 (elf_machine_lazy_rel): Likewise.
25810 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25811 Likewise.
25812 (elf_machine_lazy_rel): Likewise.
25813 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25814 Likewise.
25815 (elf_machine_lazy_rel): Likewise.
25816 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25817 (elf_machine_lazy_rel): Likewise.
25818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25819 (elf_machine_lazy_rel): Likewise.
25820 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25821 (elf_machine_lazy_rel): Likewise.
25822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25823 (elf_machine_lazy_rel): Likewise.
25824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25825 (elf_machine_lazy_rel): Likewise.
25826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25827 (elf_machine_lazy_rel): Likewise.
25828
25829 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25830
25831 * nss/nss_files/files-init.c (_nss_files_init): Use static
25832 initialization for all the *_traced_file variables.
25833
25834 2011-09-28 Andreas Schwab <schwab@redhat.com>
25835
25836 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25837
25838 2011-09-27 Roland McGrath <roland@hack.frob.com>
25839
25840 [BZ #13226]
25841 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25842
25843 2011-09-27 Andreas Schwab <schwab@redhat.com>
25844
25845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25846 Reread the line before reparsing it.
25847
25848 2011-09-26 Andreas Schwab <schwab@redhat.com>
25849
25850 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25851
25852 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25853 Maxim Kuvyrkov <maxim@codesourcery.com>
25854 Joseph Myers <joseph@codesourcery.com>
25855
25856 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25857 if needed for __stack_chk_guard.
25858
25859 2011-09-19 Roland McGrath <roland@hack.frob.com>
25860
25861 * sysdeps/posix/spawni.c (script_execute): Always define it.
25862 It will be optimized away if unused.
25863 (maybe_script_execute): New function.
25864 (__spawni): Call it.
25865
25866 * Makerules: Don't include tls.make.
25867 (config-tls): Always set to thread.
25868 * tls.make.c: File removed.
25869
25870 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25871
25872 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25873 * config.make.in (CPPFLAGS-config): New substituted variable.
25874
25875 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25876
25877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25878
25879 [BZ #13192]
25880 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25881 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25882
25883 2011-09-15 Roland McGrath <roland@hack.frob.com>
25884
25885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25886 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25887 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25888 (CALL_FAIL): Likewise.
25889 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25890 (CALL_FAIL): Macro removed.
25891 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25892
25893 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25894
25895 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25896 for __FINITE_MATH_ONLY__ == 1.
25897
25898 2011-09-15 Andreas Schwab <schwab@redhat.com>
25899
25900 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25901 __ieee754_sqrt instead of sqrt.
25902 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25903 __ieee754_sqrtf instead of sqrtf.
25904 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25905 __floorf instead of floorf.
25906 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25907 __floorf, __truncf instead of floorf, truncf.
25908
25909 2011-09-14 Ulrich Drepper <drepper@gmail.com>
25910
25911 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25912
25913 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25914 __extern_always_inline.
25915 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25916 32-bit.
25917
25918 2011-09-14 Andreas Schwab <schwab@redhat.com>
25919
25920 * elf/rtld.c (dl_main): Also relocate in dependency order when
25921 doing symbol dependency testing.
25922
25923 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25924
25925 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25926 Always define `refsym'.
25927
25928 2011-09-13 Andreas Schwab <schwab@redhat.com>
25929
25930 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25931 (__FD_ELT): Renamed from __FDELT.
25932 * misc/bits/select2.h (__FD_ELT): Likewise.
25933 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25934 __FD_MASK instead of __FDELT, __FDMASK.
25935 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25936 Likewise.
25937 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25938 Likewise.
25939
25940 * elf/Makefile (gen-ldd): Fix pattern.
25941
25942 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25943 (init_tls): Likewise.
25944
25945 2011-09-12 Ulrich Drepper <drepper@gmail.com>
25946
25947 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25948
25949 2011-09-12 Andreas Schwab <schwab@redhat.com>
25950
25951 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25952 `struct cmsghdr *' instead of `void *'.
25953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25954 Likewise.
25955
25956 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25957
25958 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25959 if non-absolute.
25960 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25961 ldd_rewrite_script.
25962
25963 2011-09-11 Ulrich Drepper <drepper@gmail.com>
25964
25965 * configure.in: Remove --with-tls option.
25966 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25967 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25968 out in case it is missing.
25969 * sysdeps/ia64/elf/configure.in: Likewise.
25970 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25971 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25972 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25973 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25974 * sysdeps/sh/elf/configure.in: Likewise.
25975 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25976 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25977 * sysdeps/x86_64/elf/configure.in: Likewise.
25978 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25979 * sysdeps/mach/hurd/tls.h: Likewise.
25980
25981 [BZ #13067]
25982 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25983
25984 [BZ #13090]
25985 * configure.in: Fix use of AC_INIT.
25986
25987 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25988
25989 2011-09-10 Ulrich Drepper <drepper@gmail.com>
25990
25991 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25992 __set_errno.
25993 * malloc/hooks.c: Likewise.
25994
25995 [BZ #11929]
25996 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25997 variables statically.
25998 (narenas): Initialize.
25999 (list_lock): Initialize.
26000 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26001 initializtion of main_arena and list_lock. Small cleanups.
26002 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26003 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26004 Add initializers to main_arena and mp_.
26005 (malloc_state): Remove pagesize member. Change all users to use
26006 GLRO(dl_pagesize).
26007
26008 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26009 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26010 is always initialized.
26011
26012 * malloc/malloc.c: Removed unused configurations and dead code.
26013 * malloc/arena.c: Likewise.
26014 * malloc/hooks.c: Likewise.
26015 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26016
26017 * include/tls.h: Removed. USE___THREAD must always be defined.
26018 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26019 * elf/dl-libc.c: Likewise.
26020 * elf/dl-tsd.c: Likewise.
26021 * include/errno.h: Likewise.
26022 * include/netdb.h: Likewise.
26023 * include/resolv.h: Likewise.
26024 * inet/herrno-loc.c: Likewise.
26025 * inet/herrno.c: Likewise.
26026 * malloc/arena.c: Likewise.
26027 * malloc/hooks.c: Likewise.
26028 * malloc/malloc.c: Likewise.
26029 * resolv/res-state.c: Likewise.
26030 * resolv/res_libc.c: Likewise.
26031 * sysdeps/i386/dl-machine.h: Likewise.
26032 * sysdeps/ia64/dl-machine.h: Likewise.
26033 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26034 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26035 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26036 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26037 * sysdeps/sh/dl-machine.h: Likewise.
26038 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26039 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26040 * sysdeps/unix/i386/sysdep.S: Likewise.
26041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26042 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26047 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26051 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26052 * sysdeps/x86_64/dl-machine.h: Likewise.
26053 * tls.make.c: Likewise.
26054
26055 * configure.in: Remove --with-__thread option. Make tests for
26056 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26057 tls_model attribute fail if no support is available. Remove
26058 USE_IN_LIBIO.
26059 * Makeconfig: Adjust for dropped configure option. All features are
26060 now mandatory.
26061 * Makerules: Likewise.
26062 * Versions.def: Likewise.
26063 * argp/argp-fmtstream.c: Likewise.
26064 * argp/argp-fmtstream.h: Likewise.
26065 * argp/argp-help.c: Likewise.
26066 * assert/assert.c: Likewise.
26067 * config.h.in: Likewise.
26068 * config.make.in: Likewise.
26069 * configure: Likewise.
26070 * configure.in: Likewise.
26071 * csu/Versions: Likewise.
26072 * csu/init.c: Likewise.
26073 * elf/tst-audit2.c: Likewise.
26074 * elf/tst-tls10.c: Likewise.
26075 * elf/tst-tls10.h: Likewise.
26076 * elf/tst-tls11.c: Likewise.
26077 * elf/tst-tls12.c: Likewise.
26078 * elf/tst-tls14.c: Likewise.
26079 * elf/tst-tlsmod11.c: Likewise.
26080 * elf/tst-tlsmod12.c: Likewise.
26081 * elf/tst-tlsmod13.c: Likewise.
26082 * elf/tst-tlsmod13a.c: Likewise.
26083 * elf/tst-tlsmod14a.c: Likewise.
26084 * elf/tst-tlsmod15b.c: Likewise.
26085 * elf/tst-tlsmod16a.c: Likewise.
26086 * elf/tst-tlsmod16b.c: Likewise.
26087 * elf/tst-tlsmod7.c: Likewise.
26088 * elf/tst-tlsmod8.c: Likewise.
26089 * elf/tst-tlsmod9.c: Likewise.
26090 * gmon/gmon.c: Likewise.
26091 * grp/fgetgrent_r.c: Likewise.
26092 * grp/putgrent.c: Likewise.
26093 * hurd/fopenport.c: Likewise.
26094 * include/libc-symbols.h: Likewise.
26095 * include/tls.h: Likewise.
26096 * intl/gettextP.h: Likewise.
26097 * intl/loadinfo.h: Likewise.
26098 * locale/global-locale.c: Likewise.
26099 * locale/localeinfo.h: Likewise.
26100 * mach/devstream.c: Likewise.
26101 * malloc/arena.c: Likewise.
26102 * malloc/set-freeres.c: Likewise.
26103 * misc/err.c: Likewise.
26104 * misc/getttyent.c: Likewise.
26105 * misc/mntent_r.c: Likewise.
26106 * posix/getopt.c: Likewise.
26107 * posix/wordexp.c: Likewise.
26108 * pwd/fgetpwent_r.c: Likewise.
26109 * resolv/Versions: Likewise.
26110 * resolv/res_hconf.c: Likewise.
26111 * shadow/fgetspent_r.c: Likewise.
26112 * shadow/putspent.c: Likewise.
26113 * stdio-common/printf_fphex.c: Likewise.
26114 * stdio-common/tmpfile.c: Likewise.
26115 * stdlib/abort.c: Likewise.
26116 * stdlib/fmtmsg.c: Likewise.
26117 * sunrpc/auth_unix.c: Likewise.
26118 * sunrpc/clnt_perr.c: Likewise.
26119 * sunrpc/clnt_tcp.c: Likewise.
26120 * sunrpc/clnt_udp.c: Likewise.
26121 * sunrpc/clnt_unix.c: Likewise.
26122 * sunrpc/openchild.c: Likewise.
26123 * sunrpc/svc_simple.c: Likewise.
26124 * sunrpc/svc_tcp.c: Likewise.
26125 * sunrpc/svc_udp.c: Likewise.
26126 * sunrpc/svc_unix.c: Likewise.
26127 * sunrpc/xdr.c: Likewise.
26128 * sunrpc/xdr_array.c: Likewise.
26129 * sunrpc/xdr_rec.c: Likewise.
26130 * sunrpc/xdr_ref.c: Likewise.
26131 * sunrpc/xdr_stdio.c: Likewise.
26132
26133 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26134
26135 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26136
26137 2011-07-03 Andreas Jaeger <aj@suse.de>
26138
26139 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26140 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26141 regenerate with gen-libm-tests.pl.
26142
26143 2010-05-12 Petr Baudis <pasky@suse.cz>
26144
26145 [BZ #11589]
26146 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26147 around j0() zero points by switching to j1().
26148 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26149 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26152
26153 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26154
26155 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26156 instead of 0.
26157 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26158 instead of 0.
26159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26160 Patch in part by Pavel Roskin <proski@gnu.org>.
26161
26162 [BZ #13138]
26163 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26164 realloc.
26165 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26166 Free memory block if necessary.
26167
26168 [BZ #12847]
26169 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26170 be NULL. Don't lock in this case.
26171
26172 2011-09-09 Roland McGrath <roland@hack.frob.com>
26173
26174 * elf/elf.h (ELFOSABI_GNU): New macro.
26175 (ELFOSABI_LINUX): Define to that.
26176
26177 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26178
26179 * string/strncat.c (strncat): Undef the symbol in case it has been
26180 defined in bits/string.h.
26181
26182 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26183
26184 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26185
26186 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26187 link map.
26188
26189 2011-08-17 Andreas Jaeger <aj@suse.de>
26190
26191 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26192
26193 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26194 Ian Lance Taylor <iant@google.com>
26195
26196 * math/libm-test.inc (lround_test): New testcase.
26197 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26198
26199 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26200
26201 * Makefile: Remove support for automatic cvs check-ins.
26202 * Makerules: Likewise.
26203 * config.make.in: Likewise.
26204 * configure.in: Likewise.
26205 * intl/Makefile: Likewise.
26206 * locale/Makefile: Likewise.
26207 * po/Makefile: Likewise.
26208 * posix/Makefile: Likewise.
26209 * sysdeps/gnu/Makefile: Likewise.
26210 * sysdeps/mach/hurd/Makefile: Likewise.
26211 * sysdeps/sparc/sparc32/Makefile: Likewise.
26212
26213 [BZ #13118]
26214 * posix/Makefile (bug-regex32-ENV): Define.
26215 Patch by John Stanley <jpsinthemix@verizon.net>.
26216
26217 * misc/Makefile (headers): Add bits/select2.h.
26218 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26219 * misc/bits/select2.h: New file.
26220 * include/bits/select2.h: New file.
26221 * debug/Makefile (routines): Add fdelt_chk.
26222 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26223 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26224 FD_ISSET.
26225 * debug/fdelt_chk.c: New file.
26226
26227 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26228 * wcsmbs/test-wmemcmp.c: Likewise.
26229 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26230 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26231
26232 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26233
26234 * string/Makefile (strop-tests): Add memcmp.
26235 * string/test-wmemcmp.c: New file.
26236 * string/test-memcmp.c: Add wmemcmp support.
26237
26238 2011-09-08 Roland McGrath <roland@hack.frob.com>
26239
26240 [BZ #13153]
26241 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26242 2011-07-19 change.
26243
26244 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26245 garbage value in a __mach_port_mod_refs call in the cases of the
26246 task-self and thread-self ports.
26247
26248 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26249
26250 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26251
26252 2011-09-08 Andreas Schwab <schwab@redhat.com>
26253
26254 * elf/dl-load.c (lose): Check for non-null L.
26255
26256 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26257
26258 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26259
26260 * elf/dl-libc.c (dlerror_run): Pass back error code from
26261 dl_catch_error.
26262
26263 [BZ #13123]
26264 * elf/dl-load.c (lose): Free l_origin if it is valid.
26265
26266 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26267 names.
26268 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26269 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26271 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26272 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26273 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26274
26275 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26276
26277 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26278 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26279 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26280 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26281 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26282 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26283 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26284 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26285 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26286 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26287
26288 2011-08-15 Alan Modra <amodra@gmail.com>
26289
26290 [BZ #13092]
26291 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26292 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26293 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26294 ppc_mcount to static-only-routines.
26295 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26296 __mcount_internal.
26297 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26298 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26299
26300 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26301
26302 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26303 for finite and infinity parameters.
26304
26305 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26306
26307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26308 and add nop instructions for throughput optimization.
26309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26310
26311 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26312
26313 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26314 aligned copy for power7 with vector-scalar instructions.
26315 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26316
26317 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26318
26319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26320 AVX check.
26321
26322 2011-09-07 Andreas Schwab <schwab@redhat.com>
26323
26324 [BZ #13144]
26325 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26326 last change.
26327
26328 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26329
26330 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26331 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26332 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26333 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26334 clock_gettime.
26335
26336 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26337
26338 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26339 Forgot to demangle the pointer.
26340
26341 * sysdeps/i386/sysdep.h: Define atom_text_section.
26342 * sysdeps/x86_64/sysdep.h: Likewise.
26343 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26344 section with atom_text_section.
26345 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26346 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26347 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26349 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26350
26351 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26352 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26353 already be defined. Change to take two parameters and don't assign
26354 result to variable. Adjust all users.
26355 Define INTERNAL_GETTIME if not already defined.
26356 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26357 call.
26358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26359 HAVE_CLOCK_GETTIME_VSYSCALL.
26360 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26361
26362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26363 gettimeofday vsyscall, just use time.
26364
26365 2011-09-06 Andreas Schwab <schwab@redhat.com>
26366
26367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26368 <errno.h>.
26369
26370 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26371
26372 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26373 syscall on x86-64.
26374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26375 syscall.
26376 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26378 syscall if possible.
26379
26380 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26381
26382 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26383 e_ident. Don't pass to find_mapsXX.
26384 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26385
26386 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26387
26388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26389 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26390 * sysdeps/x86_64/multiarch/strchr.S: Update.
26391 Check bit_slow_BSF bit.
26392 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26393 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26394 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26395
26396 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26397
26398 [BZ #13134]
26399 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26400 before glibc 2.15.
26401 (tryshell): Define.
26402 (__spawni): Change last parameter to be flag. Test
26403 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26404 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26405 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26406 * posix/spawni.c: Likewise.
26407 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26408 * posix/spawnp.c: Likewise. Change normal version to use
26409 SPAWN_XFLAGS_USE_PATH.
26410 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26411 SPAWN_XFLAGS_TRY_SHELL.
26412
26413 [BZ #13150]
26414 * posix/glob.h: Remove gcc 1.x support.
26415
26416 [BZ #13068]
26417 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26418
26419 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26420
26421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26422 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26423 strrchr-sse2-bsf
26424 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26425 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26426 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26427 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26428 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26429 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26430
26431 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26432
26433 * sysdeps/x86_64/wcscmp.S: New file.
26434
26435 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26436 wcscmp-c wcscmp-sse2
26437 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26438 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26439 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26440 * wcsmbs/wcscmp.c: Allow renaming.
26441
26442 2011-09-05 David S. Miller <davem@davemloft.net>
26443
26444 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26445 stack slot, rather than the struct return pointer slot.
26446 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26447 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26449 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26450
26451 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26452
26453 * po/ja.po: Update from translation team.
26454
26455 [BZ #13144]
26456 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26457 kernel in 64-bit binaries.
26458
26459 2011-09-01 David S. Miller <davem@davemloft.net>
26460
26461 * elf/elf.h (HWCAP_SPARC_*): Move to..
26462 * sysdeps/sparc/sysdep.h: this new file and add new values.
26463 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26464 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26465 _DL_HWCAP_COUNT to 24.
26466 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26467 entries.
26468 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26469 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26470 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26472 instead of magic constants.
26473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26474
26475 2011-08-31 David S. Miller <davem@davemloft.net>
26476
26477 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26479 Reimplement to do errno handling inline.
26480 (SYSCALL_ERROR_HANDLER): New macro.
26481 (__SYSCALL_STRING): Do not do errno handling in asm.
26482 (__CLONE_SYSCALL_STRING): Delete.
26483 (__INTERNAL_SYSCALL_STRING): Delete.
26484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26485 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26486 (PSEUDO): Reimplement to do errno handling inline.
26487 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26488 (SYSCALL_ERROR_HANDLER): New macro.
26489 (__SYSCALL_STRING): Do not do errno handling in asm.
26490 (__CLONE_SYSCALL_STRING): Delete.
26491 (__INTERNAL_SYSCALL_STRING): Delete.
26492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26493 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26494 i386.
26495 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26496 (inline_syscall*): Add 'err' argument.
26497 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26498 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26499 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26500 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26501
26502 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26503 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26504
26505 2011-08-30 Andreas Schwab <schwab@redhat.com>
26506
26507 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26508
26509 2011-08-29 Jiri Olsa <jolsa@redhat.com>
26510
26511 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26512 directive.
26513
26514 2011-08-24 David S. Miller <davem@davemloft.net>
26515
26516 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26517
26518 2011-08-24 Andreas Schwab <schwab@redhat.com>
26519
26520 * elf/Makefile: Add rules to build and run unload8 test.
26521 * elf/unload8.c: New file.
26522 * elf/unload8mod1.c: New file.
26523 * elf/unload8mod1x.c: New file.
26524 * elf/unload8mod2.c: New file.
26525 * elf/unload8mod3.c: New file.
26526
26527 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26528 it wasn't used.
26529
26530 2011-08-23 David S. Miller <davem@davemloft.net>
26531
26532 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26533 subtract stack bias.
26534 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26535 %sp not %fp in calculations.
26536 (_JMPBUF_UNWINDS_ADJ): Likewise.
26537
26538 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26539 (aio_suspend): Call it to force an exception region around the
26540 AIO_MISC_WAIT() invocation.
26541
26542 2011-08-23 Andreas Schwab <schwab@redhat.com>
26543
26544 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26545 backslash.
26546
26547 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26548
26549 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26550 protection macro.
26551 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26552 and <dl-machine.h>.
26553 (Elf64_FuncDesc): Remove.
26554
26555 2011-08-22 David S. Miller <davem@davemloft.net>
26556
26557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26558 sigaltstack check, add missing cfi directives.
26559 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26560 missing cfi directives, and sigaltstack handling.
26561
26562 2011-08-16 Andreas Schwab <schwab@redhat.com>
26563
26564 [BZ #11724]
26565 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26566 object is seen twice.
26567 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26568
26569 * elf/Makefile (distribute): Add tst-initorder2.c.
26570 (tests): Add tst-initorder2.
26571 (modules-names): Add tst-initorder2a tst-initorder2b
26572 tst-initorder2c tst-initorder2d. Add rules to build them.
26573 ($(objpfx)tst-initorder2.out): New rule.
26574 * elf/tst-initorder2.c: New file.
26575 * elf/tst-initorder2.exp: New file.
26576
26577 2011-08-22 Andreas Schwab <schwab@redhat.com>
26578
26579 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26580
26581 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26582 dependencies back to end of function.
26583
26584 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26585 $(elfobjdir)/ld.so.
26586
26587 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26588
26589 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26590 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26592 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26593 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26594 of __vdso_gettimeofday.
26595 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26596 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26597 attribute_hidden.
26598 (_libc_vdso_platform_setup): Remove initialization of
26599 __vdso_gettimeofday and __vdso_time.
26600
26601 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26602
26603 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26604 and fgetc_unlocked.
26605 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26606 getc_unlocked.
26607
26608 * elf/dl-open.c (add_to_global): Report additions to the global scope
26609 for LD_DEBUG=scopes.
26610 (dl_open_worker): Also print scope of newly loaded dependencies.
26611 (_dl_show_scope): Indicate if there is no scope.
26612
26613 [BZ #13114]
26614 * stdio-common/Makefile (tests): Add bug24.
26615 * stdio-common/bug24.c: New file.
26616
26617 2011-08-19 Andreas Jaeger <aj@suse.de>
26618
26619 [BZ #13114]
26620 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26621 non-existant file when using close-on-exec mode.
26622
26623 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26624
26625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26626 the very first instruction.
26627
26628 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26629 the CFI state in the end.
26630 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26631 inclusion of dl-trampoline.h.
26632 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26633
26634 2011-08-19 Andreas Schwab <schwab@redhat.com>
26635
26636 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26637 expectations for long double.
26638
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26640 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26641
26642 2011-08-14 David S. Miller <davem@davemloft.net>
26643
26644 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26645 artificual limit depends upon the system page size.
26646
26647 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26648
26649 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26650 * resolv/Makefile: Define CFLAGS-libresolv.
26651
26652 2011-08-17 Andreas Schwab <schwab@redhat.com>
26653
26654 * nss/makedb.c (compute_tables): Make variables used in nested
26655 function static.
26656
26657 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26658
26659 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26660 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26661 if buffer was too small.
26662
26663 * elf/pldd.c (main): Attach to all threads in the process.
26664 Rewrite /proc handling to use *at functions.
26665
26666 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26667
26668 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26669 specifies first scope to show.
26670 (dl_open_worker): Update callers. Move printing scope of new
26671 object to before the relocation.
26672 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26673 * sysdeps/generic/ldsodefs.h: Update declaration.
26674
26675 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26676 string for the scope number.
26677
26678 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26679
26680 * nscd/servicescache.c (cache_addserv): Make sure written is always
26681 initialized.
26682
26683 2011-08-14 Roland McGrath <roland@hack.frob.com>
26684
26685 * sysdeps/i386/i486/bits/atomic.h
26686 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26687 statement expression, so as to suppress "set but not used" warning.
26688 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26689
26690 * string/strncat.c (STRNCAT): Use prototype definition.
26691
26692 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26693 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26694 -Iprograms here.
26695 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26696 (localedef-modules): Add localedef.
26697 (locale-modules): Add locale.
26698
26699 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26700 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26701 to avoid a warning.
26702
26703 2011-08-14 David S. Miller <davem@davemloft.net>
26704
26705 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26706 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26707
26708 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26709
26710 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26711 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26712 * elf/rtld.c (dl_main): Set l_name of vDSO.
26713 Call _dl_show_scope when DL_DEBUG_SCOPES.
26714 (process_dl_debug): Recognize scopes flag and also set it for all.
26715 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26716 Declare _dl_show_scope.
26717
26718 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26719 (do_dlopen): Pass caller_dlopen to dl_open.
26720 (__libc_dlopen_mode): Initialize caller_dlopen.
26721
26722 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26723 of libc. Make tolower call locale-independent. Optimize a bit by
26724 using isdigit instead of isalnum.
26725 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26726
26727 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26728
26729 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26730 was a dependency or dynamically loaded.
26731
26732 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26733
26734 * intl/l10nflist.c: Allow architecture-specific pop function.
26735 * sysdeps/x86_64/l10nflist.c: New file.
26736
26737 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26738 classification.
26739
26740 2011-08-10 Andreas Schwab <schwab@redhat.com>
26741
26742 * include/dirent.h: Add libc_hidden_proto for scandirat and
26743 scandirat64. Don't declare __scandirat64.
26744 * dirent/scandirat.c: Add libc_hidden_def.
26745 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26746 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26747
26748 2011-08-10 David S. Miller <davem@davemloft.net>
26749
26750 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26751 enum.
26752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26755
26756 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26757
26758 * Versions.def [libc]: Add GLIBC_2.15.
26759 * dirent/Makefile (routines): Add scandirat and scandirat64.
26760 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26761 GLIBC_2.15.
26762 * dirent/dirent.h: Declare scandirat and scandirat64.
26763 * dirent/scandirat.c: New file.
26764 * dirent/scandirat64.c: New file.
26765 * sysdeps/wordsize-64/scandirat.c: New file.
26766 * sysdeps/wordsize-64/scandirat64.c: New file.
26767 * dirent/opendir.c: Define opendirat.
26768 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26769 using scandirat.
26770 * dirent/scandir64.c: Adjust for scandir.c change.
26771 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26772 __scandirat64, and __scandir_cancel_handler.
26773 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26774 additional parameter and use openat instead of open (outside of ld.so).
26775 Add new __opendir as wrapper around __opendirat.
26776 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26777 here without requiring old scandirat implementation.
26778
26779 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26780
26781 * dirent/scandir.c (cancel_handler): Renamed to
26782 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26783 defined. Adjust users.
26784 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26785 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26786
26787 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26788
26789 * string/test-string.h (IMPL): Use __STRING to expand name and then
26790 stringify it.
26791
26792 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26793 of cleanups.
26794
26795 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26796
26797 * string/Makefile: Update.
26798 (strop-tests): Append strncat.
26799 * string/test-wcscmp.c: New file.
26800 New comprehensive test for wcscmp.
26801 * string/test-strcmp.c: Update.
26802 (WIDE): New define.
26803
26804 2011-07-22 Andreas Schwab <schwab@redhat.com>
26805
26806 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26807 line.
26808
26809 2011-07-26 Andreas Schwab <schwab@redhat.com>
26810
26811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26812 encoding to ACE if AI_IDN.
26813
26814 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26815
26816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26817 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26818
26819 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26820
26821 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26822 Fix overflow bug in strncat.
26823 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26824
26825 * string/test-strncat.c: Update.
26826 Add new tests for checking overflow bugs.
26827
26828 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26829
26830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26831 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26832 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26833 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26834 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26835 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26836 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26837 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26838 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26839
26840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26841 (USE_AS_STRCAT): Define.
26842 Add strcat and strncat support.
26843 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26844
26845 2011-07-25 Andreas Schwab <schwab@redhat.com>
26846
26847 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26848 __n bigger than INT_MAX+1.
26849 (__strncmp_g): Likewise.
26850
26851 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26852
26853 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26854 * libio/stido.h: Likewise.
26855
26856 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26857 (AF_NFC): Define.
26858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26859 (AF_NFC): Define.
26860
26861 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26862 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26863 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26864 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26866
26867 [BZ #13021]
26868 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26869 installed.
26870
26871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26872 typo.
26873 (_dl_x86_64_save_sse): Likewise.
26874
26875 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26876
26877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26878 OSXSAVE.
26879 (_dl_x86_64_save_sse): Likewise.
26880
26881 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26882
26883 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26884
26885 2011-07-21 Andreas Schwab <schwab@redhat.com>
26886
26887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26888 change.
26889 (_dl_x86_64_save_sse): Use correct AVX check.
26890
26891 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26892
26893 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26894 bug in strncpy/strncat.
26895 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26896
26897 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26898
26899 * string/tester.c (test_strcat): Add tests for different alignments
26900 of source and destination.
26901 (test_strncat): Likewise.
26902
26903 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26904
26905 [BZ #12852]
26906 * posix/glob.c (glob): Check passed in values before using them in
26907 expressions to avoid some overflows.
26908 (glob_in_dir): Likewise.
26909
26910 [BZ #13007]
26911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26912 check for AVX enablement so that we don't crash with old kernels and
26913 new hardware.
26914 * elf/tst-audit4.c: Add same checks here.
26915 * elf/tst-audit6.c: Likewise.
26916
26917 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
26918
26919 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26920
26921 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26922
26923 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26924
26925 * po/cs.po: Update from translation team.
26926 * po/bg.po: Likewise.
26927
26928 2011-07-12 Marek Polacek <mpolacek@redhat.com>
26929
26930 * misc/sys/cdefs.h: Add support for const attribute.
26931 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26932 to gnu_dev_{major,minor,makedev} functions.
26933
26934 2011-07-20 Marek Polacek <mpolacek@redhat.com>
26935
26936 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26937
26938 2011-07-20 Andreas Schwab <schwab@redhat.com>
26939
26940 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26941 strlen results.
26942
26943 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26944
26945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26946 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26947 register in order to avoid conflicts with the soft frame pointer
26948 being held in r11 when necessary.
26949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26950 (INTERNAL_VSYSCALL_NCS): Likewise.
26951
26952 2011-07-14 Marek Polacek <mpolacek@redhat.com>
26953
26954 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26955 * elf/dl-fini.c (_dl_fini): Adjust caller.
26956 * elf/dl-close.c (_dl_close_worker): Likewise.
26957 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26958
26959 2011-07-15 Marek Polacek <mpolacek@redhat.com>
26960
26961 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26962 "aux_cache->nlibs < 0".
26963
26964 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26965 in the reload-count case.
26966
26967 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26968
26969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26970 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26971 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26972 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26973 * sysdeps/x86_64/multiarch/strcat.S: New file.
26974 * sysdeps/x86_64/multiarch/strncat.S: New file.
26975 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26976 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26977 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26978 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26980 (USE_AS_STRCAT): Define.
26981 Add strcat and strncat support.
26982 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26983 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26984 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26985 * string/strncat.c: Update.
26986 (USE_AS_STRNCAT): Define.
26987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26988 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26989 and i7.
26990 * sysdeps/x86_64/multiarch/init-arch.h
26991 (bit_Prefer_PMINUB_for_stringop): New.
26992 (index_Prefer_PMINUB_for_stringop): Likewise.
26993 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26994 bit_Prefer_PMINUB_for_stringop.
26995
26996 2011-07-19 Ulrich Drepper <drepper@gmail.com>
26997
26998 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26999 buffer64.
27000 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27001 of casting of buffer.
27002 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27003 buffer32 and buffer64.
27004 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27005 writes instead of casting of buffer.
27006 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27007 buffer32.
27008 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27009 casting of buffer.
27010
27011 2011-07-19 Andreas Schwab <schwab@redhat.com>
27012
27013 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27014
27015 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27016
27017 * nscd/nscd.c (termination_handler): Don't do anything for a database
27018 if it has not yet been initialized.
27019
27020 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27021
27022 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27023
27024 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27025
27026 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27027
27028 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27029
27030 * po/nl.po: Update from translation team.
27031 * po/sv.po: Likewise.
27032
27033 2011-07-16 Roland McGrath <roland@hack.frob.com>
27034
27035 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27036 now disallowed by GCC.
27037
27038 * configure.in (use-default-link): Default to yes if a test -shared
27039 link meets our qualifications.
27040 * configure: Regenerated.
27041
27042 * config.make.in (output-format): New variable.
27043 * configure.in: Check for ld --print-output-format support.
27044 * configure: Regenerated.
27045 * Makerules ($(common-objpfx)format.lds)
27046 [$(output-format) != unknown]: Just use $(output-format),
27047 instead of the linker-script munging.
27048
27049 2011-07-14 Roland McGrath <roland@hack.frob.com>
27050
27051 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27052 of $(common-objpfx)shlib.lds.
27053 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27054
27055 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27056 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27057
27058 * configure.in (-z relro check): Adjust test code to add a large
27059 writable data section after it.
27060 * configure: Regenerated.
27061
27062 2011-07-11 Roland McGrath <roland@hack.frob.com>
27063
27064 * configure.in (-z relro check): Fix test code to make the variable
27065 truly const.
27066 * configure: Regenerated.
27067
27068 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27069
27070 * nscd/nscd.h (struct traced_file): Define.
27071 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27072 elements. Add traced_files.
27073 (inotify_fd): Declare.
27074 (register_traced_file): Declare.
27075 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27076 (inotify_fd): Export.
27077 (resolv_conf_descr): Remove.
27078 (nscd_init): Move inotify descriptor creation to main.
27079 Don't register files for notification here.
27080 (register_traced_file): New function.
27081 (invalidate_cache): Don't use reset_res to determine whether to call
27082 res_init, go through the list of registered files.
27083 (main_loop_poll): The inotify descriptors are now stored in the
27084 structures for the traced files.
27085 (main_loop_epoll): Likewise
27086 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27087 to __nss_disable_nscd.
27088 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27089 for a database anymore. Check the records for all the registered
27090 files instead.
27091 * nss/Makefile (libnss_files-routines): Add files-init.
27092 (libnss_db-routines): Add db-init.
27093 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27094 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27095 * nss/nss_db/db-init.c: New file.
27096 * nss/nss_files/files-init.c: New file.
27097 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27098 __nss_lookup_function.
27099 (__nss_lookup_function): Call nss_load_library.
27100 (nss_load_all_libraries): New function.
27101 (__nss_disable_nscd): Take parameter with callback function for files
27102 to register. Set is_nscd. Load all the DSOs for the NSS modules
27103 used for the cached services.
27104 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27105 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27106 options for features to all the files in nscd.
27107
27108 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27109
27110 2011-07-10 Roland McGrath <roland@hack.frob.com>
27111
27112 * csu/elf-init.c (__libc_csu_init): Comment typo.
27113
27114 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27115
27116 * po/pl.po: Update from translation team.
27117 * po/ja.po: Likewise.
27118 * po/ru.po: Likewise.
27119 * po/ko.po: Likewise.
27120 * po/fr.po: Likewise.
27121
27122 2011-07-09 Roland McGrath <roland@hack.frob.com>
27123
27124 * configure.in (.ctors/.dtors header and trailer check):
27125 Use an empirical test on a built program.
27126 * configure: Regenerated.
27127
27128 * configure.in (-z relro check): Use an empirical test on a built DSO.
27129 Detect, but do not require, on ia64.
27130 * configure: Regenerated.
27131
27132 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27133 Update tests that use readelf to use $READELF instead.
27134 * configure: Regenerated.
27135
27136 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27137
27138 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27139 if the result is not used.
27140
27141 2011-07-05 Andreas Jaeger <aj@suse.de>
27142
27143 [BZ#9696]
27144 * stdlib/tst-strtod.c: Add testcase.
27145
27146 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27147
27148 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27149 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27150 The latter has a higher limit. Take additional parameter to pass to
27151 the new function.
27152 (__pathconf): Pass file to __statfs_link_max.
27153 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27154 __statfs_link_max.
27155 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27156 __statfs_link_max.
27157
27158 [BZ #12868]
27159 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27160 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27161 Handle Lustre.
27162 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27163 (__statfs_filesize_max): Likewise.
27164 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27165
27166 2011-07-05 Andreas Jaeger <aj@suse.de>
27167
27168 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27169
27170 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27171
27172 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27173 `status' variable.
27174 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27175 Likewise.
27176
27177 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27178
27179 * Makefile (strop-tests): Add strncat.
27180 * string/test-strncat.c: New file.
27181
27182 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27183
27184 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27185
27186 2011-06-21 Andreas Jaeger <aj@suse.de>
27187
27188 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27189 Copy rule from iconvdata/Makefile.
27190
27191 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27192
27193 [BZ #12922]
27194 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27195 but no long options are defined, just return 'W'.
27196
27197 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27198
27199 [BZ #9696]
27200 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27201
27202 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27203
27204 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27205 netgroups to read.
27206 (innetgr): Likewise.
27207
27208 2011-07-05 Roland McGrath <roland@hack.frob.com>
27209
27210 * config.make.in (install_root): Default to $(DESTDIR).
27211
27212 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27213
27214 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27215
27216 2011-07-02 Roland McGrath <roland@hack.frob.com>
27217
27218 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27219
27220 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27221 containing directory rather than embedding absolute directory names.
27222
27223 * scripts/check-local-headers.sh: Rewritten using awk.
27224 Match by word, not by line. Print error messages for matches.
27225 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27226
27227 * Makerules [shlib-lds-flags empty]:
27228 ($(common-objpfx)libc_pic.opts): New target.
27229 ($(common-objpfx)libc_pic.os.clean): New target.
27230 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27231
27232 * config.make.in (OBJCOPY): New variable.
27233 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27234 * configure: Regenerated.
27235
27236 * config.make.in (use-default-link): New variable.
27237 * configure.in (use_default_link): Grok --with-default-link to set it.
27238 * configure: Regenerated.
27239 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27240 (shlib-lds, shlib-lds-flags): Define to empty.
27241
27242 * Makerules (shlib-lds): New variable.
27243 (shlib-lds-flags): New variable.
27244 (build-shlib, build-moduile, build-module-asneeded): Use it.
27245 ($(common-objpfx)libc.so): Use $(shlib-lds).
27246 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27247 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27248
27249 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27250 DT_FLAGS/DT_FLAGS_1 with zero flags.
27251
27252 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27253 linker script munging.
27254
27255 2011-07-02 Ulrich Drepper <drepper@gmail.com>
27256
27257 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27258 as 128-bit value.
27259 * crypt/sha512.c (sha512_process_block): Perform total addition using
27260 128-bit if possible.
27261 (__sha512_finish_ctx): Likewise.
27262 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27263 as 64-bit value.
27264 * crypt/sha256.c (SWAP64): Define.
27265 (sha256_process_block): Perform total addition using 64-bit if
27266 possible.
27267 (__sha256_finish_ctx): Likewise.
27268
27269 2011-07-01 Ulrich Drepper <drepper@gmail.com>
27270
27271 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27273 * nscd/hstcache.c (cache_addhst): Likewise.
27274 * nscd/grpcache.c (cache_addgr): Likewise.
27275 * nscd/aicache.c (addhstaiX): Likewise
27276 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27277
27278 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
27279
27280 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27282 * nscd/hstcache.c (cache_addhst): Likewise.
27283 * nscd/grpcache.c (cache_addgr): Likewise.
27284 * nscd/aicache.c (addhstaiX): Likewise
27285
27286 2011-07-01 Andreas Schwab <schwab@redhat.com>
27287
27288 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27289 domain only when needed.
27290
27291 2011-06-30 Andreas Schwab <schwab@redhat.com>
27292
27293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27294 is always restored.
27295
27296 2011-06-29 Ulrich Drepper <drepper@gmail.com>
27297
27298 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27299 are re-adding the entry.
27300 * nscd/servicescache.c (cache_addserv): Likewise.
27301
27302 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27303
27304 * sysdeps/generic/dl-irel.h: fix protection against multiple
27305 inclusions.
27306 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27307
27308 2011-06-28 Ulrich Drepper <drepper@gmail.com>
27309
27310 [BZ #12935]
27311 * malloc/memusage.sh: Fix quoting in message.
27312 * debug/xtrace.sh: Likewise.
27313
27314 * configure.in: Remove support for --experimental-malloc option, make
27315 it the default.
27316 * config.make.in: Likewise.
27317 * malloc/Makefile: Likewise.
27318
27319 2011-06-27 Andreas Schwab <schwab@redhat.com>
27320
27321 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27322 two-byte characters.
27323
27324 2011-06-27 Roland McGrath <roland@hack.frob.com>
27325
27326 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27327 AC_CACHE_CHECK invocation.
27328 * configure: Regenerated.
27329
27330 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27331
27332 2011-06-27 Ulrich Drepper <drepper@gmail.com>
27333
27334 [BZ #12350]
27335 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27336 bit from old_res_options.
27337
27338 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27339
27340 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27341 value type for setfct.
27342
27343 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27344
27345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27346 __gettimeofday instead of gettimeofday.
27347
27348 2011-06-26 Ulrich Drepper <drepper@gmail.com>
27349
27350 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27351
27352 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27353
27354 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27355
27356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27357 info.
27358
27359 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27360
27361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27362 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27363 strcpy-sse2-unaligned strncpy-sse2-unaligned
27364 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27365 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27366 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27367 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27368 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27371 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27372 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27373 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27374 (STRCPY): Support SSE2 and SSSE3 versions.
27375
27376 2011-06-24 Ulrich Drepper <drepper@gmail.com>
27377
27378 [BZ #12874]
27379 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27380 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27381 kernels which artificially limit size of requests.
27382
27383 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27384
27385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27386 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27387 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27388 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27389 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27390 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27391 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27392 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27393 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27394 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27395 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27396 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27397 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27398 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27399 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27401 Enable unaligned load optimization for Intel Core i3, i5 and i7
27402 processors.
27403 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27404 Define.
27405 (index_Fast_Unaligned_Load): Define.
27406 (HAS_FAST_UNALIGNED_LOAD): Define.
27407
27408 2011-06-23 Marek Polacek <mpolacek@redhat.com>
27409
27410 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27411
27412 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27413
27414 [BZ #12907]
27415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27416 until it is clear that the information is realy needed.
27417 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27418
27419 2011-06-22 Andreas Schwab <schwab@redhat.com>
27420
27421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27422
27423 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27424
27425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27426 /sys/devices/system/cpu/online if it is usable.
27427
27428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27429 reading the information from the /proc filesystem to once a second.
27430
27431 2011-06-21 Andreas Jaeger <aj@suse.de>
27432
27433 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27434 NULL after inclusion of kernel headers.
27435
27436 2011-06-21 Ulrich Drepper <drepper@gmail.com>
27437
27438 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27439 calls to internal_setent.
27440
27441 [BZ #12885]
27442 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27443 addresses using gethostbyname4_r ignore IPv4 addresses.
27444
27445 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27446 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27447
27448 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27449
27450 2011-06-20 David S. Miller <davem@davemloft.net>
27451
27452 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27453 inclusions.
27454 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27455
27456 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27457 (elf_irel): Use it.
27458 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27459 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27460 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27461 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27462 * sysdeps/x86_64/dl-irel.h: Likewise.
27463
27464 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27465 * elf/dl-sym.c: Likewise.
27466
27467 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27468
27469 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27470 need to dereference resplen2.
27471
27472 2011-06-14 Andreas Schwab <schwab@redhat.com>
27473
27474 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27475
27476 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27477
27478 * Makeconfig: Define vardbdir and inst_vardbdir.
27479 * nss/Makefile: Add rules to install db-Makefile.
27480
27481 * nss/nss_db/db-XXX.c: Cleanup.
27482
27483 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27484 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27485 GLIBC_PRIVATE.
27486 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27487 * nss/makedb.c: Implement -g option to specify that value strings
27488 are generated and should not be added to table iterated over for
27489 get*ent calls.
27490 * nss/nss_db/db-initgroups.c: New file.
27491
27492 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27493 interface.
27494
27495 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27496 (internal_getgrouplist): Adjust to name change.
27497 Update use_initgroups_entry if this is not the first call.
27498 * nss/databases.def: Add initgroups entry.
27499
27500 * nss/makedb.c (compute_tables): Check result of multiple hash table
27501 sizes to minimize maximum chain length.
27502
27503 2011-06-14 Ulrich Drepper <drepper@gmail.com>
27504
27505 * Versions.def: Add entry for libnss_db.
27506 * shlib-versions: Likewise.
27507 * nss/Makefile: Add rules to build libnss_db.
27508 * nss/Versions: Add libnss_db information. Organize libnss_files
27509 entries better.
27510 * nss/db-Makefile: Add gshadow support. Change rules for the new
27511 makedb progra. Some minor improvements to generate smaller files.
27512 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27513 here from...
27514 * nss/makedb.c: ...here.
27515 Improve database format to be smaller and require less memory at
27516 runtime.
27517 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27518 db anymore.
27519 * nss/nss_db/db-netgrp.c: Likewise.
27520 * nss/nss_db/db-open.c: Likewise.
27521 * nss/nss_files/flies-XXX.x: Adjust comments.
27522 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27523 * nss/nss_files/files-grp.c: Likewise.
27524 * nss/nss_files/files-hosts.c: Likewise.
27525 * nss/nss_files/files-network.c: Likewise.
27526 * nss/nss_files/files-proto.c: Likewise.
27527 * nss/nss_files/files-pwd.c: Likewise.
27528 * nss/nss_files/files-rpc.c: Likewise.
27529 * nss/nss_files/files-service.c: Likewise.
27530 * nss/nss_files/files-sgrp.c: Likewise.
27531 * nss/nss_files/files-spwd.c: Likewise.
27532 * nss/nss_db/db-alias.c: Removed.
27533 * nss/nss_db/dummy-db.h: Removed.
27534
27535 2011-06-02 Ulrich Drepper <drepper@gmail.com>
27536
27537 * nss/makedb.c: Rewritten to not use database library.
27538 * nss/Makefile: Update to build new makedb program.
27539
27540 2011-06-14 Andreas Jaeger <aj@suse.de>
27541
27542 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27543 memset declaration.
27544
27545 2011-06-10 Andreas Schwab <schwab@redhat.com>
27546
27547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27548 tmpbuf.
27549
27550 2011-06-10 Roland McGrath <roland@hack.frob.com>
27551
27552 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27553 * elf/Makefile ($(objpfx)ld.so): Likewise.
27554
27555 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27556 Don't list ld.so twice in dependencies.
27557
27558 * posix/bug-regex31.c: Include <stdlib.h>.
27559
27560 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27561
27562 * nis/nss_compat/compat-spwd.c
27563 (getspent_next_nss_netgr): Remove unused variable.
27564 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27565
27566 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27567 nonmembers" output to use the right array.
27568
27569 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27570
27571 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27572
27573 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27574 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27575 * catgets/gencat.c (read_input_file): Likewise.
27576 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27577
27578 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27579 variable definition inside #if's controlling its use.
27580
27581 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27582
27583 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27584
27585 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27586
27587 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27588 unreachable code.
27589
27590 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27591
27592 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27593 * configure: Regenerated.
27594
27595 * Makerules: Revert last change.
27596 * elf/Makefile: Likewise.
27597
27598 2011-06-09 Roland McGrath <roland@hack.frob.com>
27599
27600 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27601 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27602 (reloc-link): Likewise.
27603
27604 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27605
27606 * elf/Makefile: Add rules to build pldd.
27607 * elf/pldd.c: New file.
27608 * elf/pldd-xx.c: New file.
27609
27610 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27611
27612 * version.h: Update for 2.15 development version.
27613
27614 2011-06-07 David S. Miller <davem@davemloft.net>
27615
27616 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27617 ifuncs.
27618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27619 elf_machine_lazy_rel): Likewise.
27620 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27622 elf_machine_lazy_rel): Likewise.
27623 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27624 dl_hwcap via passed in argument.
27625 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27626 Likewise.
27627
27628 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27629
27630 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27631
27632 2011-06-06 Roland McGrath <roland@hack.frob.com>
27633
27634 [BZ #12849]
27635 * manual/fdl-1.1.texi: New file, verbatim from:
27636 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27637 * manual/lgpl-2.1.texi: New file, verbatim from:
27638 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27639 * manual/Makefile (licenses): New variable, list those new file names.
27640 (texis): Use it.
27641 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27642
27643 * manual/fdl.texi: File removed.
27644 * manual/lesser.texi: File removed.
27645 * manual/libc.texinfo (Copying, Documentation License):
27646 Use new @include file names, put @appendix directive before @include.
27647
27648 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27649
27650 [BZ #12841]
27651 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27652 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27653 (mq_open): Add __NTH.
27654
27655 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27658 Assume Intel Core i3/i5/i7 processor if AVX is available.
27659
27660 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27661
27662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27663 typo.
27664
27665 2011-05-31 Andreas Schwab <schwab@redhat.com>
27666
27667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27668 memory. Use alloca_account. Fix memory leak when retrying.
27669
27670 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27671
27672 * version.h (RELEASE): Bump for 2.14 release.
27673 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27674
27675 * config.make.in (RANLIB): Remove entry.
27676
27677 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27678
27679 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27680 (libc.pot): Work around missing support for .ksh extension in xgettext.
27681
27682 [BZ #12684]
27683 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27684 if both request failed.
27685 (send_dg): In case of server errors clear resplen or *resplen2.
27686
27687 [BZ #12454]
27688 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27689 when there are multiple maps.
27690 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27691 (_dl_fini): Remove test here.
27692
27693 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27694
27695 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27696
27697 [BZ #12350]
27698 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27699 bit from old_res_options.
27700 (gaih_inet): Likewise.
27701
27702 [BZ #11099]
27703 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27704 as signed.
27705
27706 * resolv/res_init.c (res_setoptions): Make the code more compact.
27707
27708 [BZ #11558]
27709 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27710 set RES_USEVC.
27711
27712 [BZ #11634]
27713 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27714
27715 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27716
27717 [BZ #11781]
27718 * malloc/malloc.h: Declare malloc hook variables as volatile.
27719
27720 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27721 in last patch.
27722
27723 [BZ #11799]
27724 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27725 raise in the comment.
27726 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27727 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27728 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27729
27730 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27731
27732 [BZ #12811]
27733 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27734 grow the buffers more if it already has to be sufficient.
27735 (build_wcs_upper_buffer): Likewise.
27736 * posix/regexec.c (check_matching): Likewise.
27737 (clean_state_log_if_needed): Likewise.
27738 (extend_buffers): Don't enlarge buffers beyond size of the input
27739 buffer.
27740 Patches mostly by Emil Wojak <emil@wojak.eu>.
27741 * posix/bug-regex32.c: New file.
27742 * posix/Makefile (tests): Add bug-regex32.
27743
27744 * locale/findlocale.c (_nl_find_locale): Return right away if
27745 _nl_explode_name failed.
27746 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27747
27748 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27749
27750 * debug/xtrace.sh: Unify messages.
27751 * malloc/memusage.sh: Likewise.
27752
27753 [BZ #12813]
27754 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27755 time symbol from vDSO. Substitute with vsyscall if not available.
27756 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27757 __vdso_time.
27758
27759 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27760 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27761 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27762 Add sendmmsg and internal_sendmmsg.
27763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27764 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27765 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27766
27767 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27768 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27769 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27770
27771 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27772
27773 [BZ #12813]
27774 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27775 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27776 available.
27777 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27778 __vdso_getcpu.
27779
27780 [BZ #12814]
27781 * iconvdata/Makefile (tests): Add bug-iconv9.
27782 * iconvdata/bug-iconv9.c: New file.
27783
27784 2011-05-27 Andreas Schwab <schwab@redhat.com>
27785
27786 [BZ #12814]
27787 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27788
27789 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27790
27791 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27792 (struct user_regs_struct): Change intcs field back to cs.
27793
27794 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27795
27796 * po/ja.po: Update from translation team.
27797
27798 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27799
27800 [BZ #12795]
27801 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27802 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27803
27804 2011-05-20 Andreas Schwab <schwab@redhat.com>
27805
27806 * stdlib/longlong.h: Update from GCC.
27807
27808 2011-05-23 Andreas Schwab <schwab@redhat.com>
27809
27810 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27811 parameter name.
27812 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27813 Add parameter name.
27814 (__sysconf): Pass it down.
27815
27816 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27817
27818 [BZ #12671]
27819 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27820 some situations.
27821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27822 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27823 add in in __libc_use_alloca calls. Adjust callers.
27824 (glob): Use malloc in some situations.
27825
27826 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27827 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27828 pltexit.
27829
27830 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27831
27832 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27833 and CLOCK_BOOTTIME_ALARM.
27834
27835 [BZ #12782]
27836 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27837 is returned.
27838
27839 * string/_strerror.c (__strerror_r): Print negative errors as signed
27840 numbers.
27841
27842 [BZ #12777]
27843 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27844 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27845 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27846
27847 * configure.in: Fix typo in redirection and correct removal of test
27848 files in two cases.
27849
27850 [BZ #12788]
27851 * locale/setlocale.c (new_composite_name): Fix test to check for
27852 identical name of all categories.
27853
27854 [BZ #12792]
27855 * libio/filedoalloc.c (local_isatty): New function.
27856 (_IO_file_doallocate): Use local_isatty.
27857 * stdio-common/perror.c (perror): In case a new stream is used
27858 forward the stream error.
27859 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27860 error flag.
27861
27862 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27863
27864 [BZ #11869]
27865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27866 alloca.
27867 * include/alloca.h (extend_alloca_account): Define.
27868
27869 [BZ #11857]
27870 * posix/regex.h: Fix comments with documentation of user-accessible
27871 fields after compilation and describe correct free'ing of pattern
27872 after re_compile_pattern.
27873 Patch by Reuben Thomas <rrt@sc3d.org>.
27874
27875 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27876
27877 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27878 and -mno-altivec to prevent the compiler from using Altivec and/or
27879 VSX instructions when the corresponding registers are not available.
27880
27881 2011-05-19 Andreas Schwab <schwab@redhat.com>
27882
27883 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27884
27885 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27886
27887 * libio/freopen.c (freopen): Use __dup2, not dup2.
27888 * libio/freopen64.c (freopen64): Likewise.
27889
27890 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27891
27892 [BZ #12775]
27893 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27894 * math/Makefile (tests): Add test-powl.
27895 (CFLAGS-test-powl.c): Define.
27896 * math/test-powl.c: New file.
27897
27898 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27899
27900 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27901
27902 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27903
27904 [BZ #11837]
27905 * iconvdata/gb18030.c: Update to GB18020-2005.
27906
27907 2011-05-16 Ulrich Drepper <drepper@gmail.com>
27908
27909 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27910 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27911 Patch by Aharon Robbins <arnold@skeeve.com>.
27912
27913 [BZ #11892]
27914 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27915 on the stack.
27916
27917 [BZ #11895]
27918 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27919 through underflows.
27920
27921 [BZ #12766]
27922 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27923 point to strings before performing equality test for error_one_per_line
27924 mode.
27925
27926 [BZ #11697]
27927 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27928
27929 [BZ #11820]
27930 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27931 (struct user_fpregs_struct): Avoid __uint*_t types.
27932
27933 [BZ #6420]
27934 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27935 symbol info. Use it instead of calling _dl_addr locally.
27936 (lock_and_info): New function.
27937 (tr_freehook): Call lock_and_info and pass symbol info as additional
27938 parameter to tr_where.
27939 (tr_mallochook): Likewise.
27940 (tr_reallochook): Likewise.
27941 (tr_memalignhook): Likewise.
27942
27943 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27944 used and couldn't be at all thread-safe.
27945
27946 2011-05-15 Ulrich Drepper <drepper@gmail.com>
27947
27948 * libio/freopen.c (freopen): Don't close old file descriptor
27949 before the new one is opened. Instead dup the new file descriptor
27950 to the old one after the new stream is created.
27951 * libio/freopen64.c (freopen64): Likewise.
27952 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27953 * libio/fileops.c (_IO_new_file_close_it): Handle new
27954 _IO_FLAGS2_NOCLOSE flag.
27955 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27956 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27957 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27958 _IO_FLAGS2_NOCLOSE flag.
27959 * include/unistd.h: Add hidden_proto for dup3.
27960 Define __have_dup3.
27961 * io/dup3.c: Define hidden symbol.
27962 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27963
27964 [BZ #7101]
27965 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27966 when an incomplete long option is used.
27967 * posix/tst-getopt_long1.c: New file.
27968 * posix/Makefile (tests): Add tst-getopt_long1.
27969
27970 [BZ #10138]
27971 * scripts/config.guess: Update from autoconf-2.68.
27972 * scripts/config.sub: Likewise.
27973
27974 [BZ #10157]
27975 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27976 tests into ...
27977 (has_cpuclock): ...this. New function.
27978 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27979 macro here based on has_cpuclock code.
27980
27981 [BZ #10149]
27982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27983 First byte (not low byte) is now always NUL.
27984 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27985
27986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27987 Use non-cancelable interfaces.
27988
27989 [BZ #9809]
27990 * locale/iso-639.def: Add entry for Sorani.
27991
27992 [BZ #11901]
27993 * include/stdlib.h: Move include protection to the right place.
27994 Define abort_msg_s. Declare __abort_msg with it.
27995 * stdlib/abort.c (__abort_msg): Adjust type.
27996 * assert/assert.c (__assert_fail_base): New function. Majority
27997 of code from __assert_fail. Allocate memory for __abort_msg with
27998 mmap.
27999 (__assert_fail): Now call __assert_fail_base.
28000 * assert/assert-perr.c: Remove bulk of implementation. Use
28001 __assert_fail_base.
28002 * include/assert.hL Declare __assert_fail_base.
28003 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28004 mmap.
28005 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28006
28007 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28008
28009 [BZ #11952]
28010 [BZ #12453]
28011 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28012 until all modules are registered in the DTV.
28013 * elf/Makefile: Add rules to build and run tst-tls19.
28014 * elf/tst-tls19.c: New file.
28015 * elf/tst-tls19mod1.c: New file.
28016 * elf/tst-tls19mod2.c: New file.
28017 * elf/tst-tls19mod3.c: New file.
28018 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28019
28020 [BZ #12083]
28021 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28022 correctly.
28023
28024 [BZ #12601]
28025 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28026 two-byte sequence errors.
28027 * iconvdata/Makefile (tests): Add bug-iconv8.
28028 * iconvdata/bug-iconv8.c: New file.
28029
28030 [BZ #12626]
28031 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28032 buf2 definition.
28033
28034 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28035
28036 [BZ #12432]
28037 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28038 (dummy_getcfa): New function.
28039 (init): Get _Unwind_GetCFA address, use dummy if not found.
28040 (backtrace_helper): In recursion check, also check whether CFA changes.
28041 (__backtrace): Completely initialize arg.
28042
28043 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28044 storing incomplete byte sequence in state object. Avoid testing for
28045 guaranteed too small input if we know there is enough data available.
28046
28047 2011-05-11 Andreas Schwab <schwab@redhat.com>
28048
28049 * Makeconfig (+link-pie): Indent.
28050 * Rules (binaries-pie): Define if $(have-fpie) and
28051 $(build-shared).
28052 (binaries-shared): Also filter out $(binaries-pie).
28053 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28054 * nscd/Makefile (others-pie): Add nscd.
28055 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28056 ($(objpfx)nscd): Remove command override.
28057 * login/Makefile (others-pie): Add pt_chown.
28058 ($(objpfx)pt_chown): Remove command override.
28059 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28060 remove command overrides.
28061
28062 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28063
28064 * libio/tst_putwc.c: Fix error messages.
28065
28066 [BZ #12724]
28067 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28068 currently writing and seek to current position when not.
28069 * libio/Makefile (tests): Add bug-fclose1.
28070 * libio/bug-fclose1.c: New file.
28071
28072 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28073
28074 [BZ #12511]
28075 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28076 don't set DF_1_NODELETE here.
28077 (do_lookup_x): When entering new entry test for copy relocation
28078 and if necessary set DF_1_NODELETE flag.
28079 * elf/tst-unique4.cc: New file.
28080 * elf/tst-unique4.h: New file.
28081 * elf/tst-unique4lib.cc: New file.
28082 * elf/Makefile: Add rules to build and run tst-unique4.
28083 Patch by Piotr Bury <pbury@goahead.com>.
28084
28085 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28086
28087 [BZ #12052]
28088 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28089
28090 [BZ #12625]
28091 * misc/mntent_r.c (addmntent): Flush the stream after the output
28092
28093 [BZ #12393]
28094 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28095 (is_trusted_path_normalize): Skip initial colon. Append slash
28096 to empty buffer. Duplicate is_trusted_path code but allow
28097 constructed patch to be prefix.
28098 (is_dst): Allow $ORIGIN followed by /.
28099 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28100 Correct testing of result of is_trusted_path_normalize
28101 (decompose_rpath): Fix warning.
28102
28103 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28104
28105 [BZ #11257]
28106 * grp/initgroups.c (internal_getgrouplist): When we found the service
28107 list through the initgroups entry in nsswitch.conf do not always
28108 continue on a successful lookup. Don't always use the
28109 __nss_group_database value if it is set.
28110 * nss/nsswitch.conf (initgroups): Change action for successful db
28111 lookup to continue for compatibility.
28112
28113 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28114
28115 [BZ #11532]
28116 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28117 and CP774 modules.
28118 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28119 and CP774 modules.
28120 * iconvdata/tst-tables.sh: Likewise.
28121 * iconvdata/cp770.c: New file.
28122 * iconvdata/cp771.c: New file.
28123 * iconvdata/cp772.c: New file.
28124 * iconvdata/cp773.c: New file.
28125 * iconvdata/cp774.c: New file.
28126 * iconvdata/testdata/CP770: New file.
28127 * iconvdata/testdata/CP770..UTF8: New file.
28128 * iconvdata/testdata/CP771: New file.
28129 * iconvdata/testdata/CP771..UTF8: New file.
28130 * iconvdata/testdata/CP772: New file.
28131 * iconvdata/testdata/CP772..UTF8: New file.
28132 * iconvdata/testdata/CP773: New file.
28133 * iconvdata/testdata/CP773..UTF8: New file.
28134 * iconvdata/testdata/CP774: New file.
28135 * iconvdata/testdata/CP774..UTF8: New file.
28136
28137 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28138 END CHARMAP line.
28139 * iconvdata/gen-8bit-gap.sh: Likewise.
28140 * iconvdata/gen-8bit.sh: Likewise.
28141
28142 * locale/iso-639.def: Add ary entry.
28143
28144 [BZ #11258]
28145 * locale/C-translit.h.in: Add U20A1 transliteration.
28146
28147 [BZ #12178]
28148 * locale/iso-639.def: Add wae entry.
28149 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28150
28151 [BZ #12545]
28152 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28153 for n.
28154
28155 [BZ #12711]
28156 * locale/C-translit.h.in: Add entry for U20B9.
28157 Patch by pravin.d.s@gmail.com.
28158
28159 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28160
28161 [BZ #12713]
28162 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28163 ENAMETOOLONG use generic getcwd.
28164 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28165 in rtld. Use *stat64.
28166 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28167 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28168 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28169 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28170 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28171 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28172 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28173 __fstatat64 macros.
28174 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28175 * dirent/rewinddir.c: Add libc_hidden_def.
28176 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28177 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28178
28179 * include/dirent.h (__alloc_dir): Add flags parameter.
28180 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28181 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28182 __alloc_dir.
28183 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28184 from fdopendir if O_CLOEXEC is already set.
28185
28186 2011-03-15 Alan Modra <amodra@gmail.com>
28187
28188 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28189 l_tls_firstbyte_offset non-zero. Save padding offset in
28190 l_tls_firstbyte_offset for later use.
28191 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28192 freeing static tls block.
28193
28194 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28195
28196 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28197 where #ifdef was intended. The intent is to prevent ARG_MAX from
28198 being defined by the kernel headers.
28199
28200 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28201
28202 [BZ #12734]
28203 * resolv/resolv.h: Define RES_NOTLDQUERY.
28204 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28205 no-tld-query and set RES_NOTLDQUERY.
28206 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28207 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28208 modern BIND to search name as TLD unless forbidden.
28209
28210 2011-05-07 Petr Baudis <pasky@suse.cz>
28211 Ulrich Drepper <drepper@gmail.com>
28212
28213 [BZ #12393]
28214 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28215 (is_trusted_path): ...to here.
28216 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28217 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28218 using is_trusted_path_normalize() in setuid scripts.
28219
28220 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28221
28222 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28223 __BEGIN/__END_DECLS.
28224
28225 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28226
28227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28228 NSS_STATUS_NOTFOUND if no record was found.
28229
28230 2011-05-05 Andreas Schwab <schwab@redhat.com>
28231
28232 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28233 (headers-not-in-tirpc): Remove rpc/netdb.h
28234 * resolv/netdb.h: Revert last change.
28235
28236 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28237
28238 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28239 circular dependency between libgcc.a and libc.a.
28240
28241 2011-05-05 Andreas Schwab <schwab@redhat.com>
28242
28243 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28244 * nis/Makefile: Don't install rpcsvc/*.
28245 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28246 instead of <rpc/types.h>.
28247 (MAXHOSTNAMELEN): Define.
28248
28249 2011-05-03 Andreas Schwab <schwab@redhat.com>
28250
28251 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28252
28253 2011-04-28 Maciej Babinski <mbabinski@google.com>
28254
28255 [BZ #12714]
28256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28257 gethostbyname4_r when IPv6 results are possible.
28258
28259 2011-05-02 Ulrich Drepper <drepper@gmail.com>
28260
28261 [BZ #12723]
28262 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28263 _PC_PIPE_BUF handling.
28264
28265 2011-04-30 Bruno Haible <bruno@clisp.org>
28266
28267 [BZ #12717]
28268 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28269 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28270 to 'int'.
28271 * inet/getnameinfo.c (getnameinfo): Likewise.
28272
28273 2011-04-29 Ulrich Drepper <drepper@gmail.com>
28274
28275 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28276 to groups setting in database lookup.
28277 * nss/nsswitch.conf: Add initgroups entry.
28278
28279 2011-04-22 Ulrich Drepper <drepper@gmail.com>
28280
28281 [BZ #12685]
28282 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28283 mode string.
28284 Patch by Eric Blake <eblake@redhat.com>.
28285
28286 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28287
28288 * sunrpc/Makefile (need-export-routines): Add svc_run.
28289 (routines): Remove svc_run.
28290 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28291 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28292 * sunrpc/svc_run.c (svc_run): Likewise.
28293 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28294
28295 2011-04-21 Ulrich Drepper <drepper@gmail.com>
28296
28297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28298 problem in reallocation in last patch.
28299
28300 2011-04-20 Ulrich Drepper <drepper@gmail.com>
28301
28302 * sunrpc/Makefile: Move inclusion of Rules.
28303
28304 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28305
28306 * nss/nss_files/files-initgroups.c: New file.
28307 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28308 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28309 _nss_files_initgroups_dyn.
28310
28311 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28312
28313 * elf/elf.h (R_ARM_IRELATIVE): Define.
28314
28315 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28316
28317 * po/ru.po: Update from translation team.
28318
28319 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28320
28321 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28322 dependencies.
28323
28324 2011-02-06 Mike Frysinger <vapier@gentoo.org>
28325
28326 [BZ #12653]
28327 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28328 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28329 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28331 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28332
28333 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28334
28335 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28336 differing bytes.
28337 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28338 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28339 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28340
28341 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28342
28343 [BZ #12420]
28344 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28345 storing it.
28346 * stdlib/bug-getcontext.c: New file.
28347 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28348
28349 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28350
28351 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28352 instructions into .machine "z9-109".
28353 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28354 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28355
28356 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28357
28358 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28359 between environment variables and auxiliary vector.
28360
28361 2011-04-16 Ulrich Drepper <drepper@gmail.com>
28362
28363 * Makefile: Add rules to build linkobj/libc.so.
28364 * include/libc-symbols.h: Define libc_hidden_nolink.
28365 * include/rpc/auth.h: Mark functions which are to be hidden.
28366 * include/rpc/auth_des.h: Likewise.
28367 * include/rpc/auth_unix.h: Likewise.
28368 * include/rpc/clnt.h: Likewise.
28369 * include/rpc/des_crypt.h: Likewise.
28370 * include/rpc/key_prot.h: Likewise.
28371 * include/rpc/pmap_clnt.h: Likewise.
28372 * include/rpc/pmap_prot.h: Likewise.
28373 * include/rpc/pmap_rmt.h: Likewise.
28374 * include/rpc/rpc_msg.h: Likewise.
28375 * include/rpc/svc.h: Likewise.
28376 * include/rpc/svc_auth.h: Likewise.
28377 * include/rpc/xdr.h: Likewise.
28378 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28379 * nss/Makefile: Likewise.
28380 * sunrpc/Makefile: Don't install headers. Build library with normal
28381 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28382 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28383 for the compat linking library. Remove use of INTDEF/INTUSE.
28384 * sunrpc/auth_none.c: Likewise.
28385 * sunrpc/auth_unix.c: Likewise.
28386 * sunrpc/authdes_prot.c: Likewise.
28387 * sunrpc/authuxprot.c: Likewise.
28388 * sunrpc/clnt_gen.c: Likewise.
28389 * sunrpc/clnt_perr.c: Likewise.
28390 * sunrpc/clnt_raw.c: Likewise.
28391 * sunrpc/clnt_simp.c: Likewise.
28392 * sunrpc/clnt_tcp.c: Likewise.
28393 * sunrpc/clnt_udp.c: Likewise.
28394 * sunrpc/clnt_unix.c: Likewise.
28395 * sunrpc/des_crypt.c: Likewise.
28396 * sunrpc/des_soft.c: Likewise.
28397 * sunrpc/get_myaddr.c: Likewise.
28398 * sunrpc/key_call.c: Likewise.
28399 * sunrpc/key_prot.c: Likewise.
28400 * sunrpc/netname.c: Likewise.
28401 * sunrpc/pm_getmaps.c: Likewise.
28402 * sunrpc/pm_getport.c: Likewise.
28403 * sunrpc/pmap_clnt.c: Likewise.
28404 * sunrpc/pmap_prot.c: Likewise.
28405 * sunrpc/pmap_prot2.c: Likewise.
28406 * sunrpc/pmap_rmt.c: Likewise.
28407 * sunrpc/publickey.c: Likewise.
28408 * sunrpc/rpc_cmsg.c: Likewise.
28409 * sunrpc/rpc_common.c: Likewise.
28410 * sunrpc/rpc_dtable.c: Likewise.
28411 * sunrpc/rpc_prot.c: Likewise.
28412 * sunrpc/rpc_thread.c: Likewise.
28413 * sunrpc/rtime.c: Likewise.
28414 * sunrpc/svc.c: Likewise.
28415 * sunrpc/svc_auth.c: Likewise.
28416 * sunrpc/svc_authux.c: Likewise.
28417 * sunrpc/svc_raw.c: Likewise.
28418 * sunrpc/svc_run.c: Likewise.
28419 * sunrpc/svc_simple.c: Likewise.
28420 * sunrpc/svc_tcp.c: Likewise.
28421 * sunrpc/svc_udp.c: Likewise.
28422 * sunrpc/svc_unix.c: Likewise.
28423 * sunrpc/svcauth_des.c: Likewise.
28424 * sunrpc/xcrypt.c: Likewise.
28425 * sunrpc/xdr.c: Likewise.
28426 * sunrpc/xdr_array.c: Likewise.
28427 * sunrpc/xdr_float.c: Likewise.
28428 * sunrpc/xdr_intXX_t.c: Likewise.
28429 * sunrpc/xdr_mem.c: Likewise.
28430 * sunrpc/xdr_rec.c: Likewise.
28431 * sunrpc/xdr_ref.c: Likewise.
28432 * sunrpc/xdr_sizeof.c: Likewise.
28433 * sunrpc/xdr_stdio.c: Likewise.
28434
28435 2011-04-10 Ulrich Drepper <drepper@gmail.com>
28436
28437 [BZ #12650]
28438 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28439 * sysdeps/ia64/dl-tls.h: Likewise.
28440 * sysdeps/powerpc/dl-tls.h: Likewise.
28441 * sysdeps/s390/dl-tls.h: Likewise.
28442 * sysdeps/sh/dl-tls.h: Likewise.
28443 * sysdeps/sparc/dl-tls.h: Likewise.
28444 * sysdeps/x86_64/dl-tls.h: Likewise.
28445 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28446
28447 2011-03-14 Andreas Schwab <schwab@redhat.com>
28448
28449 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28450 rpath element also skip the following colon.
28451 (expand_dynamic_string_token): Add is_path parameter and pass
28452 down to DL_DST_REQUIRED and _dl_dst_substitute.
28453 (decompose_rpath): Call expand_dynamic_string_token with
28454 non-zero is_path. Ignore empty rpaths.
28455 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28456 with zero is_path.
28457
28458 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28459
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28461 Make cancelable.
28462
28463 2011-04-09 Ulrich Drepper <drepper@gmail.com>
28464
28465 [BZ #12655]
28466 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28467 Patch by Filipe David Manana <fdmanana@apache.org>.
28468
28469 2011-04-07 Andreas Schwab <schwab@redhat.com>
28470
28471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28472 Maintain aligned stack.
28473 (CHECK_RSP): Remove unused macro.
28474
28475 2011-04-03 Ulrich Drepper <drepper@gmail.com>
28476
28477 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28478 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28479
28480 2011-04-02 Ulrich Drepper <drepper@gmail.com>
28481
28482 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28483
28484 * include/features.h: Mention __USE_XOPEN2K8 in comment.
28485
28486 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28487
28488 [BZ #12518]
28489 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28490 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28491 * sysdeps/x86_64/memmove.c: New file.
28492 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28493 (memcpy): Renamed to ...
28494 (__new_memcpy): This.
28495 (memcpy): Provide GLIBC_2_14 memcpy.
28496 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28497 (memcpy): Provide GLIBC_2_2_5 memcpy.
28498
28499 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28500
28501 [BZ #12631]
28502 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28503
28504 2011-03-30 Andreas Schwab <schwab@redhat.com>
28505
28506 * misc/syncfs.c: New file.
28507 * misc/Makefile (routines): Add syncfs.
28508 * posix/unistd.h: Declare syncfs.
28509 * sysdeps/unix/syscalls.list: Add syncfs.
28510
28511 2011-04-01 Andreas Schwab <schwab@redhat.com>
28512
28513 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28514 open_by_handle_at.
28515 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28518 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28520 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28522
28523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28524
28525 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28526 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28527 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28529 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28532
28533 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28534 sync_file_range.c with -fexceptions.
28535 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28536 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28537 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28538 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28539 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28540 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28542 sync_file_range as cancellation point
28543 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28544 now a wrapper around __call_sync_file_range with cancellation handling.
28545 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28546 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28547 function name to __call_sync_file_range.
28548 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28549 Add call_sync_file_range.
28550
28551 2011-04-01 Andreas Schwab <schwab@redhat.com>
28552
28553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28554 bits/timex.h.
28555
28556 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28557
28558 * iconv/iconv.h: Fix typo in comment.
28559 * io/fcntl.h: Likewise.
28560 * libio/stdio.h: Likewise.
28561 * posix/spawn.h: Likewise.
28562 * posix/unistd.h: Likewise.
28563 * stdlib/stdlib.h: Likewise.
28564 * time/time.h: Likewise.
28565 * wcsmbs/wchar.h: Likewise.
28566
28567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28568 open_by_handle): Add.
28569 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28570 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28571 Augment a few comments.
28572 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28574 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28577 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28578 open_by_handle.
28579
28580 * io/fcntl.h (AT_EMPTY_PATH): Define.
28581
28582 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28583
28584 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28585 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28586 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28587 to...
28588 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28589 * Versions.def: Add GLIBC_2.14.
28590 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28591 Export.
28592
28593 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28594
28595 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28596 round counter.
28597 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28598
28599 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28600
28601 [BZ #12597]
28602 * string/test-strncmp.c (do_page_test): New function.
28603 (check2): Likewise.
28604 (test_main): Call check2.
28605 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28606
28607 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28608
28609 [BZ #12587]
28610 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28611 Handle cache information in CPU leaf 4.
28612 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28613
28614 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28615
28616 [BZ #12583]
28617 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28618 character representation.
28619 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28620
28621 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28622
28623 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28624 END(__isnan) to END(__isnanf) to match function entry point/label
28625 EALIGN(__isnanf,...).
28626
28627 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28628
28629 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28630
28631 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28632
28633 [BZ #12510]
28634 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28635 copy from the symbol referenced in the relocation to initialize the
28636 used variable.
28637 Patch by Piotr Bury <pbury@goahead.com>.
28638 * elf/Makefile: Add rules to build and tst-unique3.
28639 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28640 * elf/tst-unique3.cc: New file.
28641 * elf/tst-unique3.h: New file.
28642 * elf/tst-unique3lib.cc: New file.
28643 * elf/tst-unique3lib2.cc: New file.
28644
28645 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28646
28647 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28648
28649 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28650 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28651 to _start.
28652
28653 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28654
28655 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28656 to-be-loaded object along a path to loader is ld.so.
28657
28658 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28659 Ulrich Drepper <drepper@gmail.com>
28660
28661 * sysdeps/x86_64/memset.S: After aligning destination, code
28662 branches to different locations depending on the value of
28663 misalignment, when multiarch is enabled. Fix this.
28664
28665 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28666
28667 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28668 Set _x86_64_preferred_memory_instruction for AMD processsors.
28669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28670 Set bit_Prefer_SSE_for_memop for AMD processors.
28671
28672 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28673
28674 * libio/fmemopen.c (fmemopen): Optimize a bit.
28675
28676 2011-03-03 Andreas Schwab <schwab@redhat.com>
28677
28678 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28679
28680 2011-03-03 Roland McGrath <roland@redhat.com>
28681
28682 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28683
28684 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28685
28686 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28687 __bzero_ultra1 instead of __memset_ultra1.
28688
28689 2011-02-23 Andreas Schwab <schwab@redhat.com>
28690 Ulrich Drepper <drepper@gmail.com>
28691
28692 [BZ #12509]
28693 * include/link.h (struct link_map): Add l_orig_initfini.
28694 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28695 returning unsuccessfully.
28696 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28697 close of a file loaded at startup, restore the original l_initfini
28698 list.
28699 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28700 list, store the pointer.
28701 * elf/Makefile ($(objpfx)noload-mem): New rule.
28702 (noload-ENV): Define.
28703 (tests): Add $(objpfx)noload-mem.
28704 * elf/noload.c: Include <memcheck.h>.
28705 (main): Call mtrace. Close all opened handles.
28706
28707 2011-02-17 Andreas Schwab <schwab@redhat.com>
28708
28709 [BZ #12454]
28710 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28711 dependencies are missing.
28712
28713 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28714
28715 Fix __if_freereq crash: Unlike the generic version which uses free,
28716 Hurd needs munmap.
28717 * sysdeps/mach/hurd/ifreq.h: New file.
28718
28719 2011-01-27 Petr Baudis <pasky@suse.cz>
28720 Ulrich Drepper <drepper@gmail.com>
28721
28722 [BZ 12445]#
28723 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28724 to extend_alloca().
28725 * stdio-common/bug23.c: New file.
28726 * stdio-common/Makefile (tests): Add bug23.
28727
28728 2010-09-28 Andreas Schwab <schwab@redhat.com>
28729 Ulrich Drepper <drepper@gmail.com>
28730
28731 [BZ #12489]
28732 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28733 before performing relro protection. At old place add assertion
28734 to make sure nothing changed.
28735
28736 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28737 Glauber de Oliveira Costa <glommer@gmail.com>
28738
28739 * elf/elf.h: Add new ARM TLS relocs.
28740
28741 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28742
28743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28744 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28745 cast from r3.
28746 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28747 'tests' variable.
28748 * sysdeps/wordsize-64/tst-writev.c: New file.
28749
28750 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28751
28752 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28753 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28754 insns in _dl_start to prevent a TOC reference before relocs are
28755 resolved.
28756
28757 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28758
28759 [BZ #12469]
28760 * Makeconfig: Remove RANLIB definition.
28761 * Makerules: Don't use RANLIB.
28762 * aclocal.m4: Remove ranlib test.
28763 * configure.in: No need to check for ranlib.
28764 * elf/rtld-Rules: Don't use RANLIB.
28765
28766 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28767
28768 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28769 protection macro.
28770 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28771 inclusion protection macro.
28772
28773 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28774 SIGRTMIN and SIGRTMAX and print information in that case only when
28775 SIGRTMIN is defined.
28776
28777 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28778
28779 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28780 arginfo fn returning -1.
28781
28782 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28783 and thousands string is zero terminated.
28784
28785 2011-02-03 Andreas Schwab <schwab@redhat.com>
28786
28787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28788 sysdeps/unix/sysv/linux/bits/socket.h.
28789
28790 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28791
28792 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28793 (__CPU_COUNT): Remove old macros.
28794 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28795 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28796 (__CPU_ALLOC, __CPU_FREE): Add macros.
28797 (__sched_cpualloc, __sched_cpufree): Add declarations.
28798
28799 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28800
28801 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28802 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28803 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28804 (readdhstai): Return value of addhstaiX call.
28805 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28806 (addgrbyX): Return value returned by cache_addgr.
28807 (readdgrbyname): Return value returned by addgrbyX.
28808 (readdgrbygid): Likewise.
28809 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28810 (addpwbyX): Return value returned by cache_addpw.
28811 (readdpwbyname): Return value returned by addhstbyX.
28812 (readdpwbyuid): Likewise.
28813 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28814 (addservbyX): Return value returned by cache_addserv.
28815 (readdservbyname): Return value returned by addservbyX:
28816 (readdservbyport): Likewise.
28817 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28818 (addhstbyX): Return value returned by cache_addhst.
28819 (readdhstbyname): Return value returned by addhstbyX.
28820 (readdhstbyaddr): Likewise.
28821 (readdhstbynamev6): Likewise.
28822 (readdhstbyaddrv6): Likewise.
28823 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28824 (readdinitgroups): Return value returned by addinitgroupsX.
28825 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28826 (prune_cache): Keep track of timeout value of re-added entries.
28827 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28828 * nscd/nscd.h: Adjust prototypes of readd* functions.
28829
28830 2011-02-04 Roland McGrath <roland@redhat.com>
28831
28832 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28833 (nis_stats): Likewise.
28834 * nis/nis_modify.c (nis_modify): Likewise.
28835 * nis/nis_remove.c (nis_remove): Likewise.
28836 * nis/nis_add.c (nis_add): Likewise.
28837
28838 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28839
28840 * posix/fnmatch_loop.c: Add some consts.
28841
28842 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28843
28844 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 [BZ #12460]
28847 * config.make.in (config-cflags-novzeroupper): Define.
28848 * configure.in: Substitute libc_cv_cc_novzeroupper.
28849 * elf/Makefile (AVX-CFLAGS): Define.
28850 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28851 (CFLAGS-tst-auditmod4a.c): Likewise.
28852 (CFLAGS-tst-auditmod4b.c): Likewise.
28853 (CFLAGS-tst-auditmod6b.c): Likewise.
28854 (CFLAGS-tst-auditmod6c.c): Likewise.
28855 (CFLAGS-tst-auditmod7b.c): Likewise.
28856 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28857
28858 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28859
28860 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28861 function to the callback.
28862 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28863
28864 2011-02-02 Andreas Schwab <schwab@redhat.com>
28865
28866 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28867 of errno.
28868
28869 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28870
28871 [BZ #11724]
28872 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28873 of constructors.
28874 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28875 of destructors.
28876 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28877
28878 [BZ #11724]
28879 * elf/Makefile: Add rules to build and run new test.
28880 * elf/tst-initorder.c: New file.
28881 * elf/tst-initorder.exp: New file.
28882 * elf/tst-initordera1.c: New file.
28883 * elf/tst-initordera2.c: New file.
28884 * elf/tst-initordera3.c: New file.
28885 * elf/tst-initordera4.c: New file.
28886 * elf/tst-initorderb1.c: New file.
28887 * elf/tst-initorderb2.c: New file.
28888 * elf/tst-order-a1.c: New file.
28889 * elf/tst-order-a2.c: New file.
28890 * elf/tst-order-a3.c: New file.
28891 * elf/tst-order-a4.c: New file.
28892 * elf/tst-order-b1.c: New file.
28893 * elf/tst-order-b2.c: New file.
28894 * elf/tst-order-main.c: New file.
28895 New test case by George Gensure <werkt0@gmail.com>.
28896
28897 2010-10-01 Andreas Schwab <schwab@redhat.com>
28898
28899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28900 decoding ACE if AI_CANONIDN.
28901
28902 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28903
28904 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28905
28906 2011-01-17 Ulrich Drepper <drepper@gmail.com>
28907
28908 * version.h (RELEASE): Bump for 2.13 release.
28909 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28910
28911 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28912
28913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28914 MADV_NOHUGEPAGE.
28915 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28916 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28917 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28918 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28921
28922 * posix/getconf.c: Update copyright year.
28923 * catgets/gencat.c: Likewise.
28924 * csu/version.c: Likewise.
28925 * debug/catchsegv.sh: Likewise.
28926 * debug/xtrace.sh: Likewise.
28927 * elf/ldconfig.c: Likewise.
28928 * elf/ldd.bash.in: Likewise.
28929 * elf/sprof.c (print_version): Likewise.
28930 * iconv/iconv_prog.c: Likewise.
28931 * iconv/iconvconfig.c: Likewise.
28932 * locale/programs/locale.c: Likewise.
28933 * locale/programs/localedef.c: Likewise.
28934 * malloc/memusage.sh: Likewise.
28935 * malloc/mtrace.pl: Likewise.
28936 * nscd/nscd.c (print_version): Likewise.
28937 * nss/getent.c: Likewise.
28938
28939 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28940 PF_CAIF, and PF_ALG.
28941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28942
28943 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28944
28945 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28946 (modules-names): Use them.
28947 (ifunc-test-modules, ifunc-pie-tests): Define.
28948 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28949 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28950 (test-extras): Likewise.
28951 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28952 $(compile-command.c).
28953 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28954 (all-built-dso): Define.
28955 (check-textrel.out, check-execstack.out): Depend on it.
28956
28957 * configure.in: Don't override --enable-multi-arch.
28958
28959 2011-01-15 Ulrich Drepper <drepper@gmail.com>
28960
28961 [BZ #6812]
28962 * nscd/hstcache.c (tryagain): Define.
28963 (cache_addhst): Return tryagain not notfound for temporary errors.
28964 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28965 failed.
28966
28967 2011-01-14 Ulrich Drepper <drepper@gmail.com>
28968
28969 [BZ #10563]
28970 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28971 to make the syscall.
28972 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28973
28974 [BZ #12378]
28975 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28976 and fall back to matching as normal character if the string ends before
28977 the matching ']' is found. This is what POSIX requires.
28978 * posix/testfnm.c: Adjust test result.
28979 * posix/globtest.sh: Adjust test result. Add new test.
28980 * posix/tst-fnmatch.input: Likewise.
28981 * posix/tst-fnmatch2.c: Add new test.
28982
28983 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28984
28985 * elf/Makefile (check-execstack): Revert last change. Depend on
28986 check-execstack.h.
28987 (check-execstack.h): New target.
28988 (generated): Add check-execstack.h.
28989 * elf/check-execstack.c: Include "check-execstack.h".
28990 (main): Revert last change.
28991 (handle_file): Return zero if GNU_STACK is absent and
28992 DEFAULT_STACK_PERMS doesn't include PF_X.
28993
28994 2011-01-13 Ulrich Drepper <drepper@gmail.com>
28995
28996 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28997 in child fails because the descriptor is already closed.
28998 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28999 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29000 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29001
29002 [BZ #12397]
29003 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29004 syscall.
29005
29006 [BZ #10484]
29007 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29008 temporary buffer used to handle multi lookups locally.
29009 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29010
29011 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29012
29013 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29014 loader is ld.so.
29015
29016 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29017
29018 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29019 alignment for SSE2.
29020
29021 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29022
29023 [BZ #12394]
29024 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29025 characters. When rounding increased number of integer digits recompute
29026 number of groups.
29027 * stdio-common/tst-grouping.c: New file.
29028 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29029
29030 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29031
29032 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29033 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29034
29035 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29036 void.
29037 * bits/select.h: Likewise.
29038
29039 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29040
29041 * po/ja.po: Update from translation team.
29042
29043 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29044
29045 [BZ #11155]
29046 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29047 implementation just like for lxstat, fxstatat, et al.
29048
29049 2010-12-27 Jim Meyering <meyering@redhat.com>
29050
29051 [BZ #12348]
29052 * posix/regexec.c (build_trtable): Return failure indication upon
29053 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29054
29055 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29056
29057 [BZ #12201]
29058 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29059 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29061 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29062
29063 [BZ #12207]
29064 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29065
29066 [BZ #12204]
29067 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29068 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29069
29070 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29073 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29074 script has SORT_BY_INIT_PRIORITY.
29075 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29076 NO_CTORS_DTORS_SECTIONS is defined.
29077 * elf/soinit.c: Likewise.
29078 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29079 NO_CTORS_DTORS_SECTIONS is defined.
29080 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29081 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29082 * sysdeps/sh/init-first.c: Likewise.
29083 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29084
29085 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29086
29087 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29088 always use the slow path.
29089
29090 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29091
29092 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29093 similar rule which adds the sysdep directories to the header search in
29094 order to pick up the correct platform stackinfo.h.
29095 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29096 perform test if it is, otherwise return successfully without testing.
29097 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29098 DEFAULT_STACK_PERMS define in stackinfo.h.
29099 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29100 defined in stackinfo.h.
29101 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29102 DEFAULT_STACK_PERMS defined in stackinfo.h.
29103 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29104 * sysdeps/ia64/stackinfo.h: Likewise.
29105 * sysdeps/s390/stackinfo.h: Likewise.
29106 * sysdeps/sh/stackinfo.h: Likewise.
29107 * sysdeps/sparc/stackinfo.h: Likewise.
29108 * sysdeps/x86_64/stackinfo.h: Likewise.
29109 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29110 PF_X for powerpc64. Retain PF_X for powerpc32.
29111
29112 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29113
29114 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29115 accurately.
29116 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29117 GETDENTS_64BIT_ALIGNED.
29118
29119 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29120
29121 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29122
29123 2010-12-10 Andreas Schwab <schwab@redhat.com>
29124
29125 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29126 _GNU_SOURCE.
29127
29128 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29129 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29130 Remove __restrict.
29131 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29132 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29133
29134 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29135
29136 [BZ #11655]
29137 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29138 are initialized.
29139
29140 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29141
29142 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29143
29144 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29145
29146 * po/it.po: Update from translation team.
29147
29148 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29149
29150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29151 unused codes.
29152
29153 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29154
29155 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29156
29157 2010-11-24 Andreas Schwab <schwab@redhat.com>
29158
29159 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29160 specially.
29161 (gaih_getanswer_slice): Likewise.
29162
29163 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29164
29165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29166
29167 2010-05-31 Petr Baudis <pasky@suse.cz>
29168
29169 [BZ #11149]
29170 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29171 silently even in the chroot mode.
29172
29173 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29174
29175 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29176 last patch a bit. Pretty printing
29177
29178 2010-05-31 Petr Baudis <pasky@suse.cz>
29179
29180 [BZ #10085]
29181 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29182 initialization of skip_initgroups_dyn.
29183
29184 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29185
29186 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29187 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29188
29189 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29190
29191 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29192
29193 2010-11-11 Andreas Schwab <schwab@redhat.com>
29194
29195 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29196 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29197 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29198 ($(objpfx)tst-fnmatch-mem): New rule.
29199 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29200 * posix/tst-fnmatch.c (main): Call mtrace.
29201
29202 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29203
29204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29205 Support Intel processor model 6 and model 0x2c.
29206
29207 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29208
29209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29210 signed comparison.
29211
29212 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29213
29214 [BZ #12205]
29215 * string/test-strncasecmp.c (check_result): New function.
29216 (do_one_test): Use it.
29217 (check1): New function.
29218 (test_main): Use it.
29219 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29220 Support strcasecmp and strncasecmp.
29221
29222 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29223
29224 [BZ #12194]
29225 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29226 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29227
29228 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29231 IFUNC support.
29232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29233 memset-x86-64.
29234 * sysdeps/x86_64/multiarch/bzero.S: New file.
29235 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29236 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29237 * sysdeps/x86_64/multiarch/memset.S: New file.
29238 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29240 Set bit_Prefer_SSE_for_memop for Intel processors.
29241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29242 Define.
29243 (index_Prefer_SSE_for_memop): Define.
29244 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29245
29246 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
29247
29248 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29249 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29250
29251 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29252
29253 [BZ #12191]
29254 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29255 (__x86_64_raw_data_cache_size_half): Likewise.
29256 (__x86_64_raw_shared_cache_size): Likewise.
29257 (__x86_64_raw_shared_cache_size_half): Likewise.
29258
29259 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29260 (__x86_64_raw_data_cache_size_half): Likewise.
29261 (__x86_64_raw_shared_cache_size): Likewise.
29262 (__x86_64_raw_shared_cache_size_half): Likewise.
29263 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29264 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29265 and __x86_64_raw_shared_cache_size_half. Round
29266 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29267 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29268 to multiple of 256 bytes.
29269
29270 2010-11-03 Ulrich Drepper <drepper@gmail.com>
29271
29272 [BZ #12167]
29273 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29274 of inacessible symlinks. Verify result of symlink before returning it.
29275 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29276 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29277
29278 2010-10-28 Erich Ritz <erichritz@gmail.com>
29279
29280 * math/math.h (isinf): Fix typo in comment.
29281
29282 2010-11-01 Ulrich Drepper <drepper@gmail.com>
29283
29284 * po/da.po: Update from translation team.
29285
29286 2010-10-26 Ulrich Drepper <drepper@gmail.com>
29287
29288 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29289 is added to the list.
29290
29291 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29292 Ulrich Drepper <drepper@gmail.com>
29293
29294 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29295 the global list here. Move code to...
29296 (_dl_add_to_namespace_list): ...here. New function.
29297 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29298 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29299 * elf/dl-load.c (lose): Don't remove the element from the list.
29300 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29301 (_dl_map_object): Likewise.
29302
29303 2010-10-25 Ulrich Drepper <drepper@gmail.com>
29304
29305 [BZ #12159]
29306 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29307 into all bytes of SSE register.
29308 Patch by Richard Li <richardpku@gmail.com>.
29309
29310 2010-10-24 Ulrich Drepper <drepper@gmail.com>
29311
29312 [BZ #12140]
29313 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29314 perturbing.
29315
29316 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29317
29318 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29319 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29320 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29321 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29323 submachine.
29324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29325
29326 2010-10-22 Andreas Schwab <schwab@redhat.com>
29327
29328 * include/dlfcn.h (__RTLD_SECURE): Define.
29329 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29330 mode & __RTLD_SECURE instead.
29331 (open_path): Rename preloaded parameter to secure.
29332 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29333 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29334 * elf/dl-deps.c (openaux): Likewise.
29335 * elf/rtld.c (struct map_args): Remove is_preloaded.
29336 (map_doit): Don't use it.
29337 (dl_main): Likewise.
29338 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29339 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29340
29341 2010-09-09 Andreas Schwab <schwab@redhat.com>
29342
29343 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29344 (sysd-rules-targets): Remove duplicates.
29345 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29346 rtld-%.$o dependency.
29347
29348 2010-10-18 Andreas Schwab <schwab@redhat.com>
29349
29350 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29351 _dl_map_object do it.
29352
29353 2010-10-19 Ulrich Drepper <drepper@gmail.com>
29354
29355 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29356 fast fma builtins, define the macros in the C99 standard.
29357 (FP_FAST_FMAF): Likewise.
29358 (FP_FAST_FMAL): Likewise.
29359 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29360
29361 * bits/mathdef.h: Update copyright year.
29362 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29363
29364 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29365
29366 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29367 builtins, define the macros in the C99 standard.
29368 (FP_FAST_FMAF): Likewise.
29369 (FP_FAST_FMAL): Likewise.
29370 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29371 multiply/add.
29372 (FP_FAST_FMAF): Likewise.
29373
29374 2010-10-15 Jakub Jelinek <jakub@redhat.com>
29375
29376 [BZ #3268]
29377 * math/libm-test.inc (fma_test): Some new testcases.
29378 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29379 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29380 y and infinite z. Do multiplication by C already in long double.
29381 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29383 y and infinite z. Do bitwise or of inexact bit into u.d.
29384 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29385 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29386 * sysdeps/i386/fpu/s_fma.S: Removed.
29387 * sysdeps/i386/fpu/s_fmal.S: Removed.
29388
29389 2010-10-16 Jakub Jelinek <jakub@redhat.com>
29390
29391 [BZ #3268]
29392 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29394 computation is not scheduled after fetestexcept. Fix value
29395 of minimum denormal long double.
29396
29397 2010-10-14 Jakub Jelinek <jakub@redhat.com>
29398
29399 [BZ #3268]
29400 * math/libm-test.inc (fma_test): Add some more tests.
29401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29402 correctly.
29403
29404 2010-10-15 Andreas Schwab <schwab@redhat.com>
29405
29406 * scripts/data/localplt-s390-linux-gnu.data: New file.
29407 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29408
29409 2010-10-13 Jakub Jelinek <jakub@redhat.com>
29410
29411 [BZ #3268]
29412 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29413 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29414 instead of dbl-64.
29415 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29416 inlines.
29417 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29419 if one of x and y is very large and the other is subnormal.
29420 * sysdeps/s390/fpu/s_fmaf.c: New file.
29421 * sysdeps/s390/fpu/s_fma.c: New file.
29422 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29423 * sysdeps/powerpc/fpu/s_fma.S: New file.
29424 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29425 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29426 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29427
29428 2010-10-12 Jakub Jelinek <jakub@redhat.com>
29429
29430 [BZ #3268]
29431 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29432 fma tests.
29433 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29434 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29435 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29436 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29437 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29438 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29440
29441 2010-10-12 Ulrich Drepper <drepper@redhat.com>
29442
29443 [BZ #12078]
29444 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29445 * posix/bug-regex31.input: Add test case.
29446
29447 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29448
29449 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29450 * posix/bug-regex31.input: New file.
29451
29452 [BZ #12078]
29453 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29454 (parse_sub_exp): Fix last change, use postorder.
29455
29456 * posix/bug-regex31.c: New file.
29457 * posix/Makefile: Add rules to build and run bug-regex31.
29458
29459 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29460
29461 [BZ #12078]
29462 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29463
29464 [BZ #12108]
29465 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29466 to have entries in sys_siglist.
29467
29468 [BZ #12093]
29469 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29470 be NULL.
29471
29472 2010-10-07 Jakub Jelinek <jakub@redhat.com>
29473
29474 [BZ #3268]
29475 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29476 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29477 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29478 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29479 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29480 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29481 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29482 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29483 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29484 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29485 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29486 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29487 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29488 * math/ftestexcept.c (fetestexcept): Likewise.
29489 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29490 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29491 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29492 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29493 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29494 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29495 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29496
29497 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29498
29499 [BZ #12107]
29500 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29501 newline.
29502
29503 2010-10-06 Ulrich Drepper <drepper@gmail.com>
29504
29505 * string/bug-strstr1.c: New file.
29506 * string/Makefile: Add rules to build and run bug-strstr1.
29507
29508 2010-10-05 Eric Blake <eblake@redhat.com>
29509
29510 [BZ #12092]
29511 * string/str-two-way.h (two_way_long_needle): Always clear memory
29512 when skipping input due to the shift table.
29513
29514 2010-10-03 Ulrich Drepper <drepper@gmail.com>
29515
29516 [BZ #12005]
29517 * malloc/mcheck.c: Handle large requests.
29518
29519 [BZ #12077]
29520 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29521 for strncmp and strncasecmp.
29522 * string/stratcliff.c: Add tests for strcmp and strncmp.
29523 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29524
29525 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29526
29527 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29528 __set_fpscr.
29529
29530 2010-09-30 Andreas Jaeger <aj@suse.de>
29531
29532 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29533 (CGROUP_SUPER_MAGIC): Define.
29534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29535 Handle btrfs and cgroup file systems.
29536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29537 Likewise.
29538
29539 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
29540
29541 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29542 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29543
29544 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29545
29546 [BZ #12067]
29547 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29548 trying to locate the ELF header.
29549
29550 2010-09-27 Andreas Schwab <schwab@redhat.com>
29551
29552 [BZ #11611]
29553 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29554 Mask out sign-bit copies when constructing f_fsid.
29555
29556 2010-09-24 Petr Baudis <pasky@suse.cz>
29557
29558 * debug/stack_chk_fail_local.c: Add missing licence exception.
29559 * debug/warning-nop.c: Likewise.
29560
29561 2010-09-15 Joseph Myers <joseph@codesourcery.com>
29562
29563 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29564 implementing getdents64 using getdents syscall, set d_type if
29565 __ASSUME_GETDENTS32_D_TYPE.
29566
29567 2010-09-16 Andreas Schwab <schwab@redhat.com>
29568
29569 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29570 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29571
29572 2010-09-21 Ulrich Drepper <drepper@redhat.com>
29573
29574 [BZ #12037]
29575 * posix/unistd.h: Undo change of feature selection for ftruncate from
29576 2010-01-11.
29577
29578 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29579
29580 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29581 detection.
29582
29583 2010-09-20 Andreas Schwab <schwab@redhat.com>
29584
29585 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29586 fanotify_mark.
29587 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29588
29589 2010-09-14 Andreas Schwab <schwab@redhat.com>
29590
29591 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29592 variables after CHECK_SP call.
29593 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29594
29595 2010-09-13 Andreas Schwab <schwab@redhat.com>
29596 Ulrich Drepper <drepper@redhat.com>
29597
29598 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29599 re-relocationg ld.so.
29600 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29601 _dl_init_paths call.
29602 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29603 here anymore.
29604
29605 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29606
29607 * resolv/res_init.c (__res_vinit): Count the default server we added.
29608
29609 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29610 Ulrich Drepper <drepper@redhat.com>
29611
29612 [BZ #11968]
29613 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29614 (____longjmp_chk): Use %ebx for saving value across system call.
29615 Add unwind info.
29616
29617 2010-09-06 Andreas Schwab <schwab@redhat.com>
29618
29619 * manual/Makefile: Don't mix pattern rules with normal rules.
29620
29621 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29622
29623 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29624 operation.
29625 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29626 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29627 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29628 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29629 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29630 Likewise.
29631
29632 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29633
29634 [BZ #11979]
29635 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29636 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29637
29638 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29639
29640 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29641 * sysdeps/x86_64/addmul_1.S: Likewise.
29642 * sysdeps/x86_64/lshift.S: Likewise.
29643 * sysdeps/x86_64/mul_1.S: Likewise.
29644 * sysdeps/x86_64/rshift.S: Likewise.
29645 * sysdeps/x86_64/sub_n.S: Likewise.
29646 * sysdeps/x86_64/submul_1.S: Likewise.
29647
29648 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29649
29650 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29651 Define __sched_param instead of SCHED_* and sched_param when
29652 <bits/sched.h> is included with __need_schedparam defined.
29653 * bits/sched.h [__need_schedparam]
29654 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29655 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29656 (__defined_schedparam): Define to 1.
29657 (__sched_param): New structure, identical to sched_param.
29658 (__need_schedparam): Undefine.
29659
29660 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29661
29662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29663 (epoll_create1): Declare.
29664
29665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29666
29667 2010-08-31 Andreas Schwab <schwab@redhat.com>
29668
29669 [BZ #7066]
29670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29671 shifting retval into place.
29672
29673 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29674
29675 * nis/rpcsvc/nis.h: Update copyright notice.
29676 * nis/rpcsvc/nis.x: Likewise.
29677 * nis/rpcsvc/nis_callback.h: Likewise.
29678 * nis/rpcsvc/nis_callback.x: Likewise.
29679 * nis/rpcsvc/nis_object.x: Likewise.
29680 * nis/rpcsvc/nis_tags.h: Likewise.
29681 * nis/rpcsvc/yp.h: Likewise.
29682 * nis/rpcsvc/yp.x: Likewise.
29683 * nis/rpcsvc/ypupd.h: Likewise.
29684 * nis/yp_xdr.c: Likewise.
29685 * nis/ypupdate_xdr.c: Likewise.
29686
29687 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29688 mainly the body of pmap_getport. Add parameters to specify timeouts.
29689 (pmap_getport): Use __libc_rpc_getport.
29690 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29691 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29692 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29693
29694 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29695
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29697 fanotify_mark.
29698
29699 2010-08-27 Roland McGrath <roland@redhat.com>
29700
29701 * sysdeps/i386/i686/multiarch/Makefile
29702 (CFLAGS-varshift.c): New variable.
29703
29704 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29705
29706 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29707 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29708
29709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29710
29711 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29712
29713 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * sysdeps/x86_64/strlen.S: Unroll the loop.
29716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29717 strlen-sse2 strlen-sse2-bsf.
29718 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29719 __strlen_no_bsf if bit_Slow_BSF is set.
29720 (__strlen_sse42): Removed.
29721 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29722 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29723
29724 2010-08-25 Roland McGrath <roland@redhat.com>
29725
29726 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29727 * sysdeps/x86_64/multiarch/varshift.c: New file.
29728 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29729 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29730 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29731 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29732
29733 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29734
29735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29736 strlen-sse2 strlen-sse2-bsf.
29737 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29738 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29739 (__strlen_sse2): Removed.
29740 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29741 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29743 bit_Slow_BSF for Atom.
29744 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29745 (index_Slow_BSF): Define.
29746 (HAS_SLOW_BSF): Define.
29747
29748 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29749
29750 [BZ #10851]
29751 * resolv/res_init.c (__res_vinit): When no server address at all
29752 is given default to loopback.
29753
29754 2010-08-24 Roland McGrath <roland@redhat.com>
29755
29756 * configure.in: Remove config-name.h generation.
29757 * configure: Regenerated.
29758 * config-name.in: File removed.
29759 * scripts/config-uname.sh: New file.
29760 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29761 ($(objdir)config-name.h): New target.
29762
29763 * sunrpc/rpc_parse.h: Avoid nested comment.
29764
29765 2010-08-24 Richard Henderson <rth@redhat.com>
29766 Ulrich Drepper <drepper@redhat.com>
29767 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29771 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29772 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29773 _mm_alignr_epi8 with _mm_loadu_si128.
29774 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29775 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29776 (__m128i_shift_right): Removed.
29777 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29778 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29779 * sysdeps/x86_64/multiarch/varshift.h: New file.
29780 * sysdeps/x86_64/multiarch/varshift.S: New file.
29781
29782 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29783
29784 * configure.in: Move assembler checks to before sysdep dir checking.
29785
29786 2010-08-20 Petr Baudis <pasky@suse.cz>
29787
29788 * LICENSES: Sync the sunrpc license.
29789
29790 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29791
29792 * sunrpc/auth_des.c: Update copyright notice once again.
29793 * sunrpc/auth_none.c: Likewise.
29794 * sunrpc/auth_unix.c: Likewise.
29795 * sunrpc/authdes_prot.c: Likewise.
29796 * sunrpc/authuxprot.c: Likewise.
29797 * sunrpc/bindrsvprt.c: Likewise.
29798 * sunrpc/clnt_gen.c: Likewise.
29799 * sunrpc/clnt_perr.c: Likewise.
29800 * sunrpc/clnt_raw.c: Likewise.
29801 * sunrpc/clnt_simp.c: Likewise.
29802 * sunrpc/clnt_tcp.c: Likewise.
29803 * sunrpc/clnt_udp.c: Likewise.
29804 * sunrpc/clnt_unix.c: Likewise.
29805 * sunrpc/des_crypt.c: Likewise.
29806 * sunrpc/des_soft.c: Likewise.
29807 * sunrpc/get_myaddr.c: Likewise.
29808 * sunrpc/getrpcport.c: Likewise.
29809 * sunrpc/key_call.c: Likewise.
29810 * sunrpc/key_prot.c: Likewise.
29811 * sunrpc/openchild.c: Likewise.
29812 * sunrpc/pm_getmaps.c: Likewise.
29813 * sunrpc/pm_getport.c: Likewise.
29814 * sunrpc/pmap_clnt.c: Likewise.
29815 * sunrpc/pmap_prot.c: Likewise.
29816 * sunrpc/pmap_prot2.c: Likewise.
29817 * sunrpc/pmap_rmt.c: Likewise.
29818 * sunrpc/rpc/auth.h: Likewise.
29819 * sunrpc/rpc/auth_unix.h: Likewise.
29820 * sunrpc/rpc/clnt.h: Likewise.
29821 * sunrpc/rpc/des_crypt.h: Likewise.
29822 * sunrpc/rpc/key_prot.h: Likewise.
29823 * sunrpc/rpc/netdb.h: Likewise.
29824 * sunrpc/rpc/pmap_clnt.h: Likewise.
29825 * sunrpc/rpc/pmap_prot.h: Likewise.
29826 * sunrpc/rpc/pmap_rmt.h: Likewise.
29827 * sunrpc/rpc/rpc.h: Likewise.
29828 * sunrpc/rpc/rpc_des.h: Likewise.
29829 * sunrpc/rpc/rpc_msg.h: Likewise.
29830 * sunrpc/rpc/svc.h: Likewise.
29831 * sunrpc/rpc/svc_auth.h: Likewise.
29832 * sunrpc/rpc/types.h: Likewise.
29833 * sunrpc/rpc/xdr.h: Likewise.
29834 * sunrpc/rpc_clntout.c: Likewise.
29835 * sunrpc/rpc_cmsg.c: Likewise.
29836 * sunrpc/rpc_common.c: Likewise.
29837 * sunrpc/rpc_cout.c: Likewise.
29838 * sunrpc/rpc_dtable.c: Likewise.
29839 * sunrpc/rpc_hout.c: Likewise.
29840 * sunrpc/rpc_main.c: Likewise.
29841 * sunrpc/rpc_parse.c: Likewise.
29842 * sunrpc/rpc_parse.h: Likewise.
29843 * sunrpc/rpc_prot.c: Likewise.
29844 * sunrpc/rpc_sample.c: Likewise.
29845 * sunrpc/rpc_scan.c: Likewise.
29846 * sunrpc/rpc_scan.h: Likewise.
29847 * sunrpc/rpc_svcout.c: Likewise.
29848 * sunrpc/rpc_tblout.c: Likewise.
29849 * sunrpc/rpc_util.c: Likewise.
29850 * sunrpc/rpc_util.h: Likewise.
29851 * sunrpc/rpcinfo.c: Likewise.
29852 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29853 * sunrpc/rpcsvc/key_prot.x: Likewise.
29854 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29855 * sunrpc/rpcsvc/mount.x: Likewise.
29856 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29857 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29858 * sunrpc/rpcsvc/rex.x: Likewise.
29859 * sunrpc/rpcsvc/rstat.x: Likewise.
29860 * sunrpc/rpcsvc/rusers.x: Likewise.
29861 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29862 * sunrpc/rpcsvc/spray.x: Likewise.
29863 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29864 * sunrpc/rtime.c: Likewise.
29865 * sunrpc/svc.c: Likewise.
29866 * sunrpc/svc_auth.c: Likewise.
29867 * sunrpc/svc_authux.c: Likewise.
29868 * sunrpc/svc_raw.c: Likewise.
29869 * sunrpc/svc_run.c: Likewise.
29870 * sunrpc/svc_simple.c: Likewise.
29871 * sunrpc/svc_tcp.c: Likewise.
29872 * sunrpc/svc_udp.c: Likewise.
29873 * sunrpc/svc_unix.c: Likewise.
29874 * sunrpc/svcauth_des.c: Likewise.
29875 * sunrpc/xcrypt.c: Likewise.
29876 * sunrpc/xdr.c: Likewise.
29877 * sunrpc/xdr_array.c: Likewise.
29878 * sunrpc/xdr_float.c: Likewise.
29879 * sunrpc/xdr_mem.c: Likewise.
29880 * sunrpc/xdr_rec.c: Likewise.
29881 * sunrpc/xdr_ref.c: Likewise.
29882 * sunrpc/xdr_sizeof.c: Likewise.
29883 * sunrpc/xdr_stdio.c: Likewise.
29884
29885 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29886 handling.
29887
29888 2010-08-19 Andreas Schwab <schwab@redhat.com>
29889
29890 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29891
29892 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29893
29894 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29895 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29897 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29898 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29899 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29900 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29901 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29902 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29903 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29904 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29905 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29906 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29907 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29908
29909 2010-07-26 Anton Blanchard <anton@samba.org>
29910
29911 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29912 * malloc/arena.c (heap_trim): Likewise.
29913
29914 2010-08-16 Ulrich Drepper <drepper@redhat.com>
29915
29916 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29917 here. Not...
29918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29919 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29920
29921 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29922
29923 * sysdeps/i386/elf/Makefile: New file.
29924
29925 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29926
29927 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29928 from fanotify_init.
29929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29931
29932 2010-08-15 Ulrich Drepper <drepper@redhat.com>
29933
29934 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29935 of strncasecmp_l.
29936 * sysdeps/multiarch/strcmp.S: Likewise.
29937
29938 2010-08-14 Ulrich Drepper <drepper@redhat.com>
29939
29940 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29941 strncase_l-nonascii.
29942 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29943 Add strncase_l-ssse3.
29944 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29945 * sysdeps/x86_64/strcmp.S: Likewise.
29946 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29947 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29948 * sysdeps/x86_64/strncase.S: New file.
29949 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29950 * sysdeps/x86_64/strncase_l.S: New file.
29951 * string/Makefile (strop-tests): Add strncasecmp.
29952 * string/test-strncasecmp.c: New file.
29953
29954 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29955 warning.
29956
29957 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29958 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29959
29960 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29961
29962 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29963
29964 2010-08-12 Ulrich Drepper <drepper@redhat.com>
29965
29966 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29967 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29968 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29969
29970 2010-05-01 Alan Modra <amodra@gmail.com>
29971
29972 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29973 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29974 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29975 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29976 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29977 tidying. Don't tail-call __sigjmp_save for static lib.
29978 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29979 save location.
29980 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29981 (CALL_MCOUNT): Add eh info, and nop after bl.
29982 (TAIL_CALL_SYSCALL_ERROR): New macro.
29983 (PSEUDO_RET): Use it.
29984 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29985 Correct save location of integer regs and cr.
29986 (_dl_profile_resolve): Correct cr save location. Delete nops
29987 after bl when SHARED. Reduce cfi size a little by better
29988 placement of cfi directives.
29989 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29990 make a stack frame. Instead use parm save area as a temp.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29992 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29994 Don't make a stack frame for parent, use parm save area.
29995 Increase child stack frame to 112 bytes. Don't save unused reg,
29996 and adjust reg usage. Set up cfi on error recovery and
29997 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29999 (__makecontext): Add dummy nop after jump to exit.
30000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30001 Use correct parm save area and cr save, reduce stack frame.
30002 Correct cfi for possible PSEUDO_RET frame setup.
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30004 Branch to local label emitted by PSEUDO_RET rather than
30005 __syscall_error.
30006
30007 2010-08-12 Andreas Schwab <schwab@redhat.com>
30008
30009 [BZ #11904]
30010 * locale/programs/locale.c (print_assignment): New function.
30011 (show_locale_vars): Use it.
30012
30013 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30014
30015 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30016 field.
30017 (struct statfs64): Likewise.
30018 (_STATFS_F_FLAGS): Define.
30019 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30020 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30021 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30022 (ST_VALID): Define locally.
30023 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30024 __statvfs_getflags, use the provided value.
30025 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30026 __ASSUME_STATFS_F_FLAGS.
30027
30028 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30029
30030 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30031 Add sys/fanotify.h.
30032 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30033 fanotify_mask for GLIBC_2.13.
30034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30035 fanotify_init and fanotify_mark.
30036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30037 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30038
30039 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30040 Add prlimit.
30041 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30042 prlimit64 for GLIBC_2.13.
30043 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30044 prlimit64.
30045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30046 syscall.
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30048 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30049 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30050 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30051 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30052 add prlimit alias.
30053 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30054
30055 [BZ #11903]
30056 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30057 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30058
30059 * nss/Makefile: Add rules to build and run tst-nss-test1.
30060 * shlib-versions: Add entry for libnss_test1.
30061 * nss/nss_test1.c: New file.
30062 * nss/tst-nss-test1.c: New file.
30063
30064 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30065 (__nss_configure_lookup): Set appropriate entry in
30066 __nss_configure_lookup to true.
30067 * nss/nsswitch.h: Define enum with indeces of databases in
30068 databases and __nss_database_custom arrays. Declare
30069 __nss_database_custom.
30070 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30071 to avoid using nscd when custom rules are installed.
30072 * nss/getXXbyYY_r.c: Likewise.
30073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30074
30075 * nss/nss_files/files-parse.c: Whitespace fixes.
30076
30077 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30078
30079 [BZ #11883]
30080 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30081 * posix/fnmatch_loop.c: Likewise.
30082
30083 2010-07-17 Andi Kleen <ak@linux.intel.com>
30084
30085 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30086 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30087 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30088 * Versions.def [GLIBC_2.13]: Add.
30089
30090 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30091
30092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30093 Also fail if tpwd after pwuid call is NULL.
30094
30095 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30096
30097 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30098 when converting to ms.
30099
30100 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30101
30102 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30103 EOPNOTSUPP errors with ENOTTY.
30104 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30105 EOPNOTSUPP errors with ENOTTY.
30106
30107 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30108
30109 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30110 Add strcasecmp_l-ssse3.
30111 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30112 strcasecmp.
30113 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30114 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30115 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30116
30117 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30118
30119 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30120
30121 * string/Makefile (strop-tests): Add strcasecmp.
30122 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30123 strcasecmp_l-nonascii.
30124 (gen-as-const-headers): Add locale-defines.sym.
30125 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30126 * sysdeps/x86_64/strcasecmp.S: New file.
30127 * sysdeps/x86_64/strcasecmp_l.S: New file.
30128 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30129 * sysdeps/x86_64/locale-defines.sym: New file.
30130 * string/test-strcasecmp.c: New file.
30131
30132 * string/test-strcasestr.c: Test both ends of the range of characters.
30133 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30134
30135 2010-07-29 Roland McGrath <roland@redhat.com>
30136
30137 [BZ #11856]
30138 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30139
30140 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30141
30142 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30143 for ld.so.
30144
30145 2010-07-27 Andreas Schwab <schwab@redhat.com>
30146
30147 * manual/memory.texi (Malloc Tunable Parameters): Document
30148 M_PERTURB.
30149
30150 2010-07-26 Roland McGrath <roland@redhat.com>
30151
30152 [BZ #11840]
30153 * configure.in (-fgnu89-inline check): Set and substitute
30154 gnu89_inline, not libc_cv_gnu89_inline.
30155 * configure: Regenerated.
30156 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30157
30158 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30159
30160 * string/test-strnlen.c: New file.
30161 * string/Makefile (strop-tests): Add strnlen.
30162 * string/tester.c (test_strnlen): Add a few more test cases.
30163 * string/tst-strlen.c: Better error reporting.
30164
30165 * sysdeps/x86_64/strnlen.S: New file.
30166
30167 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30168
30169 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30170 lower-latency instructions.
30171
30172 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30173
30174 * string/test-strcasestr.c: New file.
30175 * string/test-strstr.c: New file.
30176 * string/Makefile (strop-tests): Add strstr and strcasestr.
30177 * string/str-two-way.h: Don't undefine MAX.
30178 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30179
30180 2010-07-21 Andreas Schwab <schwab@redhat.com>
30181
30182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30183 strcasestr-nonascii.
30184 (CFLAGS-strcasestr-nonascii.c): Define.
30185 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30187 Remove unused attribute.
30188
30189 2010-07-20 Roland McGrath <roland@redhat.com>
30190
30191 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30192 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30193 ld.so.cache was broken. With it, there is no way to disable dsocaps
30194 like LD_HWCAP_MASK can disable hwcaps.
30195
30196 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30197
30198 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30199
30200 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30201
30202 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30203 call in strcasestr.
30204 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30205 __strcasestr_sse42_nonascii.
30206 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30207 strcasestr-nonascii.c.
30208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30209
30210 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30211
30212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30213 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30216
30217 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30218
30219 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30220 fcntl.
30221
30222 2010-07-06 Andreas Schwab <schwab@redhat.com>
30223
30224 [BZ #11577]
30225 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30226 dl_signal_cerror.
30227
30228 2010-07-06 Ulrich Drepper <drepper@redhat.com>
30229
30230 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30231 _PC_PIPE_BUF using F_GETPIPE_SZ.
30232
30233 2010-07-05 Roland McGrath <roland@redhat.com>
30234
30235 * manual/arith.texi (Rounding Functions): Fix rint description
30236 implicit in round description.
30237
30238 2010-07-02 Ulrich Drepper <drepper@redhat.com>
30239
30240 * elf/Makefile: Fix linking for a few tests to make recent linker
30241 happy.
30242
30243 2010-06-30 Andreas Schwab <schwab@redhat.com>
30244
30245 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30246 $(common-objpfx)libc_nonshared.a.
30247
30248 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
30249
30250 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30251 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30252 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30253 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30254 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30255 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30256 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30257 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30272 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30273 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30274 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30275 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30276 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30277 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30278 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30279 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30280 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30281 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30282 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30283 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30298
30299 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30300
30301 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30302 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30303 * string/memmove.c (memmove): Renamed to ...
30304 (MEMMOVE): ...this. Default to memmove.
30305 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30306 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30307 (END_CHK): Define.
30308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30309 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30310 mempcpy-ssse3-back memmove-ssse3-back.
30311 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30312 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30314 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30315 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30316 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30317 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30318 * sysdeps/x86_64/multiarch/memmove.c: New file.
30319 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30320 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30321 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30322 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30323 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30324 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30325 Define.
30326 (index_Fast_Copy_Backward): Define.
30327 (HAS_ARCH_FEATURE): Define.
30328 (HAS_FAST_REP_STRING): Define.
30329 (HAS_FAST_COPY_BACKWARD): Define.
30330
30331 2010-06-21 Andreas Schwab <schwab@redhat.com>
30332
30333 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30334 Restore proper fallback handling.
30335
30336 2010-06-19 Ulrich Drepper <drepper@redhat.com>
30337
30338 [BZ #11701]
30339 * posix/group_member.c (__group_member): Correct checking loop.
30340
30341 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30342 OOM in getpwuid_r correctly. Return error number when the caller
30343 should return, otherwise -1.
30344 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30345 call returning > 0 value.
30346 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30347
30348 2010-06-07 Andreas Schwab <schwab@redhat.com>
30349
30350 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30351 libc_nonshared.a from targets in modules-names.
30352
30353 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30354
30355 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30356 requires it.
30357
30358 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
30359
30360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30361 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30364
30365 2010-06-02 Andreas Schwab <schwab@redhat.com>
30366
30367 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30368
30369 2010-06-14 Ulrich Drepper <drepper@redhat.com>
30370
30371 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30372 and F_GETPIPE_SZ.
30373 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30377 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30379
30380 2010-06-14 Roland McGrath <roland@redhat.com>
30381
30382 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30383
30384 2010-06-07 Jakub Jelinek <jakub@redhat.com>
30385
30386 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30387 __REDIRECT followed by __THROW.
30388 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30389 * posix/getopt.h (getopt): Likewise.
30390
30391 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30392
30393 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30394 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30395 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30396 in AT_FLAGS.
30397 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30398 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30399
30400 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
30401
30402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30403
30404 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30405
30406 [BZ #11640]
30407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30408 Properly check family and model.
30409
30410 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30411
30412 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30413
30414 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
30415
30416 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30417
30418 2010-05-21 Ulrich Drepper <drepper@redhat.com>
30419
30420 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30421 symbol reference.
30422
30423 2010-05-19 Andreas Schwab <schwab@redhat.com>
30424
30425 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30426 symbol reference.
30427
30428 2010-05-21 Andreas Schwab <schwab@redhat.com>
30429
30430 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30431 and internal_recvmmsg.
30432 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30433 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30434 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30435 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30436
30437 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30438 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30439 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30440
30441 2010-05-20 Andreas Schwab <schwab@redhat.com>
30442
30443 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30444
30445 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
30446
30447 POWER7 optimizations.
30448 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30449 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30450
30451 2010-05-19 Ulrich Drepper <drepper@redhat.com>
30452
30453 * version.h: Update for 2.13 development version.
30454
30455 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
30456
30457 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30458 exceptions. Return 0.
30459
30460 2010-05-07 Roland McGrath <roland@redhat.com>
30461
30462 * elf/ldconfig.c (main): Add a const.
30463
30464 2010-05-06 Ulrich Drepper <drepper@redhat.com>
30465
30466 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30467 (args_options): Add no-idn option.
30468 (ahosts_keys_int): Add idn_flags to ai_flags.
30469 (parse_option): Handle 'i' option to clear idn_flags.
30470
30471 * malloc/malloc.c (_int_free): Possible race in the most recently
30472 added check. Only act on the data if no current modification
30473 happened.
30474
30475 See ChangeLog.17 for earlier changes.